diff --git a/Makefile b/Makefile index a3f6a1e2..b96ac198 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ # from which we generated our po files. We use it here so when we # test build, we're building with the .rst files that generated our # .po files. -CPYTHON_CURRENT_COMMIT := 0274115585db8e26d9d1c0218fe65e5041c70f2c +CPYTHON_CURRENT_COMMIT := aeb3a6f61af53ed3fbf31f0b3704f49b71ac553c CPYTHON_PATH := ./cpython diff --git a/about.po b/about.po index 73f0b7bc..a058f530 100644 --- a/about.po +++ b/about.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-03-31 19:50+0000\n" "Last-Translator: Theofanis Petkos \n" "Language-Team: PyGreece \n" diff --git a/bugs.po b/bugs.po index 65cfb445..8b3ec0d6 100644 --- a/bugs.po +++ b/bugs.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-05-06 12:51+0000\n" "Last-Translator: Theofanis Petkos \n" "Language-Team: PyGreece \n" diff --git a/c-api/abstract.po b/c-api/abstract.po index 1832d34e..10345f32 100644 --- a/c-api/abstract.po +++ b/c-api/abstract.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/allocation.po b/c-api/allocation.po index 48e7f314..6f3428fb 100644 --- a/c-api/allocation.po +++ b/c-api/allocation.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -44,7 +44,14 @@ msgid "" "tp_basicsize` field of the type object." msgstr "" -#: c-api/allocation.rst:41 +#: c-api/allocation.rst:38 +msgid "" +"Note that this function is unsuitable if *typeobj* has :c:macro:" +"`Py_TPFLAGS_HAVE_GC` set. For such objects, use :c:func:`PyObject_GC_New` " +"instead." +msgstr "" + +#: c-api/allocation.rst:45 msgid "" "Allocate a new Python object using the C structure type *TYPE* and the " "Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the " @@ -57,7 +64,14 @@ msgid "" "management efficiency." msgstr "" -#: c-api/allocation.rst:55 +#: c-api/allocation.rst:56 +msgid "" +"Note that this function is unsuitable if *typeobj* has :c:macro:" +"`Py_TPFLAGS_HAVE_GC` set. For such objects, use :c:func:`PyObject_GC_NewVar` " +"instead." +msgstr "" + +#: c-api/allocation.rst:63 msgid "" "Releases memory allocated to an object using :c:macro:`PyObject_New` or :c:" "macro:`PyObject_NewVar`. This is normally called from the :c:member:" @@ -66,17 +80,17 @@ msgid "" "no longer a valid Python object." msgstr "" -#: c-api/allocation.rst:64 +#: c-api/allocation.rst:72 msgid "" "Object which is visible in Python as ``None``. This should only be accessed " "using the :c:macro:`Py_None` macro, which evaluates to a pointer to this " "object." msgstr "" -#: c-api/allocation.rst:71 +#: c-api/allocation.rst:79 msgid ":c:func:`PyModule_Create`" msgstr "" -#: c-api/allocation.rst:72 +#: c-api/allocation.rst:80 msgid "To allocate and create extension modules." msgstr "" diff --git a/c-api/apiabiversion.po b/c-api/apiabiversion.po index 19e096b6..2de3c6ac 100644 --- a/c-api/apiabiversion.po +++ b/c-api/apiabiversion.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/arg.po b/c-api/arg.po index 571b3f17..dd5c3ba7 100644 --- a/c-api/arg.po +++ b/c-api/arg.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -23,7 +23,7 @@ msgstr "" #: c-api/arg.rst:8 msgid "" -"These functions are useful when creating your own extensions functions and " +"These functions are useful when creating your own extension functions and " "methods. Additional information and examples are available in :ref:" "`extending-index`." msgstr "" diff --git a/c-api/bool.po b/c-api/bool.po index 8a681fbd..45b91950 100644 --- a/c-api/bool.po +++ b/c-api/bool.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/buffer.po b/c-api/buffer.po index 6d528b7e..5bee05fd 100644 --- a/c-api/buffer.po +++ b/c-api/buffer.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/bytearray.po b/c-api/bytearray.po index ce523a4f..e274aa98 100644 --- a/c-api/bytearray.po +++ b/c-api/bytearray.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/bytes.po b/c-api/bytes.po index ad1dad67..4025cf90 100644 --- a/c-api/bytes.po +++ b/c-api/bytes.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/call.po b/c-api/call.po index aedae76f..386c1ff6 100644 --- a/c-api/call.po +++ b/c-api/call.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/capsule.po b/c-api/capsule.po index e710eb4c..0ea3ed0c 100644 --- a/c-api/capsule.po +++ b/c-api/capsule.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/cell.po b/c-api/cell.po index 608f4130..213ea740 100644 --- a/c-api/cell.po +++ b/c-api/cell.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/code.po b/c-api/code.po index 68cfb07f..00107844 100644 --- a/c-api/code.po +++ b/c-api/code.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/codec.po b/c-api/codec.po index 012f89ec..cb0f9ca4 100644 --- a/c-api/codec.po +++ b/c-api/codec.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/complex.po b/c-api/complex.po index 7fbd43fc..b29fccde 100644 --- a/c-api/complex.po +++ b/c-api/complex.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/concrete.po b/c-api/concrete.po index 66612f84..24d3aeec 100644 --- a/c-api/concrete.po +++ b/c-api/concrete.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/contextvars.po b/c-api/contextvars.po index bbb6308d..c5104636 100644 --- a/c-api/contextvars.po +++ b/c-api/contextvars.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/conversion.po b/c-api/conversion.po index a423aa3e..40a111f9 100644 --- a/c-api/conversion.po +++ b/c-api/conversion.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/coro.po b/c-api/coro.po index d9cbd489..d63a91e8 100644 --- a/c-api/coro.po +++ b/c-api/coro.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/datetime.po b/c-api/datetime.po index 39fcc32c..c3f0ec9e 100644 --- a/c-api/datetime.po +++ b/c-api/datetime.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/descriptor.po b/c-api/descriptor.po index 57b0b014..2901d354 100644 --- a/c-api/descriptor.po +++ b/c-api/descriptor.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/dict.po b/c-api/dict.po index 692f3b62..e37178b8 100644 --- a/c-api/dict.po +++ b/c-api/dict.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/exceptions.po b/c-api/exceptions.po index 1b4ddf18..c3b5c771 100644 --- a/c-api/exceptions.po +++ b/c-api/exceptions.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/file.po b/c-api/file.po index e5935585..5517db1c 100644 --- a/c-api/file.po +++ b/c-api/file.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/float.po b/c-api/float.po index c381dd79..1c13fe45 100644 --- a/c-api/float.po +++ b/c-api/float.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/frame.po b/c-api/frame.po index ede0d007..4c2f9616 100644 --- a/c-api/frame.po +++ b/c-api/frame.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/function.po b/c-api/function.po index 7cb8d74e..12d0d12e 100644 --- a/c-api/function.po +++ b/c-api/function.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/gcsupport.po b/c-api/gcsupport.po index c97a93d3..49344544 100644 --- a/c-api/gcsupport.po +++ b/c-api/gcsupport.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/gen.po b/c-api/gen.po index 31fa3106..391dfb63 100644 --- a/c-api/gen.po +++ b/c-api/gen.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/hash.po b/c-api/hash.po index adfbf644..25b5c27c 100644 --- a/c-api/hash.po +++ b/c-api/hash.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/import.po b/c-api/import.po index 3275cd3b..9bb5c3aa 100644 --- a/c-api/import.po +++ b/c-api/import.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/index.po b/c-api/index.po index e6d7380c..fd249d6c 100644 --- a/c-api/index.po +++ b/c-api/index.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/init.po b/c-api/init.po index ac9bae96..fb9957f4 100644 --- a/c-api/init.po +++ b/c-api/init.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/init_config.po b/c-api/init_config.po index 1a6f8ff7..a65db62d 100644 --- a/c-api/init_config.po +++ b/c-api/init_config.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/intro.po b/c-api/intro.po index 95cba307..95bcdc06 100644 --- a/c-api/intro.po +++ b/c-api/intro.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/iter.po b/c-api/iter.po index 8e7da2b3..4104c8ce 100644 --- a/c-api/iter.po +++ b/c-api/iter.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/iterator.po b/c-api/iterator.po index d2792a03..97c94528 100644 --- a/c-api/iterator.po +++ b/c-api/iterator.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/list.po b/c-api/list.po index d5f23aae..5ca14dd2 100644 --- a/c-api/list.po +++ b/c-api/list.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/long.po b/c-api/long.po index b4b54986..b9be35d6 100644 --- a/c-api/long.po +++ b/c-api/long.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -137,7 +137,7 @@ msgid "" "retrieved from the resulting value using :c:func:`PyLong_AsVoidPtr`." msgstr "" -#: c-api/long.rst:141 +#: c-api/long.rst:151 msgid "" "Return a C :c:expr:`long` representation of *obj*. If *obj* is not an " "instance of :c:type:`PyLongObject`, first call its :meth:`~object.__index__` " @@ -150,19 +150,30 @@ msgid "" "expr:`long`." msgstr "" -#: c-api/long.rst:150 c-api/long.rst:191 c-api/long.rst:214 +#: c-api/long.rst:160 c-api/long.rst:201 c-api/long.rst:224 msgid "Returns ``-1`` on error. Use :c:func:`PyErr_Occurred` to disambiguate." msgstr "" -#: c-api/long.rst:152 c-api/long.rst:195 c-api/long.rst:299 +#: c-api/long.rst:162 c-api/long.rst:205 c-api/long.rst:309 msgid "Use :meth:`~object.__index__` if available." msgstr "" -#: c-api/long.rst:155 c-api/long.rst:198 c-api/long.rst:302 +#: c-api/long.rst:165 c-api/long.rst:208 c-api/long.rst:312 msgid "This function will no longer use :meth:`~object.__int__`." msgstr "" -#: c-api/long.rst:145 +#: c-api/long.rst:142 +msgid "" +"A :term:`soft deprecated` alias. Exactly equivalent to the preferred " +"``PyLong_AsLong``. In particular, it can fail with :exc:`OverflowError` or " +"another exception." +msgstr "" + +#: c-api/long.rst:146 +msgid "The function is soft deprecated." +msgstr "" + +#: c-api/long.rst:155 msgid "" "If the value of *obj* is greater than :c:macro:`LONG_MAX` or less than :c:" "macro:`LONG_MIN`, set *\\*overflow* to ``1`` or ``-1``, respectively, and " @@ -170,20 +181,20 @@ msgid "" "exception occurs set *\\*overflow* to ``0`` and return ``-1`` as usual." msgstr "" -#: c-api/long.rst:182 +#: c-api/long.rst:192 msgid "" "Return a C :c:expr:`long long` representation of *obj*. If *obj* is not an " "instance of :c:type:`PyLongObject`, first call its :meth:`~object.__index__` " "method (if present) to convert it to a :c:type:`PyLongObject`." msgstr "" -#: c-api/long.rst:168 +#: c-api/long.rst:178 msgid "" "Raise :exc:`OverflowError` if the value of *obj* is out of range for a :c:" "expr:`long long`." msgstr "" -#: c-api/long.rst:186 +#: c-api/long.rst:196 msgid "" "If the value of *obj* is greater than :c:macro:`LLONG_MAX` or less than :c:" "macro:`LLONG_MIN`, set *\\*overflow* to ``1`` or ``-1``, respectively, and " @@ -191,133 +202,133 @@ msgid "" "exception occurs set *\\*overflow* to ``0`` and return ``-1`` as usual." msgstr "" -#: c-api/long.rst:208 +#: c-api/long.rst:218 msgid "" "Return a C :c:type:`Py_ssize_t` representation of *pylong*. *pylong* must " "be an instance of :c:type:`PyLongObject`." msgstr "" -#: c-api/long.rst:211 +#: c-api/long.rst:221 msgid "" "Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:" "type:`Py_ssize_t`." msgstr "" -#: c-api/long.rst:223 +#: c-api/long.rst:233 msgid "" "Return a C :c:expr:`unsigned long` representation of *pylong*. *pylong* " "must be an instance of :c:type:`PyLongObject`." msgstr "" -#: c-api/long.rst:226 +#: c-api/long.rst:236 msgid "" "Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:" "expr:`unsigned long`." msgstr "" -#: c-api/long.rst:229 +#: c-api/long.rst:239 msgid "" "Returns ``(unsigned long)-1`` on error. Use :c:func:`PyErr_Occurred` to " "disambiguate." msgstr "" -#: c-api/long.rst:239 +#: c-api/long.rst:249 msgid "" "Return a C :c:type:`size_t` representation of *pylong*. *pylong* must be an " "instance of :c:type:`PyLongObject`." msgstr "" -#: c-api/long.rst:242 +#: c-api/long.rst:252 msgid "" "Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:" "type:`size_t`." msgstr "" -#: c-api/long.rst:245 +#: c-api/long.rst:255 msgid "" "Returns ``(size_t)-1`` on error. Use :c:func:`PyErr_Occurred` to " "disambiguate." msgstr "" -#: c-api/long.rst:254 +#: c-api/long.rst:264 msgid "" "Return a C :c:expr:`unsigned long long` representation of *pylong*. " "*pylong* must be an instance of :c:type:`PyLongObject`." msgstr "" -#: c-api/long.rst:257 +#: c-api/long.rst:267 msgid "" "Raise :exc:`OverflowError` if the value of *pylong* is out of range for an :" "c:expr:`unsigned long long`." msgstr "" -#: c-api/long.rst:260 +#: c-api/long.rst:270 msgid "" "Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred` to " "disambiguate." msgstr "" -#: c-api/long.rst:263 +#: c-api/long.rst:273 msgid "" "A negative *pylong* now raises :exc:`OverflowError`, not :exc:`TypeError`." msgstr "" -#: c-api/long.rst:269 +#: c-api/long.rst:279 msgid "" "Return a C :c:expr:`unsigned long` representation of *obj*. If *obj* is not " "an instance of :c:type:`PyLongObject`, first call its :meth:`~object." "__index__` method (if present) to convert it to a :c:type:`PyLongObject`." msgstr "" -#: c-api/long.rst:273 +#: c-api/long.rst:283 msgid "" "If the value of *obj* is out of range for an :c:expr:`unsigned long`, return " "the reduction of that value modulo ``ULONG_MAX + 1``." msgstr "" -#: c-api/long.rst:276 +#: c-api/long.rst:286 msgid "" "Returns ``(unsigned long)-1`` on error. Use :c:func:`PyErr_Occurred` to " "disambiguate." msgstr "" -#: c-api/long.rst:288 +#: c-api/long.rst:298 msgid "" "Return a C :c:expr:`unsigned long long` representation of *obj*. If *obj* " "is not an instance of :c:type:`PyLongObject`, first call its :meth:`~object." "__index__` method (if present) to convert it to a :c:type:`PyLongObject`." msgstr "" -#: c-api/long.rst:293 +#: c-api/long.rst:303 msgid "" "If the value of *obj* is out of range for an :c:expr:`unsigned long long`, " "return the reduction of that value modulo ``ULLONG_MAX + 1``." msgstr "" -#: c-api/long.rst:296 +#: c-api/long.rst:306 msgid "" "Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred` " "to disambiguate." msgstr "" -#: c-api/long.rst:308 +#: c-api/long.rst:318 msgid "" "Return a C :c:expr:`double` representation of *pylong*. *pylong* must be an " "instance of :c:type:`PyLongObject`." msgstr "" -#: c-api/long.rst:311 +#: c-api/long.rst:321 msgid "" "Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:" "expr:`double`." msgstr "" -#: c-api/long.rst:314 +#: c-api/long.rst:324 msgid "" "Returns ``-1.0`` on error. Use :c:func:`PyErr_Occurred` to disambiguate." msgstr "" -#: c-api/long.rst:319 +#: c-api/long.rst:329 msgid "" "Convert a Python integer *pylong* to a C :c:expr:`void` pointer. If *pylong* " "cannot be converted, an :exc:`OverflowError` will be raised. This is only " @@ -325,27 +336,27 @@ msgid "" "c:func:`PyLong_FromVoidPtr`." msgstr "" -#: c-api/long.rst:324 +#: c-api/long.rst:334 msgid "" "Returns ``NULL`` on error. Use :c:func:`PyErr_Occurred` to disambiguate." msgstr "" -#: c-api/long.rst:329 +#: c-api/long.rst:339 msgid "" "On success, return a read only :term:`named tuple`, that holds information " "about Python's internal representation of integers. See :data:`sys.int_info` " "for description of individual fields." msgstr "" -#: c-api/long.rst:333 +#: c-api/long.rst:343 msgid "On failure, return ``NULL`` with an exception set." msgstr "" -#: c-api/long.rst:340 +#: c-api/long.rst:350 msgid "Return 1 if *op* is compact, 0 otherwise." msgstr "" -#: c-api/long.rst:342 +#: c-api/long.rst:352 msgid "" "This function makes it possible for performance-critical code to implement a " "“fast path” for small integers. For compact values use :c:func:" @@ -354,23 +365,23 @@ msgid "" "` :meth:`int.to_bytes`." msgstr "" -#: c-api/long.rst:348 +#: c-api/long.rst:358 msgid "The speedup is expected to be negligible for most users." msgstr "" -#: c-api/long.rst:350 +#: c-api/long.rst:360 msgid "" "Exactly what values are considered compact is an implementation detail and " "is subject to change." msgstr "" -#: c-api/long.rst:358 +#: c-api/long.rst:368 msgid "" "If *op* is compact, as determined by :c:func:`PyUnstable_Long_IsCompact`, " "return its value." msgstr "" -#: c-api/long.rst:361 +#: c-api/long.rst:371 msgid "Otherwise, the return value is undefined." msgstr "" @@ -390,18 +401,18 @@ msgstr "" msgid "LONG_MAX (C macro)" msgstr "" -#: c-api/long.rst:161 c-api/long.rst:219 c-api/long.rst:251 +#: c-api/long.rst:171 c-api/long.rst:229 c-api/long.rst:261 msgid "OverflowError (built-in exception)" msgstr "" -#: c-api/long.rst:204 +#: c-api/long.rst:214 msgid "PY_SSIZE_T_MAX (C macro)" msgstr "" -#: c-api/long.rst:219 +#: c-api/long.rst:229 msgid "ULONG_MAX (C macro)" msgstr "" -#: c-api/long.rst:235 +#: c-api/long.rst:245 msgid "SIZE_MAX (C macro)" msgstr "" diff --git a/c-api/mapping.po b/c-api/mapping.po index 07fe0a87..911d96e4 100644 --- a/c-api/mapping.po +++ b/c-api/mapping.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/marshal.po b/c-api/marshal.po index 5761c6cd..ea6a09d1 100644 --- a/c-api/marshal.po +++ b/c-api/marshal.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/memory.po b/c-api/memory.po index b4100ee0..0321f974 100644 --- a/c-api/memory.po +++ b/c-api/memory.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/memoryview.po b/c-api/memoryview.po index 22dc9ec2..48356588 100644 --- a/c-api/memoryview.po +++ b/c-api/memoryview.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/method.po b/c-api/method.po index 2903c01c..00387d7d 100644 --- a/c-api/method.po +++ b/c-api/method.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/module.po b/c-api/module.po index ffd8cace..d71ae556 100644 --- a/c-api/module.po +++ b/c-api/module.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -463,7 +463,7 @@ msgstr "" #: c-api/module.rst:417 msgid "" "If ``Py_mod_multiple_interpreters`` is not specified, the import machinery " -"defaults to ``Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED``." +"defaults to ``Py_MOD_MULTIPLE_INTERPRETERS_SUPPORTED``." msgstr "" #: c-api/module.rst:422 diff --git a/c-api/none.po b/c-api/none.po index 69587253..d4a45f06 100644 --- a/c-api/none.po +++ b/c-api/none.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/number.po b/c-api/number.po index 107636ef..10fa1bae 100644 --- a/c-api/number.po +++ b/c-api/number.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/objbuffer.po b/c-api/objbuffer.po index 46606f93..2e22f5ef 100644 --- a/c-api/objbuffer.po +++ b/c-api/objbuffer.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/object.po b/c-api/object.po index f20c829d..b0e0ae83 100644 --- a/c-api/object.po +++ b/c-api/object.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/objimpl.po b/c-api/objimpl.po index 39f6fb94..54f02d5b 100644 --- a/c-api/objimpl.po +++ b/c-api/objimpl.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/perfmaps.po b/c-api/perfmaps.po index 94a6183b..d3580871 100644 --- a/c-api/perfmaps.po +++ b/c-api/perfmaps.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/refcounting.po b/c-api/refcounting.po index ed4393bf..5a64bc5f 100644 --- a/c-api/refcounting.po +++ b/c-api/refcounting.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/reflection.po b/c-api/reflection.po index abfaefbd..9a74385c 100644 --- a/c-api/reflection.po +++ b/c-api/reflection.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/sequence.po b/c-api/sequence.po index a5c5403f..096ae4fb 100644 --- a/c-api/sequence.po +++ b/c-api/sequence.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/set.po b/c-api/set.po index 8aae660d..60124cbe 100644 --- a/c-api/set.po +++ b/c-api/set.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/slice.po b/c-api/slice.po index 96c78604..042328a4 100644 --- a/c-api/slice.po +++ b/c-api/slice.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/stable.po b/c-api/stable.po index 2b04b71e..90c69c37 100644 --- a/c-api/stable.po +++ b/c-api/stable.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/structures.po b/c-api/structures.po index fb922239..bba00cb0 100644 --- a/c-api/structures.po +++ b/c-api/structures.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -94,103 +94,108 @@ msgstr "" #: c-api/structures.rst:68 msgid "" +"The base class of all other objects, the same as :class:`object` in Python." +msgstr "" + +#: c-api/structures.rst:73 +msgid "" "Test if the *x* object is the *y* object, the same as ``x is y`` in Python." msgstr "" -#: c-api/structures.rst:75 +#: c-api/structures.rst:80 msgid "" "Test if an object is the ``None`` singleton, the same as ``x is None`` in " "Python." msgstr "" -#: c-api/structures.rst:83 +#: c-api/structures.rst:88 msgid "" "Test if an object is the ``True`` singleton, the same as ``x is True`` in " "Python." msgstr "" -#: c-api/structures.rst:91 +#: c-api/structures.rst:96 msgid "" "Test if an object is the ``False`` singleton, the same as ``x is False`` in " "Python." msgstr "" -#: c-api/structures.rst:99 +#: c-api/structures.rst:104 msgid "Get the type of the Python object *o*." msgstr "" -#: c-api/structures.rst:101 +#: c-api/structures.rst:106 msgid "Return a :term:`borrowed reference`." msgstr "" -#: c-api/structures.rst:103 +#: c-api/structures.rst:108 msgid "Use the :c:func:`Py_SET_TYPE` function to set an object type." msgstr "" -#: c-api/structures.rst:105 +#: c-api/structures.rst:110 msgid "" ":c:func:`Py_TYPE()` is changed to an inline static function. The parameter " "type is no longer :c:expr:`const PyObject*`." msgstr "" -#: c-api/structures.rst:112 +#: c-api/structures.rst:117 msgid "" "Return non-zero if the object *o* type is *type*. Return zero otherwise. " "Equivalent to: ``Py_TYPE(o) == type``." msgstr "" -#: c-api/structures.rst:120 +#: c-api/structures.rst:125 msgid "Set the object *o* type to *type*." msgstr "" -#: c-api/structures.rst:127 +#: c-api/structures.rst:132 msgid "Get the size of the Python object *o*." msgstr "" -#: c-api/structures.rst:129 +#: c-api/structures.rst:134 msgid "Use the :c:func:`Py_SET_SIZE` function to set an object size." msgstr "" -#: c-api/structures.rst:131 +#: c-api/structures.rst:136 msgid "" ":c:func:`Py_SIZE()` is changed to an inline static function. The parameter " "type is no longer :c:expr:`const PyVarObject*`." msgstr "" -#: c-api/structures.rst:138 +#: c-api/structures.rst:143 msgid "Set the object *o* size to *size*." msgstr "" -#: c-api/structures.rst:145 +#: c-api/structures.rst:150 msgid "" "This is a macro which expands to initialization values for a new :c:type:" "`PyObject` type. This macro expands to::" msgstr "" -#: c-api/structures.rst:148 +#: c-api/structures.rst:153 msgid "" "_PyObject_EXTRA_INIT\n" "1, type," msgstr "" -#: c-api/structures.rst:154 +#: c-api/structures.rst:159 msgid "" "This is a macro which expands to initialization values for a new :c:type:" "`PyVarObject` type, including the :c:member:`~PyVarObject.ob_size` field. " "This macro expands to::" msgstr "" -#: c-api/structures.rst:158 +#: c-api/structures.rst:163 msgid "" "_PyObject_EXTRA_INIT\n" "1, type, size," msgstr "" -#: c-api/structures.rst:163 +#: c-api/structures.rst:168 msgid "Implementing functions and methods" msgstr "" -#: c-api/structures.rst:167 +#: c-api/structures.rst:172 msgid "" "Type of the functions used to implement most Python callables in C. " "Functions of this type take two :c:expr:`PyObject*` parameters and return " @@ -200,51 +205,51 @@ msgid "" "reference." msgstr "" -#: c-api/structures.rst:174 +#: c-api/structures.rst:179 msgid "The function signature is::" msgstr "" -#: c-api/structures.rst:176 +#: c-api/structures.rst:181 msgid "" "PyObject *PyCFunction(PyObject *self,\n" " PyObject *args);" msgstr "" -#: c-api/structures.rst:181 +#: c-api/structures.rst:186 msgid "" "Type of the functions used to implement Python callables in C with " "signature :ref:`METH_VARARGS | METH_KEYWORDS `. " "The function signature is::" msgstr "" -#: c-api/structures.rst:185 +#: c-api/structures.rst:190 msgid "" "PyObject *PyCFunctionWithKeywords(PyObject *self,\n" " PyObject *args,\n" " PyObject *kwargs);" msgstr "" -#: c-api/structures.rst:192 +#: c-api/structures.rst:197 msgid "" "Type of the functions used to implement Python callables in C with " "signature :c:macro:`METH_FASTCALL`. The function signature is::" msgstr "" -#: c-api/structures.rst:196 +#: c-api/structures.rst:201 msgid "" "PyObject *_PyCFunctionFast(PyObject *self,\n" " PyObject *const *args,\n" " Py_ssize_t nargs);" msgstr "" -#: c-api/structures.rst:202 +#: c-api/structures.rst:207 msgid "" "Type of the functions used to implement Python callables in C with " "signature :ref:`METH_FASTCALL | METH_KEYWORDS `. The function signature is::" msgstr "" -#: c-api/structures.rst:206 +#: c-api/structures.rst:211 msgid "" "PyObject *_PyCFunctionFastWithKeywords(PyObject *self,\n" " PyObject *const *args,\n" @@ -252,14 +257,14 @@ msgid "" " PyObject *kwnames);" msgstr "" -#: c-api/structures.rst:213 +#: c-api/structures.rst:218 msgid "" "Type of the functions used to implement Python callables in C with " "signature :ref:`METH_METHOD | METH_FASTCALL | METH_KEYWORDS `. The function signature is::" msgstr "" -#: c-api/structures.rst:217 +#: c-api/structures.rst:222 msgid "" "PyObject *PyCMethod(PyObject *self,\n" " PyTypeObject *defining_class,\n" @@ -268,29 +273,29 @@ msgid "" " PyObject *kwnames)" msgstr "" -#: c-api/structures.rst:228 +#: c-api/structures.rst:233 msgid "" "Structure used to describe a method of an extension type. This structure " "has four fields:" msgstr "" -#: c-api/structures.rst:233 +#: c-api/structures.rst:238 msgid "Name of the method." msgstr "" -#: c-api/structures.rst:237 +#: c-api/structures.rst:242 msgid "Pointer to the C implementation." msgstr "" -#: c-api/structures.rst:241 +#: c-api/structures.rst:246 msgid "Flags bits indicating how the call should be constructed." msgstr "" -#: c-api/structures.rst:245 +#: c-api/structures.rst:250 msgid "Points to the contents of the docstring." msgstr "" -#: c-api/structures.rst:247 +#: c-api/structures.rst:252 msgid "" "The :c:member:`~PyMethodDef.ml_meth` is a C function pointer. The functions " "may be of different types, but they always return :c:expr:`PyObject*`. If " @@ -300,18 +305,18 @@ msgid "" "implementation uses the specific C type of the *self* object." msgstr "" -#: c-api/structures.rst:255 +#: c-api/structures.rst:260 msgid "" "The :c:member:`~PyMethodDef.ml_flags` field is a bitfield which can include " "the following flags. The individual flags indicate either a calling " "convention or a binding convention." msgstr "" -#: c-api/structures.rst:260 +#: c-api/structures.rst:265 msgid "There are these calling conventions:" msgstr "" -#: c-api/structures.rst:264 +#: c-api/structures.rst:269 msgid "" "This is the typical calling convention, where the methods have the type :c:" "type:`PyCFunction`. The function expects two :c:expr:`PyObject*` values. The " @@ -321,7 +326,7 @@ msgid "" "func:`PyArg_ParseTuple` or :c:func:`PyArg_UnpackTuple`." msgstr "" -#: c-api/structures.rst:274 +#: c-api/structures.rst:279 msgid "" "Can only be used in certain combinations with other flags: :ref:" "`METH_VARARGS | METH_KEYWORDS `, :ref:" @@ -330,11 +335,11 @@ msgid "" "METH_KEYWORDS>`." msgstr "" -#: c-api/structures.rst:282 +#: c-api/structures.rst:287 msgid ":c:expr:`METH_VARARGS | METH_KEYWORDS`" msgstr "" -#: c-api/structures.rst:283 +#: c-api/structures.rst:288 msgid "" "Methods with these flags must be of type :c:type:`PyCFunctionWithKeywords`. " "The function expects three parameters: *self*, *args*, *kwargs* where " @@ -343,7 +348,7 @@ msgid "" "using :c:func:`PyArg_ParseTupleAndKeywords`." msgstr "" -#: c-api/structures.rst:292 +#: c-api/structures.rst:297 msgid "" "Fast calling convention supporting only positional arguments. The methods " "have the type :c:type:`_PyCFunctionFast`. The first parameter is *self*, the " @@ -352,15 +357,15 @@ msgid "" "the array)." msgstr "" -#: c-api/structures.rst:302 +#: c-api/structures.rst:307 msgid "``METH_FASTCALL`` is now part of the :ref:`stable ABI `." msgstr "" -#: c-api/structures.rst:307 +#: c-api/structures.rst:312 msgid ":c:expr:`METH_FASTCALL | METH_KEYWORDS`" msgstr "" -#: c-api/structures.rst:308 +#: c-api/structures.rst:313 msgid "" "Extension of :c:macro:`METH_FASTCALL` supporting also keyword arguments, " "with methods of type :c:type:`_PyCFunctionFastWithKeywords`. Keyword " @@ -372,17 +377,17 @@ msgid "" "the positional arguments." msgstr "" -#: c-api/structures.rst:323 +#: c-api/structures.rst:328 msgid "" "Can only be used in the combination with other flags: :ref:`METH_METHOD | " "METH_FASTCALL | METH_KEYWORDS `." msgstr "" -#: c-api/structures.rst:329 +#: c-api/structures.rst:334 msgid ":c:expr:`METH_METHOD | METH_FASTCALL | METH_KEYWORDS`" msgstr "" -#: c-api/structures.rst:330 +#: c-api/structures.rst:335 msgid "" "Extension of :ref:`METH_FASTCALL | METH_KEYWORDS ` supporting the *defining class*, that is, the class that " @@ -390,14 +395,14 @@ msgid "" "``Py_TYPE(self)``." msgstr "" -#: c-api/structures.rst:335 +#: c-api/structures.rst:340 msgid "" "The method needs to be of type :c:type:`PyCMethod`, the same as for " "``METH_FASTCALL | METH_KEYWORDS`` with ``defining_class`` argument added " "after ``self``." msgstr "" -#: c-api/structures.rst:344 +#: c-api/structures.rst:349 msgid "" "Methods without parameters don't need to check whether arguments are given " "if they are listed with the :c:macro:`METH_NOARGS` flag. They need to be of " @@ -406,13 +411,13 @@ msgid "" "the second parameter will be ``NULL``." msgstr "" -#: c-api/structures.rst:350 +#: c-api/structures.rst:355 msgid "" "The function must have 2 parameters. Since the second parameter is unused, :" "c:macro:`Py_UNUSED` can be used to prevent a compiler warning." msgstr "" -#: c-api/structures.rst:356 +#: c-api/structures.rst:361 msgid "" "Methods with a single object argument can be listed with the :c:macro:" "`METH_O` flag, instead of invoking :c:func:`PyArg_ParseTuple` with a " @@ -421,7 +426,7 @@ msgid "" "single argument." msgstr "" -#: c-api/structures.rst:362 +#: c-api/structures.rst:367 msgid "" "These two constants are not used to indicate the calling convention but the " "binding when use with methods of classes. These may not be used for " @@ -429,27 +434,27 @@ msgid "" "any given method." msgstr "" -#: c-api/structures.rst:372 +#: c-api/structures.rst:377 msgid "" "The method will be passed the type object as the first parameter rather than " "an instance of the type. This is used to create *class methods*, similar to " "what is created when using the :func:`classmethod` built-in function." msgstr "" -#: c-api/structures.rst:382 +#: c-api/structures.rst:387 msgid "" "The method will be passed ``NULL`` as the first parameter rather than an " "instance of the type. This is used to create *static methods*, similar to " "what is created when using the :func:`staticmethod` built-in function." msgstr "" -#: c-api/structures.rst:386 +#: c-api/structures.rst:391 msgid "" "One other constant controls whether a method is loaded in place of another " "definition with the same method name." msgstr "" -#: c-api/structures.rst:392 +#: c-api/structures.rst:397 msgid "" "The method will be loaded in place of existing definitions. Without " "*METH_COEXIST*, the default is to skip repeated definitions. Since slot " @@ -462,20 +467,20 @@ msgid "" "wrapper object calls." msgstr "" -#: c-api/structures.rst:404 +#: c-api/structures.rst:409 msgid "" "Turn *ml* into a Python :term:`callable` object. The caller must ensure that " "*ml* outlives the :term:`callable`. Typically, *ml* is defined as a static " "variable." msgstr "" -#: c-api/structures.rst:408 +#: c-api/structures.rst:413 msgid "" "The *self* parameter will be passed as the *self* argument to the C function " "in ``ml->ml_meth`` when invoked. *self* can be ``NULL``." msgstr "" -#: c-api/structures.rst:412 +#: c-api/structures.rst:417 msgid "" "The :term:`callable` object's ``__module__`` attribute can be set from the " "given *module* argument. *module* should be a Python string, which will be " @@ -483,71 +488,71 @@ msgid "" "can be set to :const:`None` or ``NULL``." msgstr "" -#: c-api/structures.rst:418 +#: c-api/structures.rst:423 msgid ":attr:`function.__module__`" msgstr "" -#: c-api/structures.rst:420 +#: c-api/structures.rst:425 msgid "" "The *cls* parameter will be passed as the *defining_class* argument to the C " "function. Must be set if :c:macro:`METH_METHOD` is set on ``ml->ml_flags``." msgstr "" -#: c-api/structures.rst:429 +#: c-api/structures.rst:434 msgid "Equivalent to ``PyCMethod_New(ml, self, module, NULL)``." msgstr "" -#: c-api/structures.rst:434 +#: c-api/structures.rst:439 msgid "Equivalent to ``PyCMethod_New(ml, self, NULL, NULL)``." msgstr "" -#: c-api/structures.rst:438 +#: c-api/structures.rst:443 msgid "Accessing attributes of extension types" msgstr "" -#: c-api/structures.rst:442 +#: c-api/structures.rst:447 msgid "" "Structure which describes an attribute of a type which corresponds to a C " "struct member. When defining a class, put a NULL-terminated array of these " "structures in the :c:member:`~PyTypeObject.tp_members` slot." msgstr "" -#: c-api/structures.rst:447 +#: c-api/structures.rst:452 msgid "Its fields are, in order:" msgstr "" -#: c-api/structures.rst:451 +#: c-api/structures.rst:456 msgid "" "Name of the member. A NULL value marks the end of a ``PyMemberDef[]`` array." msgstr "" -#: c-api/structures.rst:454 +#: c-api/structures.rst:459 msgid "The string should be static, no copy is made of it." msgstr "" -#: c-api/structures.rst:458 +#: c-api/structures.rst:463 msgid "" "The type of the member in the C struct. See :ref:`PyMemberDef-types` for the " "possible values." msgstr "" -#: c-api/structures.rst:463 +#: c-api/structures.rst:468 msgid "" "The offset in bytes that the member is located on the type’s object struct." msgstr "" -#: c-api/structures.rst:467 +#: c-api/structures.rst:472 msgid "" "Zero or more of the :ref:`PyMemberDef-flags`, combined using bitwise OR." msgstr "" -#: c-api/structures.rst:471 +#: c-api/structures.rst:476 msgid "" "The docstring, or NULL. The string should be static, no copy is made of it. " "Typically, it is defined using :c:macro:`PyDoc_STR`." msgstr "" -#: c-api/structures.rst:475 +#: c-api/structures.rst:480 msgid "" "By default (when :c:member:`~PyMemberDef.flags` is ``0``), members allow " "both read and write access. Use the :c:macro:`Py_READONLY` flag for read-" @@ -556,7 +561,7 @@ msgid "" "`T_OBJECT`) members can be deleted." msgstr "" -#: c-api/structures.rst:484 +#: c-api/structures.rst:489 msgid "" "For heap-allocated types (created using :c:func:`PyType_FromSpec` or " "similar), ``PyMemberDef`` may contain a definition for the special member " @@ -565,7 +570,7 @@ msgid "" "``Py_T_PYSSIZET`` and ``Py_READONLY``, for example::" msgstr "" -#: c-api/structures.rst:490 +#: c-api/structures.rst:495 msgid "" "static PyMemberDef spam_type_members[] = {\n" " {\"__vectorcalloffset__\", Py_T_PYSSIZET,\n" @@ -574,11 +579,11 @@ msgid "" "};" msgstr "" -#: c-api/structures.rst:496 +#: c-api/structures.rst:501 msgid "(You may need to ``#include `` for :c:func:`!offsetof`.)" msgstr "" -#: c-api/structures.rst:498 +#: c-api/structures.rst:503 msgid "" "The legacy offsets :c:member:`~PyTypeObject.tp_dictoffset` and :c:member:" "`~PyTypeObject.tp_weaklistoffset` can be defined similarly using " @@ -587,77 +592,77 @@ msgid "" "and :c:macro:`Py_TPFLAGS_MANAGED_WEAKREF` instead." msgstr "" -#: c-api/structures.rst:506 +#: c-api/structures.rst:511 msgid "" "``PyMemberDef`` is always available. Previously, it required including " "``\"structmember.h\"``." msgstr "" -#: c-api/structures.rst:511 +#: c-api/structures.rst:516 msgid "" "Get an attribute belonging to the object at address *obj_addr*. The " "attribute is described by ``PyMemberDef`` *m*. Returns ``NULL`` on error." msgstr "" -#: c-api/structures.rst:517 +#: c-api/structures.rst:522 msgid "" "``PyMember_GetOne`` is always available. Previously, it required including " "``\"structmember.h\"``." msgstr "" -#: c-api/structures.rst:522 +#: c-api/structures.rst:527 msgid "" "Set an attribute belonging to the object at address *obj_addr* to object " "*o*. The attribute to set is described by ``PyMemberDef`` *m*. Returns " "``0`` if successful and a negative value on failure." msgstr "" -#: c-api/structures.rst:528 +#: c-api/structures.rst:533 msgid "" "``PyMember_SetOne`` is always available. Previously, it required including " "``\"structmember.h\"``." msgstr "" -#: c-api/structures.rst:534 +#: c-api/structures.rst:539 msgid "Member flags" msgstr "" -#: c-api/structures.rst:536 +#: c-api/structures.rst:541 msgid "The following flags can be used with :c:member:`PyMemberDef.flags`:" msgstr "" -#: c-api/structures.rst:540 +#: c-api/structures.rst:545 msgid "Not writable." msgstr "" -#: c-api/structures.rst:544 +#: c-api/structures.rst:549 msgid "" "Emit an ``object.__getattr__`` :ref:`audit event ` before " "reading." msgstr "" -#: c-api/structures.rst:549 +#: c-api/structures.rst:554 msgid "" "Indicates that the :c:member:`~PyMemberDef.offset` of this ``PyMemberDef`` " "entry indicates an offset from the subclass-specific data, rather than from " "``PyObject``." msgstr "" -#: c-api/structures.rst:553 +#: c-api/structures.rst:558 msgid "" "Can only be used as part of :c:member:`Py_tp_members ` :c:type:`slot ` when creating a class using " "negative :c:member:`~PyType_Spec.basicsize`. It is mandatory in that case." msgstr "" -#: c-api/structures.rst:558 +#: c-api/structures.rst:563 msgid "" "This flag is only used in :c:type:`PyType_Slot`. When setting :c:member:" "`~PyTypeObject.tp_members` during class creation, Python clears it and sets :" "c:member:`PyMemberDef.offset` to the offset from the ``PyObject`` struct." msgstr "" -#: c-api/structures.rst:570 +#: c-api/structures.rst:575 msgid "" "The :c:macro:`!RESTRICTED`, :c:macro:`!READ_RESTRICTED` and :c:macro:`!" "WRITE_RESTRICTED` macros available with ``#include \"structmember.h\"`` are " @@ -666,7 +671,7 @@ msgid "" "nothing." msgstr "" -#: c-api/structures.rst:581 +#: c-api/structures.rst:586 msgid "" "The :c:macro:`!READONLY` macro was renamed to :c:macro:`Py_READONLY`. The :c:" "macro:`!PY_AUDIT_READ` macro was renamed with the ``Py_`` prefix. The new " @@ -675,11 +680,11 @@ msgid "" "names." msgstr "" -#: c-api/structures.rst:590 +#: c-api/structures.rst:595 msgid "Member types" msgstr "" -#: c-api/structures.rst:592 +#: c-api/structures.rst:597 msgid "" ":c:member:`PyMemberDef.type` can be one of the following macros " "corresponding to various C types. When the member is accessed in Python, it " @@ -688,143 +693,143 @@ msgid "" "exception such as :exc:`TypeError` or :exc:`ValueError` is raised." msgstr "" -#: c-api/structures.rst:600 +#: c-api/structures.rst:605 msgid "" "Unless marked (D), attributes defined this way cannot be deleted using e.g. :" "keyword:`del` or :py:func:`delattr`." msgstr "" -#: c-api/structures.rst:604 +#: c-api/structures.rst:609 msgid "Macro name" msgstr "" -#: c-api/structures.rst:604 +#: c-api/structures.rst:609 msgid "C type" msgstr "" -#: c-api/structures.rst:604 +#: c-api/structures.rst:609 msgid "Python type" msgstr "" -#: c-api/structures.rst:606 +#: c-api/structures.rst:611 msgid ":c:expr:`char`" msgstr "" -#: c-api/structures.rst:607 c-api/structures.rst:609 c-api/structures.rst:611 -#: c-api/structures.rst:613 c-api/structures.rst:615 c-api/structures.rst:616 +#: c-api/structures.rst:612 c-api/structures.rst:614 c-api/structures.rst:616 +#: c-api/structures.rst:618 c-api/structures.rst:620 c-api/structures.rst:621 msgid ":py:class:`int`" msgstr "" -#: c-api/structures.rst:607 +#: c-api/structures.rst:612 msgid ":c:expr:`short`" msgstr "" -#: c-api/structures.rst:608 +#: c-api/structures.rst:613 msgid ":c:expr:`int`" msgstr "" -#: c-api/structures.rst:609 +#: c-api/structures.rst:614 msgid ":c:expr:`long`" msgstr "" -#: c-api/structures.rst:610 +#: c-api/structures.rst:615 msgid ":c:expr:`long long`" msgstr "" -#: c-api/structures.rst:611 +#: c-api/structures.rst:616 msgid ":c:expr:`unsigned char`" msgstr "" -#: c-api/structures.rst:612 +#: c-api/structures.rst:617 msgid ":c:expr:`unsigned int`" msgstr "" -#: c-api/structures.rst:613 +#: c-api/structures.rst:618 msgid ":c:expr:`unsigned short`" msgstr "" -#: c-api/structures.rst:614 +#: c-api/structures.rst:619 msgid ":c:expr:`unsigned long`" msgstr "" -#: c-api/structures.rst:615 +#: c-api/structures.rst:620 msgid ":c:expr:`unsigned long long`" msgstr "" -#: c-api/structures.rst:616 +#: c-api/structures.rst:621 msgid ":c:expr:`Py_ssize_t`" msgstr "" -#: c-api/structures.rst:617 +#: c-api/structures.rst:622 msgid ":c:expr:`float`" msgstr "" -#: c-api/structures.rst:618 +#: c-api/structures.rst:623 msgid ":py:class:`float`" msgstr "" -#: c-api/structures.rst:618 +#: c-api/structures.rst:623 msgid ":c:expr:`double`" msgstr "" -#: c-api/structures.rst:619 +#: c-api/structures.rst:624 msgid ":c:expr:`char` (written as 0 or 1)" msgstr "" -#: c-api/structures.rst:619 +#: c-api/structures.rst:624 msgid ":py:class:`bool`" msgstr "" -#: c-api/structures.rst:621 +#: c-api/structures.rst:626 msgid ":c:expr:`const char *` (*)" msgstr "" -#: c-api/structures.rst:622 +#: c-api/structures.rst:627 msgid ":py:class:`str` (RO)" msgstr "" -#: c-api/structures.rst:622 +#: c-api/structures.rst:627 msgid ":c:expr:`const char[]` (*)" msgstr "" -#: c-api/structures.rst:623 +#: c-api/structures.rst:628 msgid ":c:expr:`char` (0-127)" msgstr "" -#: c-api/structures.rst:623 +#: c-api/structures.rst:628 msgid ":py:class:`str` (**)" msgstr "" -#: c-api/structures.rst:624 +#: c-api/structures.rst:629 msgid ":c:expr:`PyObject *`" msgstr "" -#: c-api/structures.rst:624 +#: c-api/structures.rst:629 msgid ":py:class:`object` (D)" msgstr "" -#: c-api/structures.rst:627 +#: c-api/structures.rst:632 msgid "" "(*): Zero-terminated, UTF8-encoded C string. With :c:macro:`!Py_T_STRING` " "the C representation is a pointer; with :c:macro:`!Py_T_STRING_INPLACE` the " "string is stored directly in the structure." msgstr "" -#: c-api/structures.rst:632 +#: c-api/structures.rst:637 msgid "(**): String of length 1. Only ASCII is accepted." msgstr "" -#: c-api/structures.rst:634 +#: c-api/structures.rst:639 msgid "(RO): Implies :c:macro:`Py_READONLY`." msgstr "" -#: c-api/structures.rst:636 +#: c-api/structures.rst:641 msgid "" "(D): Can be deleted, in which case the pointer is set to ``NULL``. Reading a " "``NULL`` pointer raises :py:exc:`AttributeError`." msgstr "" -#: c-api/structures.rst:662 +#: c-api/structures.rst:667 msgid "" "In previous versions, the macros were only available with ``#include " "\"structmember.h\"`` and were named without the ``Py_`` prefix (e.g. as " @@ -832,174 +837,174 @@ msgid "" "with the following deprecated types:" msgstr "" -#: c-api/structures.rst:670 +#: c-api/structures.rst:675 msgid "" "Like ``Py_T_OBJECT_EX``, but ``NULL`` is converted to ``None``. This results " "in surprising behavior in Python: deleting the attribute effectively sets it " "to ``None``." msgstr "" -#: c-api/structures.rst:676 +#: c-api/structures.rst:681 msgid "Always ``None``. Must be used with :c:macro:`Py_READONLY`." msgstr "" -#: c-api/structures.rst:679 +#: c-api/structures.rst:684 msgid "Defining Getters and Setters" msgstr "" -#: c-api/structures.rst:683 +#: c-api/structures.rst:688 msgid "" "Structure to define property-like access for a type. See also description of " "the :c:member:`PyTypeObject.tp_getset` slot." msgstr "" -#: c-api/structures.rst:688 +#: c-api/structures.rst:693 msgid "attribute name" msgstr "" -#: c-api/structures.rst:692 +#: c-api/structures.rst:697 msgid "C function to get the attribute." msgstr "" -#: c-api/structures.rst:696 +#: c-api/structures.rst:701 msgid "" "Optional C function to set or delete the attribute. If ``NULL``, the " "attribute is read-only." msgstr "" -#: c-api/structures.rst:701 +#: c-api/structures.rst:706 msgid "optional docstring" msgstr "" -#: c-api/structures.rst:705 +#: c-api/structures.rst:710 msgid "" "Optional user data pointer, providing additional data for getter and setter." msgstr "" -#: c-api/structures.rst:709 +#: c-api/structures.rst:714 msgid "" "The ``get`` function takes one :c:expr:`PyObject*` parameter (the instance) " "and a user data pointer (the associated ``closure``):" msgstr "" -#: c-api/structures.rst:712 +#: c-api/structures.rst:717 msgid "" "It should return a new reference on success or ``NULL`` with a set exception " "on failure." msgstr "" -#: c-api/structures.rst:717 +#: c-api/structures.rst:722 msgid "" "``set`` functions take two :c:expr:`PyObject*` parameters (the instance and " "the value to be set) and a user data pointer (the associated ``closure``):" msgstr "" -#: c-api/structures.rst:720 +#: c-api/structures.rst:725 msgid "" "In case the attribute should be deleted the second parameter is ``NULL``. " "Should return ``0`` on success or ``-1`` with a set exception on failure." msgstr "" -#: c-api/structures.rst:380 +#: c-api/structures.rst:385 msgid "built-in function" msgstr "" -#: c-api/structures.rst:370 +#: c-api/structures.rst:375 msgid "classmethod" msgstr "" -#: c-api/structures.rst:380 +#: c-api/structures.rst:385 msgid "staticmethod" msgstr "" -#: c-api/structures.rst:563 +#: c-api/structures.rst:568 msgid "READ_RESTRICTED (C macro)" msgstr "" -#: c-api/structures.rst:563 +#: c-api/structures.rst:568 msgid "WRITE_RESTRICTED (C macro)" msgstr "" -#: c-api/structures.rst:563 +#: c-api/structures.rst:568 msgid "RESTRICTED (C macro)" msgstr "" -#: c-api/structures.rst:576 +#: c-api/structures.rst:581 msgid "READONLY (C macro)" msgstr "" -#: c-api/structures.rst:639 +#: c-api/structures.rst:644 msgid "T_BYTE (C macro)" msgstr "" -#: c-api/structures.rst:639 +#: c-api/structures.rst:644 msgid "T_SHORT (C macro)" msgstr "" -#: c-api/structures.rst:639 +#: c-api/structures.rst:644 msgid "T_INT (C macro)" msgstr "" -#: c-api/structures.rst:639 +#: c-api/structures.rst:644 msgid "T_LONG (C macro)" msgstr "" -#: c-api/structures.rst:639 +#: c-api/structures.rst:644 msgid "T_LONGLONG (C macro)" msgstr "" -#: c-api/structures.rst:639 +#: c-api/structures.rst:644 msgid "T_UBYTE (C macro)" msgstr "" -#: c-api/structures.rst:639 +#: c-api/structures.rst:644 msgid "T_USHORT (C macro)" msgstr "" -#: c-api/structures.rst:639 +#: c-api/structures.rst:644 msgid "T_UINT (C macro)" msgstr "" -#: c-api/structures.rst:639 +#: c-api/structures.rst:644 msgid "T_ULONG (C macro)" msgstr "" -#: c-api/structures.rst:639 +#: c-api/structures.rst:644 msgid "T_ULONGULONG (C macro)" msgstr "" -#: c-api/structures.rst:639 +#: c-api/structures.rst:644 msgid "T_PYSSIZET (C macro)" msgstr "" -#: c-api/structures.rst:639 +#: c-api/structures.rst:644 msgid "T_FLOAT (C macro)" msgstr "" -#: c-api/structures.rst:639 +#: c-api/structures.rst:644 msgid "T_DOUBLE (C macro)" msgstr "" -#: c-api/structures.rst:639 +#: c-api/structures.rst:644 msgid "T_BOOL (C macro)" msgstr "" -#: c-api/structures.rst:639 +#: c-api/structures.rst:644 msgid "T_CHAR (C macro)" msgstr "" -#: c-api/structures.rst:639 +#: c-api/structures.rst:644 msgid "T_STRING (C macro)" msgstr "" -#: c-api/structures.rst:639 +#: c-api/structures.rst:644 msgid "T_STRING_INPLACE (C macro)" msgstr "" -#: c-api/structures.rst:639 +#: c-api/structures.rst:644 msgid "T_OBJECT_EX (C macro)" msgstr "" -#: c-api/structures.rst:639 +#: c-api/structures.rst:644 msgid "structmember.h" msgstr "" diff --git a/c-api/sys.po b/c-api/sys.po index 2159fd1f..29311ad8 100644 --- a/c-api/sys.po +++ b/c-api/sys.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/tuple.po b/c-api/tuple.po index 5248c397..dd7747e9 100644 --- a/c-api/tuple.po +++ b/c-api/tuple.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/type.po b/c-api/type.po index 84a812d0..d0090d10 100644 --- a/c-api/type.po +++ b/c-api/type.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -437,20 +437,22 @@ msgid "" "If negative, the absolute value specifies how much space instances of the " "class need *in addition* to the superclass. Use :c:func:" "`PyObject_GetTypeData` to get a pointer to subclass-specific memory reserved " -"this way." +"this way. For negative :c:member:`!basicsize`, Python will insert padding " +"when needed to meet :c:member:`~PyTypeObject.tp_basicsize`'s alignment " +"requirements." msgstr "" -#: c-api/type.rst:403 +#: c-api/type.rst:406 msgid "Previously, this field could not be negative." msgstr "" -#: c-api/type.rst:407 +#: c-api/type.rst:410 msgid "" "Size of one element of a variable-size type, in bytes. Used to set :c:member:" "`PyTypeObject.tp_itemsize`. See ``tp_itemsize`` documentation for caveats." msgstr "" -#: c-api/type.rst:411 +#: c-api/type.rst:414 msgid "" "If zero, :c:member:`~PyTypeObject.tp_itemsize` is inherited. Extending " "arbitrary variable-sized classes is dangerous, since some types use a fixed " @@ -459,58 +461,58 @@ msgid "" "only possible in the following situations:" msgstr "" -#: c-api/type.rst:418 +#: c-api/type.rst:421 msgid "" "The base is not variable-sized (its :c:member:`~PyTypeObject.tp_itemsize`)." msgstr "" -#: c-api/type.rst:420 +#: c-api/type.rst:423 msgid "" "The requested :c:member:`PyType_Spec.basicsize` is positive, suggesting that " "the memory layout of the base class is known." msgstr "" -#: c-api/type.rst:422 +#: c-api/type.rst:425 msgid "" "The requested :c:member:`PyType_Spec.basicsize` is zero, suggesting that the " "subclass does not access the instance's memory directly." msgstr "" -#: c-api/type.rst:425 +#: c-api/type.rst:428 msgid "With the :c:macro:`Py_TPFLAGS_ITEMS_AT_END` flag." msgstr "" -#: c-api/type.rst:429 +#: c-api/type.rst:432 msgid "Type flags, used to set :c:member:`PyTypeObject.tp_flags`." msgstr "" -#: c-api/type.rst:431 +#: c-api/type.rst:434 msgid "" "If the ``Py_TPFLAGS_HEAPTYPE`` flag is not set, :c:func:" "`PyType_FromSpecWithBases` sets it automatically." msgstr "" -#: c-api/type.rst:436 +#: c-api/type.rst:439 msgid "" "Array of :c:type:`PyType_Slot` structures. Terminated by the special slot " "value ``{0, NULL}``." msgstr "" -#: c-api/type.rst:439 +#: c-api/type.rst:442 msgid "Each slot ID should be specified at most once." msgstr "" -#: c-api/type.rst:449 +#: c-api/type.rst:452 msgid "" "Structure defining optional functionality of a type, containing a slot ID " "and a value pointer." msgstr "" -#: c-api/type.rst:454 +#: c-api/type.rst:457 msgid "A slot ID." msgstr "" -#: c-api/type.rst:456 +#: c-api/type.rst:459 msgid "" "Slot IDs are named like the field names of the structures :c:type:" "`PyTypeObject`, :c:type:`PyNumberMethods`, :c:type:`PySequenceMethods`, :c:" @@ -518,42 +520,42 @@ msgid "" "prefix. For example, use:" msgstr "" -#: c-api/type.rst:462 +#: c-api/type.rst:465 msgid "``Py_tp_dealloc`` to set :c:member:`PyTypeObject.tp_dealloc`" msgstr "" -#: c-api/type.rst:463 +#: c-api/type.rst:466 msgid "``Py_nb_add`` to set :c:member:`PyNumberMethods.nb_add`" msgstr "" -#: c-api/type.rst:464 +#: c-api/type.rst:467 msgid "``Py_sq_length`` to set :c:member:`PySequenceMethods.sq_length`" msgstr "" -#: c-api/type.rst:466 +#: c-api/type.rst:469 msgid "" "The following “offset” fields cannot be set using :c:type:`PyType_Slot`:" msgstr "" -#: c-api/type.rst:468 +#: c-api/type.rst:471 msgid "" ":c:member:`~PyTypeObject.tp_weaklistoffset` (use :c:macro:" "`Py_TPFLAGS_MANAGED_WEAKREF` instead if possible)" msgstr "" -#: c-api/type.rst:470 +#: c-api/type.rst:473 msgid "" ":c:member:`~PyTypeObject.tp_dictoffset` (use :c:macro:" "`Py_TPFLAGS_MANAGED_DICT` instead if possible)" msgstr "" -#: c-api/type.rst:472 +#: c-api/type.rst:475 msgid "" ":c:member:`~PyTypeObject.tp_vectorcall_offset` (use " "``\"__vectorcalloffset__\"`` in :ref:`PyMemberDef `)" msgstr "" -#: c-api/type.rst:476 +#: c-api/type.rst:479 msgid "" "If it is not possible to switch to a ``MANAGED`` flag (for example, for " "vectorcall or to support Python older than 3.12), specify the offset in :c:" @@ -561,48 +563,48 @@ msgid "" "documentation ` for details." msgstr "" -#: c-api/type.rst:482 +#: c-api/type.rst:485 msgid "The following fields cannot be set at all when creating a heap type:" msgstr "" -#: c-api/type.rst:484 +#: c-api/type.rst:487 msgid "" ":c:member:`~PyTypeObject.tp_vectorcall` (use :c:member:`~PyTypeObject." "tp_new` and/or :c:member:`~PyTypeObject.tp_init`)" msgstr "" -#: c-api/type.rst:488 +#: c-api/type.rst:491 msgid "" "Internal fields: :c:member:`~PyTypeObject.tp_dict`, :c:member:`~PyTypeObject." "tp_mro`, :c:member:`~PyTypeObject.tp_cache`, :c:member:`~PyTypeObject." "tp_subclasses`, and :c:member:`~PyTypeObject.tp_weaklist`." msgstr "" -#: c-api/type.rst:495 +#: c-api/type.rst:498 msgid "" "Setting :c:data:`Py_tp_bases` or :c:data:`Py_tp_base` may be problematic on " "some platforms. To avoid issues, use the *bases* argument of :c:func:" "`PyType_FromSpecWithBases` instead." msgstr "" -#: c-api/type.rst:500 +#: c-api/type.rst:503 msgid "Slots in :c:type:`PyBufferProcs` may be set in the unlimited API." msgstr "" -#: c-api/type.rst:503 +#: c-api/type.rst:506 msgid "" ":c:member:`~PyBufferProcs.bf_getbuffer` and :c:member:`~PyBufferProcs." "bf_releasebuffer` are now available under the :ref:`limited API `." msgstr "" -#: c-api/type.rst:510 +#: c-api/type.rst:513 msgid "" "The desired value of the slot. In most cases, this is a pointer to a " "function." msgstr "" -#: c-api/type.rst:513 +#: c-api/type.rst:516 msgid "Slots other than ``Py_tp_doc`` may not be ``NULL``." msgstr "" diff --git a/c-api/typehints.po b/c-api/typehints.po index 70fbccf4..544bc3cc 100644 --- a/c-api/typehints.po +++ b/c-api/typehints.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/typeobj.po b/c-api/typeobj.po index f4db6575..bd8520b8 100644 --- a/c-api/typeobj.po +++ b/c-api/typeobj.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,7 +18,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" #: c-api/typeobj.rst:6 -msgid "Type Objects" +msgid "Type Object Structures" msgstr "" #: c-api/typeobj.rst:8 @@ -1118,7 +1118,7 @@ msgstr "" #: c-api/typeobj.rst:475 msgid "" "The structure definition for :c:type:`PyTypeObject` can be found in :file:" -"`Include/object.h`. For convenience of reference, this repeats the " +"`Include/cpython/object.h`. For convenience of reference, this repeats the " "definition found there:" msgstr "" @@ -1236,21 +1236,21 @@ msgid "" "instances *do* count as references." msgstr "" -#: c-api/typeobj.rst:526 c-api/typeobj.rst:562 c-api/typeobj.rst:649 -#: c-api/typeobj.rst:762 c-api/typeobj.rst:796 c-api/typeobj.rst:838 -#: c-api/typeobj.rst:867 c-api/typeobj.rst:912 c-api/typeobj.rst:950 -#: c-api/typeobj.rst:997 c-api/typeobj.rst:1032 c-api/typeobj.rst:1082 -#: c-api/typeobj.rst:1102 c-api/typeobj.rst:1134 c-api/typeobj.rst:1172 -#: c-api/typeobj.rst:1207 c-api/typeobj.rst:1272 c-api/typeobj.rst:1321 -#: c-api/typeobj.rst:1369 c-api/typeobj.rst:1505 c-api/typeobj.rst:1602 -#: c-api/typeobj.rst:1650 c-api/typeobj.rst:1678 c-api/typeobj.rst:1722 -#: c-api/typeobj.rst:1780 c-api/typeobj.rst:1827 c-api/typeobj.rst:1888 -#: c-api/typeobj.rst:1951 c-api/typeobj.rst:2011 c-api/typeobj.rst:2034 -#: c-api/typeobj.rst:2068 c-api/typeobj.rst:2117 c-api/typeobj.rst:2140 +#: c-api/typeobj.rst:526 c-api/typeobj.rst:565 c-api/typeobj.rst:687 +#: c-api/typeobj.rst:804 c-api/typeobj.rst:838 c-api/typeobj.rst:880 +#: c-api/typeobj.rst:909 c-api/typeobj.rst:954 c-api/typeobj.rst:992 +#: c-api/typeobj.rst:1039 c-api/typeobj.rst:1074 c-api/typeobj.rst:1124 +#: c-api/typeobj.rst:1144 c-api/typeobj.rst:1176 c-api/typeobj.rst:1214 +#: c-api/typeobj.rst:1249 c-api/typeobj.rst:1314 c-api/typeobj.rst:1363 +#: c-api/typeobj.rst:1411 c-api/typeobj.rst:1547 c-api/typeobj.rst:1644 +#: c-api/typeobj.rst:1692 c-api/typeobj.rst:1720 c-api/typeobj.rst:1764 +#: c-api/typeobj.rst:1822 c-api/typeobj.rst:1869 c-api/typeobj.rst:1930 +#: c-api/typeobj.rst:1993 c-api/typeobj.rst:2053 c-api/typeobj.rst:2076 +#: c-api/typeobj.rst:2110 c-api/typeobj.rst:2159 c-api/typeobj.rst:2182 msgid "**Inheritance:**" msgstr "" -#: c-api/typeobj.rst:564 c-api/typeobj.rst:608 +#: c-api/typeobj.rst:567 c-api/typeobj.rst:611 msgid "This field is not inherited by subtypes." msgstr "" @@ -1278,8 +1278,8 @@ msgid "" "class. :c:func:`PyType_Ready` will not change this field if it is non-zero." msgstr "" -#: c-api/typeobj.rst:723 c-api/typeobj.rst:932 c-api/typeobj.rst:1629 -#: c-api/typeobj.rst:1782 c-api/typeobj.rst:1873 c-api/typeobj.rst:2119 +#: c-api/typeobj.rst:765 c-api/typeobj.rst:974 c-api/typeobj.rst:1671 +#: c-api/typeobj.rst:1824 c-api/typeobj.rst:1915 c-api/typeobj.rst:2161 msgid "This field is inherited by subtypes." msgstr "" @@ -1321,11 +1321,17 @@ msgid "" "types>`, this field has a special internal meaning." msgstr "" -#: c-api/typeobj.rst:568 +#: c-api/typeobj.rst:562 +msgid "" +"This field should be accessed using the :c:func:`Py_SIZE()` and :c:func:" +"`Py_SET_SIZE()` macros." +msgstr "" + +#: c-api/typeobj.rst:571 msgid "PyTypeObject Slots" msgstr "" -#: c-api/typeobj.rst:570 +#: c-api/typeobj.rst:573 msgid "" "Each slot has a section describing inheritance. If :c:func:`PyType_Ready` " "may set a value when the field is set to ``NULL`` then there will also be a " @@ -1333,7 +1339,7 @@ msgid "" "`PyBaseObject_Type` and :c:data:`PyType_Type` effectively act as defaults.)" msgstr "" -#: c-api/typeobj.rst:577 +#: c-api/typeobj.rst:580 msgid "" "Pointer to a NUL-terminated string containing the name of the type. For " "types that are accessible as module globals, the string should be the full " @@ -1345,14 +1351,14 @@ msgid "" "tp_name` initializer ``\"P.Q.M.T\"``." msgstr "" -#: c-api/typeobj.rst:585 +#: c-api/typeobj.rst:588 msgid "" "For :ref:`dynamically allocated type objects `, this should just " "be the type name, and the module name explicitly stored in the type dict as " "the value for key ``'__module__'``." msgstr "" -#: c-api/typeobj.rst:590 +#: c-api/typeobj.rst:593 msgid "" "For :ref:`statically allocated type objects `, the *tp_name* " "field should contain a dot. Everything before the last dot is made " @@ -1360,7 +1366,7 @@ msgid "" "the last dot is made accessible as the :attr:`~type.__name__` attribute." msgstr "" -#: c-api/typeobj.rst:596 +#: c-api/typeobj.rst:599 msgid "" "If no dot is present, the entire :c:member:`~PyTypeObject.tp_name` field is " "made accessible as the :attr:`~type.__name__` attribute, and the :attr:" @@ -1370,80 +1376,136 @@ msgid "" "created with pydoc." msgstr "" -#: c-api/typeobj.rst:602 +#: c-api/typeobj.rst:605 msgid "" "This field must not be ``NULL``. It is the only required field in :c:func:" "`PyTypeObject` (other than potentially :c:member:`~PyTypeObject." "tp_itemsize`)." msgstr "" -#: c-api/typeobj.rst:614 +#: c-api/typeobj.rst:617 msgid "" "These fields allow calculating the size in bytes of instances of the type." msgstr "" -#: c-api/typeobj.rst:616 +#: c-api/typeobj.rst:619 msgid "" "There are two kinds of types: types with fixed-length instances have a zero :" -"c:member:`~PyTypeObject.tp_itemsize` field, types with variable-length " -"instances have a non-zero :c:member:`~PyTypeObject.tp_itemsize` field. For " -"a type with fixed-length instances, all instances have the same size, given " -"in :c:member:`~PyTypeObject.tp_basicsize`." +"c:member:`!tp_itemsize` field, types with variable-length instances have a " +"non-zero :c:member:`!tp_itemsize` field. For a type with fixed-length " +"instances, all instances have the same size, given in :c:member:`!" +"tp_basicsize`. (Exceptions to this rule can be made using :c:func:" +"`PyUnstable_Object_GC_NewWithExtraData`.)" msgstr "" -#: c-api/typeobj.rst:621 +#: c-api/typeobj.rst:626 msgid "" "For a type with variable-length instances, the instances must have an :c:" -"member:`~PyVarObject.ob_size` field, and the instance size is :c:member:" -"`~PyTypeObject.tp_basicsize` plus N times :c:member:`~PyTypeObject." -"tp_itemsize`, where N is the \"length\" of the object. The value of N is " -"typically stored in the instance's :c:member:`~PyVarObject.ob_size` field. " -"There are exceptions: for example, ints use a negative :c:member:" -"`~PyVarObject.ob_size` to indicate a negative number, and N is " -"``abs(ob_size)`` there. Also, the presence of an :c:member:`~PyVarObject." -"ob_size` field in the instance layout doesn't mean that the instance " -"structure is variable-length (for example, the structure for the list type " -"has fixed-length instances, yet those instances have a meaningful :c:member:" -"`~PyVarObject.ob_size` field)." +"member:`~PyVarObject.ob_size` field, and the instance size is :c:member:`!" +"tp_basicsize` plus N times :c:member:`!tp_itemsize`, where N is the " +"\"length\" of the object." msgstr "" -#: c-api/typeobj.rst:632 +#: c-api/typeobj.rst:631 msgid "" -"The basic size includes the fields in the instance declared by the macro :c:" -"macro:`PyObject_HEAD` or :c:macro:`PyObject_VAR_HEAD` (whichever is used to " -"declare the instance struct) and this in turn includes the :c:member:" -"`~PyObject._ob_prev` and :c:member:`~PyObject._ob_next` fields if they are " -"present. This means that the only correct way to get an initializer for " -"the :c:member:`~PyTypeObject.tp_basicsize` is to use the ``sizeof`` operator " -"on the struct used to declare the instance layout. The basic size does not " -"include the GC header size." +"Functions like :c:func:`PyObject_NewVar` will take the value of N as an " +"argument, and store in the instance's :c:member:`~PyVarObject.ob_size` " +"field. Note that the :c:member:`~PyVarObject.ob_size` field may later be " +"used for other purposes. For example, :py:type:`int` instances use the bits " +"of :c:member:`~PyVarObject.ob_size` in an implementation-defined way; the " +"underlying storage and its size should be acessed using :c:func:" +"`PyLong_Export`." msgstr "" -#: c-api/typeobj.rst:640 +#: c-api/typeobj.rst:641 msgid "" -"A note about alignment: if the variable items require a particular " -"alignment, this should be taken care of by the value of :c:member:" -"`~PyTypeObject.tp_basicsize`. Example: suppose a type implements an array " -"of ``double``. :c:member:`~PyTypeObject.tp_itemsize` is ``sizeof(double)``. " -"It is the programmer's responsibility that :c:member:`~PyTypeObject." -"tp_basicsize` is a multiple of ``sizeof(double)`` (assuming this is the " -"alignment requirement for ``double``)." +"The :c:member:`~PyVarObject.ob_size` field should be accessed using the :c:" +"func:`Py_SIZE()` and :c:func:`Py_SET_SIZE()` macros." msgstr "" -#: c-api/typeobj.rst:647 +#: c-api/typeobj.rst:644 msgid "" -"For any type with variable-length instances, this field must not be ``NULL``." +"Also, the presence of an :c:member:`~PyVarObject.ob_size` field in the " +"instance layout doesn't mean that the instance structure is variable-length. " +"For example, the :py:type:`list` type has fixed-length instances, yet those " +"instances have a :c:member:`~PyVarObject.ob_size` field. (As with :py:type:" +"`int`, avoid reading lists' :c:member:`!ob_size` directly. Call :c:func:" +"`PyList_Size` instead.)" msgstr "" #: c-api/typeobj.rst:651 msgid "" -"These fields are inherited separately by subtypes. If the base type has a " -"non-zero :c:member:`~PyTypeObject.tp_itemsize`, it is generally not safe to " -"set :c:member:`~PyTypeObject.tp_itemsize` to a different non-zero value in a " -"subtype (though this depends on the implementation of the base type)." +"The :c:member:`!tp_basicsize` includes size needed for data of the type's :c:" +"member:`~PyTypeObject.tp_base`, plus any extra data needed by each instance." +msgstr "" + +#: c-api/typeobj.rst:655 +msgid "" +"The correct way to set :c:member:`!tp_basicsize` is to use the ``sizeof`` " +"operator on the struct used to declare the instance layout. This struct must " +"include the struct used to declare the base type. In other words, :c:member:" +"`!tp_basicsize` must be greater than or equal to the base's :c:member:`!" +"tp_basicsize`." +msgstr "" + +#: c-api/typeobj.rst:661 +msgid "" +"Since every type is a subtype of :py:type:`object`, this struct must " +"include :c:type:`PyObject` or :c:type:`PyVarObject` (depending on whether :c:" +"member:`~PyVarObject.ob_size` should be included). These are usually defined " +"by the macro :c:macro:`PyObject_HEAD` or :c:macro:`PyObject_VAR_HEAD`, " +"respectively." +msgstr "" + +#: c-api/typeobj.rst:667 +msgid "" +"The basic size does not include the GC header size, as that header is not " +"part of :c:macro:`PyObject_HEAD`." +msgstr "" + +#: c-api/typeobj.rst:670 +msgid "" +"For cases where struct used to declare the base type is unknown, see :c:" +"member:`PyType_Spec.basicsize` and :c:func:`PyType_FromMetaclass`." +msgstr "" + +#: c-api/typeobj.rst:673 +msgid "Notes about alignment:" +msgstr "" + +#: c-api/typeobj.rst:675 +msgid "" +":c:member:`!tp_basicsize` must be a multiple of ``_Alignof(PyObject)``. When " +"using ``sizeof`` on a ``struct`` that includes :c:macro:`PyObject_HEAD`, as " +"recommended, the compiler ensures this. When not using a C ``struct``, or " +"when using compiler extensions like ``__attribute__((packed))``, it is up to " +"you." +msgstr "" + +#: c-api/typeobj.rst:680 +msgid "" +"If the variable items require a particular alignment, :c:member:`!" +"tp_basicsize` and :c:member:`!tp_itemsize` must each be a multiple of that " +"alignment. For example, if a type's variable part stores a ``double``, it is " +"your responsibility that both fields are a multiple of ``_Alignof(double)``." +msgstr "" + +#: c-api/typeobj.rst:689 +msgid "" +"These fields are inherited separately by subtypes. (That is, if the field is " +"set to zero, :c:func:`PyType_Ready` will copy the value from the base type, " +"indicating that the instances do not need additional storage.)" msgstr "" -#: c-api/typeobj.rst:659 +#: c-api/typeobj.rst:694 +msgid "" +"If the base type has a non-zero :c:member:`~PyTypeObject.tp_itemsize`, it is " +"generally not safe to set :c:member:`~PyTypeObject.tp_itemsize` to a " +"different non-zero value in a subtype (though this depends on the " +"implementation of the base type)." +msgstr "" + +#: c-api/typeobj.rst:701 msgid "" "A pointer to the instance destructor function. This function must be " "defined unless the type guarantees that its instances will never be " @@ -1451,11 +1513,11 @@ msgid "" "The function signature is::" msgstr "" -#: c-api/typeobj.rst:663 +#: c-api/typeobj.rst:705 msgid "void tp_dealloc(PyObject *self);" msgstr "" -#: c-api/typeobj.rst:665 +#: c-api/typeobj.rst:707 msgid "" "The destructor function is called by the :c:func:`Py_DECREF` and :c:func:" "`Py_XDECREF` macros when the new reference count is zero. At this point, " @@ -1473,14 +1535,14 @@ msgid "" "allocated using :c:macro:`PyObject_GC_New` or :c:macro:`PyObject_GC_NewVar`." msgstr "" -#: c-api/typeobj.rst:680 +#: c-api/typeobj.rst:722 msgid "" "If the type supports garbage collection (has the :c:macro:" "`Py_TPFLAGS_HAVE_GC` flag bit set), the destructor should call :c:func:" "`PyObject_GC_UnTrack` before clearing any member fields." msgstr "" -#: c-api/typeobj.rst:684 +#: c-api/typeobj.rst:726 msgid "" "static void foo_dealloc(foo_object *self) {\n" " PyObject_GC_UnTrack(self);\n" @@ -1489,7 +1551,7 @@ msgid "" "}" msgstr "" -#: c-api/typeobj.rst:692 +#: c-api/typeobj.rst:734 msgid "" "Finally, if the type is heap allocated (:c:macro:`Py_TPFLAGS_HEAPTYPE`), the " "deallocator should release the owned reference to its type object (via :c:" @@ -1497,7 +1559,7 @@ msgid "" "dangling pointers, the recommended way to achieve this is:" msgstr "" -#: c-api/typeobj.rst:698 +#: c-api/typeobj.rst:740 msgid "" "static void foo_dealloc(foo_object *self) {\n" " PyTypeObject *tp = Py_TYPE(self);\n" @@ -1507,7 +1569,7 @@ msgid "" "}" msgstr "" -#: c-api/typeobj.rst:709 +#: c-api/typeobj.rst:751 msgid "" "In a garbage collected Python, :c:member:`!tp_dealloc` may be called from " "any Python thread, not just the thread which created the object (if the " @@ -1520,28 +1582,28 @@ msgid "" "member:`!tp_dealloc` will not violate any assumptions of the library." msgstr "" -#: c-api/typeobj.rst:728 +#: c-api/typeobj.rst:770 msgid "" "An optional offset to a per-instance function that implements calling the " "object using the :ref:`vectorcall protocol `, a more efficient " "alternative of the simpler :c:member:`~PyTypeObject.tp_call`." msgstr "" -#: c-api/typeobj.rst:733 +#: c-api/typeobj.rst:775 msgid "" "This field is only used if the flag :c:macro:`Py_TPFLAGS_HAVE_VECTORCALL` is " "set. If so, this must be a positive integer containing the offset in the " "instance of a :c:type:`vectorcallfunc` pointer." msgstr "" -#: c-api/typeobj.rst:737 +#: c-api/typeobj.rst:779 msgid "" "The *vectorcallfunc* pointer may be ``NULL``, in which case the instance " "behaves as if :c:macro:`Py_TPFLAGS_HAVE_VECTORCALL` was not set: calling the " "instance falls back to :c:member:`~PyTypeObject.tp_call`." msgstr "" -#: c-api/typeobj.rst:741 +#: c-api/typeobj.rst:783 msgid "" "Any class that sets ``Py_TPFLAGS_HAVE_VECTORCALL`` must also set :c:member:" "`~PyTypeObject.tp_call` and make sure its behaviour is consistent with the " @@ -1549,13 +1611,13 @@ msgid "" "`PyVectorcall_Call`." msgstr "" -#: c-api/typeobj.rst:748 +#: c-api/typeobj.rst:790 msgid "" "Before version 3.8, this slot was named ``tp_print``. In Python 2.x, it was " "used for printing to a file. In Python 3.0 to 3.7, it was unused." msgstr "" -#: c-api/typeobj.rst:754 +#: c-api/typeobj.rst:796 msgid "" "Before version 3.12, it was not recommended for :ref:`mutable heap types " "` to implement the vectorcall protocol. When a user sets :attr:" @@ -1565,7 +1627,7 @@ msgid "" "`Py_TPFLAGS_HAVE_VECTORCALL` flag." msgstr "" -#: c-api/typeobj.rst:764 +#: c-api/typeobj.rst:806 msgid "" "This field is always inherited. However, the :c:macro:" "`Py_TPFLAGS_HAVE_VECTORCALL` flag is not always inherited. If it's not set, " @@ -1573,11 +1635,11 @@ msgid "" "func:`PyVectorcall_Call` is explicitly called." msgstr "" -#: c-api/typeobj.rst:773 +#: c-api/typeobj.rst:815 msgid "An optional pointer to the get-attribute-string function." msgstr "" -#: c-api/typeobj.rst:775 +#: c-api/typeobj.rst:817 msgid "" "This field is deprecated. When it is defined, it should point to a function " "that acts the same as the :c:member:`~PyTypeObject.tp_getattro` function, " @@ -1585,13 +1647,13 @@ msgid "" "attribute name." msgstr "" -#: c-api/typeobj.rst:973 +#: c-api/typeobj.rst:1015 msgid "" "Group: :c:member:`~PyTypeObject.tp_getattr`, :c:member:`~PyTypeObject." "tp_getattro`" msgstr "" -#: c-api/typeobj.rst:783 +#: c-api/typeobj.rst:825 msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_getattro`: a subtype inherits both :c:member:`~PyTypeObject.tp_getattr` " @@ -1600,12 +1662,12 @@ msgid "" "tp_getattro` are both ``NULL``." msgstr "" -#: c-api/typeobj.rst:986 +#: c-api/typeobj.rst:1028 msgid "" "An optional pointer to the function for setting and deleting attributes." msgstr "" -#: c-api/typeobj.rst:792 +#: c-api/typeobj.rst:834 msgid "" "This field is deprecated. When it is defined, it should point to a function " "that acts the same as the :c:member:`~PyTypeObject.tp_setattro` function, " @@ -1613,13 +1675,13 @@ msgid "" "attribute name." msgstr "" -#: c-api/typeobj.rst:999 +#: c-api/typeobj.rst:1041 msgid "" "Group: :c:member:`~PyTypeObject.tp_setattr`, :c:member:`~PyTypeObject." "tp_setattro`" msgstr "" -#: c-api/typeobj.rst:800 +#: c-api/typeobj.rst:842 msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_setattro`: a subtype inherits both :c:member:`~PyTypeObject.tp_setattr` " @@ -1628,38 +1690,38 @@ msgid "" "tp_setattro` are both ``NULL``." msgstr "" -#: c-api/typeobj.rst:807 +#: c-api/typeobj.rst:849 msgid "" "Pointer to an additional structure that contains fields relevant only to " "objects which implement :term:`awaitable` and :term:`asynchronous iterator` " "protocols at the C-level. See :ref:`async-structs` for details." msgstr "" -#: c-api/typeobj.rst:811 +#: c-api/typeobj.rst:853 msgid "Formerly known as ``tp_compare`` and ``tp_reserved``." msgstr "" -#: c-api/typeobj.rst:816 +#: c-api/typeobj.rst:858 msgid "" "The :c:member:`~PyTypeObject.tp_as_async` field is not inherited, but the " "contained fields are inherited individually." msgstr "" -#: c-api/typeobj.rst:824 +#: c-api/typeobj.rst:866 msgid "" "An optional pointer to a function that implements the built-in function :" "func:`repr`." msgstr "" -#: c-api/typeobj.rst:827 +#: c-api/typeobj.rst:869 msgid "The signature is the same as for :c:func:`PyObject_Repr`::" msgstr "" -#: c-api/typeobj.rst:829 +#: c-api/typeobj.rst:871 msgid "PyObject *tp_repr(PyObject *self);" msgstr "" -#: c-api/typeobj.rst:831 +#: c-api/typeobj.rst:873 msgid "" "The function must return a string or a Unicode object. Ideally, this " "function should return a string that, when passed to :func:`eval`, given a " @@ -1668,80 +1730,80 @@ msgid "" "``'>'`` from which both the type and the value of the object can be deduced." msgstr "" -#: c-api/typeobj.rst:954 c-api/typeobj.rst:1005 c-api/typeobj.rst:1575 -#: c-api/typeobj.rst:1726 c-api/typeobj.rst:1834 c-api/typeobj.rst:1893 -#: c-api/typeobj.rst:1956 c-api/typeobj.rst:1987 +#: c-api/typeobj.rst:996 c-api/typeobj.rst:1047 c-api/typeobj.rst:1617 +#: c-api/typeobj.rst:1768 c-api/typeobj.rst:1876 c-api/typeobj.rst:1935 +#: c-api/typeobj.rst:1998 c-api/typeobj.rst:2029 msgid "**Default:**" msgstr "" -#: c-api/typeobj.rst:844 +#: c-api/typeobj.rst:886 msgid "" "When this field is not set, a string of the form ``<%s object at %p>`` is " "returned, where ``%s`` is replaced by the type name, and ``%p`` by the " "object's memory address." msgstr "" -#: c-api/typeobj.rst:851 +#: c-api/typeobj.rst:893 msgid "" "Pointer to an additional structure that contains fields relevant only to " "objects which implement the number protocol. These fields are documented " "in :ref:`number-structs`." msgstr "" -#: c-api/typeobj.rst:857 +#: c-api/typeobj.rst:899 msgid "" "The :c:member:`~PyTypeObject.tp_as_number` field is not inherited, but the " "contained fields are inherited individually." msgstr "" -#: c-api/typeobj.rst:863 +#: c-api/typeobj.rst:905 msgid "" "Pointer to an additional structure that contains fields relevant only to " "objects which implement the sequence protocol. These fields are documented " "in :ref:`sequence-structs`." msgstr "" -#: c-api/typeobj.rst:869 +#: c-api/typeobj.rst:911 msgid "" "The :c:member:`~PyTypeObject.tp_as_sequence` field is not inherited, but the " "contained fields are inherited individually." msgstr "" -#: c-api/typeobj.rst:875 +#: c-api/typeobj.rst:917 msgid "" "Pointer to an additional structure that contains fields relevant only to " "objects which implement the mapping protocol. These fields are documented " "in :ref:`mapping-structs`." msgstr "" -#: c-api/typeobj.rst:881 +#: c-api/typeobj.rst:923 msgid "" "The :c:member:`~PyTypeObject.tp_as_mapping` field is not inherited, but the " "contained fields are inherited individually." msgstr "" -#: c-api/typeobj.rst:889 +#: c-api/typeobj.rst:931 msgid "" "An optional pointer to a function that implements the built-in function :" "func:`hash`." msgstr "" -#: c-api/typeobj.rst:892 +#: c-api/typeobj.rst:934 msgid "The signature is the same as for :c:func:`PyObject_Hash`::" msgstr "" -#: c-api/typeobj.rst:894 +#: c-api/typeobj.rst:936 msgid "Py_hash_t tp_hash(PyObject *);" msgstr "" -#: c-api/typeobj.rst:896 +#: c-api/typeobj.rst:938 msgid "" "The value ``-1`` should not be returned as a normal return value; when an " "error occurs during the computation of the hash value, the function should " "set an exception and return ``-1``." msgstr "" -#: c-api/typeobj.rst:900 +#: c-api/typeobj.rst:942 msgid "" "When this field is not set (*and* :c:member:`~PyTypeObject.tp_richcompare` " "is not set), an attempt to take the hash of the object raises :exc:" @@ -1749,7 +1811,7 @@ msgid "" "`PyObject_HashNotImplemented`." msgstr "" -#: c-api/typeobj.rst:904 +#: c-api/typeobj.rst:946 msgid "" "This field can be set explicitly to :c:func:`PyObject_HashNotImplemented` to " "block inheritance of the hash method from a parent type. This is interpreted " @@ -1760,13 +1822,13 @@ msgid "" "`PyObject_HashNotImplemented`." msgstr "" -#: c-api/typeobj.rst:1568 +#: c-api/typeobj.rst:1610 msgid "" "Group: :c:member:`~PyTypeObject.tp_hash`, :c:member:`~PyTypeObject." "tp_richcompare`" msgstr "" -#: c-api/typeobj.rst:916 +#: c-api/typeobj.rst:958 msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_richcompare`: a subtype inherits both of :c:member:`~PyTypeObject." @@ -1775,18 +1837,18 @@ msgid "" "are both ``NULL``." msgstr "" -#: c-api/typeobj.rst:924 +#: c-api/typeobj.rst:966 msgid "" "An optional pointer to a function that implements calling the object. This " "should be ``NULL`` if the object is not callable. The signature is the same " "as for :c:func:`PyObject_Call`::" msgstr "" -#: c-api/typeobj.rst:928 +#: c-api/typeobj.rst:970 msgid "PyObject *tp_call(PyObject *self, PyObject *args, PyObject *kwargs);" msgstr "" -#: c-api/typeobj.rst:937 +#: c-api/typeobj.rst:979 msgid "" "An optional pointer to a function that implements the built-in operation :" "func:`str`. (Note that :class:`str` is a type now, and :func:`str` calls " @@ -1795,15 +1857,15 @@ msgid "" "this handler.)" msgstr "" -#: c-api/typeobj.rst:942 +#: c-api/typeobj.rst:984 msgid "The signature is the same as for :c:func:`PyObject_Str`::" msgstr "" -#: c-api/typeobj.rst:944 +#: c-api/typeobj.rst:986 msgid "PyObject *tp_str(PyObject *self);" msgstr "" -#: c-api/typeobj.rst:946 +#: c-api/typeobj.rst:988 msgid "" "The function must return a string or a Unicode object. It should be a " "\"friendly\" string representation of the object, as this is the " @@ -1811,32 +1873,32 @@ msgid "" "function." msgstr "" -#: c-api/typeobj.rst:956 +#: c-api/typeobj.rst:998 msgid "" "When this field is not set, :c:func:`PyObject_Repr` is called to return a " "string representation." msgstr "" -#: c-api/typeobj.rst:962 +#: c-api/typeobj.rst:1004 msgid "An optional pointer to the get-attribute function." msgstr "" -#: c-api/typeobj.rst:964 +#: c-api/typeobj.rst:1006 msgid "The signature is the same as for :c:func:`PyObject_GetAttr`::" msgstr "" -#: c-api/typeobj.rst:966 +#: c-api/typeobj.rst:1008 msgid "PyObject *tp_getattro(PyObject *self, PyObject *attr);" msgstr "" -#: c-api/typeobj.rst:968 +#: c-api/typeobj.rst:1010 msgid "" "It is usually convenient to set this field to :c:func:" "`PyObject_GenericGetAttr`, which implements the normal way of looking for " "object attributes." msgstr "" -#: c-api/typeobj.rst:975 +#: c-api/typeobj.rst:1017 msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_getattr`: a subtype inherits both :c:member:`~PyTypeObject.tp_getattr` " @@ -1845,19 +1907,19 @@ msgid "" "tp_getattro` are both ``NULL``." msgstr "" -#: c-api/typeobj.rst:981 +#: c-api/typeobj.rst:1023 msgid ":c:data:`PyBaseObject_Type` uses :c:func:`PyObject_GenericGetAttr`." msgstr "" -#: c-api/typeobj.rst:988 +#: c-api/typeobj.rst:1030 msgid "The signature is the same as for :c:func:`PyObject_SetAttr`::" msgstr "" -#: c-api/typeobj.rst:990 +#: c-api/typeobj.rst:1032 msgid "int tp_setattro(PyObject *self, PyObject *attr, PyObject *value);" msgstr "" -#: c-api/typeobj.rst:992 +#: c-api/typeobj.rst:1034 msgid "" "In addition, setting *value* to ``NULL`` to delete an attribute must be " "supported. It is usually convenient to set this field to :c:func:" @@ -1865,7 +1927,7 @@ msgid "" "attributes." msgstr "" -#: c-api/typeobj.rst:1001 +#: c-api/typeobj.rst:1043 msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_setattr`: a subtype inherits both :c:member:`~PyTypeObject.tp_setattr` " @@ -1874,24 +1936,24 @@ msgid "" "tp_setattro` are both ``NULL``." msgstr "" -#: c-api/typeobj.rst:1007 +#: c-api/typeobj.rst:1049 msgid ":c:data:`PyBaseObject_Type` uses :c:func:`PyObject_GenericSetAttr`." msgstr "" -#: c-api/typeobj.rst:1012 +#: c-api/typeobj.rst:1054 msgid "" "Pointer to an additional structure that contains fields relevant only to " "objects which implement the buffer interface. These fields are documented " "in :ref:`buffer-structs`." msgstr "" -#: c-api/typeobj.rst:1018 +#: c-api/typeobj.rst:1060 msgid "" "The :c:member:`~PyTypeObject.tp_as_buffer` field is not inherited, but the " "contained fields are inherited individually." msgstr "" -#: c-api/typeobj.rst:1024 +#: c-api/typeobj.rst:1066 msgid "" "This field is a bit mask of various flags. Some flags indicate variant " "semantics for certain situations; others are used to indicate that certain " @@ -1903,7 +1965,7 @@ msgid "" "accessed and must be considered to have a zero or ``NULL`` value instead." msgstr "" -#: c-api/typeobj.rst:1034 +#: c-api/typeobj.rst:1076 msgid "" "Inheritance of this field is complicated. Most flag bits are inherited " "individually, i.e. if the base type has a flag bit set, the subtype inherits " @@ -1919,17 +1981,17 @@ msgid "" "*really* inherited individually?" msgstr "" -#: c-api/typeobj.rst:1048 +#: c-api/typeobj.rst:1090 msgid "" ":c:data:`PyBaseObject_Type` uses ``Py_TPFLAGS_DEFAULT | " "Py_TPFLAGS_BASETYPE``." msgstr "" -#: c-api/typeobj.rst:1051 +#: c-api/typeobj.rst:1093 msgid "**Bit Masks:**" msgstr "" -#: c-api/typeobj.rst:1055 +#: c-api/typeobj.rst:1097 msgid "" "The following bit masks are currently defined; these can be ORed together " "using the ``|`` operator to form the value of the :c:member:`~PyTypeObject." @@ -1938,7 +2000,7 @@ msgid "" "zero." msgstr "" -#: c-api/typeobj.rst:1062 +#: c-api/typeobj.rst:1104 msgid "" "This bit is set when the type object itself is allocated on the heap, for " "example, types created dynamically using :c:func:`PyType_FromSpec`. In this " @@ -1951,30 +2013,30 @@ msgid "" "reference cycle with their own module object." msgstr "" -#: c-api/typeobj.rst:1084 c-api/typeobj.rst:1104 c-api/typeobj.rst:1136 +#: c-api/typeobj.rst:1126 c-api/typeobj.rst:1146 c-api/typeobj.rst:1178 msgid "???" msgstr "" -#: c-api/typeobj.rst:1078 +#: c-api/typeobj.rst:1120 msgid "" "This bit is set when the type can be used as the base type of another type. " "If this bit is clear, the type cannot be subtyped (similar to a \"final\" " "class in Java)." msgstr "" -#: c-api/typeobj.rst:1089 +#: c-api/typeobj.rst:1131 msgid "" "This bit is set when the type object has been fully initialized by :c:func:" "`PyType_Ready`." msgstr "" -#: c-api/typeobj.rst:1099 +#: c-api/typeobj.rst:1141 msgid "" "This bit is set while :c:func:`PyType_Ready` is in the process of " "initializing the type object." msgstr "" -#: c-api/typeobj.rst:1109 +#: c-api/typeobj.rst:1151 msgid "" "This bit is set when the object supports garbage collection. If this bit is " "set, instances must be created using :c:macro:`PyObject_GC_New` and " @@ -1984,13 +2046,13 @@ msgid "" "tp_clear` are present in the type object." msgstr "" -#: c-api/typeobj.rst:1439 c-api/typeobj.rst:1507 +#: c-api/typeobj.rst:1481 c-api/typeobj.rst:1549 msgid "" "Group: :c:macro:`Py_TPFLAGS_HAVE_GC`, :c:member:`~PyTypeObject." "tp_traverse`, :c:member:`~PyTypeObject.tp_clear`" msgstr "" -#: c-api/typeobj.rst:1120 +#: c-api/typeobj.rst:1162 msgid "" "The :c:macro:`Py_TPFLAGS_HAVE_GC` flag bit is inherited together with the :c:" "member:`~PyTypeObject.tp_traverse` and :c:member:`~PyTypeObject.tp_clear` " @@ -2000,99 +2062,99 @@ msgid "" "values." msgstr "" -#: c-api/typeobj.rst:1130 +#: c-api/typeobj.rst:1172 msgid "" "This is a bitmask of all the bits that pertain to the existence of certain " "fields in the type object and its extension structures. Currently, it " "includes the following bits: :c:macro:`Py_TPFLAGS_HAVE_STACKLESS_EXTENSION`." msgstr "" -#: c-api/typeobj.rst:1141 +#: c-api/typeobj.rst:1183 msgid "This bit indicates that objects behave like unbound methods." msgstr "" -#: c-api/typeobj.rst:1143 +#: c-api/typeobj.rst:1185 msgid "If this flag is set for ``type(meth)``, then:" msgstr "" -#: c-api/typeobj.rst:1145 +#: c-api/typeobj.rst:1187 msgid "" "``meth.__get__(obj, cls)(*args, **kwds)`` (with ``obj`` not None) must be " "equivalent to ``meth(obj, *args, **kwds)``." msgstr "" -#: c-api/typeobj.rst:1148 +#: c-api/typeobj.rst:1190 msgid "" "``meth.__get__(None, cls)(*args, **kwds)`` must be equivalent to " "``meth(*args, **kwds)``." msgstr "" -#: c-api/typeobj.rst:1151 +#: c-api/typeobj.rst:1193 msgid "" "This flag enables an optimization for typical method calls like ``obj." "meth()``: it avoids creating a temporary \"bound method\" object for ``obj." "meth``." msgstr "" -#: c-api/typeobj.rst:1159 +#: c-api/typeobj.rst:1201 msgid "" "This flag is never inherited by types without the :c:macro:" "`Py_TPFLAGS_IMMUTABLETYPE` flag set. For extension types, it is inherited " "whenever :c:member:`~PyTypeObject.tp_descr_get` is inherited." msgstr "" -#: c-api/typeobj.rst:1165 +#: c-api/typeobj.rst:1207 msgid "" "This bit indicates that instances of the class have a `~object.__dict__` " "attribute, and that the space for the dictionary is managed by the VM." msgstr "" -#: c-api/typeobj.rst:1168 +#: c-api/typeobj.rst:1210 msgid "If this flag is set, :c:macro:`Py_TPFLAGS_HAVE_GC` should also be set." msgstr "" -#: c-api/typeobj.rst:1174 +#: c-api/typeobj.rst:1216 msgid "" "This flag is inherited unless the :c:member:`~PyTypeObject.tp_dictoffset` " "field is set in a superclass." msgstr "" -#: c-api/typeobj.rst:1180 +#: c-api/typeobj.rst:1222 msgid "" "This bit indicates that instances of the class should be weakly " "referenceable." msgstr "" -#: c-api/typeobj.rst:1187 +#: c-api/typeobj.rst:1229 msgid "" "This flag is inherited unless the :c:member:`~PyTypeObject." "tp_weaklistoffset` field is set in a superclass." msgstr "" -#: c-api/typeobj.rst:1193 +#: c-api/typeobj.rst:1235 msgid "" "Only usable with variable-size types, i.e. ones with non-zero :c:member:" "`~PyTypeObject.tp_itemsize`." msgstr "" -#: c-api/typeobj.rst:1196 +#: c-api/typeobj.rst:1238 msgid "" "Indicates that the variable-sized portion of an instance of this type is at " "the end of the instance's memory area, at an offset of ``Py_TYPE(obj)-" ">tp_basicsize`` (which may be different in each subclass)." msgstr "" -#: c-api/typeobj.rst:1201 +#: c-api/typeobj.rst:1243 msgid "" "When setting this flag, be sure that all superclasses either use this memory " "layout, or are not variable-sized. Python does not check this." msgstr "" -#: c-api/typeobj.rst:1209 +#: c-api/typeobj.rst:1251 msgid "This flag is inherited." msgstr "" -#: c-api/typeobj.rst:1223 +#: c-api/typeobj.rst:1265 msgid "" "These flags are used by functions such as :c:func:`PyLong_Check` to quickly " "determine if a type is a subclass of a built-in type; such specific checks " @@ -2102,90 +2164,90 @@ msgid "" "behave differently depending on what kind of check is used." msgstr "" -#: c-api/typeobj.rst:1234 +#: c-api/typeobj.rst:1276 msgid "" "This bit is set when the :c:member:`~PyTypeObject.tp_finalize` slot is " "present in the type structure." msgstr "" -#: c-api/typeobj.rst:1239 +#: c-api/typeobj.rst:1281 msgid "" "This flag isn't necessary anymore, as the interpreter assumes the :c:member:" "`~PyTypeObject.tp_finalize` slot is always present in the type structure." msgstr "" -#: c-api/typeobj.rst:1247 +#: c-api/typeobj.rst:1289 msgid "" "This bit is set when the class implements the :ref:`vectorcall protocol " "`. See :c:member:`~PyTypeObject.tp_vectorcall_offset` for " "details." msgstr "" -#: c-api/typeobj.rst:1253 +#: c-api/typeobj.rst:1295 msgid "" "This bit is inherited if :c:member:`~PyTypeObject.tp_call` is also inherited." msgstr "" -#: c-api/typeobj.rst:1260 +#: c-api/typeobj.rst:1302 msgid "" "This flag is now removed from a class when the class's :py:meth:`~object." "__call__` method is reassigned." msgstr "" -#: c-api/typeobj.rst:1263 +#: c-api/typeobj.rst:1305 msgid "This flag can now be inherited by mutable classes." msgstr "" -#: c-api/typeobj.rst:1267 +#: c-api/typeobj.rst:1309 msgid "" "This bit is set for type objects that are immutable: type attributes cannot " "be set nor deleted." msgstr "" -#: c-api/typeobj.rst:1269 +#: c-api/typeobj.rst:1311 msgid "" ":c:func:`PyType_Ready` automatically applies this flag to :ref:`static types " "`." msgstr "" -#: c-api/typeobj.rst:1274 +#: c-api/typeobj.rst:1316 msgid "This flag is not inherited." msgstr "" -#: c-api/typeobj.rst:1280 +#: c-api/typeobj.rst:1322 msgid "" "Disallow creating instances of the type: set :c:member:`~PyTypeObject." "tp_new` to NULL and don't create the ``__new__`` key in the type dictionary." msgstr "" -#: c-api/typeobj.rst:1284 +#: c-api/typeobj.rst:1326 msgid "" "The flag must be set before creating the type, not after. For example, it " "must be set before :c:func:`PyType_Ready` is called on the type." msgstr "" -#: c-api/typeobj.rst:1287 +#: c-api/typeobj.rst:1329 msgid "" "The flag is set automatically on :ref:`static types ` if :c:" "member:`~PyTypeObject.tp_base` is NULL or ``&PyBaseObject_Type`` and :c:" "member:`~PyTypeObject.tp_new` is NULL." msgstr "" -#: c-api/typeobj.rst:1293 +#: c-api/typeobj.rst:1335 msgid "" "This flag is not inherited. However, subclasses will not be instantiable " "unless they provide a non-NULL :c:member:`~PyTypeObject.tp_new` (which is " "only possible via the C API)." msgstr "" -#: c-api/typeobj.rst:1300 +#: c-api/typeobj.rst:1342 msgid "" "To disallow instantiating a class directly but allow instantiating its " "subclasses (e.g. for an :term:`abstract base class`), do not use this flag. " "Instead, make :c:member:`~PyTypeObject.tp_new` only succeed for subclasses." msgstr "" -#: c-api/typeobj.rst:1311 +#: c-api/typeobj.rst:1353 msgid "" "This bit indicates that instances of the class may match mapping patterns " "when used as the subject of a :keyword:`match` block. It is automatically " @@ -2193,23 +2255,23 @@ msgid "" "unset when registering :class:`collections.abc.Sequence`." msgstr "" -#: c-api/typeobj.rst:1340 +#: c-api/typeobj.rst:1382 msgid "" ":c:macro:`Py_TPFLAGS_MAPPING` and :c:macro:`Py_TPFLAGS_SEQUENCE` are " "mutually exclusive; it is an error to enable both flags simultaneously." msgstr "" -#: c-api/typeobj.rst:1323 +#: c-api/typeobj.rst:1365 msgid "" "This flag is inherited by types that do not already set :c:macro:" "`Py_TPFLAGS_SEQUENCE`." msgstr "" -#: c-api/typeobj.rst:1348 +#: c-api/typeobj.rst:1390 msgid ":pep:`634` -- Structural Pattern Matching: Specification" msgstr "" -#: c-api/typeobj.rst:1333 +#: c-api/typeobj.rst:1375 msgid "" "This bit indicates that instances of the class may match sequence patterns " "when used as the subject of a :keyword:`match` block. It is automatically " @@ -2217,53 +2279,53 @@ msgid "" "unset when registering :class:`collections.abc.Mapping`." msgstr "" -#: c-api/typeobj.rst:1345 +#: c-api/typeobj.rst:1387 msgid "" "This flag is inherited by types that do not already set :c:macro:" "`Py_TPFLAGS_MAPPING`." msgstr "" -#: c-api/typeobj.rst:1355 +#: c-api/typeobj.rst:1397 msgid "" "Internal. Do not set or unset this flag. To indicate that a class has " "changed call :c:func:`PyType_Modified`" msgstr "" -#: c-api/typeobj.rst:1359 +#: c-api/typeobj.rst:1401 msgid "" "This flag is present in header files, but is an internal feature and should " "not be used. It will be removed in a future version of CPython" msgstr "" -#: c-api/typeobj.rst:1365 +#: c-api/typeobj.rst:1407 msgid "" "An optional pointer to a NUL-terminated C string giving the docstring for " "this type object. This is exposed as the :attr:`~type.__doc__` attribute on " "the type and instances of the type." msgstr "" -#: c-api/typeobj.rst:1371 +#: c-api/typeobj.rst:1413 msgid "This field is *not* inherited by subtypes." msgstr "" -#: c-api/typeobj.rst:1376 +#: c-api/typeobj.rst:1418 msgid "" "An optional pointer to a traversal function for the garbage collector. This " "is only used if the :c:macro:`Py_TPFLAGS_HAVE_GC` flag bit is set. The " "signature is::" msgstr "" -#: c-api/typeobj.rst:1379 +#: c-api/typeobj.rst:1421 msgid "int tp_traverse(PyObject *self, visitproc visit, void *arg);" msgstr "" -#: c-api/typeobj.rst:1502 +#: c-api/typeobj.rst:1544 msgid "" "More information about Python's garbage collection scheme can be found in " "section :ref:`supporting-cycle-detection`." msgstr "" -#: c-api/typeobj.rst:1384 +#: c-api/typeobj.rst:1426 msgid "" "The :c:member:`~PyTypeObject.tp_traverse` pointer is used by the garbage " "collector to detect reference cycles. A typical implementation of a :c:" @@ -2273,7 +2335,7 @@ msgid "" "`!_thread` extension module::" msgstr "" -#: c-api/typeobj.rst:1390 +#: c-api/typeobj.rst:1432 msgid "" "static int\n" "local_traverse(localobject *self, visitproc visit, void *arg)\n" @@ -2285,7 +2347,7 @@ msgid "" "}" msgstr "" -#: c-api/typeobj.rst:1399 +#: c-api/typeobj.rst:1441 msgid "" "Note that :c:func:`Py_VISIT` is called only on those members that can " "participate in reference cycles. Although there is also a ``self->key`` " @@ -2293,14 +2355,14 @@ msgid "" "part of a reference cycle." msgstr "" -#: c-api/typeobj.rst:1403 +#: c-api/typeobj.rst:1445 msgid "" "On the other hand, even if you know a member can never be part of a cycle, " "as a debugging aid you may want to visit it anyway just so the :mod:`gc` " "module's :func:`~gc.get_referents` function will include it." msgstr "" -#: c-api/typeobj.rst:1408 +#: c-api/typeobj.rst:1450 msgid "" "When implementing :c:member:`~PyTypeObject.tp_traverse`, only the members " "that the instance *owns* (by having :term:`strong references ` hold a reference to " "their type. Their traversal function must therefore either visit :c:func:" @@ -2329,14 +2391,14 @@ msgid "" "superclass). If they do not, the type object may not be garbage-collected." msgstr "" -#: c-api/typeobj.rst:1432 +#: c-api/typeobj.rst:1474 msgid "" "Heap-allocated types are expected to visit ``Py_TYPE(self)`` in " "``tp_traverse``. In earlier versions of Python, due to `bug 40217 `_, doing this may lead to crashes in subclasses." msgstr "" -#: c-api/typeobj.rst:1441 +#: c-api/typeobj.rst:1483 msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_clear` and the :c:macro:`Py_TPFLAGS_HAVE_GC` flag bit: the flag bit, :c:" @@ -2344,18 +2406,18 @@ msgid "" "are all inherited from the base type if they are all zero in the subtype." msgstr "" -#: c-api/typeobj.rst:1449 +#: c-api/typeobj.rst:1491 msgid "" "An optional pointer to a clear function for the garbage collector. This is " "only used if the :c:macro:`Py_TPFLAGS_HAVE_GC` flag bit is set. The " "signature is::" msgstr "" -#: c-api/typeobj.rst:1452 +#: c-api/typeobj.rst:1494 msgid "int tp_clear(PyObject *);" msgstr "" -#: c-api/typeobj.rst:1454 +#: c-api/typeobj.rst:1496 msgid "" "The :c:member:`~PyTypeObject.tp_clear` member function is used to break " "reference cycles in cyclic garbage detected by the garbage collector. Taken " @@ -2370,7 +2432,7 @@ msgid "" "good reason to avoid implementing :c:member:`~PyTypeObject.tp_clear`." msgstr "" -#: c-api/typeobj.rst:1464 +#: c-api/typeobj.rst:1506 msgid "" "Implementations of :c:member:`~PyTypeObject.tp_clear` should drop the " "instance's references to those of its members that may be Python objects, " @@ -2378,7 +2440,7 @@ msgid "" "example::" msgstr "" -#: c-api/typeobj.rst:1468 +#: c-api/typeobj.rst:1510 msgid "" "static int\n" "local_clear(localobject *self)\n" @@ -2391,7 +2453,7 @@ msgid "" "}" msgstr "" -#: c-api/typeobj.rst:1478 +#: c-api/typeobj.rst:1520 msgid "" "The :c:func:`Py_CLEAR` macro should be used, because clearing references is " "delicate: the reference to the contained object must not be released (via :" @@ -2406,7 +2468,7 @@ msgid "" "performs the operations in a safe order." msgstr "" -#: c-api/typeobj.rst:1490 +#: c-api/typeobj.rst:1532 msgid "" "Note that :c:member:`~PyTypeObject.tp_clear` is not *always* called before " "an instance is deallocated. For example, when reference counting is enough " @@ -2414,7 +2476,7 @@ msgid "" "is not involved and :c:member:`~PyTypeObject.tp_dealloc` is called directly." msgstr "" -#: c-api/typeobj.rst:1496 +#: c-api/typeobj.rst:1538 msgid "" "Because the goal of :c:member:`~PyTypeObject.tp_clear` functions is to break " "reference cycles, it's not necessary to clear contained objects like Python " @@ -2424,7 +2486,7 @@ msgid "" "invoke :c:member:`~PyTypeObject.tp_clear`." msgstr "" -#: c-api/typeobj.rst:1509 +#: c-api/typeobj.rst:1551 msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_traverse` and the :c:macro:`Py_TPFLAGS_HAVE_GC` flag bit: the flag bit, :" @@ -2432,22 +2494,22 @@ msgid "" "are all inherited from the base type if they are all zero in the subtype." msgstr "" -#: c-api/typeobj.rst:1517 +#: c-api/typeobj.rst:1559 msgid "" "An optional pointer to the rich comparison function, whose signature is::" msgstr "" -#: c-api/typeobj.rst:1519 +#: c-api/typeobj.rst:1561 msgid "PyObject *tp_richcompare(PyObject *self, PyObject *other, int op);" msgstr "" -#: c-api/typeobj.rst:1521 +#: c-api/typeobj.rst:1563 msgid "" "The first parameter is guaranteed to be an instance of the type that is " "defined by :c:type:`PyTypeObject`." msgstr "" -#: c-api/typeobj.rst:1524 +#: c-api/typeobj.rst:1566 msgid "" "The function should return the result of the comparison (usually ``Py_True`` " "or ``Py_False``). If the comparison is undefined, it must return " @@ -2455,50 +2517,50 @@ msgid "" "set an exception condition." msgstr "" -#: c-api/typeobj.rst:1529 +#: c-api/typeobj.rst:1571 msgid "" "The following constants are defined to be used as the third argument for :c:" "member:`~PyTypeObject.tp_richcompare` and for :c:func:`PyObject_RichCompare`:" msgstr "" -#: c-api/typeobj.rst:1535 +#: c-api/typeobj.rst:1577 msgid "Constant" msgstr "" -#: c-api/typeobj.rst:1535 +#: c-api/typeobj.rst:1577 msgid "Comparison" msgstr "" -#: c-api/typeobj.rst:1537 +#: c-api/typeobj.rst:1579 msgid "``<``" msgstr "" -#: c-api/typeobj.rst:1539 +#: c-api/typeobj.rst:1581 msgid "``<=``" msgstr "" -#: c-api/typeobj.rst:1541 +#: c-api/typeobj.rst:1583 msgid "``==``" msgstr "" -#: c-api/typeobj.rst:1543 +#: c-api/typeobj.rst:1585 msgid "``!=``" msgstr "" -#: c-api/typeobj.rst:1545 +#: c-api/typeobj.rst:1587 msgid "``>``" msgstr "" -#: c-api/typeobj.rst:1547 +#: c-api/typeobj.rst:1589 msgid "``>=``" msgstr "" -#: c-api/typeobj.rst:1550 +#: c-api/typeobj.rst:1592 msgid "" "The following macro is defined to ease writing rich comparison functions:" msgstr "" -#: c-api/typeobj.rst:1554 +#: c-api/typeobj.rst:1596 msgid "" "Return ``Py_True`` or ``Py_False`` from the function, depending on the " "result of a comparison. VAL_A and VAL_B must be orderable by C comparison " @@ -2506,15 +2568,15 @@ msgid "" "specifies the requested operation, as for :c:func:`PyObject_RichCompare`." msgstr "" -#: c-api/typeobj.rst:1560 +#: c-api/typeobj.rst:1602 msgid "The returned value is a new :term:`strong reference`." msgstr "" -#: c-api/typeobj.rst:1562 +#: c-api/typeobj.rst:1604 msgid "On error, sets an exception and returns ``NULL`` from the function." msgstr "" -#: c-api/typeobj.rst:1570 +#: c-api/typeobj.rst:1612 msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_hash`: a subtype inherits :c:member:`~PyTypeObject.tp_richcompare` and :c:" @@ -2522,7 +2584,7 @@ msgid "" "tp_richcompare` and :c:member:`~PyTypeObject.tp_hash` are both ``NULL``." msgstr "" -#: c-api/typeobj.rst:1577 +#: c-api/typeobj.rst:1619 msgid "" ":c:data:`PyBaseObject_Type` provides a :c:member:`~PyTypeObject." "tp_richcompare` implementation, which may be inherited. However, if only :c:" @@ -2531,13 +2593,13 @@ msgid "" "comparisons." msgstr "" -#: c-api/typeobj.rst:1586 +#: c-api/typeobj.rst:1628 msgid "" "While this field is still supported, :c:macro:`Py_TPFLAGS_MANAGED_WEAKREF` " "should be used instead, if at all possible." msgstr "" -#: c-api/typeobj.rst:1589 +#: c-api/typeobj.rst:1631 msgid "" "If the instances of this type are weakly referenceable, this field is " "greater than zero and contains the offset in the instance structure of the " @@ -2547,19 +2609,19 @@ msgid "" "`PyObject*` which is initialized to ``NULL``." msgstr "" -#: c-api/typeobj.rst:1596 +#: c-api/typeobj.rst:1638 msgid "" "Do not confuse this field with :c:member:`~PyTypeObject.tp_weaklist`; that " "is the list head for weak references to the type object itself." msgstr "" -#: c-api/typeobj.rst:1599 +#: c-api/typeobj.rst:1641 msgid "" "It is an error to set both the :c:macro:`Py_TPFLAGS_MANAGED_WEAKREF` bit " "and :c:member:`~PyTypeObject.tp_weaklistoffset`." msgstr "" -#: c-api/typeobj.rst:1604 +#: c-api/typeobj.rst:1646 msgid "" "This field is inherited by subtypes, but see the rules listed below. A " "subtype may override this offset; this means that the subtype uses a " @@ -2568,7 +2630,7 @@ msgid "" "not be a problem." msgstr "" -#: c-api/typeobj.rst:1611 +#: c-api/typeobj.rst:1653 msgid "" "If the :c:macro:`Py_TPFLAGS_MANAGED_WEAKREF` bit is set in the :c:member:" "`~PyTypeObject.tp_flags` field, then :c:member:`~PyTypeObject." @@ -2576,32 +2638,32 @@ msgid "" "unsafe to use this field." msgstr "" -#: c-api/typeobj.rst:1619 +#: c-api/typeobj.rst:1661 msgid "" "An optional pointer to a function that returns an :term:`iterator` for the " "object. Its presence normally signals that the instances of this type are :" "term:`iterable` (although sequences may be iterable without this function)." msgstr "" -#: c-api/typeobj.rst:1623 +#: c-api/typeobj.rst:1665 msgid "This function has the same signature as :c:func:`PyObject_GetIter`::" msgstr "" -#: c-api/typeobj.rst:1625 +#: c-api/typeobj.rst:1667 msgid "PyObject *tp_iter(PyObject *self);" msgstr "" -#: c-api/typeobj.rst:1634 +#: c-api/typeobj.rst:1676 msgid "" "An optional pointer to a function that returns the next item in an :term:" "`iterator`. The signature is::" msgstr "" -#: c-api/typeobj.rst:1637 +#: c-api/typeobj.rst:1679 msgid "PyObject *tp_iternext(PyObject *self);" msgstr "" -#: c-api/typeobj.rst:1639 +#: c-api/typeobj.rst:1681 msgid "" "When the iterator is exhausted, it must return ``NULL``; a :exc:" "`StopIteration` exception may or may not be set. When another error occurs, " @@ -2609,74 +2671,74 @@ msgid "" "this type are iterators." msgstr "" -#: c-api/typeobj.rst:1644 +#: c-api/typeobj.rst:1686 msgid "" "Iterator types should also define the :c:member:`~PyTypeObject.tp_iter` " "function, and that function should return the iterator instance itself (not " "a new iterator instance)." msgstr "" -#: c-api/typeobj.rst:1648 +#: c-api/typeobj.rst:1690 msgid "This function has the same signature as :c:func:`PyIter_Next`." msgstr "" -#: c-api/typeobj.rst:1657 +#: c-api/typeobj.rst:1699 msgid "" "An optional pointer to a static ``NULL``-terminated array of :c:type:" "`PyMethodDef` structures, declaring regular methods of this type." msgstr "" -#: c-api/typeobj.rst:1660 +#: c-api/typeobj.rst:1702 msgid "" "For each entry in the array, an entry is added to the type's dictionary " "(see :c:member:`~PyTypeObject.tp_dict` below) containing a method descriptor." msgstr "" -#: c-api/typeobj.rst:1665 +#: c-api/typeobj.rst:1707 msgid "" "This field is not inherited by subtypes (methods are inherited through a " "different mechanism)." msgstr "" -#: c-api/typeobj.rst:1671 +#: c-api/typeobj.rst:1713 msgid "" "An optional pointer to a static ``NULL``-terminated array of :c:type:" "`PyMemberDef` structures, declaring regular data members (fields or slots) " "of instances of this type." msgstr "" -#: c-api/typeobj.rst:1675 +#: c-api/typeobj.rst:1717 msgid "" "For each entry in the array, an entry is added to the type's dictionary " "(see :c:member:`~PyTypeObject.tp_dict` below) containing a member descriptor." msgstr "" -#: c-api/typeobj.rst:1680 +#: c-api/typeobj.rst:1722 msgid "" "This field is not inherited by subtypes (members are inherited through a " "different mechanism)." msgstr "" -#: c-api/typeobj.rst:1686 +#: c-api/typeobj.rst:1728 msgid "" "An optional pointer to a static ``NULL``-terminated array of :c:type:" "`PyGetSetDef` structures, declaring computed attributes of instances of this " "type." msgstr "" -#: c-api/typeobj.rst:1689 +#: c-api/typeobj.rst:1731 msgid "" "For each entry in the array, an entry is added to the type's dictionary " "(see :c:member:`~PyTypeObject.tp_dict` below) containing a getset descriptor." msgstr "" -#: c-api/typeobj.rst:1694 +#: c-api/typeobj.rst:1736 msgid "" "This field is not inherited by subtypes (computed attributes are inherited " "through a different mechanism)." msgstr "" -#: c-api/typeobj.rst:1700 +#: c-api/typeobj.rst:1742 msgid "" "An optional pointer to a base type from which type properties are " "inherited. At this level, only single inheritance is supported; multiple " @@ -2684,7 +2746,7 @@ msgid "" "metatype." msgstr "" -#: c-api/typeobj.rst:1708 +#: c-api/typeobj.rst:1750 msgid "" "Slot initialization is subject to the rules of initializing globals. C99 " "requires the initializers to be \"address constants\". Function designators " @@ -2692,7 +2754,7 @@ msgid "" "valid C99 address constants." msgstr "" -#: c-api/typeobj.rst:1713 +#: c-api/typeobj.rst:1755 msgid "" "However, the unary '&' operator applied to a non-static variable like :c:" "data:`PyBaseObject_Type` is not required to produce an address constant. " @@ -2700,27 +2762,27 @@ msgid "" "strictly standard conforming in this particular behavior." msgstr "" -#: c-api/typeobj.rst:1719 +#: c-api/typeobj.rst:1761 msgid "" "Consequently, :c:member:`~PyTypeObject.tp_base` should be set in the " "extension module's init function." msgstr "" -#: c-api/typeobj.rst:1724 +#: c-api/typeobj.rst:1766 msgid "This field is not inherited by subtypes (obviously)." msgstr "" -#: c-api/typeobj.rst:1728 +#: c-api/typeobj.rst:1770 msgid "" "This field defaults to ``&PyBaseObject_Type`` (which to Python programmers " "is known as the type :class:`object`)." msgstr "" -#: c-api/typeobj.rst:1734 +#: c-api/typeobj.rst:1776 msgid "The type's dictionary is stored here by :c:func:`PyType_Ready`." msgstr "" -#: c-api/typeobj.rst:1736 +#: c-api/typeobj.rst:1778 msgid "" "This field should normally be initialized to ``NULL`` before PyType_Ready is " "called; it may also be initialized to a dictionary containing initial " @@ -2731,70 +2793,70 @@ msgid "" "be treated as read-only." msgstr "" -#: c-api/typeobj.rst:1744 +#: c-api/typeobj.rst:1786 msgid "" "Some types may not store their dictionary in this slot. Use :c:func:" "`PyType_GetDict` to retrieve the dictionary for an arbitrary type." msgstr "" -#: c-api/typeobj.rst:1750 +#: c-api/typeobj.rst:1792 msgid "" "Internals detail: For static builtin types, this is always ``NULL``. " "Instead, the dict for such types is stored on ``PyInterpreterState``. Use :c:" "func:`PyType_GetDict` to get the dict for an arbitrary type." msgstr "" -#: c-api/typeobj.rst:1756 +#: c-api/typeobj.rst:1798 msgid "" "This field is not inherited by subtypes (though the attributes defined in " "here are inherited through a different mechanism)." msgstr "" -#: c-api/typeobj.rst:1761 +#: c-api/typeobj.rst:1803 msgid "" "If this field is ``NULL``, :c:func:`PyType_Ready` will assign a new " "dictionary to it." msgstr "" -#: c-api/typeobj.rst:1766 +#: c-api/typeobj.rst:1808 msgid "" "It is not safe to use :c:func:`PyDict_SetItem` on or otherwise modify :c:" "member:`~PyTypeObject.tp_dict` with the dictionary C-API." msgstr "" -#: c-api/typeobj.rst:1772 +#: c-api/typeobj.rst:1814 msgid "An optional pointer to a \"descriptor get\" function." msgstr "" -#: c-api/typeobj.rst:1790 c-api/typeobj.rst:1884 c-api/typeobj.rst:1908 +#: c-api/typeobj.rst:1832 c-api/typeobj.rst:1926 c-api/typeobj.rst:1950 msgid "The function signature is::" msgstr "" -#: c-api/typeobj.rst:1776 +#: c-api/typeobj.rst:1818 msgid "PyObject * tp_descr_get(PyObject *self, PyObject *obj, PyObject *type);" msgstr "" -#: c-api/typeobj.rst:1787 +#: c-api/typeobj.rst:1829 msgid "" "An optional pointer to a function for setting and deleting a descriptor's " "value." msgstr "" -#: c-api/typeobj.rst:1792 +#: c-api/typeobj.rst:1834 msgid "int tp_descr_set(PyObject *self, PyObject *obj, PyObject *value);" msgstr "" -#: c-api/typeobj.rst:1794 +#: c-api/typeobj.rst:1836 msgid "The *value* argument is set to ``NULL`` to delete the value." msgstr "" -#: c-api/typeobj.rst:1805 +#: c-api/typeobj.rst:1847 msgid "" "While this field is still supported, :c:macro:`Py_TPFLAGS_MANAGED_DICT` " "should be used instead, if at all possible." msgstr "" -#: c-api/typeobj.rst:1808 +#: c-api/typeobj.rst:1850 msgid "" "If the instances of this type have a dictionary containing instance " "variables, this field is non-zero and contains the offset in the instances " @@ -2802,19 +2864,19 @@ msgid "" "func:`PyObject_GenericGetAttr`." msgstr "" -#: c-api/typeobj.rst:1813 +#: c-api/typeobj.rst:1855 msgid "" "Do not confuse this field with :c:member:`~PyTypeObject.tp_dict`; that is " "the dictionary for attributes of the type object itself." msgstr "" -#: c-api/typeobj.rst:1816 +#: c-api/typeobj.rst:1858 msgid "" "The value specifies the offset of the dictionary from the start of the " "instance structure." msgstr "" -#: c-api/typeobj.rst:1818 +#: c-api/typeobj.rst:1860 msgid "" "The :c:member:`~PyTypeObject.tp_dictoffset` should be regarded as write-" "only. To get the pointer to the dictionary call :c:func:" @@ -2823,13 +2885,13 @@ msgid "" "to call :c:func:`PyObject_GetAttr` when accessing an attribute on the object." msgstr "" -#: c-api/typeobj.rst:1824 +#: c-api/typeobj.rst:1866 msgid "" "It is an error to set both the :c:macro:`Py_TPFLAGS_MANAGED_DICT` bit and :c:" "member:`~PyTypeObject.tp_dictoffset`." msgstr "" -#: c-api/typeobj.rst:1829 +#: c-api/typeobj.rst:1871 msgid "" "This field is inherited by subtypes. A subtype should not override this " "offset; doing so could be unsafe, if C code tries to access the dictionary " @@ -2837,25 +2899,25 @@ msgid "" "`Py_TPFLAGS_MANAGED_DICT`." msgstr "" -#: c-api/typeobj.rst:1836 +#: c-api/typeobj.rst:1878 msgid "" "This slot has no default. For :ref:`static types `, if the " "field is ``NULL`` then no :attr:`~object.__dict__` gets created for " "instances." msgstr "" -#: c-api/typeobj.rst:1839 +#: c-api/typeobj.rst:1881 msgid "" "If the :c:macro:`Py_TPFLAGS_MANAGED_DICT` bit is set in the :c:member:" "`~PyTypeObject.tp_dict` field, then :c:member:`~PyTypeObject.tp_dictoffset` " "will be set to ``-1``, to indicate that it is unsafe to use this field." msgstr "" -#: c-api/typeobj.rst:1847 +#: c-api/typeobj.rst:1889 msgid "An optional pointer to an instance initialization function." msgstr "" -#: c-api/typeobj.rst:1849 +#: c-api/typeobj.rst:1891 msgid "" "This function corresponds to the :meth:`~object.__init__` method of " "classes. Like :meth:`!__init__`, it is possible to create an instance " @@ -2863,18 +2925,18 @@ msgid "" "instance by calling its :meth:`!__init__` method again." msgstr "" -#: c-api/typeobj.rst:1856 +#: c-api/typeobj.rst:1898 msgid "int tp_init(PyObject *self, PyObject *args, PyObject *kwds);" msgstr "" -#: c-api/typeobj.rst:1858 +#: c-api/typeobj.rst:1900 msgid "" "The self argument is the instance to be initialized; the *args* and *kwds* " "arguments represent positional and keyword arguments of the call to :meth:" "`~object.__init__`." msgstr "" -#: c-api/typeobj.rst:1862 +#: c-api/typeobj.rst:1904 msgid "" "The :c:member:`~PyTypeObject.tp_init` function, if not ``NULL``, is called " "when an instance is created normally by calling its type, after the type's :" @@ -2886,52 +2948,52 @@ msgid "" "subtype's :c:member:`~PyTypeObject.tp_init` is called." msgstr "" -#: c-api/typeobj.rst:1869 +#: c-api/typeobj.rst:1911 msgid "Returns ``0`` on success, ``-1`` and sets an exception on error." msgstr "" -#: c-api/typeobj.rst:1877 +#: c-api/typeobj.rst:1919 msgid "" "For :ref:`static types ` this field does not have a default." msgstr "" -#: c-api/typeobj.rst:1882 +#: c-api/typeobj.rst:1924 msgid "An optional pointer to an instance allocation function." msgstr "" -#: c-api/typeobj.rst:1886 +#: c-api/typeobj.rst:1928 msgid "PyObject *tp_alloc(PyTypeObject *self, Py_ssize_t nitems);" msgstr "" -#: c-api/typeobj.rst:1890 +#: c-api/typeobj.rst:1932 msgid "" "This field is inherited by static subtypes, but not by dynamic subtypes " "(subtypes created by a class statement)." msgstr "" -#: c-api/typeobj.rst:1895 +#: c-api/typeobj.rst:1937 msgid "" "For dynamic subtypes, this field is always set to :c:func:" "`PyType_GenericAlloc`, to force a standard heap allocation strategy." msgstr "" -#: c-api/typeobj.rst:1899 +#: c-api/typeobj.rst:1941 msgid "" "For static subtypes, :c:data:`PyBaseObject_Type` uses :c:func:" "`PyType_GenericAlloc`. That is the recommended value for all statically " "defined types." msgstr "" -#: c-api/typeobj.rst:1906 +#: c-api/typeobj.rst:1948 msgid "An optional pointer to an instance creation function." msgstr "" -#: c-api/typeobj.rst:1910 +#: c-api/typeobj.rst:1952 msgid "" "PyObject *tp_new(PyTypeObject *subtype, PyObject *args, PyObject *kwds);" msgstr "" -#: c-api/typeobj.rst:1912 +#: c-api/typeobj.rst:1954 msgid "" "The *subtype* argument is the type of the object being created; the *args* " "and *kwds* arguments represent positional and keyword arguments of the call " @@ -2940,7 +3002,7 @@ msgid "" "that type (but not an unrelated type)." msgstr "" -#: c-api/typeobj.rst:1918 +#: c-api/typeobj.rst:1960 msgid "" "The :c:member:`~PyTypeObject.tp_new` function should call ``subtype-" ">tp_alloc(subtype, nitems)`` to allocate space for the object, and then do " @@ -2952,20 +3014,20 @@ msgid "" "be deferred to :c:member:`~PyTypeObject.tp_init`." msgstr "" -#: c-api/typeobj.rst:1926 +#: c-api/typeobj.rst:1968 msgid "" "Set the :c:macro:`Py_TPFLAGS_DISALLOW_INSTANTIATION` flag to disallow " "creating instances of the type in Python." msgstr "" -#: c-api/typeobj.rst:1931 +#: c-api/typeobj.rst:1973 msgid "" "This field is inherited by subtypes, except it is not inherited by :ref:" "`static types ` whose :c:member:`~PyTypeObject.tp_base` is " "``NULL`` or ``&PyBaseObject_Type``." msgstr "" -#: c-api/typeobj.rst:1937 +#: c-api/typeobj.rst:1979 msgid "" "For :ref:`static types ` this field has no default. This means " "if the slot is defined as ``NULL``, the type cannot be called to create new " @@ -2973,44 +3035,44 @@ msgid "" "factory function." msgstr "" -#: c-api/typeobj.rst:1945 +#: c-api/typeobj.rst:1987 msgid "" "An optional pointer to an instance deallocation function. Its signature is::" msgstr "" -#: c-api/typeobj.rst:1947 +#: c-api/typeobj.rst:1989 msgid "void tp_free(void *self);" msgstr "" -#: c-api/typeobj.rst:1949 +#: c-api/typeobj.rst:1991 msgid "" "An initializer that is compatible with this signature is :c:func:" "`PyObject_Free`." msgstr "" -#: c-api/typeobj.rst:1953 +#: c-api/typeobj.rst:1995 msgid "" "This field is inherited by static subtypes, but not by dynamic subtypes " "(subtypes created by a class statement)" msgstr "" -#: c-api/typeobj.rst:1958 +#: c-api/typeobj.rst:2000 msgid "" "In dynamic subtypes, this field is set to a deallocator suitable to match :c:" "func:`PyType_GenericAlloc` and the value of the :c:macro:" "`Py_TPFLAGS_HAVE_GC` flag bit." msgstr "" -#: c-api/typeobj.rst:1962 +#: c-api/typeobj.rst:2004 msgid "" "For static subtypes, :c:data:`PyBaseObject_Type` uses :c:func:`PyObject_Del`." msgstr "" -#: c-api/typeobj.rst:1967 +#: c-api/typeobj.rst:2009 msgid "An optional pointer to a function called by the garbage collector." msgstr "" -#: c-api/typeobj.rst:1969 +#: c-api/typeobj.rst:2011 msgid "" "The garbage collector needs to know whether a particular object is " "collectible or not. Normally, it is sufficient to look at the object's " @@ -3022,91 +3084,91 @@ msgid "" "instance. The signature is::" msgstr "" -#: c-api/typeobj.rst:1977 +#: c-api/typeobj.rst:2019 msgid "int tp_is_gc(PyObject *self);" msgstr "" -#: c-api/typeobj.rst:1979 +#: c-api/typeobj.rst:2021 msgid "" "(The only example of this are types themselves. The metatype, :c:data:" "`PyType_Type`, defines this function to distinguish between statically and :" "ref:`dynamically allocated types `.)" msgstr "" -#: c-api/typeobj.rst:1989 +#: c-api/typeobj.rst:2031 msgid "" "This slot has no default. If this field is ``NULL``, :c:macro:" "`Py_TPFLAGS_HAVE_GC` is used as the functional equivalent." msgstr "" -#: c-api/typeobj.rst:1995 +#: c-api/typeobj.rst:2037 msgid "Tuple of base types." msgstr "" -#: c-api/typeobj.rst:2021 +#: c-api/typeobj.rst:2063 msgid "" "This field should be set to ``NULL`` and treated as read-only. Python will " "fill it in when the type is :c:func:`initialized `." msgstr "" -#: c-api/typeobj.rst:2000 +#: c-api/typeobj.rst:2042 msgid "" "For dynamically created classes, the ``Py_tp_bases`` :c:type:`slot " "` can be used instead of the *bases* argument of :c:func:" "`PyType_FromSpecWithBases`. The argument form is preferred." msgstr "" -#: c-api/typeobj.rst:2007 +#: c-api/typeobj.rst:2049 msgid "" "Multiple inheritance does not work well for statically defined types. If you " "set ``tp_bases`` to a tuple, Python will not raise an error, but some slots " "will only be inherited from the first base." msgstr "" -#: c-api/typeobj.rst:2036 c-api/typeobj.rst:2070 c-api/typeobj.rst:2084 +#: c-api/typeobj.rst:2078 c-api/typeobj.rst:2112 c-api/typeobj.rst:2126 msgid "This field is not inherited." msgstr "" -#: c-api/typeobj.rst:2018 +#: c-api/typeobj.rst:2060 msgid "" "Tuple containing the expanded set of base types, starting with the type " "itself and ending with :class:`object`, in Method Resolution Order." msgstr "" -#: c-api/typeobj.rst:2026 +#: c-api/typeobj.rst:2068 msgid "" "This field is not inherited; it is calculated fresh by :c:func:" "`PyType_Ready`." msgstr "" -#: c-api/typeobj.rst:2032 +#: c-api/typeobj.rst:2074 msgid "Unused. Internal use only." msgstr "" -#: c-api/typeobj.rst:2041 +#: c-api/typeobj.rst:2083 msgid "" "A collection of subclasses. Internal use only. May be an invalid pointer." msgstr "" -#: c-api/typeobj.rst:2043 +#: c-api/typeobj.rst:2085 msgid "" "To get a list of subclasses, call the Python method :py:meth:`~type." "__subclasses__`." msgstr "" -#: c-api/typeobj.rst:2048 +#: c-api/typeobj.rst:2090 msgid "" "For some types, this field does not hold a valid :c:expr:`PyObject*`. The " "type was changed to :c:expr:`void*` to indicate this." msgstr "" -#: c-api/typeobj.rst:2058 +#: c-api/typeobj.rst:2100 msgid "" "Weak reference list head, for weak references to this type object. Not " "inherited. Internal use only." msgstr "" -#: c-api/typeobj.rst:2063 +#: c-api/typeobj.rst:2105 msgid "" "Internals detail: For the static builtin types this is always ``NULL``, even " "if weakrefs are added. Instead, the weakrefs for each are stored on " @@ -3114,25 +3176,25 @@ msgid "" "``_PyObject_GET_WEAKREFS_LISTPTR()`` macro to avoid the distinction." msgstr "" -#: c-api/typeobj.rst:2075 +#: c-api/typeobj.rst:2117 msgid "" "This field is deprecated. Use :c:member:`~PyTypeObject.tp_finalize` instead." msgstr "" -#: c-api/typeobj.rst:2080 +#: c-api/typeobj.rst:2122 msgid "Used to index into the method cache. Internal use only." msgstr "" -#: c-api/typeobj.rst:2089 +#: c-api/typeobj.rst:2131 msgid "" "An optional pointer to an instance finalization function. Its signature is::" msgstr "" -#: c-api/typeobj.rst:2091 +#: c-api/typeobj.rst:2133 msgid "void tp_finalize(PyObject *self);" msgstr "" -#: c-api/typeobj.rst:2093 +#: c-api/typeobj.rst:2135 msgid "" "If :c:member:`~PyTypeObject.tp_finalize` is set, the interpreter calls it " "once when finalizing an instance. It is called either from the garbage " @@ -3142,14 +3204,14 @@ msgid "" "object in a sane state." msgstr "" -#: c-api/typeobj.rst:2100 +#: c-api/typeobj.rst:2142 msgid "" ":c:member:`~PyTypeObject.tp_finalize` should not mutate the current " "exception status; therefore, a recommended way to write a non-trivial " "finalizer is::" msgstr "" -#: c-api/typeobj.rst:2103 +#: c-api/typeobj.rst:2145 msgid "" "static void\n" "local_finalize(PyObject *self)\n" @@ -3166,18 +3228,18 @@ msgid "" "}" msgstr "" -#: c-api/typeobj.rst:2125 +#: c-api/typeobj.rst:2167 msgid "" "Before version 3.8 it was necessary to set the :c:macro:" "`Py_TPFLAGS_HAVE_FINALIZE` flags bit in order for this field to be used. " "This is no longer required." msgstr "" -#: c-api/typeobj.rst:2129 +#: c-api/typeobj.rst:2171 msgid "\"Safe object finalization\" (:pep:`442`)" msgstr "" -#: c-api/typeobj.rst:2134 +#: c-api/typeobj.rst:2176 msgid "" "Vectorcall function to use for calls of this type object. In other words, it " "is used to implement :ref:`vectorcall ` for ``type.__call__``. " @@ -3185,65 +3247,65 @@ msgid "" "meth:`~object.__new__` and :meth:`~object.__init__` is used." msgstr "" -#: c-api/typeobj.rst:2142 +#: c-api/typeobj.rst:2184 msgid "This field is never inherited." msgstr "" -#: c-api/typeobj.rst:2144 +#: c-api/typeobj.rst:2186 msgid "(the field exists since 3.8 but it's only used since 3.9)" msgstr "" -#: c-api/typeobj.rst:2149 +#: c-api/typeobj.rst:2191 msgid "Internal. Do not use." msgstr "" -#: c-api/typeobj.rst:2157 +#: c-api/typeobj.rst:2199 msgid "Static Types" msgstr "" -#: c-api/typeobj.rst:2159 +#: c-api/typeobj.rst:2201 msgid "" "Traditionally, types defined in C code are *static*, that is, a static :c:" "type:`PyTypeObject` structure is defined directly in code and initialized " "using :c:func:`PyType_Ready`." msgstr "" -#: c-api/typeobj.rst:2163 +#: c-api/typeobj.rst:2205 msgid "" "This results in types that are limited relative to types defined in Python:" msgstr "" -#: c-api/typeobj.rst:2165 +#: c-api/typeobj.rst:2207 msgid "" "Static types are limited to one base, i.e. they cannot use multiple " "inheritance." msgstr "" -#: c-api/typeobj.rst:2167 +#: c-api/typeobj.rst:2209 msgid "" "Static type objects (but not necessarily their instances) are immutable. It " "is not possible to add or modify the type object's attributes from Python." msgstr "" -#: c-api/typeobj.rst:2169 +#: c-api/typeobj.rst:2211 msgid "" "Static type objects are shared across :ref:`sub-interpreters `, so they should not include any subinterpreter-" "specific state." msgstr "" -#: c-api/typeobj.rst:2173 +#: c-api/typeobj.rst:2215 msgid "" "Also, since :c:type:`PyTypeObject` is only part of the :ref:`Limited API " "` as an opaque struct, any extension modules using static " "types must be compiled for a specific Python minor version." msgstr "" -#: c-api/typeobj.rst:2181 +#: c-api/typeobj.rst:2223 msgid "Heap Types" msgstr "" -#: c-api/typeobj.rst:2183 +#: c-api/typeobj.rst:2225 msgid "" "An alternative to :ref:`static types ` is *heap-allocated " "types*, or *heap types* for short, which correspond closely to classes " @@ -3251,29 +3313,29 @@ msgid "" "`Py_TPFLAGS_HEAPTYPE` flag set." msgstr "" -#: c-api/typeobj.rst:2188 +#: c-api/typeobj.rst:2230 msgid "" "This is done by filling a :c:type:`PyType_Spec` structure and calling :c:" "func:`PyType_FromSpec`, :c:func:`PyType_FromSpecWithBases`, :c:func:" "`PyType_FromModuleAndSpec`, or :c:func:`PyType_FromMetaclass`." msgstr "" -#: c-api/typeobj.rst:2196 +#: c-api/typeobj.rst:2238 msgid "Number Object Structures" msgstr "" -#: c-api/typeobj.rst:2203 +#: c-api/typeobj.rst:2245 msgid "" "This structure holds pointers to the functions which an object uses to " "implement the number protocol. Each function is used by the function of " "similar name documented in the :ref:`number` section." msgstr "" -#: c-api/typeobj.rst:2533 +#: c-api/typeobj.rst:2575 msgid "Here is the structure definition::" msgstr "" -#: c-api/typeobj.rst:2211 +#: c-api/typeobj.rst:2253 msgid "" "typedef struct {\n" " binaryfunc nb_add;\n" @@ -3319,7 +3381,7 @@ msgid "" "} PyNumberMethods;" msgstr "" -#: c-api/typeobj.rst:2256 +#: c-api/typeobj.rst:2298 msgid "" "Binary and ternary functions must check the type of all their operands, and " "implement the necessary conversions (at least one of the operands is an " @@ -3329,31 +3391,31 @@ msgid "" "and set an exception." msgstr "" -#: c-api/typeobj.rst:2265 +#: c-api/typeobj.rst:2307 msgid "" "The :c:member:`~PyNumberMethods.nb_reserved` field should always be " "``NULL``. It was previously called :c:member:`!nb_long`, and was renamed in " "Python 3.0.1." msgstr "" -#: c-api/typeobj.rst:2310 +#: c-api/typeobj.rst:2352 msgid "Mapping Object Structures" msgstr "" -#: c-api/typeobj.rst:2317 +#: c-api/typeobj.rst:2359 msgid "" "This structure holds pointers to the functions which an object uses to " "implement the mapping protocol. It has three members:" msgstr "" -#: c-api/typeobj.rst:2322 +#: c-api/typeobj.rst:2364 msgid "" "This function is used by :c:func:`PyMapping_Size` and :c:func:" "`PyObject_Size`, and has the same signature. This slot may be set to " "``NULL`` if the object has no defined length." msgstr "" -#: c-api/typeobj.rst:2328 +#: c-api/typeobj.rst:2370 msgid "" "This function is used by :c:func:`PyObject_GetItem` and :c:func:" "`PySequence_GetSlice`, and has the same signature as :c:func:`!" @@ -3361,7 +3423,7 @@ msgid "" "`PyMapping_Check` function to return ``1``, it can be ``NULL`` otherwise." msgstr "" -#: c-api/typeobj.rst:2336 +#: c-api/typeobj.rst:2378 msgid "" "This function is used by :c:func:`PyObject_SetItem`, :c:func:" "`PyObject_DelItem`, :c:func:`PySequence_SetSlice` and :c:func:" @@ -3371,17 +3433,17 @@ msgid "" "deletion." msgstr "" -#: c-api/typeobj.rst:2347 +#: c-api/typeobj.rst:2389 msgid "Sequence Object Structures" msgstr "" -#: c-api/typeobj.rst:2354 +#: c-api/typeobj.rst:2396 msgid "" "This structure holds pointers to the functions which an object uses to " "implement the sequence protocol." msgstr "" -#: c-api/typeobj.rst:2359 +#: c-api/typeobj.rst:2401 msgid "" "This function is used by :c:func:`PySequence_Size` and :c:func:" "`PyObject_Size`, and has the same signature. It is also used for handling " @@ -3389,21 +3451,21 @@ msgid "" "member:`~PySequenceMethods.sq_ass_item` slots." msgstr "" -#: c-api/typeobj.rst:2366 +#: c-api/typeobj.rst:2408 msgid "" "This function is used by :c:func:`PySequence_Concat` and has the same " "signature. It is also used by the ``+`` operator, after trying the numeric " "addition via the :c:member:`~PyNumberMethods.nb_add` slot." msgstr "" -#: c-api/typeobj.rst:2372 +#: c-api/typeobj.rst:2414 msgid "" "This function is used by :c:func:`PySequence_Repeat` and has the same " "signature. It is also used by the ``*`` operator, after trying numeric " "multiplication via the :c:member:`~PyNumberMethods.nb_multiply` slot." msgstr "" -#: c-api/typeobj.rst:2378 +#: c-api/typeobj.rst:2420 msgid "" "This function is used by :c:func:`PySequence_GetItem` and has the same " "signature. It is also used by :c:func:`PyObject_GetItem`, after trying the " @@ -3412,7 +3474,7 @@ msgid "" "``1``, it can be ``NULL`` otherwise." msgstr "" -#: c-api/typeobj.rst:2384 +#: c-api/typeobj.rst:2426 msgid "" "Negative indexes are handled as follows: if the :c:member:" "`~PySequenceMethods.sq_length` slot is filled, it is called and the sequence " @@ -3421,7 +3483,7 @@ msgid "" "index is passed as is to the function." msgstr "" -#: c-api/typeobj.rst:2391 +#: c-api/typeobj.rst:2433 msgid "" "This function is used by :c:func:`PySequence_SetItem` and has the same " "signature. It is also used by :c:func:`PyObject_SetItem` and :c:func:" @@ -3430,14 +3492,14 @@ msgid "" "``NULL`` if the object does not support item assignment and deletion." msgstr "" -#: c-api/typeobj.rst:2400 +#: c-api/typeobj.rst:2442 msgid "" "This function may be used by :c:func:`PySequence_Contains` and has the same " "signature. This slot may be left to ``NULL``, in this case :c:func:`!" "PySequence_Contains` simply traverses the sequence until it finds a match." msgstr "" -#: c-api/typeobj.rst:2407 +#: c-api/typeobj.rst:2449 msgid "" "This function is used by :c:func:`PySequence_InPlaceConcat` and has the same " "signature. It should modify its first operand, and return it. This slot " @@ -3447,7 +3509,7 @@ msgid "" "c:member:`~PyNumberMethods.nb_inplace_add` slot." msgstr "" -#: c-api/typeobj.rst:2416 +#: c-api/typeobj.rst:2458 msgid "" "This function is used by :c:func:`PySequence_InPlaceRepeat` and has the same " "signature. It should modify its first operand, and return it. This slot " @@ -3457,74 +3519,74 @@ msgid "" "via the :c:member:`~PyNumberMethods.nb_inplace_multiply` slot." msgstr "" -#: c-api/typeobj.rst:2427 +#: c-api/typeobj.rst:2469 msgid "Buffer Object Structures" msgstr "" -#: c-api/typeobj.rst:2435 +#: c-api/typeobj.rst:2477 msgid "" "This structure holds pointers to the functions required by the :ref:`Buffer " "protocol `. The protocol defines how an exporter object can " "expose its internal data to consumer objects." msgstr "" -#: c-api/typeobj.rst:2490 c-api/typeobj.rst:2555 c-api/typeobj.rst:2577 +#: c-api/typeobj.rst:2532 c-api/typeobj.rst:2597 c-api/typeobj.rst:2619 msgid "The signature of this function is::" msgstr "" -#: c-api/typeobj.rst:2443 +#: c-api/typeobj.rst:2485 msgid "int (PyObject *exporter, Py_buffer *view, int flags);" msgstr "" -#: c-api/typeobj.rst:2445 +#: c-api/typeobj.rst:2487 msgid "" "Handle a request to *exporter* to fill in *view* as specified by *flags*. " "Except for point (3), an implementation of this function MUST take these " "steps:" msgstr "" -#: c-api/typeobj.rst:2449 +#: c-api/typeobj.rst:2491 msgid "" "Check if the request can be met. If not, raise :exc:`BufferError`, set :c:" "expr:`view->obj` to ``NULL`` and return ``-1``." msgstr "" -#: c-api/typeobj.rst:2452 +#: c-api/typeobj.rst:2494 msgid "Fill in the requested fields." msgstr "" -#: c-api/typeobj.rst:2454 +#: c-api/typeobj.rst:2496 msgid "Increment an internal counter for the number of exports." msgstr "" -#: c-api/typeobj.rst:2456 +#: c-api/typeobj.rst:2498 msgid "" "Set :c:expr:`view->obj` to *exporter* and increment :c:expr:`view->obj`." msgstr "" -#: c-api/typeobj.rst:2458 +#: c-api/typeobj.rst:2500 msgid "Return ``0``." msgstr "" -#: c-api/typeobj.rst:2460 +#: c-api/typeobj.rst:2502 msgid "" "If *exporter* is part of a chain or tree of buffer providers, two main " "schemes can be used:" msgstr "" -#: c-api/typeobj.rst:2463 +#: c-api/typeobj.rst:2505 msgid "" "Re-export: Each member of the tree acts as the exporting object and sets :c:" "expr:`view->obj` to a new reference to itself." msgstr "" -#: c-api/typeobj.rst:2466 +#: c-api/typeobj.rst:2508 msgid "" "Redirect: The buffer request is redirected to the root object of the tree. " "Here, :c:expr:`view->obj` will be a new reference to the root object." msgstr "" -#: c-api/typeobj.rst:2470 +#: c-api/typeobj.rst:2512 msgid "" "The individual fields of *view* are described in section :ref:`Buffer " "structure `, the rules how an exporter must react to " @@ -3532,7 +3594,7 @@ msgid "" "types>`." msgstr "" -#: c-api/typeobj.rst:2475 +#: c-api/typeobj.rst:2517 msgid "" "All memory pointed to in the :c:type:`Py_buffer` structure belongs to the " "exporter and must remain valid until there are no consumers left. :c:member:" @@ -3541,23 +3603,23 @@ msgid "" "internal` are read-only for the consumer." msgstr "" -#: c-api/typeobj.rst:2482 +#: c-api/typeobj.rst:2524 msgid "" ":c:func:`PyBuffer_FillInfo` provides an easy way of exposing a simple bytes " "buffer while dealing correctly with all request types." msgstr "" -#: c-api/typeobj.rst:2485 +#: c-api/typeobj.rst:2527 msgid "" ":c:func:`PyObject_GetBuffer` is the interface for the consumer that wraps " "this function." msgstr "" -#: c-api/typeobj.rst:2492 +#: c-api/typeobj.rst:2534 msgid "void (PyObject *exporter, Py_buffer *view);" msgstr "" -#: c-api/typeobj.rst:2494 +#: c-api/typeobj.rst:2536 msgid "" "Handle a request to release the resources of the buffer. If no resources " "need to be released, :c:member:`PyBufferProcs.bf_releasebuffer` may be " @@ -3565,15 +3627,15 @@ msgid "" "these optional steps:" msgstr "" -#: c-api/typeobj.rst:2499 +#: c-api/typeobj.rst:2541 msgid "Decrement an internal counter for the number of exports." msgstr "" -#: c-api/typeobj.rst:2501 +#: c-api/typeobj.rst:2543 msgid "If the counter is ``0``, free all memory associated with *view*." msgstr "" -#: c-api/typeobj.rst:2503 +#: c-api/typeobj.rst:2545 msgid "" "The exporter MUST use the :c:member:`~Py_buffer.internal` field to keep " "track of buffer-specific resources. This field is guaranteed to remain " @@ -3581,30 +3643,30 @@ msgid "" "*view* argument." msgstr "" -#: c-api/typeobj.rst:2509 +#: c-api/typeobj.rst:2551 msgid "" "This function MUST NOT decrement :c:expr:`view->obj`, since that is done " "automatically in :c:func:`PyBuffer_Release` (this scheme is useful for " "breaking reference cycles)." msgstr "" -#: c-api/typeobj.rst:2514 +#: c-api/typeobj.rst:2556 msgid "" ":c:func:`PyBuffer_Release` is the interface for the consumer that wraps this " "function." msgstr "" -#: c-api/typeobj.rst:2522 +#: c-api/typeobj.rst:2564 msgid "Async Object Structures" msgstr "" -#: c-api/typeobj.rst:2530 +#: c-api/typeobj.rst:2572 msgid "" "This structure holds pointers to the functions required to implement :term:" "`awaitable` and :term:`asynchronous iterator` objects." msgstr "" -#: c-api/typeobj.rst:2535 +#: c-api/typeobj.rst:2577 msgid "" "typedef struct {\n" " unaryfunc am_await;\n" @@ -3614,61 +3676,61 @@ msgid "" "} PyAsyncMethods;" msgstr "" -#: c-api/typeobj.rst:2546 +#: c-api/typeobj.rst:2588 msgid "PyObject *am_await(PyObject *self);" msgstr "" -#: c-api/typeobj.rst:2548 +#: c-api/typeobj.rst:2590 msgid "" "The returned object must be an :term:`iterator`, i.e. :c:func:`PyIter_Check` " "must return ``1`` for it." msgstr "" -#: c-api/typeobj.rst:2551 +#: c-api/typeobj.rst:2593 msgid "" "This slot may be set to ``NULL`` if an object is not an :term:`awaitable`." msgstr "" -#: c-api/typeobj.rst:2557 +#: c-api/typeobj.rst:2599 msgid "PyObject *am_aiter(PyObject *self);" msgstr "" -#: c-api/typeobj.rst:2559 +#: c-api/typeobj.rst:2601 msgid "" "Must return an :term:`asynchronous iterator` object. See :meth:`~object." "__anext__` for details." msgstr "" -#: c-api/typeobj.rst:2562 +#: c-api/typeobj.rst:2604 msgid "" "This slot may be set to ``NULL`` if an object does not implement " "asynchronous iteration protocol." msgstr "" -#: c-api/typeobj.rst:2569 +#: c-api/typeobj.rst:2611 msgid "PyObject *am_anext(PyObject *self);" msgstr "" -#: c-api/typeobj.rst:2571 +#: c-api/typeobj.rst:2613 msgid "" "Must return an :term:`awaitable` object. See :meth:`~object.__anext__` for " "details. This slot may be set to ``NULL``." msgstr "" -#: c-api/typeobj.rst:2579 +#: c-api/typeobj.rst:2621 msgid "PySendResult am_send(PyObject *self, PyObject *arg, PyObject **result);" msgstr "" -#: c-api/typeobj.rst:2581 +#: c-api/typeobj.rst:2623 msgid "" "See :c:func:`PyIter_Send` for details. This slot may be set to ``NULL``." msgstr "" -#: c-api/typeobj.rst:2590 +#: c-api/typeobj.rst:2632 msgid "Slot Type typedefs" msgstr "" -#: c-api/typeobj.rst:2594 +#: c-api/typeobj.rst:2636 msgid "" "The purpose of this function is to separate memory allocation from memory " "initialization. It should return a pointer to a block of memory of adequate " @@ -3682,80 +3744,80 @@ msgid "" "length of the block should be :c:member:`~PyTypeObject.tp_basicsize`." msgstr "" -#: c-api/typeobj.rst:2604 +#: c-api/typeobj.rst:2646 msgid "" "This function should not do any other instance initialization, not even to " "allocate additional memory; that should be done by :c:member:`~PyTypeObject." "tp_new`." msgstr "" -#: c-api/typeobj.rst:2611 +#: c-api/typeobj.rst:2653 msgid "See :c:member:`~PyTypeObject.tp_free`." msgstr "" -#: c-api/typeobj.rst:2615 +#: c-api/typeobj.rst:2657 msgid "See :c:member:`~PyTypeObject.tp_new`." msgstr "" -#: c-api/typeobj.rst:2619 +#: c-api/typeobj.rst:2661 msgid "See :c:member:`~PyTypeObject.tp_init`." msgstr "" -#: c-api/typeobj.rst:2623 +#: c-api/typeobj.rst:2665 msgid "See :c:member:`~PyTypeObject.tp_repr`." msgstr "" -#: c-api/typeobj.rst:2636 +#: c-api/typeobj.rst:2678 msgid "Return the value of the named attribute for the object." msgstr "" -#: c-api/typeobj.rst:2642 +#: c-api/typeobj.rst:2684 msgid "" "Set the value of the named attribute for the object. The value argument is " "set to ``NULL`` to delete the attribute." msgstr "" -#: c-api/typeobj.rst:2638 +#: c-api/typeobj.rst:2680 msgid "See :c:member:`~PyTypeObject.tp_getattro`." msgstr "" -#: c-api/typeobj.rst:2645 +#: c-api/typeobj.rst:2687 msgid "See :c:member:`~PyTypeObject.tp_setattro`." msgstr "" -#: c-api/typeobj.rst:2649 +#: c-api/typeobj.rst:2691 msgid "See :c:member:`~PyTypeObject.tp_descr_get`." msgstr "" -#: c-api/typeobj.rst:2653 +#: c-api/typeobj.rst:2695 msgid "See :c:member:`~PyTypeObject.tp_descr_set`." msgstr "" -#: c-api/typeobj.rst:2657 +#: c-api/typeobj.rst:2699 msgid "See :c:member:`~PyTypeObject.tp_hash`." msgstr "" -#: c-api/typeobj.rst:2661 +#: c-api/typeobj.rst:2703 msgid "See :c:member:`~PyTypeObject.tp_richcompare`." msgstr "" -#: c-api/typeobj.rst:2665 +#: c-api/typeobj.rst:2707 msgid "See :c:member:`~PyTypeObject.tp_iter`." msgstr "" -#: c-api/typeobj.rst:2669 +#: c-api/typeobj.rst:2711 msgid "See :c:member:`~PyTypeObject.tp_iternext`." msgstr "" -#: c-api/typeobj.rst:2683 +#: c-api/typeobj.rst:2725 msgid "See :c:member:`~PyAsyncMethods.am_send`." msgstr "" -#: c-api/typeobj.rst:2699 +#: c-api/typeobj.rst:2741 msgid "Examples" msgstr "" -#: c-api/typeobj.rst:2701 +#: c-api/typeobj.rst:2743 msgid "" "The following are simple examples of Python type definitions. They include " "common usage you may encounter. Some demonstrate tricky corner cases. For " @@ -3763,11 +3825,11 @@ msgid "" "and :ref:`new-types-topics`." msgstr "" -#: c-api/typeobj.rst:2706 +#: c-api/typeobj.rst:2748 msgid "A basic :ref:`static type `::" msgstr "" -#: c-api/typeobj.rst:2708 +#: c-api/typeobj.rst:2750 msgid "" "typedef struct {\n" " PyObject_HEAD\n" @@ -3785,13 +3847,13 @@ msgid "" "};" msgstr "" -#: c-api/typeobj.rst:2723 +#: c-api/typeobj.rst:2765 msgid "" "You may also find older code (especially in the CPython code base) with a " "more verbose initializer::" msgstr "" -#: c-api/typeobj.rst:2726 +#: c-api/typeobj.rst:2768 msgid "" "static PyTypeObject MyObject_Type = {\n" " PyVarObject_HEAD_INIT(NULL, 0)\n" @@ -3835,11 +3897,11 @@ msgid "" "};" msgstr "" -#: c-api/typeobj.rst:2767 +#: c-api/typeobj.rst:2809 msgid "A type that supports weakrefs, instance dicts, and hashing::" msgstr "" -#: c-api/typeobj.rst:2769 +#: c-api/typeobj.rst:2811 msgid "" "typedef struct {\n" " PyObject_HEAD\n" @@ -3865,14 +3927,14 @@ msgid "" "};" msgstr "" -#: c-api/typeobj.rst:2792 +#: c-api/typeobj.rst:2834 msgid "" "A str subclass that cannot be subclassed and cannot be called to create " "instances (e.g. uses a separate factory func) using :c:macro:" "`Py_TPFLAGS_DISALLOW_INSTANTIATION` flag::" msgstr "" -#: c-api/typeobj.rst:2796 +#: c-api/typeobj.rst:2838 msgid "" "typedef struct {\n" " PyUnicodeObject raw;\n" @@ -3890,12 +3952,12 @@ msgid "" "};" msgstr "" -#: c-api/typeobj.rst:2811 +#: c-api/typeobj.rst:2853 msgid "" "The simplest :ref:`static type ` with fixed-length instances::" msgstr "" -#: c-api/typeobj.rst:2813 +#: c-api/typeobj.rst:2855 msgid "" "typedef struct {\n" " PyObject_HEAD\n" @@ -3907,13 +3969,13 @@ msgid "" "};" msgstr "" -#: c-api/typeobj.rst:2822 +#: c-api/typeobj.rst:2864 msgid "" "The simplest :ref:`static type ` with variable-length " "instances::" msgstr "" -#: c-api/typeobj.rst:2824 +#: c-api/typeobj.rst:2866 msgid "" "typedef struct {\n" " PyObject_VAR_HEAD\n" @@ -3928,14 +3990,14 @@ msgid "" "};" msgstr "" -#: c-api/typeobj.rst:887 +#: c-api/typeobj.rst:929 msgid "built-in function" msgstr "" -#: c-api/typeobj.rst:822 +#: c-api/typeobj.rst:864 msgid "repr" msgstr "" -#: c-api/typeobj.rst:887 +#: c-api/typeobj.rst:929 msgid "hash" msgstr "" diff --git a/c-api/unicode.po b/c-api/unicode.po index 8f8b4733..4eb9a46e 100644 --- a/c-api/unicode.po +++ b/c-api/unicode.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -784,14 +784,26 @@ msgid "" msgstr "" #: c-api/unicode.rst:596 +msgid "" +"Return the name of the default string encoding, ``\"utf-8\"``. See :func:" +"`sys.getdefaultencoding`." +msgstr "" + +#: c-api/unicode.rst:599 +msgid "" +"The returned string does not need to be freed, and is valid until " +"interpreter shutdown." +msgstr "" + +#: c-api/unicode.rst:605 msgid "Return the length of the Unicode object, in code points." msgstr "" -#: c-api/unicode.rst:598 +#: c-api/unicode.rst:607 msgid "On error, set an exception and return ``-1``." msgstr "" -#: c-api/unicode.rst:609 +#: c-api/unicode.rst:618 msgid "" "Copy characters from one Unicode object into another. This function " "performs character conversion when necessary and falls back to :c:func:`!" @@ -799,61 +811,61 @@ msgid "" "otherwise returns the number of copied characters." msgstr "" -#: c-api/unicode.rst:620 +#: c-api/unicode.rst:629 msgid "" "Fill a string with a character: write *fill_char* into ``unicode[start:" "start+length]``." msgstr "" -#: c-api/unicode.rst:623 +#: c-api/unicode.rst:632 msgid "" "Fail if *fill_char* is bigger than the string maximum character, or if the " "string has more than 1 reference." msgstr "" -#: c-api/unicode.rst:626 +#: c-api/unicode.rst:635 msgid "" "Return the number of written character, or return ``-1`` and raise an " "exception on error." msgstr "" -#: c-api/unicode.rst:635 +#: c-api/unicode.rst:644 msgid "" "Write a character to a string. The string must have been created through :c:" "func:`PyUnicode_New`. Since Unicode strings are supposed to be immutable, " "the string must not be shared, or have been hashed yet." msgstr "" -#: c-api/unicode.rst:639 +#: c-api/unicode.rst:648 msgid "" "This function checks that *unicode* is a Unicode object, that the index is " "not out of bounds, and that the object can be modified safely (i.e. that it " "its reference count is one)." msgstr "" -#: c-api/unicode.rst:643 +#: c-api/unicode.rst:652 msgid "Return ``0`` on success, ``-1`` on error with an exception set." msgstr "" -#: c-api/unicode.rst:650 +#: c-api/unicode.rst:659 msgid "" "Read a character from a string. This function checks that *unicode* is a " "Unicode object and the index is not out of bounds, in contrast to :c:func:" "`PyUnicode_READ_CHAR`, which performs no error checking." msgstr "" -#: c-api/unicode.rst:654 +#: c-api/unicode.rst:663 msgid "Return character on success, ``-1`` on error with an exception set." msgstr "" -#: c-api/unicode.rst:662 +#: c-api/unicode.rst:671 msgid "" "Return a substring of *unicode*, from character index *start* (included) to " "character index *end* (excluded). Negative indices are not supported. On " "error, set an exception and return ``NULL``." msgstr "" -#: c-api/unicode.rst:672 +#: c-api/unicode.rst:681 msgid "" "Copy the string *unicode* into a UCS4 buffer, including a null character, if " "*copy_null* is set. Returns ``NULL`` and sets an exception on error (in " @@ -861,7 +873,7 @@ msgid "" "*unicode*). *buffer* is returned on success." msgstr "" -#: c-api/unicode.rst:682 +#: c-api/unicode.rst:691 msgid "" "Copy the string *unicode* into a new UCS4 buffer that is allocated using :c:" "func:`PyMem_Malloc`. If this fails, ``NULL`` is returned with a :exc:" @@ -869,17 +881,17 @@ msgid "" "appended." msgstr "" -#: c-api/unicode.rst:691 +#: c-api/unicode.rst:700 msgid "Locale Encoding" msgstr "" -#: c-api/unicode.rst:693 +#: c-api/unicode.rst:702 msgid "" "The current locale encoding can be used to decode text from the operating " "system." msgstr "" -#: c-api/unicode.rst:700 +#: c-api/unicode.rst:709 msgid "" "Decode a string from UTF-8 on Android and VxWorks, or from the current " "locale encoding on other platforms. The supported error handlers are " @@ -888,21 +900,21 @@ msgid "" "null character but cannot contain embedded null characters." msgstr "" -#: c-api/unicode.rst:707 +#: c-api/unicode.rst:716 msgid "" "Use :c:func:`PyUnicode_DecodeFSDefaultAndSize` to decode a string from the :" "term:`filesystem encoding and error handler`." msgstr "" -#: c-api/unicode.rst:745 +#: c-api/unicode.rst:754 msgid "This function ignores the :ref:`Python UTF-8 Mode `." msgstr "" -#: c-api/unicode.rst:830 +#: c-api/unicode.rst:839 msgid "The :c:func:`Py_DecodeLocale` function." msgstr "" -#: c-api/unicode.rst:718 +#: c-api/unicode.rst:727 msgid "" "The function now also uses the current locale encoding for the " "``surrogateescape`` error handler, except on Android. Previously, :c:func:" @@ -910,13 +922,13 @@ msgid "" "locale encoding was used for ``strict``." msgstr "" -#: c-api/unicode.rst:727 +#: c-api/unicode.rst:736 msgid "" "Similar to :c:func:`PyUnicode_DecodeLocaleAndSize`, but compute the string " "length using :c:func:`!strlen`." msgstr "" -#: c-api/unicode.rst:735 +#: c-api/unicode.rst:744 msgid "" "Encode a Unicode object to UTF-8 on Android and VxWorks, or to the current " "locale encoding on other platforms. The supported error handlers are " @@ -925,17 +937,17 @@ msgid "" "`bytes` object. *unicode* cannot contain embedded null characters." msgstr "" -#: c-api/unicode.rst:742 +#: c-api/unicode.rst:751 msgid "" "Use :c:func:`PyUnicode_EncodeFSDefault` to encode a string to the :term:" "`filesystem encoding and error handler`." msgstr "" -#: c-api/unicode.rst:861 +#: c-api/unicode.rst:870 msgid "The :c:func:`Py_EncodeLocale` function." msgstr "" -#: c-api/unicode.rst:753 +#: c-api/unicode.rst:762 msgid "" "The function now also uses the current locale encoding for the " "``surrogateescape`` error handler, except on Android. Previously, :c:func:" @@ -943,24 +955,24 @@ msgid "" "locale encoding was used for ``strict``." msgstr "" -#: c-api/unicode.rst:762 +#: c-api/unicode.rst:771 msgid "File System Encoding" msgstr "" -#: c-api/unicode.rst:764 +#: c-api/unicode.rst:773 msgid "" "Functions encoding to and decoding from the :term:`filesystem encoding and " "error handler` (:pep:`383` and :pep:`529`)." msgstr "" -#: c-api/unicode.rst:767 +#: c-api/unicode.rst:776 msgid "" "To encode file names to :class:`bytes` during argument parsing, the " "``\"O&\"`` converter should be used, passing :c:func:`!" "PyUnicode_FSConverter` as the conversion function:" msgstr "" -#: c-api/unicode.rst:773 +#: c-api/unicode.rst:782 msgid "" ":ref:`PyArg_Parse\\* converter `: encode :class:`str` objects " "-- obtained directly or through the :class:`os.PathLike` interface -- to :" @@ -973,24 +985,24 @@ msgid "" "not allowed in the result. On failure, return ``0`` with an exception set." msgstr "" -#: c-api/unicode.rst:785 +#: c-api/unicode.rst:794 msgid "" "If *obj* is ``NULL``, the function releases a strong reference stored in the " "variable referred by *result* and returns ``1``." msgstr "" -#: c-api/unicode.rst:817 +#: c-api/unicode.rst:826 msgid "Accepts a :term:`path-like object`." msgstr "" -#: c-api/unicode.rst:793 +#: c-api/unicode.rst:802 msgid "" "To decode file names to :class:`str` during argument parsing, the ``\"O&\"`` " "converter should be used, passing :c:func:`!PyUnicode_FSDecoder` as the " "conversion function:" msgstr "" -#: c-api/unicode.rst:799 +#: c-api/unicode.rst:808 msgid "" ":ref:`PyArg_Parse\\* converter `: decode :class:`bytes` objects " "-- obtained either directly or indirectly through the :class:`os.PathLike` " @@ -1004,62 +1016,62 @@ msgid "" "result. On failure, return ``0`` with an exception set." msgstr "" -#: c-api/unicode.rst:812 +#: c-api/unicode.rst:821 msgid "" "If *obj* is ``NULL``, release the strong reference to the object referred to " "by *result* and return ``1``." msgstr "" -#: c-api/unicode.rst:823 +#: c-api/unicode.rst:832 msgid "Decode a string from the :term:`filesystem encoding and error handler`." msgstr "" -#: c-api/unicode.rst:825 +#: c-api/unicode.rst:834 msgid "" "If you need to decode a string from the current locale encoding, use :c:func:" "`PyUnicode_DecodeLocaleAndSize`." msgstr "" -#: c-api/unicode.rst:845 c-api/unicode.rst:865 +#: c-api/unicode.rst:854 c-api/unicode.rst:874 msgid "" "The :term:`filesystem error handler ` " "is now used." msgstr "" -#: c-api/unicode.rst:839 +#: c-api/unicode.rst:848 msgid "" "Decode a null-terminated string from the :term:`filesystem encoding and " "error handler`." msgstr "" -#: c-api/unicode.rst:842 +#: c-api/unicode.rst:851 msgid "" "If the string length is known, use :c:func:" "`PyUnicode_DecodeFSDefaultAndSize`." msgstr "" -#: c-api/unicode.rst:852 +#: c-api/unicode.rst:861 msgid "" "Encode a Unicode object to the :term:`filesystem encoding and error " "handler`, and return :class:`bytes`. Note that the resulting :class:`bytes` " "object can contain null bytes." msgstr "" -#: c-api/unicode.rst:856 +#: c-api/unicode.rst:865 msgid "" "If you need to encode a string to the current locale encoding, use :c:func:" "`PyUnicode_EncodeLocale`." msgstr "" -#: c-api/unicode.rst:870 +#: c-api/unicode.rst:879 msgid "wchar_t Support" msgstr "" -#: c-api/unicode.rst:872 +#: c-api/unicode.rst:881 msgid ":c:type:`wchar_t` support for platforms which support it:" msgstr "" -#: c-api/unicode.rst:876 +#: c-api/unicode.rst:885 msgid "" "Create a Unicode object from the :c:type:`wchar_t` buffer *wstr* of the " "given *size*. Passing ``-1`` as the *size* indicates that the function must " @@ -1067,7 +1079,7 @@ msgid "" "failure." msgstr "" -#: c-api/unicode.rst:884 +#: c-api/unicode.rst:893 msgid "" "Copy the Unicode object contents into the :c:type:`wchar_t` buffer *wstr*. " "At most *size* :c:type:`wchar_t` characters are copied (excluding a possibly " @@ -1075,13 +1087,13 @@ msgid "" "`wchar_t` characters copied or ``-1`` in case of an error." msgstr "" -#: c-api/unicode.rst:889 +#: c-api/unicode.rst:898 msgid "" "When *wstr* is ``NULL``, instead return the *size* that would be required to " "store all of *unicode* including a terminating null." msgstr "" -#: c-api/unicode.rst:892 +#: c-api/unicode.rst:901 msgid "" "Note that the resulting :c:expr:`wchar_t*` string may or may not be null-" "terminated. It is the responsibility of the caller to make sure that the :c:" @@ -1091,7 +1103,7 @@ msgid "" "most C functions." msgstr "" -#: c-api/unicode.rst:902 +#: c-api/unicode.rst:911 msgid "" "Convert the Unicode object to a wide character string. The output string " "always ends with a null character. If *size* is not ``NULL``, write the " @@ -1102,37 +1114,37 @@ msgid "" "`wchar_t*` string contains null characters a :exc:`ValueError` is raised." msgstr "" -#: c-api/unicode.rst:910 +#: c-api/unicode.rst:919 msgid "" "Returns a buffer allocated by :c:macro:`PyMem_New` (use :c:func:`PyMem_Free` " "to free it) on success. On error, returns ``NULL`` and *\\*size* is " "undefined. Raises a :exc:`MemoryError` if memory allocation is failed." msgstr "" -#: c-api/unicode.rst:917 +#: c-api/unicode.rst:926 msgid "" "Raises a :exc:`ValueError` if *size* is ``NULL`` and the :c:expr:`wchar_t*` " "string contains null characters." msgstr "" -#: c-api/unicode.rst:925 +#: c-api/unicode.rst:934 msgid "Built-in Codecs" msgstr "" -#: c-api/unicode.rst:927 +#: c-api/unicode.rst:936 msgid "" "Python provides a set of built-in codecs which are written in C for speed. " "All of these codecs are directly usable via the following functions." msgstr "" -#: c-api/unicode.rst:930 +#: c-api/unicode.rst:939 msgid "" "Many of the following APIs take two arguments encoding and errors, and they " "have the same semantics as the ones of the built-in :func:`str` string " "object constructor." msgstr "" -#: c-api/unicode.rst:934 +#: c-api/unicode.rst:943 msgid "" "Setting encoding to ``NULL`` causes the default encoding to be used which is " "UTF-8. The file system calls should use :c:func:`PyUnicode_FSConverter` for " @@ -1140,28 +1152,28 @@ msgid "" "handler` internally." msgstr "" -#: c-api/unicode.rst:939 +#: c-api/unicode.rst:948 msgid "" "Error handling is set by errors which may also be set to ``NULL`` meaning to " "use the default handling defined for the codec. Default error handling for " "all built-in codecs is \"strict\" (:exc:`ValueError` is raised)." msgstr "" -#: c-api/unicode.rst:943 +#: c-api/unicode.rst:952 msgid "" "The codecs all use a similar interface. Only deviations from the following " "generic ones are documented for simplicity." msgstr "" -#: c-api/unicode.rst:948 +#: c-api/unicode.rst:957 msgid "Generic Codecs" msgstr "" -#: c-api/unicode.rst:950 +#: c-api/unicode.rst:959 msgid "These are the generic codec APIs:" msgstr "" -#: c-api/unicode.rst:956 +#: c-api/unicode.rst:965 msgid "" "Create a Unicode object by decoding *size* bytes of the encoded string " "*str*. *encoding* and *errors* have the same meaning as the parameters of " @@ -1170,7 +1182,7 @@ msgid "" "was raised by the codec." msgstr "" -#: c-api/unicode.rst:966 +#: c-api/unicode.rst:975 msgid "" "Encode a Unicode object and return the result as Python bytes object. " "*encoding* and *errors* have the same meaning as the parameters of the same " @@ -1179,21 +1191,21 @@ msgid "" "was raised by the codec." msgstr "" -#: c-api/unicode.rst:974 +#: c-api/unicode.rst:983 msgid "UTF-8 Codecs" msgstr "" -#: c-api/unicode.rst:976 +#: c-api/unicode.rst:985 msgid "These are the UTF-8 codec APIs:" msgstr "" -#: c-api/unicode.rst:981 +#: c-api/unicode.rst:990 msgid "" "Create a Unicode object by decoding *size* bytes of the UTF-8 encoded string " "*str*. Return ``NULL`` if an exception was raised by the codec." msgstr "" -#: c-api/unicode.rst:988 +#: c-api/unicode.rst:997 msgid "" "If *consumed* is ``NULL``, behave like :c:func:`PyUnicode_DecodeUTF8`. If " "*consumed* is not ``NULL``, trailing incomplete UTF-8 byte sequences will " @@ -1201,14 +1213,14 @@ msgid "" "of bytes that have been decoded will be stored in *consumed*." msgstr "" -#: c-api/unicode.rst:996 +#: c-api/unicode.rst:1005 msgid "" "Encode a Unicode object using UTF-8 and return the result as Python bytes " "object. Error handling is \"strict\". Return ``NULL`` if an exception was " "raised by the codec." msgstr "" -#: c-api/unicode.rst:1003 +#: c-api/unicode.rst:1012 msgid "" "Return a pointer to the UTF-8 encoding of the Unicode object, and store the " "size of the encoded representation (in bytes) in *size*. The *size* " @@ -1217,13 +1229,13 @@ msgid "" "regardless of whether there are any other null code points." msgstr "" -#: c-api/unicode.rst:1009 +#: c-api/unicode.rst:1018 msgid "" "In the case of an error, ``NULL`` is returned with an exception set and no " "*size* is stored." msgstr "" -#: c-api/unicode.rst:1012 +#: c-api/unicode.rst:1021 msgid "" "This caches the UTF-8 representation of the string in the Unicode object, " "and subsequent calls will return a pointer to the same buffer. The caller " @@ -1232,19 +1244,19 @@ msgid "" "collected." msgstr "" -#: c-api/unicode.rst:1041 +#: c-api/unicode.rst:1050 msgid "The return type is now ``const char *`` rather of ``char *``." msgstr "" -#: c-api/unicode.rst:1022 +#: c-api/unicode.rst:1031 msgid "This function is a part of the :ref:`limited API `." msgstr "" -#: c-api/unicode.rst:1028 +#: c-api/unicode.rst:1037 msgid "As :c:func:`PyUnicode_AsUTF8AndSize`, but does not store the size." msgstr "" -#: c-api/unicode.rst:1032 +#: c-api/unicode.rst:1041 msgid "" "This function does not have any special behavior for `null characters " "`_ embedded within *unicode*. " @@ -1254,35 +1266,35 @@ msgid "" "c:func:`PyUnicode_AsUTF8AndSize` instead." msgstr "" -#: c-api/unicode.rst:1046 +#: c-api/unicode.rst:1055 msgid "UTF-32 Codecs" msgstr "" -#: c-api/unicode.rst:1048 +#: c-api/unicode.rst:1057 msgid "These are the UTF-32 codec APIs:" msgstr "" -#: c-api/unicode.rst:1054 +#: c-api/unicode.rst:1063 msgid "" "Decode *size* bytes from a UTF-32 encoded buffer string and return the " "corresponding Unicode object. *errors* (if non-``NULL``) defines the error " "handling. It defaults to \"strict\"." msgstr "" -#: c-api/unicode.rst:1108 +#: c-api/unicode.rst:1117 msgid "" "If *byteorder* is non-``NULL``, the decoder starts decoding using the given " "byte order::" msgstr "" -#: c-api/unicode.rst:1111 +#: c-api/unicode.rst:1120 msgid "" "*byteorder == -1: little endian\n" "*byteorder == 0: native order\n" "*byteorder == 1: big endian" msgstr "" -#: c-api/unicode.rst:1065 +#: c-api/unicode.rst:1074 msgid "" "If ``*byteorder`` is zero, and the first four bytes of the input data are a " "byte order mark (BOM), the decoder switches to this byte order and the BOM " @@ -1290,21 +1302,21 @@ msgid "" "``-1`` or ``1``, any byte order mark is copied to the output." msgstr "" -#: c-api/unicode.rst:1070 +#: c-api/unicode.rst:1079 msgid "" "After completion, *\\*byteorder* is set to the current byte order at the end " "of input data." msgstr "" -#: c-api/unicode.rst:1124 +#: c-api/unicode.rst:1133 msgid "If *byteorder* is ``NULL``, the codec starts in native order mode." msgstr "" -#: c-api/unicode.rst:1126 +#: c-api/unicode.rst:1135 msgid "Return ``NULL`` if an exception was raised by the codec." msgstr "" -#: c-api/unicode.rst:1081 +#: c-api/unicode.rst:1090 msgid "" "If *consumed* is ``NULL``, behave like :c:func:`PyUnicode_DecodeUTF32`. If " "*consumed* is not ``NULL``, :c:func:`PyUnicode_DecodeUTF32Stateful` will not " @@ -1313,29 +1325,29 @@ msgid "" "number of bytes that have been decoded will be stored in *consumed*." msgstr "" -#: c-api/unicode.rst:1090 +#: c-api/unicode.rst:1099 msgid "" "Return a Python byte string using the UTF-32 encoding in native byte order. " "The string always starts with a BOM mark. Error handling is \"strict\". " "Return ``NULL`` if an exception was raised by the codec." msgstr "" -#: c-api/unicode.rst:1096 +#: c-api/unicode.rst:1105 msgid "UTF-16 Codecs" msgstr "" -#: c-api/unicode.rst:1098 +#: c-api/unicode.rst:1107 msgid "These are the UTF-16 codec APIs:" msgstr "" -#: c-api/unicode.rst:1104 +#: c-api/unicode.rst:1113 msgid "" "Decode *size* bytes from a UTF-16 encoded buffer string and return the " "corresponding Unicode object. *errors* (if non-``NULL``) defines the error " "handling. It defaults to \"strict\"." msgstr "" -#: c-api/unicode.rst:1115 +#: c-api/unicode.rst:1124 msgid "" "If ``*byteorder`` is zero, and the first two bytes of the input data are a " "byte order mark (BOM), the decoder switches to this byte order and the BOM " @@ -1344,13 +1356,13 @@ msgid "" "result in either a ``\\ufeff`` or a ``\\ufffe`` character)." msgstr "" -#: c-api/unicode.rst:1121 +#: c-api/unicode.rst:1130 msgid "" "After completion, ``*byteorder`` is set to the current byte order at the end " "of input data." msgstr "" -#: c-api/unicode.rst:1132 +#: c-api/unicode.rst:1141 msgid "" "If *consumed* is ``NULL``, behave like :c:func:`PyUnicode_DecodeUTF16`. If " "*consumed* is not ``NULL``, :c:func:`PyUnicode_DecodeUTF16Stateful` will not " @@ -1360,28 +1372,28 @@ msgid "" "*consumed*." msgstr "" -#: c-api/unicode.rst:1141 +#: c-api/unicode.rst:1150 msgid "" "Return a Python byte string using the UTF-16 encoding in native byte order. " "The string always starts with a BOM mark. Error handling is \"strict\". " "Return ``NULL`` if an exception was raised by the codec." msgstr "" -#: c-api/unicode.rst:1147 +#: c-api/unicode.rst:1156 msgid "UTF-7 Codecs" msgstr "" -#: c-api/unicode.rst:1149 +#: c-api/unicode.rst:1158 msgid "These are the UTF-7 codec APIs:" msgstr "" -#: c-api/unicode.rst:1154 +#: c-api/unicode.rst:1163 msgid "" "Create a Unicode object by decoding *size* bytes of the UTF-7 encoded string " "*str*. Return ``NULL`` if an exception was raised by the codec." msgstr "" -#: c-api/unicode.rst:1161 +#: c-api/unicode.rst:1170 msgid "" "If *consumed* is ``NULL``, behave like :c:func:`PyUnicode_DecodeUTF7`. If " "*consumed* is not ``NULL``, trailing incomplete UTF-7 base-64 sections will " @@ -1389,101 +1401,101 @@ msgid "" "of bytes that have been decoded will be stored in *consumed*." msgstr "" -#: c-api/unicode.rst:1168 +#: c-api/unicode.rst:1177 msgid "Unicode-Escape Codecs" msgstr "" -#: c-api/unicode.rst:1170 +#: c-api/unicode.rst:1179 msgid "These are the \"Unicode Escape\" codec APIs:" msgstr "" -#: c-api/unicode.rst:1176 +#: c-api/unicode.rst:1185 msgid "" "Create a Unicode object by decoding *size* bytes of the Unicode-Escape " "encoded string *str*. Return ``NULL`` if an exception was raised by the " "codec." msgstr "" -#: c-api/unicode.rst:1182 +#: c-api/unicode.rst:1191 msgid "" "Encode a Unicode object using Unicode-Escape and return the result as a " "bytes object. Error handling is \"strict\". Return ``NULL`` if an " "exception was raised by the codec." msgstr "" -#: c-api/unicode.rst:1188 +#: c-api/unicode.rst:1197 msgid "Raw-Unicode-Escape Codecs" msgstr "" -#: c-api/unicode.rst:1190 +#: c-api/unicode.rst:1199 msgid "These are the \"Raw Unicode Escape\" codec APIs:" msgstr "" -#: c-api/unicode.rst:1196 +#: c-api/unicode.rst:1205 msgid "" "Create a Unicode object by decoding *size* bytes of the Raw-Unicode-Escape " "encoded string *str*. Return ``NULL`` if an exception was raised by the " "codec." msgstr "" -#: c-api/unicode.rst:1202 +#: c-api/unicode.rst:1211 msgid "" "Encode a Unicode object using Raw-Unicode-Escape and return the result as a " "bytes object. Error handling is \"strict\". Return ``NULL`` if an " "exception was raised by the codec." msgstr "" -#: c-api/unicode.rst:1208 +#: c-api/unicode.rst:1217 msgid "Latin-1 Codecs" msgstr "" -#: c-api/unicode.rst:1210 +#: c-api/unicode.rst:1219 msgid "" "These are the Latin-1 codec APIs: Latin-1 corresponds to the first 256 " "Unicode ordinals and only these are accepted by the codecs during encoding." msgstr "" -#: c-api/unicode.rst:1216 +#: c-api/unicode.rst:1225 msgid "" "Create a Unicode object by decoding *size* bytes of the Latin-1 encoded " "string *str*. Return ``NULL`` if an exception was raised by the codec." msgstr "" -#: c-api/unicode.rst:1222 +#: c-api/unicode.rst:1231 msgid "" "Encode a Unicode object using Latin-1 and return the result as Python bytes " "object. Error handling is \"strict\". Return ``NULL`` if an exception was " "raised by the codec." msgstr "" -#: c-api/unicode.rst:1228 +#: c-api/unicode.rst:1237 msgid "ASCII Codecs" msgstr "" -#: c-api/unicode.rst:1230 +#: c-api/unicode.rst:1239 msgid "" "These are the ASCII codec APIs. Only 7-bit ASCII data is accepted. All " "other codes generate errors." msgstr "" -#: c-api/unicode.rst:1236 +#: c-api/unicode.rst:1245 msgid "" "Create a Unicode object by decoding *size* bytes of the ASCII encoded string " "*str*. Return ``NULL`` if an exception was raised by the codec." msgstr "" -#: c-api/unicode.rst:1242 +#: c-api/unicode.rst:1251 msgid "" "Encode a Unicode object using ASCII and return the result as Python bytes " "object. Error handling is \"strict\". Return ``NULL`` if an exception was " "raised by the codec." msgstr "" -#: c-api/unicode.rst:1248 +#: c-api/unicode.rst:1257 msgid "Character Map Codecs" msgstr "" -#: c-api/unicode.rst:1250 +#: c-api/unicode.rst:1259 msgid "" "This codec is special in that it can be used to implement many different " "codecs (and this is in fact what was done to obtain most of the standard " @@ -1493,18 +1505,18 @@ msgid "" "sequences work well." msgstr "" -#: c-api/unicode.rst:1256 +#: c-api/unicode.rst:1265 msgid "These are the mapping codec APIs:" msgstr "" -#: c-api/unicode.rst:1261 +#: c-api/unicode.rst:1270 msgid "" "Create a Unicode object by decoding *size* bytes of the encoded string *str* " "using the given *mapping* object. Return ``NULL`` if an exception was " "raised by the codec." msgstr "" -#: c-api/unicode.rst:1265 +#: c-api/unicode.rst:1274 msgid "" "If *mapping* is ``NULL``, Latin-1 decoding will be applied. Else *mapping* " "must map bytes ordinals (integers in the range from 0 to 255) to Unicode " @@ -1514,14 +1526,14 @@ msgid "" "treated as undefined mappings and cause an error." msgstr "" -#: c-api/unicode.rst:1276 +#: c-api/unicode.rst:1285 msgid "" "Encode a Unicode object using the given *mapping* object and return the " "result as a bytes object. Error handling is \"strict\". Return ``NULL`` if " "an exception was raised by the codec." msgstr "" -#: c-api/unicode.rst:1280 +#: c-api/unicode.rst:1289 msgid "" "The *mapping* object must map Unicode ordinal integers to bytes objects, " "integers in the range from 0 to 255 or ``None``. Unmapped character " @@ -1529,41 +1541,41 @@ msgid "" "``None`` are treated as \"undefined mapping\" and cause an error." msgstr "" -#: c-api/unicode.rst:1286 +#: c-api/unicode.rst:1295 msgid "The following codec API is special in that maps Unicode to Unicode." msgstr "" -#: c-api/unicode.rst:1290 +#: c-api/unicode.rst:1299 msgid "" "Translate a string by applying a character mapping table to it and return " "the resulting Unicode object. Return ``NULL`` if an exception was raised by " "the codec." msgstr "" -#: c-api/unicode.rst:1294 +#: c-api/unicode.rst:1303 msgid "" "The mapping table must map Unicode ordinal integers to Unicode ordinal " "integers or ``None`` (causing deletion of the character)." msgstr "" -#: c-api/unicode.rst:1297 +#: c-api/unicode.rst:1306 msgid "" "Mapping tables need only provide the :meth:`~object.__getitem__` interface; " "dictionaries and sequences work well. Unmapped character ordinals (ones " "which cause a :exc:`LookupError`) are left untouched and are copied as-is." msgstr "" -#: c-api/unicode.rst:1301 +#: c-api/unicode.rst:1310 msgid "" "*errors* has the usual meaning for codecs. It may be ``NULL`` which " "indicates to use the default error handling." msgstr "" -#: c-api/unicode.rst:1306 +#: c-api/unicode.rst:1315 msgid "MBCS codecs for Windows" msgstr "" -#: c-api/unicode.rst:1308 +#: c-api/unicode.rst:1317 msgid "" "These are the MBCS codec APIs. They are currently only available on Windows " "and use the Win32 MBCS converters to implement the conversions. Note that " @@ -1571,13 +1583,13 @@ msgid "" "is defined by the user settings on the machine running the codec." msgstr "" -#: c-api/unicode.rst:1315 +#: c-api/unicode.rst:1324 msgid "" "Create a Unicode object by decoding *size* bytes of the MBCS encoded string " "*str*. Return ``NULL`` if an exception was raised by the codec." msgstr "" -#: c-api/unicode.rst:1322 +#: c-api/unicode.rst:1331 msgid "" "If *consumed* is ``NULL``, behave like :c:func:`PyUnicode_DecodeMBCS`. If " "*consumed* is not ``NULL``, :c:func:`PyUnicode_DecodeMBCSStateful` will not " @@ -1585,50 +1597,50 @@ msgid "" "will be stored in *consumed*." msgstr "" -#: c-api/unicode.rst:1331 +#: c-api/unicode.rst:1340 msgid "" "Similar to :c:func:`PyUnicode_DecodeMBCSStateful`, except uses the code page " "specified by *code_page*." msgstr "" -#: c-api/unicode.rst:1337 +#: c-api/unicode.rst:1346 msgid "" "Encode a Unicode object using MBCS and return the result as Python bytes " "object. Error handling is \"strict\". Return ``NULL`` if an exception was " "raised by the codec." msgstr "" -#: c-api/unicode.rst:1344 +#: c-api/unicode.rst:1353 msgid "" "Encode the Unicode object using the specified code page and return a Python " "bytes object. Return ``NULL`` if an exception was raised by the codec. Use :" "c:macro:`!CP_ACP` code page to get the MBCS encoder." msgstr "" -#: c-api/unicode.rst:1352 +#: c-api/unicode.rst:1361 msgid "Methods & Slots" msgstr "" -#: c-api/unicode.rst:1358 +#: c-api/unicode.rst:1367 msgid "Methods and Slot Functions" msgstr "" -#: c-api/unicode.rst:1360 +#: c-api/unicode.rst:1369 msgid "" "The following APIs are capable of handling Unicode objects and strings on " "input (we refer to them as strings in the descriptions) and return Unicode " "objects or integers as appropriate." msgstr "" -#: c-api/unicode.rst:1364 +#: c-api/unicode.rst:1373 msgid "They all return ``NULL`` or ``-1`` if an exception occurs." msgstr "" -#: c-api/unicode.rst:1369 +#: c-api/unicode.rst:1378 msgid "Concat two strings giving a new Unicode string." msgstr "" -#: c-api/unicode.rst:1374 +#: c-api/unicode.rst:1383 msgid "" "Split a string giving a list of Unicode strings. If *sep* is ``NULL``, " "splitting will be done at all whitespace substrings. Otherwise, splits " @@ -1637,27 +1649,72 @@ msgid "" "list." msgstr "" -#: c-api/unicode.rst:1382 +#: c-api/unicode.rst:1398 c-api/unicode.rst:1432 +msgid "On error, return ``NULL`` with an exception set." +msgstr "" + +#: c-api/unicode.rst:1390 +msgid "Equivalent to :py:meth:`str.split`." +msgstr "" + +#: c-api/unicode.rst:1395 +msgid "" +"Similar to :c:func:`PyUnicode_Split`, but splitting will be done beginning " +"at the end of the string." +msgstr "" + +#: c-api/unicode.rst:1400 +msgid "Equivalent to :py:meth:`str.rsplit`." +msgstr "" + +#: c-api/unicode.rst:1405 msgid "" "Split a Unicode string at line breaks, returning a list of Unicode strings. " "CRLF is considered to be one line break. If *keepends* is ``0``, the Line " "break characters are not included in the resulting strings." msgstr "" -#: c-api/unicode.rst:1389 +#: c-api/unicode.rst:1412 +msgid "" +"Split a Unicode string at the first occurrence of *sep*, and return a 3-" +"tuple containing the part before the separator, the separator itself, and " +"the part after the separator. If the separator is not found, return a 3-" +"tuple containing the string itself, followed by two empty strings." +msgstr "" + +#: c-api/unicode.rst:1430 +msgid "*sep* must not be empty." +msgstr "" + +#: c-api/unicode.rst:1421 +msgid "Equivalent to :py:meth:`str.partition`." +msgstr "" + +#: c-api/unicode.rst:1426 +msgid "" +"Similar to :c:func:`PyUnicode_Partition`, but split a Unicode string at the " +"last occurrence of *sep*. If the separator is not found, return a 3-tuple " +"containing two empty strings, followed by the string itself." +msgstr "" + +#: c-api/unicode.rst:1434 +msgid "Equivalent to :py:meth:`str.rpartition`." +msgstr "" + +#: c-api/unicode.rst:1439 msgid "" "Join a sequence of strings using the given *separator* and return the " "resulting Unicode string." msgstr "" -#: c-api/unicode.rst:1396 +#: c-api/unicode.rst:1446 msgid "" "Return ``1`` if *substr* matches ``unicode[start:end]`` at the given tail " "end (*direction* == ``-1`` means to do a prefix match, *direction* == ``1`` " "a suffix match), ``0`` otherwise. Return ``-1`` if an error occurred." msgstr "" -#: c-api/unicode.rst:1404 +#: c-api/unicode.rst:1454 msgid "" "Return the first position of *substr* in ``unicode[start:end]`` using the " "given *direction* (*direction* == ``1`` means to do a forward search, " @@ -1666,7 +1723,7 @@ msgid "" "``-2`` indicates that an error occurred and an exception has been set." msgstr "" -#: c-api/unicode.rst:1414 +#: c-api/unicode.rst:1464 msgid "" "Return the first position of the character *ch* in ``unicode[start:end]`` " "using the given *direction* (*direction* == ``1`` means to do a forward " @@ -1676,37 +1733,37 @@ msgid "" "set." msgstr "" -#: c-api/unicode.rst:1422 +#: c-api/unicode.rst:1472 msgid "" "*start* and *end* are now adjusted to behave like ``unicode[start:end]``." msgstr "" -#: c-api/unicode.rst:1429 +#: c-api/unicode.rst:1479 msgid "" "Return the number of non-overlapping occurrences of *substr* in " "``unicode[start:end]``. Return ``-1`` if an error occurred." msgstr "" -#: c-api/unicode.rst:1436 +#: c-api/unicode.rst:1486 msgid "" "Replace at most *maxcount* occurrences of *substr* in *unicode* with " "*replstr* and return the resulting Unicode object. *maxcount* == ``-1`` " "means replace all occurrences." msgstr "" -#: c-api/unicode.rst:1443 +#: c-api/unicode.rst:1493 msgid "" "Compare two strings and return ``-1``, ``0``, ``1`` for less than, equal, " "and greater than, respectively." msgstr "" -#: c-api/unicode.rst:1446 +#: c-api/unicode.rst:1496 msgid "" "This function returns ``-1`` upon failure, so one should call :c:func:" "`PyErr_Occurred` to check for errors." msgstr "" -#: c-api/unicode.rst:1452 +#: c-api/unicode.rst:1502 msgid "" "Compare a Unicode object, *unicode*, with *string* and return ``-1``, ``0``, " "``1`` for less than, equal, and greater than, respectively. It is best to " @@ -1714,51 +1771,51 @@ msgid "" "string as ISO-8859-1 if it contains non-ASCII characters." msgstr "" -#: c-api/unicode.rst:1457 +#: c-api/unicode.rst:1507 msgid "This function does not raise exceptions." msgstr "" -#: c-api/unicode.rst:1462 +#: c-api/unicode.rst:1512 msgid "Rich compare two Unicode strings and return one of the following:" msgstr "" -#: c-api/unicode.rst:1464 +#: c-api/unicode.rst:1514 msgid "``NULL`` in case an exception was raised" msgstr "" -#: c-api/unicode.rst:1465 +#: c-api/unicode.rst:1515 msgid ":c:data:`Py_True` or :c:data:`Py_False` for successful comparisons" msgstr "" -#: c-api/unicode.rst:1466 +#: c-api/unicode.rst:1516 msgid ":c:data:`Py_NotImplemented` in case the type combination is unknown" msgstr "" -#: c-api/unicode.rst:1468 +#: c-api/unicode.rst:1518 msgid "" "Possible values for *op* are :c:macro:`Py_GT`, :c:macro:`Py_GE`, :c:macro:" "`Py_EQ`, :c:macro:`Py_NE`, :c:macro:`Py_LT`, and :c:macro:`Py_LE`." msgstr "" -#: c-api/unicode.rst:1474 +#: c-api/unicode.rst:1524 msgid "" "Return a new string object from *format* and *args*; this is analogous to " "``format % args``." msgstr "" -#: c-api/unicode.rst:1480 +#: c-api/unicode.rst:1530 msgid "" "Check whether *substr* is contained in *unicode* and return true or false " "accordingly." msgstr "" -#: c-api/unicode.rst:1483 +#: c-api/unicode.rst:1533 msgid "" "*substr* has to coerce to a one element Unicode string. ``-1`` is returned " "if there was an error." msgstr "" -#: c-api/unicode.rst:1489 +#: c-api/unicode.rst:1539 msgid "" "Intern the argument :c:expr:`*p_unicode` in place. The argument must be the " "address of a pointer variable pointing to a Python Unicode string object. " @@ -1769,7 +1826,7 @@ msgid "" "interns it." msgstr "" -#: c-api/unicode.rst:1496 +#: c-api/unicode.rst:1546 msgid "" "(Clarification: even though there is a lot of talk about references, think " "of this function as reference-neutral. You must own the object you pass in; " @@ -1777,39 +1834,39 @@ msgid "" "the result.)" msgstr "" -#: c-api/unicode.rst:1501 +#: c-api/unicode.rst:1551 msgid "" "This function never raises an exception. On error, it leaves its argument " "unchanged without interning it." msgstr "" -#: c-api/unicode.rst:1504 +#: c-api/unicode.rst:1554 msgid "" "Instances of subclasses of :py:class:`str` may not be interned, that is, :c:" "expr:`PyUnicode_CheckExact(*p_unicode)` must be true. If it is not, then -- " "as with any other error -- the argument is left unchanged." msgstr "" -#: c-api/unicode.rst:1508 +#: c-api/unicode.rst:1558 msgid "" "Note that interned strings are not “immortal”. You must keep a reference to " "the result to benefit from interning." msgstr "" -#: c-api/unicode.rst:1514 +#: c-api/unicode.rst:1564 msgid "" "A combination of :c:func:`PyUnicode_FromString` and :c:func:" "`PyUnicode_InternInPlace`, meant for statically allocated strings." msgstr "" -#: c-api/unicode.rst:1517 +#: c-api/unicode.rst:1567 msgid "" "Return a new (\"owned\") reference to either a new Unicode string object " "that has been interned, or an earlier interned string object with the same " "value." msgstr "" -#: c-api/unicode.rst:1521 +#: c-api/unicode.rst:1571 msgid "" "Python may keep a reference to the result, or prevent it from being garbage-" "collected promptly. For interning an unbounded number of different strings, " diff --git a/c-api/utilities.po b/c-api/utilities.po index 3c2c8834..6c476e7f 100644 --- a/c-api/utilities.po +++ b/c-api/utilities.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/veryhigh.po b/c-api/veryhigh.po index 8ee6d0b5..dd91027a 100644 --- a/c-api/veryhigh.po +++ b/c-api/veryhigh.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/c-api/weakref.po b/c-api/weakref.po index 7f8ed017..c63e2981 100644 --- a/c-api/weakref.po +++ b/c-api/weakref.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/contents.po b/contents.po index 96201696..c282a029 100644 --- a/contents.po +++ b/contents.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-04-24 22:37+0300\n" "Last-Translator: Panagiotis Skias \n" "Language-Team: PyGreece \n" diff --git a/copyright.po b/copyright.po index fa7b8dec..0a725a75 100644 --- a/copyright.po +++ b/copyright.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-04-24 22:33+0300\n" "Last-Translator: Panagiotis Skias \n" "Language-Team: PyGreece \n" diff --git a/cpython b/cpython index 02741155..aeb3a6f6 160000 --- a/cpython +++ b/cpython @@ -1 +1 @@ -Subproject commit 0274115585db8e26d9d1c0218fe65e5041c70f2c +Subproject commit aeb3a6f61af53ed3fbf31f0b3704f49b71ac553c diff --git a/deprecations/c-api-pending-removal-in-3.14.po b/deprecations/c-api-pending-removal-in-3.14.po index 00086d0e..798d7108 100644 --- a/deprecations/c-api-pending-removal-in-3.14.po +++ b/deprecations/c-api-pending-removal-in-3.14.po @@ -8,10 +8,11 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/deprecations/c-api-pending-removal-in-3.15.po b/deprecations/c-api-pending-removal-in-3.15.po index 9467897b..6bf1db6a 100644 --- a/deprecations/c-api-pending-removal-in-3.15.po +++ b/deprecations/c-api-pending-removal-in-3.15.po @@ -8,10 +8,11 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/deprecations/c-api-pending-removal-in-future.po b/deprecations/c-api-pending-removal-in-future.po index 5307fb7c..bc858fa7 100644 --- a/deprecations/c-api-pending-removal-in-future.po +++ b/deprecations/c-api-pending-removal-in-future.po @@ -8,10 +8,11 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/deprecations/index.po b/deprecations/index.po index ce130778..8811ce4d 100644 --- a/deprecations/index.po +++ b/deprecations/index.po @@ -8,10 +8,11 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -434,6 +435,16 @@ msgid "" msgstr "" #: deprecations/pending-removal-in-3.15.rst:31 +msgid ":mod:`sysconfig`:" +msgstr "" + +#: deprecations/pending-removal-in-3.15.rst:33 +msgid "" +"The *check_home* argument of :func:`sysconfig.is_python_build` has been " +"deprecated since Python 3.12." +msgstr "" + +#: deprecations/pending-removal-in-3.15.rst:36 msgid "" ":mod:`threading`: Passing any arguments to :func:`threading.RLock` is now " "deprecated. C version allows any numbers of args and kwargs, but they are " @@ -442,11 +453,11 @@ msgid "" "Nikita Sobolev in :gh:`102029`.)" msgstr "" -#: deprecations/pending-removal-in-3.15.rst:38 +#: deprecations/pending-removal-in-3.15.rst:43 msgid ":class:`typing.NamedTuple`:" msgstr "" -#: deprecations/pending-removal-in-3.15.rst:40 +#: deprecations/pending-removal-in-3.15.rst:45 msgid "" "The undocumented keyword argument syntax for creating :class:`!NamedTuple` " "classes (``NT = NamedTuple(\"NT\", x=int)``) is deprecated, and will be " @@ -454,11 +465,11 @@ msgid "" "instead." msgstr "" -#: deprecations/pending-removal-in-3.15.rst:44 +#: deprecations/pending-removal-in-3.15.rst:49 msgid ":mod:`types`:" msgstr "" -#: deprecations/pending-removal-in-3.15.rst:46 +#: deprecations/pending-removal-in-3.15.rst:51 msgid "" ":class:`types.CodeType`: Accessing :attr:`~codeobject.co_lnotab` was " "deprecated in :pep:`626` since 3.10 and was planned to be removed in 3.12, " @@ -466,11 +477,11 @@ msgid "" "in 3.15. (Contributed by Nikita Sobolev in :gh:`101866`.)" msgstr "" -#: deprecations/pending-removal-in-3.15.rst:53 +#: deprecations/pending-removal-in-3.15.rst:58 msgid ":mod:`typing`:" msgstr "" -#: deprecations/pending-removal-in-3.15.rst:55 +#: deprecations/pending-removal-in-3.15.rst:60 msgid "" "When using the functional syntax to create a :class:`!NamedTuple` class, " "failing to pass a value to the *fields* parameter (``NT = " @@ -481,7 +492,7 @@ msgid "" "[])``." msgstr "" -#: deprecations/pending-removal-in-3.15.rst:62 +#: deprecations/pending-removal-in-3.15.rst:67 msgid "" ":class:`typing.TypedDict`: When using the functional syntax to create a :" "class:`!TypedDict` class, failing to pass a value to the *fields* parameter " @@ -491,7 +502,7 @@ msgid "" "fields, use ``class TD(TypedDict): pass`` or ``TD = TypedDict(\"TD\", {})``." msgstr "" -#: deprecations/pending-removal-in-3.15.rst:69 +#: deprecations/pending-removal-in-3.15.rst:74 msgid "" ":mod:`wave`: Deprecate the ``getmark()``, ``setmark()`` and ``getmarkers()`` " "methods of the :class:`wave.Wave_read` and :class:`wave.Wave_write` classes. " @@ -755,119 +766,113 @@ msgid "``ssl.TLSVersion.TLSv1_1``" msgstr "" #: deprecations/pending-removal-in-future.rst:105 -msgid "" -":func:`sysconfig.is_python_build` *check_home* parameter is deprecated and " -"ignored." -msgstr "" - -#: deprecations/pending-removal-in-future.rst:108 msgid ":mod:`threading` methods:" msgstr "" -#: deprecations/pending-removal-in-future.rst:110 +#: deprecations/pending-removal-in-future.rst:107 msgid "" ":meth:`!threading.Condition.notifyAll`: use :meth:`~threading.Condition." "notify_all`." msgstr "" -#: deprecations/pending-removal-in-future.rst:111 +#: deprecations/pending-removal-in-future.rst:108 msgid ":meth:`!threading.Event.isSet`: use :meth:`~threading.Event.is_set`." msgstr "" -#: deprecations/pending-removal-in-future.rst:112 +#: deprecations/pending-removal-in-future.rst:109 msgid "" ":meth:`!threading.Thread.isDaemon`, :meth:`threading.Thread.setDaemon`: use :" "attr:`threading.Thread.daemon` attribute." msgstr "" -#: deprecations/pending-removal-in-future.rst:114 +#: deprecations/pending-removal-in-future.rst:111 msgid "" ":meth:`!threading.Thread.getName`, :meth:`threading.Thread.setName`: use :" "attr:`threading.Thread.name` attribute." msgstr "" -#: deprecations/pending-removal-in-future.rst:116 +#: deprecations/pending-removal-in-future.rst:113 msgid ":meth:`!threading.currentThread`: use :meth:`threading.current_thread`." msgstr "" -#: deprecations/pending-removal-in-future.rst:117 +#: deprecations/pending-removal-in-future.rst:114 msgid ":meth:`!threading.activeCount`: use :meth:`threading.active_count`." msgstr "" -#: deprecations/pending-removal-in-future.rst:119 +#: deprecations/pending-removal-in-future.rst:116 msgid ":class:`typing.Text` (:gh:`92332`)." msgstr "" -#: deprecations/pending-removal-in-future.rst:121 +#: deprecations/pending-removal-in-future.rst:118 msgid "" ":class:`unittest.IsolatedAsyncioTestCase`: it is deprecated to return a " "value that is not ``None`` from a test case." msgstr "" -#: deprecations/pending-removal-in-future.rst:124 +#: deprecations/pending-removal-in-future.rst:121 msgid "" ":mod:`urllib.parse` deprecated functions: :func:`~urllib.parse.urlparse` " "instead" msgstr "" -#: deprecations/pending-removal-in-future.rst:126 +#: deprecations/pending-removal-in-future.rst:123 msgid "``splitattr()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:127 +#: deprecations/pending-removal-in-future.rst:124 msgid "``splithost()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:128 +#: deprecations/pending-removal-in-future.rst:125 msgid "``splitnport()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:129 +#: deprecations/pending-removal-in-future.rst:126 msgid "``splitpasswd()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:130 +#: deprecations/pending-removal-in-future.rst:127 msgid "``splitport()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:131 +#: deprecations/pending-removal-in-future.rst:128 msgid "``splitquery()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:132 +#: deprecations/pending-removal-in-future.rst:129 msgid "``splittag()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:133 +#: deprecations/pending-removal-in-future.rst:130 msgid "``splittype()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:134 +#: deprecations/pending-removal-in-future.rst:131 msgid "``splituser()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:135 +#: deprecations/pending-removal-in-future.rst:132 msgid "``splitvalue()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:136 +#: deprecations/pending-removal-in-future.rst:133 msgid "``to_bytes()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:138 +#: deprecations/pending-removal-in-future.rst:135 msgid "" ":mod:`urllib.request`: :class:`~urllib.request.URLopener` and :class:" "`~urllib.request.FancyURLopener` style of invoking requests is deprecated. " "Use newer :func:`~urllib.request.urlopen` functions and methods." msgstr "" -#: deprecations/pending-removal-in-future.rst:142 +#: deprecations/pending-removal-in-future.rst:139 msgid "" ":mod:`wsgiref`: ``SimpleHandler.stdout.write()`` should not do partial " "writes." msgstr "" -#: deprecations/pending-removal-in-future.rst:145 +#: deprecations/pending-removal-in-future.rst:142 msgid "" ":mod:`xml.etree.ElementTree`: Testing the truth value of an :class:`~xml." "etree.ElementTree.Element` is deprecated. In a future release it will always " @@ -875,7 +880,7 @@ msgid "" "instead." msgstr "" -#: deprecations/pending-removal-in-future.rst:150 +#: deprecations/pending-removal-in-future.rst:147 msgid "" ":meth:`zipimport.zipimporter.load_module` is deprecated: use :meth:" "`~zipimport.zipimporter.exec_module` instead." diff --git a/deprecations/pending-removal-in-3.13.po b/deprecations/pending-removal-in-3.13.po index 59d61280..62f54a1e 100644 --- a/deprecations/pending-removal-in-3.13.po +++ b/deprecations/pending-removal-in-3.13.po @@ -8,10 +8,11 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/deprecations/pending-removal-in-3.14.po b/deprecations/pending-removal-in-3.14.po index 6842afc0..c37be736 100644 --- a/deprecations/pending-removal-in-3.14.po +++ b/deprecations/pending-removal-in-3.14.po @@ -8,10 +8,11 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/deprecations/pending-removal-in-3.15.po b/deprecations/pending-removal-in-3.15.po index 56c1e8cd..6ab69136 100644 --- a/deprecations/pending-removal-in-3.15.po +++ b/deprecations/pending-removal-in-3.15.po @@ -8,10 +8,11 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -60,6 +61,16 @@ msgid "" msgstr "" #: deprecations/pending-removal-in-3.15.rst:31 +msgid ":mod:`sysconfig`:" +msgstr "" + +#: deprecations/pending-removal-in-3.15.rst:33 +msgid "" +"The *check_home* argument of :func:`sysconfig.is_python_build` has been " +"deprecated since Python 3.12." +msgstr "" + +#: deprecations/pending-removal-in-3.15.rst:36 msgid "" ":mod:`threading`: Passing any arguments to :func:`threading.RLock` is now " "deprecated. C version allows any numbers of args and kwargs, but they are " @@ -68,11 +79,11 @@ msgid "" "Nikita Sobolev in :gh:`102029`.)" msgstr "" -#: deprecations/pending-removal-in-3.15.rst:38 +#: deprecations/pending-removal-in-3.15.rst:43 msgid ":class:`typing.NamedTuple`:" msgstr "" -#: deprecations/pending-removal-in-3.15.rst:40 +#: deprecations/pending-removal-in-3.15.rst:45 msgid "" "The undocumented keyword argument syntax for creating :class:`!NamedTuple` " "classes (``NT = NamedTuple(\"NT\", x=int)``) is deprecated, and will be " @@ -80,11 +91,11 @@ msgid "" "instead." msgstr "" -#: deprecations/pending-removal-in-3.15.rst:44 +#: deprecations/pending-removal-in-3.15.rst:49 msgid ":mod:`types`:" msgstr "" -#: deprecations/pending-removal-in-3.15.rst:46 +#: deprecations/pending-removal-in-3.15.rst:51 msgid "" ":class:`types.CodeType`: Accessing :attr:`~codeobject.co_lnotab` was " "deprecated in :pep:`626` since 3.10 and was planned to be removed in 3.12, " @@ -92,11 +103,11 @@ msgid "" "in 3.15. (Contributed by Nikita Sobolev in :gh:`101866`.)" msgstr "" -#: deprecations/pending-removal-in-3.15.rst:53 +#: deprecations/pending-removal-in-3.15.rst:58 msgid ":mod:`typing`:" msgstr "" -#: deprecations/pending-removal-in-3.15.rst:55 +#: deprecations/pending-removal-in-3.15.rst:60 msgid "" "When using the functional syntax to create a :class:`!NamedTuple` class, " "failing to pass a value to the *fields* parameter (``NT = " @@ -107,7 +118,7 @@ msgid "" "[])``." msgstr "" -#: deprecations/pending-removal-in-3.15.rst:62 +#: deprecations/pending-removal-in-3.15.rst:67 msgid "" ":class:`typing.TypedDict`: When using the functional syntax to create a :" "class:`!TypedDict` class, failing to pass a value to the *fields* parameter " @@ -117,7 +128,7 @@ msgid "" "fields, use ``class TD(TypedDict): pass`` or ``TD = TypedDict(\"TD\", {})``." msgstr "" -#: deprecations/pending-removal-in-3.15.rst:69 +#: deprecations/pending-removal-in-3.15.rst:74 msgid "" ":mod:`wave`: Deprecate the ``getmark()``, ``setmark()`` and ``getmarkers()`` " "methods of the :class:`wave.Wave_read` and :class:`wave.Wave_write` classes. " diff --git a/deprecations/pending-removal-in-3.16.po b/deprecations/pending-removal-in-3.16.po index 9eb90b7d..03839981 100644 --- a/deprecations/pending-removal-in-3.16.po +++ b/deprecations/pending-removal-in-3.16.po @@ -8,10 +8,11 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/deprecations/pending-removal-in-future.po b/deprecations/pending-removal-in-future.po index b43ec5d6..ad6ffae4 100644 --- a/deprecations/pending-removal-in-future.po +++ b/deprecations/pending-removal-in-future.po @@ -8,10 +8,11 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -243,119 +244,113 @@ msgid "``ssl.TLSVersion.TLSv1_1``" msgstr "" #: deprecations/pending-removal-in-future.rst:105 -msgid "" -":func:`sysconfig.is_python_build` *check_home* parameter is deprecated and " -"ignored." -msgstr "" - -#: deprecations/pending-removal-in-future.rst:108 msgid ":mod:`threading` methods:" msgstr "" -#: deprecations/pending-removal-in-future.rst:110 +#: deprecations/pending-removal-in-future.rst:107 msgid "" ":meth:`!threading.Condition.notifyAll`: use :meth:`~threading.Condition." "notify_all`." msgstr "" -#: deprecations/pending-removal-in-future.rst:111 +#: deprecations/pending-removal-in-future.rst:108 msgid ":meth:`!threading.Event.isSet`: use :meth:`~threading.Event.is_set`." msgstr "" -#: deprecations/pending-removal-in-future.rst:112 +#: deprecations/pending-removal-in-future.rst:109 msgid "" ":meth:`!threading.Thread.isDaemon`, :meth:`threading.Thread.setDaemon`: use :" "attr:`threading.Thread.daemon` attribute." msgstr "" -#: deprecations/pending-removal-in-future.rst:114 +#: deprecations/pending-removal-in-future.rst:111 msgid "" ":meth:`!threading.Thread.getName`, :meth:`threading.Thread.setName`: use :" "attr:`threading.Thread.name` attribute." msgstr "" -#: deprecations/pending-removal-in-future.rst:116 +#: deprecations/pending-removal-in-future.rst:113 msgid ":meth:`!threading.currentThread`: use :meth:`threading.current_thread`." msgstr "" -#: deprecations/pending-removal-in-future.rst:117 +#: deprecations/pending-removal-in-future.rst:114 msgid ":meth:`!threading.activeCount`: use :meth:`threading.active_count`." msgstr "" -#: deprecations/pending-removal-in-future.rst:119 +#: deprecations/pending-removal-in-future.rst:116 msgid ":class:`typing.Text` (:gh:`92332`)." msgstr "" -#: deprecations/pending-removal-in-future.rst:121 +#: deprecations/pending-removal-in-future.rst:118 msgid "" ":class:`unittest.IsolatedAsyncioTestCase`: it is deprecated to return a " "value that is not ``None`` from a test case." msgstr "" -#: deprecations/pending-removal-in-future.rst:124 +#: deprecations/pending-removal-in-future.rst:121 msgid "" ":mod:`urllib.parse` deprecated functions: :func:`~urllib.parse.urlparse` " "instead" msgstr "" -#: deprecations/pending-removal-in-future.rst:126 +#: deprecations/pending-removal-in-future.rst:123 msgid "``splitattr()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:127 +#: deprecations/pending-removal-in-future.rst:124 msgid "``splithost()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:128 +#: deprecations/pending-removal-in-future.rst:125 msgid "``splitnport()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:129 +#: deprecations/pending-removal-in-future.rst:126 msgid "``splitpasswd()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:130 +#: deprecations/pending-removal-in-future.rst:127 msgid "``splitport()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:131 +#: deprecations/pending-removal-in-future.rst:128 msgid "``splitquery()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:132 +#: deprecations/pending-removal-in-future.rst:129 msgid "``splittag()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:133 +#: deprecations/pending-removal-in-future.rst:130 msgid "``splittype()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:134 +#: deprecations/pending-removal-in-future.rst:131 msgid "``splituser()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:135 +#: deprecations/pending-removal-in-future.rst:132 msgid "``splitvalue()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:136 +#: deprecations/pending-removal-in-future.rst:133 msgid "``to_bytes()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:138 +#: deprecations/pending-removal-in-future.rst:135 msgid "" ":mod:`urllib.request`: :class:`~urllib.request.URLopener` and :class:" "`~urllib.request.FancyURLopener` style of invoking requests is deprecated. " "Use newer :func:`~urllib.request.urlopen` functions and methods." msgstr "" -#: deprecations/pending-removal-in-future.rst:142 +#: deprecations/pending-removal-in-future.rst:139 msgid "" ":mod:`wsgiref`: ``SimpleHandler.stdout.write()`` should not do partial " "writes." msgstr "" -#: deprecations/pending-removal-in-future.rst:145 +#: deprecations/pending-removal-in-future.rst:142 msgid "" ":mod:`xml.etree.ElementTree`: Testing the truth value of an :class:`~xml." "etree.ElementTree.Element` is deprecated. In a future release it will always " @@ -363,7 +358,7 @@ msgid "" "instead." msgstr "" -#: deprecations/pending-removal-in-future.rst:150 +#: deprecations/pending-removal-in-future.rst:147 msgid "" ":meth:`zipimport.zipimporter.load_module` is deprecated: use :meth:" "`~zipimport.zipimporter.exec_module` instead." diff --git a/dictionaries/main.txt b/dictionaries/main.txt index 8c2dd5d7..ea010d18 100644 --- a/dictionaries/main.txt +++ b/dictionaries/main.txt @@ -1208,18 +1208,22 @@ zlib αλλαγές αλληλοαποκλείονται αλληλογραφίας +αναγνωσμένη αναδιατάξετε +αναδιατάσσει αναζητήσιμα αναζητήσιμο αναθέτη αναθέτης ανακατευθυνθεί +ανακατευθύνονται αναπαράξετε αναπαραγώγιμη αναπαραστάσιμο αναφορές αντ αντί +ανταλλάσετε αντικαθιστούμενη αντικατεστημένες αντικειμενοστρεφής @@ -1374,6 +1378,7 @@ zlib περικλειόμενο περικόβει περιτυλίγοντάς +περιτύλιγαν πλέον πληθικότητα πολλοί diff --git a/distributing/index.po b/distributing/index.po index aba5f514..80049455 100644 --- a/distributing/index.po +++ b/distributing/index.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-11-25 20:18+0000\n" "Last-Translator: Artemis Leonardou \n" "Language-Team: PyGreece \n" diff --git a/extending/building.po b/extending/building.po index 50207a33..a1b7359a 100644 --- a/extending/building.po +++ b/extending/building.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/extending/embedding.po b/extending/embedding.po index 2d3b9bdd..2efb66a5 100644 --- a/extending/embedding.po +++ b/extending/embedding.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -333,7 +333,7 @@ msgstr "" msgid "" "After initializing the interpreter, the script is loaded using :c:func:" "`PyImport_Import`. This routine needs a Python string as its argument, " -"which is constructed using the :c:func:`PyUnicode_FromString` data " +"which is constructed using the :c:func:`PyUnicode_DecodeFSDefault` data " "conversion routine. ::" msgstr "" diff --git a/extending/extending.po b/extending/extending.po index a3a0181c..7ff95048 100644 --- a/extending/extending.po +++ b/extending/extending.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/extending/index.po b/extending/index.po index 86bbe97b..66ae6659 100644 --- a/extending/index.po +++ b/extending/index.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/extending/newtypes.po b/extending/newtypes.po index 50496250..ea2ff458 100644 --- a/extending/newtypes.po +++ b/extending/newtypes.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/extending/newtypes_tutorial.po b/extending/newtypes_tutorial.po index 3093afde..4145b0b0 100644 --- a/extending/newtypes_tutorial.po +++ b/extending/newtypes_tutorial.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/extending/windows.po b/extending/windows.po index 09343b88..cddb9af8 100644 --- a/extending/windows.po +++ b/extending/windows.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/faq/design.po b/faq/design.po index db04e49f..7309dd4c 100644 --- a/faq/design.po +++ b/faq/design.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/faq/extending.po b/faq/extending.po index fbda07b9..4b560881 100644 --- a/faq/extending.po +++ b/faq/extending.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-10-31 12:22+0200\n" "Last-Translator: Panagiotis Skias \n" "Language-Team: PyGreece \n" diff --git a/faq/general.po b/faq/general.po index ceeef206..496fe505 100644 --- a/faq/general.po +++ b/faq/general.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -634,7 +634,7 @@ msgstr "" #: faq/general.rst:411 msgid "" ">>> L = []\n" -">>> dir(L) \n" +">>> dir(L)\n" "['__add__', '__class__', '__contains__', '__delattr__', '__delitem__',\n" "'__dir__', '__doc__', '__eq__', '__format__', '__ge__',\n" "'__getattribute__', '__getitem__', '__gt__', '__hash__', '__iadd__',\n" diff --git a/faq/gui.po b/faq/gui.po index 396c0dbc..5cf214c8 100644 --- a/faq/gui.po +++ b/faq/gui.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/faq/index.po b/faq/index.po index ce45eee0..6dd32bec 100644 --- a/faq/index.po +++ b/faq/index.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-05-02 12:51+0000\n" "Last-Translator: Dimitrios Papadopoulos\n" "Language-Team: PyGreece \n" diff --git a/faq/installed.po b/faq/installed.po index ab6b3a33..3ed468b1 100644 --- a/faq/installed.po +++ b/faq/installed.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-05-06 12:51+0000\n" "Last-Translator: Dimitrios Papadopoulos\n" "Language-Team: PyGreece \n" diff --git a/faq/library.po b/faq/library.po index 7ffd7f25..ccccfa5f 100644 --- a/faq/library.po +++ b/faq/library.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/faq/programming.po b/faq/programming.po index bf454842..3dae4907 100644 --- a/faq/programming.po +++ b/faq/programming.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" -"PO-Revision-Date: 2024-06-12 23:09+0300\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" +"PO-Revision-Date: 2025-05-02 23:51+0300\n" "Last-Translator: Panagiotis Skias \n" "Language-Team: PyGreece \n" "Language: el\n" @@ -2133,11 +2133,11 @@ msgstr "" #: faq/programming.rst:990 msgid "" -"Is there an equivalent to Perl's chomp() for removing trailing newlines from " -"strings?" +"Is there an equivalent to Perl's ``chomp()`` for removing trailing newlines " +"from strings?" msgstr "" -"Υπάρχει ισοδύναμο με το Perl's chomp() για την αφαίρεση των νέων γραμμών από " -"τις συμβολοσειρές;" +"Υπάρχει ισοδύναμο με το Perl's ``chomp()`` για την αφαίρεση των νέων γραμμών " +"από τις συμβολοσειρές;" #: faq/programming.rst:992 msgid "" @@ -2176,8 +2176,8 @@ msgstr "" "μία γραμμή τη φορά, η χρήση του ``S.rstrip()`` λειτουργεί καλά." #: faq/programming.rst:1009 -msgid "Is there a scanf() or sscanf() equivalent?" -msgstr "Υπάρχει αντίστοιχο scanf() ή sscanf();" +msgid "Is there a ``scanf()`` or ``sscanf()`` equivalent?" +msgstr "Υπάρχει αντίστοιχο ``scanf()`` ή ``sscanf()``;" #: faq/programming.rst:1011 msgid "Not as such." @@ -2209,8 +2209,8 @@ msgstr "" "από τις ``sscanf`` της C και είναι πιο κατάλληλες για την εργασία." #: faq/programming.rst:1024 -msgid "What does 'UnicodeDecodeError' or 'UnicodeEncodeError' error mean?" -msgstr "Τι σημαίνει το σφάλμα 'UnicodeDecodeError' ή 'UnicodeEncodeError';" +msgid "What does ``UnicodeDecodeError`` or ``UnicodeEncodeError`` error mean?" +msgstr "Τι σημαίνει το σφάλμα ``UnicodeDecodeError`` ή ``UnicodeEncodeError``;" #: faq/programming.rst:1026 msgid "See the :ref:`unicode-howto`." @@ -2235,13 +2235,13 @@ msgid "" ">>> r'C:\\this\\will\\not\\work\\'\n" " File \"\", line 1\n" " r'C:\\this\\will\\not\\work\\'\n" -" ^\n" +" ^\n" "SyntaxError: unterminated string literal (detected at line 1)" msgstr "" ">>> r'C:\\this\\will\\not\\work\\'\n" " File \"\", line 1\n" " r'C:\\this\\will\\not\\work\\'\n" -" ^\n" +" ^\n" "SyntaxError: unterminated string literal (detected at line 1)" #: faq/programming.rst:1042 @@ -4061,30 +4061,30 @@ msgstr "" #: faq/programming.rst:1870 msgid "" -"1) Assignments create new names but do not change object identity. After " -"the assignment ``new = old``, it is guaranteed that ``new is old``." +"Assignments create new names but do not change object identity. After the " +"assignment ``new = old``, it is guaranteed that ``new is old``." msgstr "" -"1) Οι εκχωρήσεις δημιουργούν νέα ονόματα αλλά δεν αλλάζουν την ταυτότητα " +"Οι εκχωρήσεις δημιουργούν νέα ονόματα αλλά δεν αλλάζουν την ταυτότητα " "αντικειμένου. Μετά την ανάθεση ``new = old``, είναι εγγυημένο ότι το ``new " "is old``." #: faq/programming.rst:1873 msgid "" -"2) Putting an object in a container that stores object references does not " +"Putting an object in a container that stores object references does not " "change object identity. After the list assignment ``s[0] = x``, it is " "guaranteed that ``s[0] is x``." msgstr "" -"2) Η τοποθέτηση ενός αντικειμένου σε ένα κοντέινερ που αποθηκεύει αναφορές " +"Η τοποθέτηση ενός αντικειμένου σε ένα κοντέινερ που αποθηκεύει αναφορές " "αντικειμένων δεν αλλάζει την ταυτότητα αντικειμένου. Μετά την ανάθεση " "λίστας ``s[0] = x``, είναι εγγυημένο ότι το ``s[0] is x``." #: faq/programming.rst:1877 msgid "" -"3) If an object is a singleton, it means that only one instance of that " -"object can exist. After the assignments ``a = None`` and ``b = None``, it " -"is guaranteed that ``a is b`` because ``None`` is a singleton." +"If an object is a singleton, it means that only one instance of that object " +"can exist. After the assignments ``a = None`` and ``b = None``, it is " +"guaranteed that ``a is b`` because ``None`` is a singleton." msgstr "" -"3) Εάν ένα αντικείμενο είναι singleton, σημαίνει ότι μόνο μία παρουσία αυτού " +"Εάν ένα αντικείμενο είναι singleton, σημαίνει ότι μόνο ένα στιγμιότυπο αυτού " "του αντικειμένου μπορεί να υπάρχει. Μετά τις εκχωρήσεις ``a = None`` και " "``b = None``, είναι εγγυημένο ότι το ``a is b`` επειδή το ``None`` είναι " "singleton." @@ -4596,10 +4596,10 @@ msgstr "" #: faq/programming.rst:2112 msgid "" ">>> import py_compile\n" -">>> py_compile.compile('foo.py') " +">>> py_compile.compile('foo.py')" msgstr "" ">>> import py_compile\n" -">>> py_compile.compile('foo.py') " +">>> py_compile.compile('foo.py')" #: faq/programming.rst:2115 msgid "" diff --git a/faq/windows.po b/faq/windows.po index 2e691242..de7b9e94 100644 --- a/faq/windows.po +++ b/faq/windows.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-05-31 22:08+0300\n" "Last-Translator: Panagiotis Skias \n" "Language-Team: PyGreece \n" diff --git a/glossary.po b/glossary.po index 0b9c2cfa..1d7b23ce 100644 --- a/glossary.po +++ b/glossary.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" -"PO-Revision-Date: 2024-05-28 22:27+0300\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" +"PO-Revision-Date: 2025-05-03 18:04+0300\n" "Last-Translator: Panagiotis Skias \n" "Language-Team: PyGreece \n" "Language: el\n" @@ -1645,14 +1645,14 @@ msgid "" "iterables include all sequence types (such as :class:`list`, :class:`str`, " "and :class:`tuple`) and some non-sequence types like :class:`dict`, :term:" "`file objects `, and objects of any classes you define with an :" -"meth:`~iterator.__iter__` method or with a :meth:`~object.__getitem__` " -"method that implements :term:`sequence` semantics." +"meth:`~object.__iter__` method or with a :meth:`~object.__getitem__` method " +"that implements :term:`sequence` semantics." msgstr "" "Ένα αντικείμενο ικανό να επιστρέψει τα μέλη του ένα κάθε φορά. Παραδείγματα " "iterables περιλαμβάνουν όλους του τύπους ακολουθιών (όπως :class:`list`, :" "class:`str`, και :class:`tuple`) και μερικούς τύπους μη ακολουθίας όπως :" "class:`dict`, :term:`αντικείμενο αρχείου `, και αντικείμενα " -"οποιονδήποτε κλάσεων που μπορούν να οριστούν με μια μέθοδο :meth:`~iterator." +"οποιονδήποτε κλάσεων που μπορούν να οριστούν με μια μέθοδο :meth:`~object." "__iter__` ή με μία μέθοδο :meth:`~object.__getitem__` που υλοποιεί τη " "σημασιολογία :term:`sequence`." @@ -1784,7 +1784,7 @@ msgstr "" msgid "keyword argument" msgstr "όρισμα keyword" -#: glossary.rst:1020 +#: glossary.rst:1024 msgid "See :term:`argument`." msgstr "Βλ. :term:`argument`." @@ -1835,10 +1835,18 @@ msgstr "" "μπορεί να λυθεί με κλειδώματα ή χρησιμοποιώντας την προσέγγιση EAFP." #: glossary.rst:736 +msgid "lexical analyzer" +msgstr "" + +#: glossary.rst:739 +msgid "Formal name for the *tokenizer*; see :term:`token`." +msgstr "" + +#: glossary.rst:740 msgid "list" msgstr "λίστα" -#: glossary.rst:738 +#: glossary.rst:742 msgid "" "A built-in Python :term:`sequence`. Despite its name it is more akin to an " "array in other languages than to a linked list since access to elements is " @@ -1848,11 +1856,11 @@ msgstr "" "περισσότερο με έναν πίνακα σε άλλες γλώσσες παρά με μια συνδεδεμένη λίστα, " "καθώς η πρόσβαση στα στοιχεί είναι *O*\\ (1)." -#: glossary.rst:741 +#: glossary.rst:745 msgid "list comprehension" msgstr "list comprehension" -#: glossary.rst:743 +#: glossary.rst:747 msgid "" "A compact way to process all or part of the elements in a sequence and " "return a list with the results. ``result = ['{:#04x}'.format(x) for x in " @@ -1867,11 +1875,11 @@ msgstr "" "από 0 έως 255. Η πρόταση :keyword:`if` είναι προαιρετική. Εάν παραλειφθεί, " "όλα τα στοιχεία στο ``range(256)`` υποβάλλονται σε επεξεργασία." -#: glossary.rst:749 +#: glossary.rst:753 msgid "loader" msgstr "loader" -#: glossary.rst:751 +#: glossary.rst:755 msgid "" "An object that loads a module. It must define the :meth:`!exec_module` and :" "meth:`!create_module` methods to implement the :class:`~importlib.abc." @@ -1883,23 +1891,23 @@ msgstr "" "class:`~importlib.abc.Loader`. Ένας loader συνήθως επιστρέφεται με ένα :term:" "`finder`. Δείτε επίσης:" -#: glossary.rst:757 +#: glossary.rst:761 msgid ":ref:`finders-and-loaders`" msgstr ":ref:`finders-and-loaders`" -#: glossary.rst:758 +#: glossary.rst:762 msgid ":class:`importlib.abc.Loader`" msgstr ":class:`importlib.abc.Loader`" -#: glossary.rst:759 +#: glossary.rst:763 msgid ":pep:`302`" msgstr ":pep:`302`" -#: glossary.rst:760 +#: glossary.rst:764 msgid "locale encoding" msgstr "τοπική κωδικοποίηση" -#: glossary.rst:762 +#: glossary.rst:766 msgid "" "On Unix, it is the encoding of the LC_CTYPE locale. It can be set with :func:" "`locale.setlocale(locale.LC_CTYPE, new_locale) `." @@ -1908,40 +1916,40 @@ msgstr "" "ρυθμιστεί με :func:`locale.setlocale(locale.LC_CTYPE, new_locale) `." -#: glossary.rst:765 +#: glossary.rst:769 msgid "On Windows, it is the ANSI code page (ex: ``\"cp1252\"``)." msgstr "Στα Windows, είναι η code page ANSI (π.χ. ``\"cp1252\"``)." -#: glossary.rst:767 +#: glossary.rst:771 msgid "" "On Android and VxWorks, Python uses ``\"utf-8\"`` as the locale encoding." msgstr "" "Στο Android και το VxWorks, η Python χρησιμοποιεί το ``\"utf-8\"`` ως τοπική " "κωδικοποίηση." -#: glossary.rst:769 +#: glossary.rst:773 msgid ":func:`locale.getencoding` can be used to get the locale encoding." msgstr "" ":func:`locale.getencoding` μπορεί να χρησιμοποιηθεί για την ανάκτηση της " "τοπικής κωδικοποίησης." -#: glossary.rst:771 +#: glossary.rst:775 msgid "See also the :term:`filesystem encoding and error handler`." msgstr "Βλ. επίσης το :term:`filesystem encoding and error handler`." -#: glossary.rst:772 +#: glossary.rst:776 msgid "magic method" msgstr "μαγική μέθοδος" -#: glossary.rst:776 +#: glossary.rst:780 msgid "An informal synonym for :term:`special method`." msgstr "Ένα άτυπο συνώνυμο για :term:`special method`." -#: glossary.rst:777 +#: glossary.rst:781 msgid "mapping" msgstr "mapping" -#: glossary.rst:779 +#: glossary.rst:783 msgid "" "A container object that supports arbitrary key lookups and implements the " "methods specified in the :class:`collections.abc.Mapping` or :class:" @@ -1957,11 +1965,11 @@ msgstr "" "class:`dict`, :class:`collections.defaultdict`, :class:`collections." "OrderedDict` και :class:`collections.Counter`." -#: glossary.rst:785 +#: glossary.rst:789 msgid "meta path finder" msgstr "meta path finder" -#: glossary.rst:787 +#: glossary.rst:791 msgid "" "A :term:`finder` returned by a search of :data:`sys.meta_path`. Meta path " "finders are related to, but different from :term:`path entry finders `." -#: glossary.rst:791 +#: glossary.rst:795 msgid "" "See :class:`importlib.abc.MetaPathFinder` for the methods that meta path " "finders implement." @@ -1979,11 +1987,11 @@ msgstr "" "Βλ. :class:`importlib.abc.MetaPathFinder` για τις μεθόδους που υλοποιούν οι " "meta path finders." -#: glossary.rst:793 +#: glossary.rst:797 msgid "metaclass" msgstr "μετα-κλάση" -#: glossary.rst:795 +#: glossary.rst:799 msgid "" "The class of a class. Class definitions create a class name, a class " "dictionary, and a list of base classes. The metaclass is responsible for " @@ -2007,15 +2015,15 @@ msgstr "" "ασφάλειας νημάτων, την παρακολούθηση δημιουργίας αντικειμένων, την υλοποίηση " "*singletons*, και πολλές άλλες εργασίες." -#: glossary.rst:805 +#: glossary.rst:809 msgid "More information can be found in :ref:`metaclasses`." msgstr "Περισσότερες πληροφορίες μπορούν να βρεθούν στο :ref:`metaclasses`." -#: glossary.rst:1161 +#: glossary.rst:1165 msgid "method" msgstr "μέθοδος" -#: glossary.rst:808 +#: glossary.rst:812 msgid "" "A function which is defined inside a class body. If called as an attribute " "of an instance of that class, the method will get the instance object as its " @@ -2027,11 +2035,11 @@ msgstr "" "αντικείμενο περίπτωσης ως πρώτο της :term:`argument` (το οποίο συνήθως " "ονομάζεται ``self``). Βλ. :term:`function` και :term:`nested scope`." -#: glossary.rst:812 +#: glossary.rst:816 msgid "method resolution order" msgstr "σειρά ανάλυσης μεθόδων" -#: glossary.rst:814 +#: glossary.rst:818 msgid "" "Method Resolution Order is the order in which base classes are searched for " "a member during lookup. See :ref:`python_2.3_mro` for details of the " @@ -2042,11 +2050,11 @@ msgstr "" "για λεπτομέρειες του αλγορίθμου που χρησιμοποιείται από τον διερμηνέα της " "Python από την έκδοση 2.3." -#: glossary.rst:817 +#: glossary.rst:821 msgid "module" msgstr "module" -#: glossary.rst:819 +#: glossary.rst:823 msgid "" "An object that serves as an organizational unit of Python code. Modules " "have a namespace containing arbitrary Python objects. Modules are loaded " @@ -2057,15 +2065,15 @@ msgstr "" "Python. Τα modules φορτώνονται στην Python με την διαδικασία :term:" "`importing`." -#: glossary.rst:823 +#: glossary.rst:827 msgid "See also :term:`package`." msgstr "Βλ. επίσης :term:`package`." -#: glossary.rst:824 +#: glossary.rst:828 msgid "module spec" msgstr "τεχνικές προδιαγραφές module" -#: glossary.rst:826 +#: glossary.rst:830 msgid "" "A namespace containing the import-related information used to load a module. " "An instance of :class:`importlib.machinery.ModuleSpec`." @@ -2074,23 +2082,23 @@ msgstr "" "που χρησιμοποιούνται για την φόρτωση ενός module. Μια περίπτωση του :class:" "`importlib.machinery.ModuleSpec`." -#: glossary.rst:829 +#: glossary.rst:833 msgid "See also :ref:`module-specs`." msgstr "Βλ. επίσης :ref:`module-specs`." -#: glossary.rst:830 +#: glossary.rst:834 msgid "MRO" msgstr "MRO" -#: glossary.rst:832 +#: glossary.rst:836 msgid "See :term:`method resolution order`." msgstr "Βλ. :term:`method resolution order`." -#: glossary.rst:833 +#: glossary.rst:837 msgid "mutable" msgstr "mutable" -#: glossary.rst:835 +#: glossary.rst:839 msgid "" "Mutable objects can change their value but keep their :func:`id`. See also :" "term:`immutable`." @@ -2098,11 +2106,11 @@ msgstr "" "Τα ευμετάβλητα αντικείμενα μπορούν να αλλάξουν τις τιμές αλλά να κρατήσουν " "τα :func:`id`. Βλ. επίσης :term:`immutable`." -#: glossary.rst:837 +#: glossary.rst:841 msgid "named tuple" msgstr "named tuple" -#: glossary.rst:839 +#: glossary.rst:843 msgid "" "The term \"named tuple\" applies to any type or class that inherits from " "tuple and whose indexable elements are also accessible using named " @@ -2113,7 +2121,7 @@ msgstr "" "ευρετηριοποιηθούν είναι προσβάσιμα χρησιμοποιώντας επώνυμα χαρακτηριστικά. " "Ο τύπος ή η κλάση μπορεί να έχει και άλλα χαρακτηριστικά." -#: glossary.rst:843 +#: glossary.rst:847 msgid "" "Several built-in types are named tuples, including the values returned by :" "func:`time.localtime` and :func:`os.stat`. Another example is :data:`sys." @@ -2123,7 +2131,7 @@ msgstr "" "που επιστρέφονται από :func:`time.localtime` και :func:`os.stat`. Ένα άλλο " "παράδειγμα είναι το :data:`sys.float_info`::" -#: glossary.rst:847 +#: glossary.rst:851 msgid "" ">>> sys.float_info[1] # indexed access\n" "1024\n" @@ -2139,7 +2147,7 @@ msgstr "" ">>> isinstance(sys.float_info, tuple) # kind of tuple\n" "True" -#: glossary.rst:854 +#: glossary.rst:858 msgid "" "Some named tuples are built-in types (such as the above examples). " "Alternatively, a named tuple can be created from a regular class definition " @@ -2158,11 +2166,11 @@ msgstr "" "τελευταίες τεχνικές προσθέτουν επίσης μερικές επιπλέον μεθόδους που μπορεί " "να μην βρεθούν σε χειρόγραφες ή ενσωματωμένες πλειάδες με όνομα." -#: glossary.rst:862 +#: glossary.rst:866 msgid "namespace" msgstr "namespace" -#: glossary.rst:864 +#: glossary.rst:868 msgid "" "The place where a variable is stored. Namespaces are implemented as " "dictionaries. There are the local, global and built-in namespaces as well " @@ -2184,11 +2192,11 @@ msgstr "" "seed` ή :func:`itertools.islice` καθιστά σαφές ότι αυτές οι συναρτήσεις " "υλοποιούνται από τα module :mod:`random` και :mod:`itertools`, αντίστοιχα." -#: glossary.rst:874 +#: glossary.rst:878 msgid "namespace package" msgstr "πακέτο namespace" -#: glossary.rst:876 +#: glossary.rst:880 msgid "" "A :term:`package` which serves only as a container for subpackages. " "Namespace packages may have no physical representation, and specifically are " @@ -2199,7 +2207,7 @@ msgstr "" "συγκεκριμένα να μην είναι σαν ένα :term:`regular package` επειδή δεν έχουν " "το ``__init__.py`` αρχείο." -#: glossary.rst:881 +#: glossary.rst:885 msgid "" "Namespace packages allow several individually installable packages to have a " "common parent package. Otherwise, it is recommended to use a :term:`regular " @@ -2209,22 +2217,22 @@ msgstr "" "εγκατάστασης μεμονωμένα να έχουν ένα κοινό γονικό πακέτο. Διαφορετικά, " "συνίσταται η χρήση ενός :term:`regular package`." -#: glossary.rst:884 +#: glossary.rst:888 msgid "" "For more information, see :pep:`420` and :ref:`reference-namespace-package`." msgstr "" "Για περισσότερες πληροφορίες, δείτε το :pep:`420` και το :ref:`reference-" "namespace-package`." -#: glossary.rst:886 +#: glossary.rst:890 msgid "See also :term:`module`." msgstr "Βλ. επίσης :term:`module`." -#: glossary.rst:887 +#: glossary.rst:891 msgid "nested scope" msgstr "nested scope" -#: glossary.rst:889 +#: glossary.rst:893 msgid "" "The ability to refer to a variable in an enclosing definition. For " "instance, a function defined inside another function can refer to variables " @@ -2241,11 +2249,11 @@ msgstr "" "Ομοίως, οι καθολικές μεταβλητές διαβάζουν και γράφουν στον καθολικό χώρο " "ονομάτων. Το :keyword:`nonlocal` επιτρέπει την εγγραφή σε εξωτερικά πεδία." -#: glossary.rst:896 +#: glossary.rst:900 msgid "new-style class" msgstr "κλάση νέου στυλ" -#: glossary.rst:898 +#: glossary.rst:902 msgid "" "Old name for the flavor of classes now used for all class objects. In " "earlier Python versions, only new-style classes could use Python's newer, " @@ -2258,11 +2266,11 @@ msgstr "" "όπως :attr:`~object.__slots__`, descriptors, ιδιότητες :meth:`~object." "__getattribute__`, μέθοδοι κλάσης, και στατικές μέθοδοι." -#: glossary.rst:903 +#: glossary.rst:907 msgid "object" msgstr "αντικείμενο" -#: glossary.rst:905 +#: glossary.rst:909 msgid "" "Any data with state (attributes or value) and defined behavior (methods). " "Also the ultimate base class of any :term:`new-style class`." @@ -2271,11 +2279,11 @@ msgstr "" "συμπεριφορά (μέθοδοι). Επίσης, η τελική βασική κλάση οποιασδήποτε :term:`new-" "style class`." -#: glossary.rst:908 +#: glossary.rst:912 msgid "package" msgstr "πακέτο" -#: glossary.rst:910 +#: glossary.rst:914 msgid "" "A Python :term:`module` which can contain submodules or recursively, " "subpackages. Technically, a package is a Python module with a ``__path__`` " @@ -2285,15 +2293,15 @@ msgstr "" "υποπακέτα. Τεχνικά, ένα πακέτο είναι μια λειτουργική μονάδα Python με ένα " "``__path__`` χαρακτηριστικό." -#: glossary.rst:914 +#: glossary.rst:918 msgid "See also :term:`regular package` and :term:`namespace package`." msgstr "Βλ. επίσης :term:`regular package` και :term:`namespace package`." -#: glossary.rst:915 +#: glossary.rst:919 msgid "parameter" msgstr "παράμετρος" -#: glossary.rst:917 +#: glossary.rst:921 msgid "" "A named entity in a :term:`function` (or method) definition that specifies " "an :term:`argument` (or in some cases, arguments) that the function can " @@ -2303,7 +2311,7 @@ msgstr "" "καθορίζει ένα :term:`argument` (ή σε ορισμένες περιπτώσεις, ορίσματα) που " "μπορεί να δεχθεί η συνάρτηση. Υπάρχουν πέντε είδη παραμέτρων:" -#: glossary.rst:921 +#: glossary.rst:925 msgid "" ":dfn:`positional-or-keyword`: specifies an argument that can be passed " "either :term:`positionally ` or as a :term:`keyword argument " @@ -2315,11 +2323,11 @@ msgstr "" "`. Αυτό είναι το προεπιλεγμένο είδος παραμέτρου, για παράδειγμα " "*foo* και *bar* στα ακόλουθα::" -#: glossary.rst:926 +#: glossary.rst:930 msgid "def func(foo, bar=None): ..." msgstr "def func(foo, bar=None): ..." -#: glossary.rst:930 +#: glossary.rst:934 msgid "" ":dfn:`positional-only`: specifies an argument that can be supplied only by " "position. Positional-only parameters can be defined by including a ``/`` " @@ -2331,11 +2339,11 @@ msgstr "" "χαρακτήρα ``/`` στη λίστα παραμέτρων του ορισμού συνάρτησης μετά από αυτές, " "για παράδειγμα *posonly1* και *posonly2* στα εξής::" -#: glossary.rst:935 +#: glossary.rst:939 msgid "def func(posonly1, posonly2, /, positional_or_keyword): ..." msgstr "def func(posonly1, posonly2, /, positional_or_keyword): ..." -#: glossary.rst:939 +#: glossary.rst:943 msgid "" ":dfn:`keyword-only`: specifies an argument that can be supplied only by " "keyword. Keyword-only parameters can be defined by including a single var-" @@ -2349,11 +2357,11 @@ msgstr "" "του ορισμού συνάρτησης πριν από αυτές, για παράδειγμα *kw_only1* και " "*kw_only2* στα ακόλουθα::" -#: glossary.rst:945 +#: glossary.rst:949 msgid "def func(arg, *, kw_only1, kw_only2): ..." msgstr "def func(arg, *, kw_only1, kw_only2): ..." -#: glossary.rst:947 +#: glossary.rst:951 msgid "" ":dfn:`var-positional`: specifies that an arbitrary sequence of positional " "arguments can be provided (in addition to any positional arguments already " @@ -2367,11 +2375,11 @@ msgstr "" "προσαρτώντας το όνομα της παραμέτρου με ``*``, για παράδειγμα *args* στα " "ακόλουθα::" -#: glossary.rst:953 +#: glossary.rst:957 msgid "def func(*args, **kwargs): ..." msgstr "def func(*args, **kwargs): ..." -#: glossary.rst:955 +#: glossary.rst:959 msgid "" ":dfn:`var-keyword`: specifies that arbitrarily many keyword arguments can be " "provided (in addition to any keyword arguments already accepted by other " @@ -2384,7 +2392,7 @@ msgstr "" "οριστεί προσαρτώντας το όνομα της παραμέτρου με ``**``, για παράδειγμα " "*kwargs* όπως παραπάνω." -#: glossary.rst:961 +#: glossary.rst:965 msgid "" "Parameters can specify both optional and required arguments, as well as " "default values for some optional arguments." @@ -2393,7 +2401,7 @@ msgstr "" "απαιτούμενα ορίσματα , καθώς και προεπιλεγμένες τιμές για ορισμένα " "προαιρετικά ορίσματα." -#: glossary.rst:964 +#: glossary.rst:968 msgid "" "See also the :term:`argument` glossary entry, the FAQ question on :ref:`the " "difference between arguments and parameters `, " @@ -2405,11 +2413,11 @@ msgstr "" "parameter>`, την κλάση :class:`inspect.Parameter`, την ενότητα :ref:" "`function` και :pep:`362`." -#: glossary.rst:968 +#: glossary.rst:972 msgid "path entry" msgstr "path entry" -#: glossary.rst:970 +#: glossary.rst:974 msgid "" "A single location on the :term:`import path` which the :term:`path based " "finder` consults to find modules for importing." @@ -2417,11 +2425,11 @@ msgstr "" "Μια μεμονωμένη τοποθεσία στο :term:`import path` την οποία συμβουλεύεται ο :" "term:`path based finder` για να βρει modules για εισαγωγή." -#: glossary.rst:972 +#: glossary.rst:976 msgid "path entry finder" msgstr "path entry finder" -#: glossary.rst:974 +#: glossary.rst:978 msgid "" "A :term:`finder` returned by a callable on :data:`sys.path_hooks` (i.e. a :" "term:`path entry hook`) which knows how to locate modules given a :term:" @@ -2431,7 +2439,7 @@ msgstr "" "path_hooks` (δηλαδή ένα :term:`path entry hook`) που ξέρει πως να εντοπίζει " "modules με :term:`path entry`." -#: glossary.rst:978 +#: glossary.rst:982 msgid "" "See :class:`importlib.abc.PathEntryFinder` for the methods that path entry " "finders implement." @@ -2439,11 +2447,11 @@ msgstr "" "Βλ. :class:`importlib.abc.PathEntryFinder` για τις μεθόδους που ο entry " "finder διαδρομής υλοποιεί." -#: glossary.rst:980 +#: glossary.rst:984 msgid "path entry hook" msgstr "path entry hook" -#: glossary.rst:982 +#: glossary.rst:986 msgid "" "A callable on the :data:`sys.path_hooks` list which returns a :term:`path " "entry finder` if it knows how to find modules on a specific :term:`path " @@ -2453,11 +2461,11 @@ msgstr "" "term:`path entry finder` εάν ξέρει πως να βρίσκει module σε μια " "συγκεκριμένη :term:`path entry`." -#: glossary.rst:985 +#: glossary.rst:989 msgid "path based finder" msgstr "path based finder" -#: glossary.rst:987 +#: glossary.rst:991 msgid "" "One of the default :term:`meta path finders ` which " "searches an :term:`import path` for modules." @@ -2465,11 +2473,11 @@ msgstr "" "Ένα από τα προεπιλεγμένα :term:`meta path finders ` που " "αναζητά ένα :term:`import path` για modules." -#: glossary.rst:989 +#: glossary.rst:993 msgid "path-like object" msgstr "path-like αντικείμενο" -#: glossary.rst:991 +#: glossary.rst:995 msgid "" "An object representing a file system path. A path-like object is either a :" "class:`str` or :class:`bytes` object representing a path, or an object " @@ -2490,11 +2498,11 @@ msgstr "" "ενός αποτελέσματος :class:`str` ή :class:`bytes`, αντίστοιχα. Εισήχθη από " "τον :pep:`519`." -#: glossary.rst:999 +#: glossary.rst:1003 msgid "PEP" msgstr "PEP" -#: glossary.rst:1001 +#: glossary.rst:1005 msgid "" "Python Enhancement Proposal. A PEP is a design document providing " "information to the Python community, or describing a new feature for Python " @@ -2507,7 +2515,7 @@ msgstr "" "μια συνοπτική τεχνική προδιαγραφή και μια λογική για τα προτεινόμενα " "χαρακτηριστικά." -#: glossary.rst:1007 +#: glossary.rst:1011 msgid "" "PEPs are intended to be the primary mechanisms for proposing major new " "features, for collecting community input on an issue, and for documenting " @@ -2521,15 +2529,15 @@ msgstr "" "στην Python. Ο συγγραφέας του PEP είναι υπεύθυνος για την οικοδόμηση " "συναίνεσης εντός της κοινότητας και την τεκμηρίωση αντίθετων απόψεων." -#: glossary.rst:1013 +#: glossary.rst:1017 msgid "See :pep:`1`." msgstr "Βλ. :pep:`1`." -#: glossary.rst:1014 +#: glossary.rst:1018 msgid "portion" msgstr "τμήμα" -#: glossary.rst:1016 +#: glossary.rst:1020 msgid "" "A set of files in a single directory (possibly stored in a zip file) that " "contribute to a namespace package, as defined in :pep:`420`." @@ -2538,15 +2546,15 @@ msgstr "" "αρχείο *zip*) που συμβάλλουν σε ένα namespace πακέτο, όπως ορίζεται στο :pep:" "`420`." -#: glossary.rst:1018 +#: glossary.rst:1022 msgid "positional argument" msgstr "όρισμα θέσης" -#: glossary.rst:1021 +#: glossary.rst:1025 msgid "provisional API" msgstr "provisional API" -#: glossary.rst:1023 +#: glossary.rst:1027 msgid "" "A provisional API is one which has been deliberately excluded from the " "standard library's backwards compatibility guarantees. While major changes " @@ -2565,7 +2573,7 @@ msgstr "" "αποκαλυφθούν σοβαρά θεμελιώδη ελαττώματα που παραλείφθηκαν πριν από τη " "συμπερίληψη του API." -#: glossary.rst:1032 +#: glossary.rst:1036 msgid "" "Even for provisional APIs, backwards incompatible changes are seen as a " "\"solution of last resort\" - every attempt will still be made to find a " @@ -2575,7 +2583,7 @@ msgstr "" "\"λύση έσχατης ανάγκης\"- θα εξακολουθεί να γίνεται κάθε προσπάθεια για να " "βρεθεί μια λύση backwards συμβατή σε τυχόν εντοπισμένα προβλήματα." -#: glossary.rst:1036 +#: glossary.rst:1040 msgid "" "This process allows the standard library to continue to evolve over time, " "without locking in problematic design errors for extended periods of time. " @@ -2586,19 +2594,19 @@ msgstr "" "σφάλματα σχεδιασμού για εκτεταμένες χρονικές περιόδους. Βλ. :pep:`411` για " "περισσότερες λεπτομέρειες." -#: glossary.rst:1039 +#: glossary.rst:1043 msgid "provisional package" msgstr "provisional πακέτο" -#: glossary.rst:1041 +#: glossary.rst:1045 msgid "See :term:`provisional API`." msgstr "Βλ. :term:`provisional API`." -#: glossary.rst:1042 +#: glossary.rst:1046 msgid "Python 3000" msgstr "Python 3000" -#: glossary.rst:1044 +#: glossary.rst:1048 msgid "" "Nickname for the Python 3.x release line (coined long ago when the release " "of version 3 was something in the distant future.) This is also abbreviated " @@ -2608,11 +2616,11 @@ msgstr "" "όταν η κυκλοφορία της έκδοσης 3 ήταν κάτι στο μακρινό μέλλον.) Αυτό " "ονομάζεται επίσης ως συντομογραφία \"Py3k\"." -#: glossary.rst:1047 +#: glossary.rst:1051 msgid "Pythonic" msgstr "Pythonic" -#: glossary.rst:1049 +#: glossary.rst:1053 msgid "" "An idea or piece of code which closely follows the most common idioms of the " "Python language, rather than implementing code using concepts common to " @@ -2629,7 +2637,7 @@ msgstr "" "κατασκευής, έτσι οι άνθρωποι που δεν είναι εξοικειωμένοι με την Python " "χρησιμοποιούν μερικές φορές έναν αριθμητικό μετρητή::" -#: glossary.rst:1056 +#: glossary.rst:1060 msgid "" "for i in range(len(food)):\n" " print(food[i])" @@ -2637,11 +2645,11 @@ msgstr "" "for i in range(len(food)):\n" " print(food[i])" -#: glossary.rst:1059 +#: glossary.rst:1063 msgid "As opposed to the cleaner, Pythonic method::" msgstr "Αντίθετα, μια πιο καθαρή μέθοδος Pythonic::" -#: glossary.rst:1061 +#: glossary.rst:1065 msgid "" "for piece in food:\n" " print(piece)" @@ -2649,11 +2657,11 @@ msgstr "" "for piece in food:\n" " print(piece)" -#: glossary.rst:1063 +#: glossary.rst:1067 msgid "qualified name" msgstr "αναγνωρισμένο όνομα" -#: glossary.rst:1065 +#: glossary.rst:1069 msgid "" "A dotted name showing the \"path\" from a module's global scope to a class, " "function or method defined in that module, as defined in :pep:`3155`. For " @@ -2665,7 +2673,7 @@ msgstr "" "ενότητα, όπως ορίζεται στο :pep:`3155`. Για συναρτήσεις και κλάσεις ανώτατου " "επιπέδου, το αναγνωρισμένο όνομα είναι ίδιο με το όνομα του αντικειμένου::" -#: glossary.rst:1070 +#: glossary.rst:1074 msgid "" ">>> class C:\n" "... class D:\n" @@ -2691,7 +2699,7 @@ msgstr "" ">>> C.D.meth.__qualname__\n" "'C.D.meth'" -#: glossary.rst:1082 +#: glossary.rst:1086 msgid "" "When used to refer to modules, the *fully qualified name* means the entire " "dotted path to the module, including any parent packages, e.g. ``email.mime." @@ -2701,7 +2709,7 @@ msgstr "" "όνομα* σημαίνει ολόκληρο το διακεκομμένο path προς το module, " "συμπεριλαμβανομένων τυχόν γονικών πακέτων π.χ. ``email.mime.text``::" -#: glossary.rst:1086 +#: glossary.rst:1090 msgid "" ">>> import email.mime.text\n" ">>> email.mime.text.__name__\n" @@ -2711,11 +2719,11 @@ msgstr "" ">>> email.mime.text.__name__\n" "'email.mime.text'" -#: glossary.rst:1089 +#: glossary.rst:1093 msgid "reference count" msgstr "πλήθος αναφοράς" -#: glossary.rst:1091 +#: glossary.rst:1095 msgid "" "The number of references to an object. When the reference count of an " "object drops to zero, it is deallocated. Some objects are \"immortal\" and " @@ -2734,11 +2742,11 @@ msgstr "" "συνάρτηση :func:`sys.getrefcount` για να επιστρέψουν το πλήθος αναφοράς για " "ένα συγκεκριμένο αντικείμενο." -#: glossary.rst:1099 +#: glossary.rst:1103 msgid "regular package" msgstr "κανονικό πακέτο" -#: glossary.rst:1101 +#: glossary.rst:1105 msgid "" "A traditional :term:`package`, such as a directory containing an ``__init__." "py`` file." @@ -2746,15 +2754,15 @@ msgstr "" "Ένα παραδοσιακό :term:`package`, όπως ένας κατάλογος που περιέχει ένα " "``__init__.py`` αρχείο." -#: glossary.rst:1104 +#: glossary.rst:1108 msgid "See also :term:`namespace package`." msgstr "Βλ. επίσης :term:`namespace package`." -#: glossary.rst:1105 +#: glossary.rst:1109 msgid "__slots__" msgstr "__slots__" -#: glossary.rst:1107 +#: glossary.rst:1111 msgid "" "A declaration inside a class that saves memory by pre-declaring space for " "instance attributes and eliminating instance dictionaries. Though popular, " @@ -2768,11 +2776,11 @@ msgstr "" "σωστή και προορίζεται καλύτερα για σπάνιες περιπτώσεις όπου υπάρχει μεγάλος " "αριθμός στιγμιοτύπων σε μια εφαρμογή κρίσιμης-μνήμης." -#: glossary.rst:1112 +#: glossary.rst:1116 msgid "sequence" msgstr "ακολουθία" -#: glossary.rst:1114 +#: glossary.rst:1118 msgid "" "An :term:`iterable` which supports efficient element access using integer " "indices via the :meth:`~object.__getitem__` special method and defines a :" @@ -2793,7 +2801,7 @@ msgstr "" "ακολουθία επειδή οι αναζητήσεις χρησιμοποιούν αυθαίρετα :term:`hashable` " "κλειδιά παρά ακέραιοι." -#: glossary.rst:1123 +#: glossary.rst:1127 msgid "" "The :class:`collections.abc.Sequence` abstract base class defines a much " "richer interface that goes beyond just :meth:`~object.__getitem__` and :meth:" @@ -2812,11 +2820,11 @@ msgstr "" "σχετικά με τις μεθόδους ακολουθίας γενικά, ανατρέξτε στο :ref:`Common " "Sequence Operations `." -#: glossary.rst:1132 +#: glossary.rst:1136 msgid "set comprehension" msgstr "set comprehension" -#: glossary.rst:1134 +#: glossary.rst:1138 msgid "" "A compact way to process all or part of the elements in an iterable and " "return a set with the results. ``results = {c for c in 'abracadabra' if c " @@ -2828,11 +2836,11 @@ msgstr "" "c in 'abracadabra' if c not in 'abc'}`` δημιουργεί το σύνολο συμβολοσειρών " "``{'r', 'd'}``. Βλ. :ref:`comprehensions`." -#: glossary.rst:1138 +#: glossary.rst:1142 msgid "single dispatch" msgstr "μοναδικό dispatch" -#: glossary.rst:1140 +#: glossary.rst:1144 msgid "" "A form of :term:`generic function` dispatch where the implementation is " "chosen based on the type of a single argument." @@ -2840,11 +2848,11 @@ msgstr "" "Μια μορφή dispatch :term:`generic function` όπου η υλοποίηση επιλέγεται με " "βάση τον τύπο ενός μεμονωμένου ορίσματος." -#: glossary.rst:1142 +#: glossary.rst:1146 msgid "slice" msgstr "slice" -#: glossary.rst:1144 +#: glossary.rst:1148 msgid "" "An object usually containing a portion of a :term:`sequence`. A slice is " "created using the subscript notation, ``[]`` with colons between numbers " @@ -2857,11 +2865,11 @@ msgstr "" "``variable_name[1:3:5]``. Η σημείωση αγκύλης (subscript) χρησιμοποιεί " "εσωτερικά αντικείμενα :class:`slice`." -#: glossary.rst:1148 +#: glossary.rst:1152 msgid "soft deprecated" msgstr "απαρχαιωμένη με ήπιο τρόπο" -#: glossary.rst:1150 +#: glossary.rst:1154 msgid "" "A soft deprecated API should not be used in new code, but it is safe for " "already existing code to use it. The API remains documented and tested, but " @@ -2871,7 +2879,7 @@ msgstr "" "κώδικα, αλλά είναι ασφαλές σε ήδη υπάρχοντα κώδικα να το χρησιμοποιεί. Το " "API παραμένει τεκμηριωμένο και δοκιμασμένο, αλλά δεν θα ενισχυθεί περαιτέρω." -#: glossary.rst:1154 +#: glossary.rst:1158 msgid "" "Soft deprecation, unlike normal deprecation, does not plan on removing the " "API and will not emit warnings." @@ -2879,7 +2887,7 @@ msgstr "" "Η κατάργηση με ήπιο τρόπο, σε αντίθεση με την κανονική κατάργηση, δεν " "σχεδιάζει την κατάργηση του API και δεν θα εκπέμπει ειδοποιήσεις" -#: glossary.rst:1157 +#: glossary.rst:1161 msgid "" "See `PEP 387: Soft Deprecation `_." @@ -2887,11 +2895,11 @@ msgstr "" "Δείτε `PEP 387: Soft Deprecation `_." -#: glossary.rst:1159 +#: glossary.rst:1163 msgid "special method" msgstr "ειδική μέθοδος" -#: glossary.rst:1163 +#: glossary.rst:1167 msgid "" "A method that is called implicitly by Python to execute a certain operation " "on a type, such as addition. Such methods have names starting and ending " @@ -2903,11 +2911,11 @@ msgstr "" "έχουνε ονόματα που ξεκινούν και τελειώνουν με διπλές κάτω παύλες. Οι ειδικές " "μέθοδοι τεκμηριώνονται στο :ref:`specialnames`." -#: glossary.rst:1167 +#: glossary.rst:1171 msgid "statement" msgstr "δήλωση" -#: glossary.rst:1169 +#: glossary.rst:1173 msgid "" "A statement is part of a suite (a \"block\" of code). A statement is either " "an :term:`expression` or one of several constructs with a keyword, such as :" @@ -2917,11 +2925,11 @@ msgstr "" "είναι είτε ένας :term:`expression` είτε μια από πολλές δομές με μια λέξη-" "κλειδί όπως :keyword:`if`, :keyword:`while` ή :keyword:`for`." -#: glossary.rst:1172 +#: glossary.rst:1176 msgid "static type checker" msgstr "ελεγκτής στατικού τύπου" -#: glossary.rst:1174 +#: glossary.rst:1178 msgid "" "An external tool that reads Python code and analyzes it, looking for issues " "such as incorrect types. See also :term:`type hints ` and the :" @@ -2931,11 +2939,11 @@ msgstr "" "αναζητώντας προβλήματα όπως λανθασμένοι τύποι. Βλ. επίσης :term:`type hints " "` και το module :mod:`typing`." -#: glossary.rst:1177 +#: glossary.rst:1181 msgid "strong reference" msgstr "strong reference" -#: glossary.rst:1179 +#: glossary.rst:1183 msgid "" "In Python's C API, a strong reference is a reference to an object which is " "owned by the code holding the reference. The strong reference is taken by " @@ -2948,7 +2956,7 @@ msgstr "" "δημιουργείται και απελευθερώνεται με :c:func:`Py_DECREF` όταν διαγραφεί η " "αναφορά." -#: glossary.rst:1185 +#: glossary.rst:1189 msgid "" "The :c:func:`Py_NewRef` function can be used to create a strong reference to " "an object. Usually, the :c:func:`Py_DECREF` function must be called on the " @@ -2960,15 +2968,15 @@ msgstr "" "`Py_DECREF` πρέπει να καλείται στην ισχυρή αναφορά πριν βγει από το εύρος " "της ισχυρής αναφοράς, για να αποφευχθεί η διαρροή μιας αναφοράς." -#: glossary.rst:1190 +#: glossary.rst:1194 msgid "See also :term:`borrowed reference`." msgstr "Βλ. επίσης :term:`borrowed reference`." -#: glossary.rst:1191 +#: glossary.rst:1195 msgid "text encoding" msgstr "κωδικοποίηση κειμένου" -#: glossary.rst:1193 +#: glossary.rst:1197 msgid "" "A string in Python is a sequence of Unicode code points (in range " "``U+0000``--``U+10FFFF``). To store or transfer a string, it needs to be " @@ -2978,7 +2986,7 @@ msgstr "" "εύρος ``U+0000``--``U+10FFFF``). Για να αποθηκεύσετε ή να μεταφέρετε μια " "συμβολοσειρά, πρέπει να σειριοποιηθεί ως δυαδική ακολουθία." -#: glossary.rst:1197 +#: glossary.rst:1201 msgid "" "Serializing a string into a sequence of bytes is known as \"encoding\", and " "recreating the string from the sequence of bytes is known as \"decoding\"." @@ -2987,7 +2995,7 @@ msgstr "" "\"κωδικοποίηση\" , και η αναδημιουργία της συμβολοσειράς από την δυαδική " "ακολουθία είναι γνωστή ως \"αποκωδικοποίηση\"." -#: glossary.rst:1200 +#: glossary.rst:1204 msgid "" "There are a variety of different text serialization :ref:`codecs `, which are collectively referred to as \"text encodings\"." @@ -2996,11 +3004,11 @@ msgstr "" "`, οι οποίοι συλλογικά αναφέρονται ως \"κωδικοποιήσεις " "κειμένου\"." -#: glossary.rst:1203 +#: glossary.rst:1207 msgid "text file" msgstr "αρχείο κειμένου" -#: glossary.rst:1205 +#: glossary.rst:1209 msgid "" "A :term:`file object` able to read and write :class:`str` objects. Often, a " "text file actually accesses a byte-oriented datastream and handles the :term:" @@ -3015,7 +3023,7 @@ msgstr "" "κειμένου (``'r'`` ή ``'w'``), :data:`sys.stdin`, :data:`sys.stdout`, και " "στιγμιότυπα του :class:`io.StringIO`." -#: glossary.rst:1212 +#: glossary.rst:1216 msgid "" "See also :term:`binary file` for a file object able to read and write :term:" "`bytes-like objects `." @@ -3023,11 +3031,28 @@ msgstr "" "Βλ. επίσης :term:`binary file` για ένα αντικείμενο αρχείου με δυνατότητα " "ανάγνωσης και εγγραφής :term:`δυαδικά αντικείμενα `." -#: glossary.rst:1214 +#: glossary.rst:1218 +msgid "token" +msgstr "" + +#: glossary.rst:1221 +msgid "" +"A small unit of source code, generated by the :ref:`lexical analyzer " +"` (also called the *tokenizer*). Names, numbers, strings, " +"operators, newlines and similar are represented by tokens." +msgstr "" + +#: glossary.rst:1226 +msgid "" +"The :mod:`tokenize` module exposes Python's lexical analyzer. The :mod:" +"`token` module contains information on the various types of tokens." +msgstr "" + +#: glossary.rst:1229 msgid "triple-quoted string" msgstr "συμβολοσειρά τριπλών εισαγωγικών" -#: glossary.rst:1216 +#: glossary.rst:1231 msgid "" "A string which is bound by three instances of either a quotation mark (\") " "or an apostrophe ('). While they don't provide any functionality not " @@ -3045,11 +3070,11 @@ msgstr "" "γραμμές χωρίς τη χρήση του χαρακτήρα συνέχεια, καθιστώντας τα ιδιαίτερα " "χρήσιμα κατά τη σύνταξη εγγράφων με συμβολοσειρές." -#: glossary.rst:1223 +#: glossary.rst:1238 msgid "type" msgstr "τύπος" -#: glossary.rst:1225 +#: glossary.rst:1240 msgid "" "The type of a Python object determines what kind of object it is; every " "object has a type. An object's type is accessible as its :attr:`~object." @@ -3060,17 +3085,17 @@ msgstr "" "το χαρακτηριστικό :attr:`~object.__class__` ή μπορεί να ανακτηθεί με " "``type(obj)``." -#: glossary.rst:1229 +#: glossary.rst:1244 msgid "type alias" msgstr "type alias" -#: glossary.rst:1231 +#: glossary.rst:1246 msgid "A synonym for a type, created by assigning the type to an identifier." msgstr "" "Ένα συνώνυμο για έναν τύπο, που δημιουργείται με την ανάθεση τύπου σε ένα " "αναγνωριστικό." -#: glossary.rst:1233 +#: glossary.rst:1248 msgid "" "Type aliases are useful for simplifying :term:`type hints `. For " "example::" @@ -3078,7 +3103,7 @@ msgstr "" "Τα type aliases είναι χρήσιμα για την απλοποίηση :term:`type alias `. Για παράδειγμα::" -#: glossary.rst:1236 +#: glossary.rst:1251 msgid "" "def remove_gray_shades(\n" " colors: list[tuple[int, int, int]]) -> list[tuple[int, int, int]]:\n" @@ -3088,11 +3113,11 @@ msgstr "" " colors: list[tuple[int, int, int]]) -> list[tuple[int, int, int]]:\n" " pass" -#: glossary.rst:1240 +#: glossary.rst:1255 msgid "could be made more readable like this::" msgstr "μπορεί να γίνει πιο ευανάγνωστο όπως::" -#: glossary.rst:1242 +#: glossary.rst:1257 msgid "" "Color = tuple[int, int, int]\n" "\n" @@ -3104,16 +3129,16 @@ msgstr "" "def remove_gray_shades(colors: list[Color]) -> list[Color]:\n" " pass" -#: glossary.rst:1261 +#: glossary.rst:1276 msgid "See :mod:`typing` and :pep:`484`, which describe this functionality." msgstr "" "Βλ. :mod:`typing` και :pep:`484`, που περιγράφει αυτήν την λειτουργικότητα." -#: glossary.rst:1248 +#: glossary.rst:1263 msgid "type hint" msgstr "type hint" -#: glossary.rst:1250 +#: glossary.rst:1265 msgid "" "An :term:`annotation` that specifies the expected type for a variable, a " "class attribute, or a function parameter or return value." @@ -3122,7 +3147,7 @@ msgstr "" "μεταβλητή, ένα χαρακτηριστικό κλάσης ή μια παράμετρο συνάρτησης ή τιμή " "επιστροφής." -#: glossary.rst:1253 +#: glossary.rst:1268 msgid "" "Type hints are optional and are not enforced by Python but they are useful " "to :term:`static type checkers `. They can also aid " @@ -3133,7 +3158,7 @@ msgstr "" "checker>`. Μπορούν επίσης να βοηθήσουν τους IDEs με τη συμπλήρωση και την " "αναδιαμόρφωση κώδικα." -#: glossary.rst:1257 +#: glossary.rst:1272 msgid "" "Type hints of global variables, class attributes, and functions, but not " "local variables, can be accessed using :func:`typing.get_type_hints`." @@ -3142,11 +3167,11 @@ msgstr "" "κλάσης και συναρτήσεις , αλλά όχι τοπικές μεταβλητές, μπορούν να " "προσπελαστούν χρησιμοποιώντας το :func:`typing.get_type_hints`." -#: glossary.rst:1262 +#: glossary.rst:1277 msgid "universal newlines" msgstr "καθολικές νέες γραμμές" -#: glossary.rst:1264 +#: glossary.rst:1279 msgid "" "A manner of interpreting text streams in which all of the following are " "recognized as ending a line: the Unix end-of-line convention ``'\\n'``, the " @@ -3160,22 +3185,22 @@ msgstr "" "Βλ. :pep:`278` και :pep:`3116`, καθώς και :func:`bytes.splitlines` για " "πρόσθετη χρήση." -#: glossary.rst:1269 +#: glossary.rst:1284 msgid "variable annotation" msgstr "annotation μεταβλητής" -#: glossary.rst:1271 +#: glossary.rst:1286 msgid "An :term:`annotation` of a variable or a class attribute." msgstr "Ένας :term:`annotation` μια μεταβλητής ή ενός χαρακτηριστικού κλάσης." -#: glossary.rst:1273 +#: glossary.rst:1288 msgid "" "When annotating a variable or a class attribute, assignment is optional::" msgstr "" "Όταν annotating μια μεταβλητή ή ένα χαρακτηριστικό κλάσης, η ανάθεση είναι " "προαιρετική::" -#: glossary.rst:1275 +#: glossary.rst:1290 msgid "" "class C:\n" " field: 'annotation'" @@ -3183,7 +3208,7 @@ msgstr "" "class C:\n" " field: 'annotation'" -#: glossary.rst:1278 +#: glossary.rst:1293 msgid "" "Variable annotations are usually used for :term:`type hints `: " "for example this variable is expected to take :class:`int` values::" @@ -3192,16 +3217,16 @@ msgstr "" "`: για παράδειγμα αυτή η μεταβλητή αναμένεται να λάβει τιμές :" "class:`int`::" -#: glossary.rst:1282 +#: glossary.rst:1297 msgid "count: int = 0" msgstr "count: int = 0" -#: glossary.rst:1284 +#: glossary.rst:1299 msgid "Variable annotation syntax is explained in section :ref:`annassign`." msgstr "" "Η σύνταξη annotation μεταβλητής περιγράφεται στην ενότητα :ref:`annassign`." -#: glossary.rst:1286 +#: glossary.rst:1301 msgid "" "See :term:`function annotation`, :pep:`484` and :pep:`526`, which describe " "this functionality. Also see :ref:`annotations-howto` for best practices on " @@ -3211,11 +3236,11 @@ msgstr "" "αυτή τη λειτουργία. Δείτε επίσης :ref:`annotations-howto` για βέλτιστες " "πρακτικές σχετικά με την εργασία με σχολιασμούς." -#: glossary.rst:1290 +#: glossary.rst:1305 msgid "virtual environment" msgstr "virtual environment" -#: glossary.rst:1292 +#: glossary.rst:1307 msgid "" "A cooperatively isolated runtime environment that allows Python users and " "applications to install and upgrade Python distribution packages without " @@ -3227,15 +3252,15 @@ msgstr "" "πακέτα διανομής Python χωρίς να παρεμβαίνουν στη συμπεριφορά άλλων εφαρμογών " "Python που εκτελούνται στο ίδιο σύστημα." -#: glossary.rst:1297 +#: glossary.rst:1312 msgid "See also :mod:`venv`." msgstr "Βλ. επίσης :mod:`venv`." -#: glossary.rst:1298 +#: glossary.rst:1313 msgid "virtual machine" msgstr "virtual machine" -#: glossary.rst:1300 +#: glossary.rst:1315 msgid "" "A computer defined entirely in software. Python's virtual machine executes " "the :term:`bytecode` emitted by the bytecode compiler." @@ -3244,11 +3269,11 @@ msgstr "" "της Python εκτελεί το :term:`bytecode` που εκπέμπεται από τον μεταγλωττιστή " "bytecode." -#: glossary.rst:1302 +#: glossary.rst:1317 msgid "Zen of Python" msgstr "Zen της Python" -#: glossary.rst:1304 +#: glossary.rst:1319 msgid "" "Listing of Python design principles and philosophies that are helpful in " "understanding and using the language. The listing can be found by typing " @@ -3266,10 +3291,10 @@ msgstr "C-contiguous" msgid "Fortran contiguous" msgstr "Fortran contiguous" -#: glossary.rst:774 +#: glossary.rst:778 msgid "magic" msgstr "magic" -#: glossary.rst:1161 +#: glossary.rst:1165 msgid "special" msgstr "special" diff --git a/howto/annotations.po b/howto/annotations.po index 0055885e..196a74e0 100644 --- a/howto/annotations.po +++ b/howto/annotations.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/howto/argparse-optparse.po b/howto/argparse-optparse.po index 346fca85..aa46ae37 100644 --- a/howto/argparse-optparse.po +++ b/howto/argparse-optparse.po @@ -8,10 +8,11 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/howto/argparse.po b/howto/argparse.po index 590b24d6..176388c3 100644 --- a/howto/argparse.po +++ b/howto/argparse.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/howto/clinic.po b/howto/clinic.po index 75ef2243..889ccba1 100644 --- a/howto/clinic.po +++ b/howto/clinic.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/howto/cporting.po b/howto/cporting.po index 250ddfb5..ad14e136 100644 --- a/howto/cporting.po +++ b/howto/cporting.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/howto/curses.po b/howto/curses.po index 06b8ff92..6f098996 100644 --- a/howto/curses.po +++ b/howto/curses.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/howto/descriptor.po b/howto/descriptor.po index 624c57e7..745d78db 100644 --- a/howto/descriptor.po +++ b/howto/descriptor.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/howto/enum.po b/howto/enum.po index ea8e2652..ed7e19f0 100644 --- a/howto/enum.po +++ b/howto/enum.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -182,7 +182,7 @@ msgstr "" #: howto/enum.rst:108 msgid "" ">>> from datetime import date\n" -">>> Weekday.from_date(date.today()) \n" +">>> Weekday.from_date(date.today())\n" "" msgstr "" @@ -1613,10 +1613,10 @@ msgstr "" #: howto/enum.rst:1072 msgid "" -">>> dir(Planet) \n" +">>> dir(Planet)\n" "['EARTH', 'JUPITER', 'MARS', 'MERCURY', 'NEPTUNE', 'SATURN', 'URANUS', " "'VENUS', '__class__', '__doc__', '__members__', '__module__']\n" -">>> dir(Planet.EARTH) \n" +">>> dir(Planet.EARTH)\n" "['__class__', '__doc__', '__module__', 'mass', 'name', 'radius', " "'surface_gravity', 'value']" msgstr "" @@ -1983,7 +1983,7 @@ msgid "" "... GREEN = object()\n" "... BLUE = object()\n" "...\n" -">>> Color.GREEN \n" +">>> Color.GREEN\n" ">" msgstr "" diff --git a/howto/functional.po b/howto/functional.po index a6fa1477..e92bc12b 100644 --- a/howto/functional.po +++ b/howto/functional.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -938,11 +938,11 @@ msgid "" ">>> import random\n" ">>> # Generate 8 random numbers between [0, 10000)\n" ">>> rand_list = random.sample(range(10000), 8)\n" -">>> rand_list \n" +">>> rand_list\n" "[769, 7953, 9828, 6431, 8442, 9878, 6213, 2207]\n" -">>> sorted(rand_list) \n" +">>> sorted(rand_list)\n" "[769, 2207, 6213, 6431, 7953, 8442, 9828, 9878]\n" -">>> sorted(rand_list, reverse=True) \n" +">>> sorted(rand_list, reverse=True)\n" "[9878, 9828, 8442, 7953, 6431, 6213, 2207, 769]" msgstr "" diff --git a/howto/gdb_helpers.po b/howto/gdb_helpers.po index 7e83f352..1807961b 100644 --- a/howto/gdb_helpers.po +++ b/howto/gdb_helpers.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/howto/index.po b/howto/index.po index 3f5daa3d..b65fa8cc 100644 --- a/howto/index.po +++ b/howto/index.po @@ -9,9 +9,9 @@ msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2025-02-17 21:03+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" +"PO-Revision-Date: 2025-04-10 15:57+0300\n" +"Last-Translator: ALEXANDROS TZIORAS alextzioras23@gmail.com\n" +"Language-Team: Language-Team: PyGreece \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -19,7 +19,7 @@ msgstr "" #: howto/index.rst:3 msgid "Python HOWTOs" -msgstr "" +msgstr "Python HOWTOs" #: howto/index.rst:5 msgid "" @@ -28,95 +28,99 @@ msgid "" "effort to foster documentation that's more detailed than the Python Library " "Reference." msgstr "" +"Τα HOWTOs της Python είναι έγγραφα που καλύπτουν ένα συγκεκριμένο θέμα σε " +"βάθος. Με πρότυπο τη συλλογή HOWTO του Linux Documentation Project, αυτή η " +"συλλογή είναι μια προσπάθεια να προωθηθεί η τεκμηρίωση που είναι πιο " +"λεπτομερής από την Αναφορά της Βιβλιοθήκης Python." #: howto/index.rst:35 msgid "General:" -msgstr "" +msgstr "Γενικά:" #: howto/index.rst:37 msgid ":ref:`annotations-howto`" -msgstr "" +msgstr ":ref:`annotations-howto`" #: howto/index.rst:38 msgid ":ref:`argparse-tutorial`" -msgstr "" +msgstr ":ref:`argparse-tutorial`" #: howto/index.rst:39 msgid ":ref:`descriptorhowto`" -msgstr "" +msgstr ":ref:`descriptorhowto`" #: howto/index.rst:40 msgid ":ref:`enum-howto`" -msgstr "" +msgstr ":ref:`enum-howto`" #: howto/index.rst:41 msgid ":ref:`functional-howto`" -msgstr "" +msgstr ":ref:`functional-howto`" #: howto/index.rst:42 msgid ":ref:`ipaddress-howto`" -msgstr "" +msgstr ":ref:`ipaddress-howto`" #: howto/index.rst:43 msgid ":ref:`logging-howto`" -msgstr "" +msgstr ":ref:`logging-howto`" #: howto/index.rst:44 msgid ":ref:`logging-cookbook`" -msgstr "" +msgstr ":ref:`logging-cookbook`" #: howto/index.rst:45 msgid ":ref:`regex-howto`" -msgstr "" +msgstr ":ref:`regex-howto`" #: howto/index.rst:46 msgid ":ref:`sortinghowto`" -msgstr "" +msgstr ":ref:`sortinghowto`" #: howto/index.rst:47 msgid ":ref:`unicode-howto`" -msgstr "" +msgstr ":ref:`unicode-howto`" #: howto/index.rst:48 msgid ":ref:`urllib-howto`" -msgstr "" +msgstr ":ref:`urllib-howto`" #: howto/index.rst:50 msgid "Advanced development:" -msgstr "" +msgstr "Προχωρημένη ανάπτυξη:" #: howto/index.rst:52 msgid ":ref:`curses-howto`" -msgstr "" +msgstr ":ref:`curses-howto`" #: howto/index.rst:53 msgid ":ref:`isolating-extensions-howto`" -msgstr "" +msgstr ":ref:`isolating-extensions-howto`" #: howto/index.rst:54 msgid ":ref:`python_2.3_mro`" -msgstr "" +msgstr ":ref:`python_2.3_mro`" #: howto/index.rst:55 msgid ":ref:`socket-howto`" -msgstr "" +msgstr ":ref:`socket-howto`" #: howto/index.rst:56 msgid ":ref:`cporting-howto`" -msgstr "" +msgstr ":ref:`cporting-howto`" #: howto/index.rst:58 msgid "Debugging and profiling:" -msgstr "" +msgstr "Αποσφαλμάτωση και σκιαγράφηση:" #: howto/index.rst:60 msgid ":ref:`gdb`" -msgstr "" +msgstr ":ref:`gdb`" #: howto/index.rst:61 msgid ":ref:`instrumentation`" -msgstr "" +msgstr ":ref:`instrumentation`" #: howto/index.rst:62 msgid ":ref:`perf_profiling`" -msgstr "" +msgstr ":ref:`perf_profiling`" diff --git a/howto/instrumentation.po b/howto/instrumentation.po index c6639e1d..9eee34dd 100644 --- a/howto/instrumentation.po +++ b/howto/instrumentation.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/howto/ipaddress.po b/howto/ipaddress.po index a529e97e..1b071c05 100644 --- a/howto/ipaddress.po +++ b/howto/ipaddress.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -287,7 +287,7 @@ msgstr "" msgid "" ">>> net4 = ipaddress.ip_network('192.0.2.0/24')\n" ">>> for x in net4.hosts():\n" -"... print(x) \n" +"... print(x)\n" "192.0.2.1\n" "192.0.2.2\n" "192.0.2.3\n" diff --git a/howto/isolating-extensions.po b/howto/isolating-extensions.po index 799a6017..6a9f4f99 100644 --- a/howto/isolating-extensions.po +++ b/howto/isolating-extensions.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/howto/logging-cookbook.po b/howto/logging-cookbook.po index 19651e27..6c8a653e 100644 --- a/howto/logging-cookbook.po +++ b/howto/logging-cookbook.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -1100,11 +1100,32 @@ msgid "" "configured ports clash with something else in your test environment." msgstr "" -#: howto/logging-cookbook.rst:843 +#: howto/logging-cookbook.rst:838 +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:841 +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 " +"corresponding domain socket and not on a TCP socket (the ``port`` key is " +"ignored)." +msgstr "" + +#: howto/logging-cookbook.rst:846 +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:856 msgid "Adding contextual information to your logging output" msgstr "" -#: howto/logging-cookbook.rst:845 +#: howto/logging-cookbook.rst:858 msgid "" "Sometimes you want logging output to contain contextual information in " "addition to the parameters passed to the logging call. For example, in a " @@ -1120,11 +1141,11 @@ msgid "" "`Logger` instances becomes effectively unbounded." msgstr "" -#: howto/logging-cookbook.rst:860 +#: howto/logging-cookbook.rst:873 msgid "Using LoggerAdapters to impart contextual information" msgstr "" -#: howto/logging-cookbook.rst:862 +#: howto/logging-cookbook.rst:875 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. " @@ -1135,7 +1156,7 @@ msgid "" "types of instances interchangeably." msgstr "" -#: howto/logging-cookbook.rst:870 +#: howto/logging-cookbook.rst:883 msgid "" "When you create an instance of :class:`LoggerAdapter`, you pass it a :class:" "`Logger` instance and a dict-like object which contains your contextual " @@ -1146,7 +1167,7 @@ msgid "" "of :class:`LoggerAdapter`::" msgstr "" -#: howto/logging-cookbook.rst:878 +#: howto/logging-cookbook.rst:891 msgid "" "def debug(self, msg, /, *args, **kwargs):\n" " \"\"\"\n" @@ -1157,7 +1178,7 @@ msgid "" " self.logger.debug(msg, *args, **kwargs)" msgstr "" -#: howto/logging-cookbook.rst:886 +#: howto/logging-cookbook.rst:899 msgid "" "The :meth:`~LoggerAdapter.process` method of :class:`LoggerAdapter` is where " "the contextual information is added to the logging output. It's passed the " @@ -1170,7 +1191,7 @@ msgid "" "be silently overwritten." msgstr "" -#: howto/logging-cookbook.rst:895 +#: howto/logging-cookbook.rst:908 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 " @@ -1181,7 +1202,7 @@ msgid "" "`~LoggerAdapter.process` to do what you need. Here is a simple example::" msgstr "" -#: howto/logging-cookbook.rst:903 +#: howto/logging-cookbook.rst:916 msgid "" "class CustomAdapter(logging.LoggerAdapter):\n" " \"\"\"\n" @@ -1192,27 +1213,27 @@ msgid "" " return '[%s] %s' % (self.extra['connid'], msg), kwargs" msgstr "" -#: howto/logging-cookbook.rst:911 +#: howto/logging-cookbook.rst:924 msgid "which you can use like this::" msgstr "" -#: howto/logging-cookbook.rst:913 +#: howto/logging-cookbook.rst:926 msgid "" "logger = logging.getLogger(__name__)\n" "adapter = CustomAdapter(logger, {'connid': some_conn_id})" msgstr "" -#: howto/logging-cookbook.rst:916 +#: howto/logging-cookbook.rst:929 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:920 +#: howto/logging-cookbook.rst:933 msgid "Using objects other than dicts to pass contextual information" msgstr "" -#: howto/logging-cookbook.rst:922 +#: howto/logging-cookbook.rst:935 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 " @@ -1221,11 +1242,11 @@ msgid "" "would be constant)." msgstr "" -#: howto/logging-cookbook.rst:931 +#: howto/logging-cookbook.rst:944 msgid "Using Filters to impart contextual information" msgstr "" -#: howto/logging-cookbook.rst:933 +#: howto/logging-cookbook.rst:946 msgid "" "You can also add contextual information to log output using a user-defined :" "class:`Filter`. ``Filter`` instances are allowed to modify the " @@ -1234,7 +1255,7 @@ msgid "" "class:`Formatter`." msgstr "" -#: howto/logging-cookbook.rst:938 +#: howto/logging-cookbook.rst:951 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 (:class:" @@ -1246,7 +1267,7 @@ msgid "" "an example script::" msgstr "" -#: howto/logging-cookbook.rst:947 +#: howto/logging-cookbook.rst:960 msgid "" "import logging\n" "from random import choice\n" @@ -1289,11 +1310,11 @@ msgid "" "'parameters')" msgstr "" -#: howto/logging-cookbook.rst:984 +#: howto/logging-cookbook.rst:997 msgid "which, when run, produces something like:" msgstr "" -#: howto/logging-cookbook.rst:986 +#: howto/logging-cookbook.rst:999 msgid "" "2010-09-06 22:38:15,292 a.b.c DEBUG IP: 123.231.231.123 User: fred A " "debug message\n" @@ -1321,11 +1342,11 @@ msgid "" "message at INFO level with 2 parameters" msgstr "" -#: howto/logging-cookbook.rst:1002 +#: howto/logging-cookbook.rst:1015 msgid "Use of ``contextvars``" msgstr "" -#: howto/logging-cookbook.rst:1004 +#: howto/logging-cookbook.rst:1017 msgid "" "Since Python 3.7, the :mod:`contextvars` module has provided context-local " "storage which works for both :mod:`threading` and :mod:`asyncio` processing " @@ -1335,7 +1356,7 @@ msgid "" "attributes handled by web applications." msgstr "" -#: howto/logging-cookbook.rst:1010 +#: howto/logging-cookbook.rst:1023 msgid "" "For the purposes of illustration, say that you have different web " "applications, each independent of the other but running in the same Python " @@ -1346,11 +1367,11 @@ msgid "" "information such as client IP, HTTP request method and client username?" msgstr "" -#: howto/logging-cookbook.rst:1017 +#: howto/logging-cookbook.rst:1030 msgid "Let's assume that the library can be simulated by the following code:" msgstr "" -#: howto/logging-cookbook.rst:1019 +#: howto/logging-cookbook.rst:1032 msgid "" "# webapplib.py\n" "import logging\n" @@ -1365,14 +1386,14 @@ msgid "" " time.sleep(0.01)" msgstr "" -#: howto/logging-cookbook.rst:1033 +#: howto/logging-cookbook.rst:1046 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:1037 +#: howto/logging-cookbook.rst:1050 msgid "" "# main.py\n" "import argparse\n" @@ -1527,7 +1548,7 @@ msgid "" " main()" msgstr "" -#: howto/logging-cookbook.rst:1177 +#: howto/logging-cookbook.rst:1190 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 " @@ -1538,7 +1559,7 @@ msgid "" "illustrated by the following shell output:" msgstr "" -#: howto/logging-cookbook.rst:1184 +#: howto/logging-cookbook.rst:1197 msgid "" "~/logging-contextual-webapp$ python main.py\n" "app1 processed 51 requests\n" @@ -1593,11 +1614,11 @@ msgid "" "147" msgstr "" -#: howto/logging-cookbook.rst:1224 +#: howto/logging-cookbook.rst:1237 msgid "Imparting contextual information in handlers" msgstr "" -#: howto/logging-cookbook.rst:1226 +#: howto/logging-cookbook.rst:1239 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 " @@ -1605,7 +1626,7 @@ msgid "" "instead of modifying it in-place, as shown in the following script::" msgstr "" -#: howto/logging-cookbook.rst:1231 +#: howto/logging-cookbook.rst:1244 msgid "" "import copy\n" "import logging\n" @@ -1627,11 +1648,11 @@ msgid "" " logger.info('A log message')" msgstr "" -#: howto/logging-cookbook.rst:1253 +#: howto/logging-cookbook.rst:1266 msgid "Logging to a single file from multiple processes" msgstr "" -#: howto/logging-cookbook.rst:1255 +#: howto/logging-cookbook.rst:1268 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 " @@ -1647,7 +1668,7 @@ msgid "" "you to adapt in your own applications." msgstr "" -#: howto/logging-cookbook.rst:1268 +#: howto/logging-cookbook.rst:1281 msgid "" "You could also write your own handler which uses the :class:" "`~multiprocessing.Lock` class from the :mod:`multiprocessing` module to " @@ -1658,7 +1679,7 @@ msgid "" "platforms (see https://bugs.python.org/issue3770)." msgstr "" -#: howto/logging-cookbook.rst:1278 +#: howto/logging-cookbook.rst:1291 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 " @@ -1673,7 +1694,7 @@ msgid "" "requirements::" msgstr "" -#: howto/logging-cookbook.rst:1289 +#: howto/logging-cookbook.rst:1302 msgid "" "# You'll need these imports in your own code\n" "import logging\n" @@ -1793,13 +1814,13 @@ msgid "" " main()" msgstr "" -#: howto/logging-cookbook.rst:1394 +#: howto/logging-cookbook.rst:1407 msgid "" "A variant of the above script keeps the logging in the main process, in a " "separate thread::" msgstr "" -#: howto/logging-cookbook.rst:1397 +#: howto/logging-cookbook.rst:1410 msgid "" "import logging\n" "import logging.config\n" @@ -1896,7 +1917,7 @@ msgid "" " lp.join()" msgstr "" -#: howto/logging-cookbook.rst:1489 +#: howto/logging-cookbook.rst:1502 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 " @@ -1906,36 +1927,36 @@ msgid "" "appropriate destinations." msgstr "" -#: howto/logging-cookbook.rst:1496 +#: howto/logging-cookbook.rst:1509 msgid "Using concurrent.futures.ProcessPoolExecutor" msgstr "" -#: howto/logging-cookbook.rst:1498 +#: howto/logging-cookbook.rst:1511 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:1502 +#: howto/logging-cookbook.rst:1515 msgid "queue = multiprocessing.Queue(-1)" msgstr "" -#: howto/logging-cookbook.rst:1506 +#: howto/logging-cookbook.rst:1519 msgid "you should use" msgstr "" -#: howto/logging-cookbook.rst:1508 +#: howto/logging-cookbook.rst:1521 msgid "" "queue = multiprocessing.Manager().Queue(-1) # also works with the examples " "above" msgstr "" -#: howto/logging-cookbook.rst:1512 +#: howto/logging-cookbook.rst:1525 msgid "and you can then replace the worker creation from this::" msgstr "" -#: howto/logging-cookbook.rst:1514 +#: howto/logging-cookbook.rst:1527 msgid "" "workers = []\n" "for i in range(10):\n" @@ -1947,22 +1968,22 @@ msgid "" " w.join()" msgstr "" -#: howto/logging-cookbook.rst:1523 +#: howto/logging-cookbook.rst:1536 msgid "to this (remembering to first import :mod:`concurrent.futures`)::" msgstr "" -#: howto/logging-cookbook.rst:1525 +#: howto/logging-cookbook.rst:1538 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:1530 +#: howto/logging-cookbook.rst:1543 msgid "Deploying Web applications using Gunicorn and uWSGI" msgstr "" -#: howto/logging-cookbook.rst:1532 +#: howto/logging-cookbook.rst:1545 msgid "" "When deploying Web applications using `Gunicorn `_ or " "`uWSGI `_ (or similar), " @@ -1974,11 +1995,11 @@ msgid "" "listener in production`_ for more details." msgstr "" -#: howto/logging-cookbook.rst:1542 +#: howto/logging-cookbook.rst:1555 msgid "Using file rotation" msgstr "" -#: howto/logging-cookbook.rst:1547 +#: howto/logging-cookbook.rst:1560 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, " @@ -1987,7 +2008,7 @@ msgid "" "usage pattern, the logging package provides a :class:`RotatingFileHandler`::" msgstr "" -#: howto/logging-cookbook.rst:1553 +#: howto/logging-cookbook.rst:1566 msgid "" "import glob\n" "import logging\n" @@ -2016,13 +2037,13 @@ msgid "" " print(filename)" msgstr "" -#: howto/logging-cookbook.rst:1579 +#: howto/logging-cookbook.rst:1592 msgid "" "The result should be 6 separate files, each with part of the log history for " "the application:" msgstr "" -#: howto/logging-cookbook.rst:1582 +#: howto/logging-cookbook.rst:1595 msgid "" "logging_rotatingfile_example.out\n" "logging_rotatingfile_example.out.1\n" @@ -2032,7 +2053,7 @@ msgid "" "logging_rotatingfile_example.out.5" msgstr "" -#: howto/logging-cookbook.rst:1591 +#: howto/logging-cookbook.rst:1604 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 " @@ -2040,17 +2061,17 @@ msgid "" "(``.1`` becomes ``.2``, etc.) and the ``.6`` file is erased." msgstr "" -#: howto/logging-cookbook.rst:1596 +#: howto/logging-cookbook.rst:1609 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:1604 +#: howto/logging-cookbook.rst:1617 msgid "Use of alternative formatting styles" msgstr "" -#: howto/logging-cookbook.rst:1606 +#: howto/logging-cookbook.rst:1619 msgid "" "When logging was added to the Python standard library, the only way of " "formatting messages with variable content was to use the %-formatting " @@ -2059,7 +2080,7 @@ msgid "" "Python 2.6)." msgstr "" -#: howto/logging-cookbook.rst:1612 +#: howto/logging-cookbook.rst:1625 msgid "" "Logging (as of 3.2) provides improved support for these two additional " "formatting styles. The :class:`Formatter` class been enhanced to take an " @@ -2072,7 +2093,7 @@ msgid "" "session to show the possibilities:" msgstr "" -#: howto/logging-cookbook.rst:1622 +#: howto/logging-cookbook.rst:1635 msgid "" ">>> import logging\n" ">>> root = logging.getLogger()\n" @@ -2097,21 +2118,21 @@ msgid "" ">>>" msgstr "" -#: howto/logging-cookbook.rst:1646 +#: howto/logging-cookbook.rst:1659 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:1650 +#: howto/logging-cookbook.rst:1663 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:1654 +#: howto/logging-cookbook.rst:1667 msgid "" "Logging calls (``logger.debug()``, ``logger.info()`` etc.) only take " "positional parameters for the actual logging message itself, with keyword " @@ -2127,7 +2148,7 @@ msgid "" "strings." msgstr "" -#: howto/logging-cookbook.rst:1667 +#: howto/logging-cookbook.rst:1680 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 " @@ -2136,7 +2157,7 @@ msgid "" "the following two classes::" msgstr "" -#: howto/logging-cookbook.rst:1673 howto/logging-cookbook.rst:2761 +#: howto/logging-cookbook.rst:1686 howto/logging-cookbook.rst:2774 msgid "" "class BraceMessage:\n" " def __init__(self, fmt, /, *args, **kwargs):\n" @@ -2157,7 +2178,7 @@ msgid "" " return Template(self.fmt).substitute(**self.kwargs)" msgstr "" -#: howto/logging-cookbook.rst:1691 +#: howto/logging-cookbook.rst:1704 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 " @@ -2168,14 +2189,14 @@ msgid "" "used as a synonym/alias for :func:`gettext.gettext` or its brethren)." msgstr "" -#: howto/logging-cookbook.rst:1699 +#: howto/logging-cookbook.rst:1712 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:1703 +#: howto/logging-cookbook.rst:1716 msgid "" ">>> from wherever import BraceMessage as __\n" ">>> print(__('Message with {0} {name}', 2, name='placeholders'))\n" @@ -2194,14 +2215,14 @@ msgid "" ">>>" msgstr "" -#: howto/logging-cookbook.rst:1721 +#: howto/logging-cookbook.rst:1734 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:1725 +#: howto/logging-cookbook.rst:1738 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 " @@ -2212,13 +2233,13 @@ msgid "" "sugar for a constructor call to one of the :samp:`{XXX}Message` classes." msgstr "" -#: howto/logging-cookbook.rst:1733 +#: howto/logging-cookbook.rst:1746 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:1736 +#: howto/logging-cookbook.rst:1749 msgid "" "import logging\n" "\n" @@ -2247,17 +2268,17 @@ msgid "" " main()" msgstr "" -#: howto/logging-cookbook.rst:1762 +#: howto/logging-cookbook.rst:1775 msgid "" "The above script should log the message ``Hello, world!`` when run with " "Python 3.8 or later." msgstr "" -#: howto/logging-cookbook.rst:1771 +#: howto/logging-cookbook.rst:1784 msgid "Customizing ``LogRecord``" msgstr "" -#: howto/logging-cookbook.rst:1773 +#: howto/logging-cookbook.rst:1786 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, a :class:" @@ -2268,13 +2289,13 @@ msgid "" "was done:" msgstr "" -#: howto/logging-cookbook.rst:1780 +#: howto/logging-cookbook.rst:1793 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:1783 +#: howto/logging-cookbook.rst:1796 msgid "" ":func:`makeLogRecord`, which is called with a dictionary containing " "attributes to be added to the LogRecord. This is typically invoked when a " @@ -2283,27 +2304,27 @@ msgid "" "`~handlers.HTTPHandler`)." msgstr "" -#: howto/logging-cookbook.rst:1789 +#: howto/logging-cookbook.rst:1802 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:1792 +#: howto/logging-cookbook.rst:1805 msgid "" "Create your own :class:`Logger` subclass, which overrides :meth:`Logger." "makeRecord`, and set it using :func:`~logging.setLoggerClass` before any " "loggers that you care about are instantiated." msgstr "" -#: howto/logging-cookbook.rst:1795 +#: howto/logging-cookbook.rst:1808 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:1799 +#: howto/logging-cookbook.rst:1812 msgid "" "The first approach would be a little unwieldy in the scenario where (say) " "several different libraries wanted to do different things. Each would " @@ -2311,7 +2332,7 @@ msgid "" "last would win." msgstr "" -#: howto/logging-cookbook.rst:1804 +#: howto/logging-cookbook.rst:1817 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 " @@ -2320,11 +2341,11 @@ msgid "" "would do simply by adding new packages or modules and doing ::" msgstr "" -#: howto/logging-cookbook.rst:1810 +#: howto/logging-cookbook.rst:1823 msgid "logger = logging.getLogger(__name__)" msgstr "" -#: howto/logging-cookbook.rst:1812 +#: howto/logging-cookbook.rst:1825 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` " @@ -2334,7 +2355,7 @@ msgid "" "developer." msgstr "" -#: howto/logging-cookbook.rst:1818 +#: howto/logging-cookbook.rst:1831 msgid "" "In Python 3.2 and later, :class:`~logging.LogRecord` creation is done " "through a factory, which you can specify. The factory is just a callable you " @@ -2344,7 +2365,7 @@ msgid "" "`LogRecord` is the default setting for the factory." msgstr "" -#: howto/logging-cookbook.rst:1825 +#: howto/logging-cookbook.rst:1838 msgid "" "This approach allows a custom factory to control all aspects of LogRecord " "creation. For example, you could return a subclass, or just add some " @@ -2352,7 +2373,7 @@ msgid "" "this::" msgstr "" -#: howto/logging-cookbook.rst:1829 +#: howto/logging-cookbook.rst:1842 msgid "" "old_factory = logging.getLogRecordFactory()\n" "\n" @@ -2364,7 +2385,7 @@ msgid "" "logging.setLogRecordFactory(record_factory)" msgstr "" -#: howto/logging-cookbook.rst:1838 +#: howto/logging-cookbook.rst:1851 msgid "" "This pattern allows different libraries to chain factories together, and as " "long as they don't overwrite each other's attributes or unintentionally " @@ -2374,22 +2395,22 @@ msgid "" "used when the use of a :class:`Filter` does not provide the desired result." msgstr "" -#: howto/logging-cookbook.rst:1850 +#: howto/logging-cookbook.rst:1863 msgid "Subclassing QueueHandler and QueueListener- a ZeroMQ example" msgstr "" -#: howto/logging-cookbook.rst:1853 howto/logging-cookbook.rst:1986 +#: howto/logging-cookbook.rst:1866 howto/logging-cookbook.rst:1999 msgid "Subclass ``QueueHandler``" msgstr "" -#: howto/logging-cookbook.rst:1855 +#: howto/logging-cookbook.rst:1868 msgid "" "You can use a :class:`QueueHandler` subclass to send messages to other kinds " "of queues, for example a ZeroMQ 'publish' socket. In the example below,the " "socket is created separately and passed to the handler (as its 'queue')::" msgstr "" -#: howto/logging-cookbook.rst:1859 +#: howto/logging-cookbook.rst:1872 msgid "" "import zmq # using pyzmq, the Python binding for ZeroMQ\n" "import json # for serializing records portably\n" @@ -2406,13 +2427,13 @@ msgid "" "handler = ZeroMQSocketHandler(sock)" msgstr "" -#: howto/logging-cookbook.rst:1874 +#: howto/logging-cookbook.rst:1887 msgid "" "Of course there are other ways of organizing this, for example passing in " "the data needed by the handler to create the socket::" msgstr "" -#: howto/logging-cookbook.rst:1877 +#: howto/logging-cookbook.rst:1890 msgid "" "class ZeroMQSocketHandler(QueueHandler):\n" " def __init__(self, uri, socktype=zmq.PUB, ctx=None):\n" @@ -2428,17 +2449,17 @@ msgid "" " self.queue.close()" msgstr "" -#: howto/logging-cookbook.rst:1892 howto/logging-cookbook.rst:1922 +#: howto/logging-cookbook.rst:1905 howto/logging-cookbook.rst:1935 msgid "Subclass ``QueueListener``" msgstr "" -#: howto/logging-cookbook.rst:1894 +#: howto/logging-cookbook.rst:1907 msgid "" "You can also subclass :class:`QueueListener` to get messages from other " "kinds of queues, for example a ZeroMQ 'subscribe' socket. Here's an example::" msgstr "" -#: howto/logging-cookbook.rst:1897 +#: howto/logging-cookbook.rst:1910 msgid "" "class ZeroMQSocketListener(QueueListener):\n" " def __init__(self, uri, /, *handlers, **kwargs):\n" @@ -2454,11 +2475,11 @@ msgid "" " return logging.makeLogRecord(msg)" msgstr "" -#: howto/logging-cookbook.rst:1912 +#: howto/logging-cookbook.rst:1925 msgid "Subclassing QueueHandler and QueueListener- a ``pynng`` example" msgstr "" -#: howto/logging-cookbook.rst:1914 +#: howto/logging-cookbook.rst:1927 msgid "" "In a similar way to the above section, we can implement a listener and " "handler using :pypi:`pynng`, which is a Python binding to `NNG `_ of the Django documentation." msgstr "" -#: howto/logging-cookbook.rst:2160 +#: howto/logging-cookbook.rst:2173 msgid "Using a rotator and namer to customize log rotation processing" msgstr "" -#: howto/logging-cookbook.rst:2162 +#: howto/logging-cookbook.rst:2175 msgid "" "An example of how you can define a namer and rotator is given in the " "following runnable script, which shows gzip compression of the log file::" msgstr "" -#: howto/logging-cookbook.rst:2165 +#: howto/logging-cookbook.rst:2178 msgid "" "import gzip\n" "import logging\n" @@ -2764,12 +2785,12 @@ msgid "" " root.info(f'Message no. {i + 1}')" msgstr "" -#: howto/logging-cookbook.rst:2193 +#: howto/logging-cookbook.rst:2206 msgid "" "After running this, you will see six new files, five of which are compressed:" msgstr "" -#: howto/logging-cookbook.rst:2195 +#: howto/logging-cookbook.rst:2208 msgid "" "$ ls rotated.log*\n" "rotated.log rotated.log.2.gz rotated.log.4.gz\n" @@ -2780,11 +2801,11 @@ msgid "" "2023-01-20 02:28:17,767 Message no. 998" msgstr "" -#: howto/logging-cookbook.rst:2206 +#: howto/logging-cookbook.rst:2219 msgid "A more elaborate multiprocessing example" msgstr "" -#: howto/logging-cookbook.rst:2208 +#: howto/logging-cookbook.rst:2221 msgid "" "The following working example shows how logging can be used with " "multiprocessing using configuration files. The configurations are fairly " @@ -2792,7 +2813,7 @@ msgid "" "in a real multiprocessing scenario." msgstr "" -#: howto/logging-cookbook.rst:2213 +#: howto/logging-cookbook.rst:2226 msgid "" "In the example, the main process spawns a listener process and some worker " "processes. Each of the main process, the listener and the workers have three " @@ -2805,13 +2826,13 @@ msgid "" "own scenario." msgstr "" -#: howto/logging-cookbook.rst:2223 +#: howto/logging-cookbook.rst:2236 msgid "" "Here's the script - the docstrings and the comments hopefully explain how it " "works::" msgstr "" -#: howto/logging-cookbook.rst:2226 +#: howto/logging-cookbook.rst:2239 msgid "" "import logging\n" "import logging.config\n" @@ -3034,11 +3055,11 @@ msgid "" " main()" msgstr "" -#: howto/logging-cookbook.rst:2435 +#: howto/logging-cookbook.rst:2448 msgid "Inserting a BOM into messages sent to a SysLogHandler" msgstr "" -#: howto/logging-cookbook.rst:2437 +#: howto/logging-cookbook.rst:2450 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 " @@ -3047,7 +3068,7 @@ msgid "" "<5424#section-6>`.)" msgstr "" -#: howto/logging-cookbook.rst:2443 +#: howto/logging-cookbook.rst:2456 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 " @@ -3055,7 +3076,7 @@ msgid "" "hence not allowing any pure-ASCII component to appear before it." msgstr "" -#: howto/logging-cookbook.rst:2449 +#: howto/logging-cookbook.rst:2462 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 " @@ -3064,37 +3085,37 @@ msgid "" "encoded using UTF-8, then you need to do the following:" msgstr "" -#: howto/logging-cookbook.rst:2455 +#: howto/logging-cookbook.rst:2468 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:2459 +#: howto/logging-cookbook.rst:2472 msgid "'ASCII section\\ufeffUnicode section'" msgstr "" -#: howto/logging-cookbook.rst:2461 +#: howto/logging-cookbook.rst:2474 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:2464 +#: howto/logging-cookbook.rst:2477 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:2468 +#: howto/logging-cookbook.rst:2481 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:2472 +#: howto/logging-cookbook.rst:2485 msgid "" "The formatted message *will* be encoded using UTF-8 encoding by " "``SysLogHandler``. If you follow the above rules, you should be able to " @@ -3103,11 +3124,11 @@ msgid "" "daemon may complain." msgstr "" -#: howto/logging-cookbook.rst:2479 +#: howto/logging-cookbook.rst:2492 msgid "Implementing structured logging" msgstr "" -#: howto/logging-cookbook.rst:2481 +#: howto/logging-cookbook.rst:2494 msgid "" "Although most logging messages are intended for reading by humans, and thus " "not readily machine-parseable, there might be circumstances where you want " @@ -3119,7 +3140,7 @@ msgid "" "machine-parseable manner::" msgstr "" -#: howto/logging-cookbook.rst:2489 +#: howto/logging-cookbook.rst:2502 msgid "" "import json\n" "import logging\n" @@ -3138,29 +3159,29 @@ msgid "" "logging.info(_('message 1', foo='bar', bar='baz', num=123, fnum=123.456))" msgstr "" -#: howto/logging-cookbook.rst:2505 +#: howto/logging-cookbook.rst:2518 msgid "If the above script is run, it prints:" msgstr "" -#: howto/logging-cookbook.rst:2507 +#: howto/logging-cookbook.rst:2520 msgid "" "message 1 >>> {\"fnum\": 123.456, \"num\": 123, \"bar\": \"baz\", \"foo\": " "\"bar\"}" msgstr "" -#: howto/logging-cookbook.rst:2511 howto/logging-cookbook.rst:2553 +#: howto/logging-cookbook.rst:2524 howto/logging-cookbook.rst:2566 msgid "" "Note that the order of items might be different according to the version of " "Python used." msgstr "" -#: howto/logging-cookbook.rst:2514 +#: howto/logging-cookbook.rst:2527 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:2517 +#: howto/logging-cookbook.rst:2530 msgid "" "import json\n" "import logging\n" @@ -3193,19 +3214,19 @@ msgid "" " main()" msgstr "" -#: howto/logging-cookbook.rst:2547 +#: howto/logging-cookbook.rst:2560 msgid "When the above script is run, it prints:" msgstr "" -#: howto/logging-cookbook.rst:2549 +#: howto/logging-cookbook.rst:2562 msgid "message 1 >>> {\"snowman\": \"\\u2603\", \"set_value\": [1, 2, 3]}" msgstr "" -#: howto/logging-cookbook.rst:2562 +#: howto/logging-cookbook.rst:2575 msgid "Customizing handlers with :func:`dictConfig`" msgstr "" -#: howto/logging-cookbook.rst:2564 +#: howto/logging-cookbook.rst:2577 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 " @@ -3215,7 +3236,7 @@ msgid "" "customize handler creation using a plain function such as::" msgstr "" -#: howto/logging-cookbook.rst:2571 +#: howto/logging-cookbook.rst:2584 msgid "" "def owned_file_handler(filename, mode='a', encoding=None, owner=None):\n" " if owner:\n" @@ -3225,13 +3246,13 @@ msgid "" " return logging.FileHandler(filename, mode, encoding)" msgstr "" -#: howto/logging-cookbook.rst:2578 +#: howto/logging-cookbook.rst:2591 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:2581 +#: howto/logging-cookbook.rst:2594 msgid "" "LOGGING = {\n" " 'version': 1,\n" @@ -3264,14 +3285,14 @@ msgid "" "}" msgstr "" -#: howto/logging-cookbook.rst:2611 +#: howto/logging-cookbook.rst:2624 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:2615 +#: howto/logging-cookbook.rst:2628 msgid "" "import logging, logging.config, os, shutil\n" "\n" @@ -3317,11 +3338,11 @@ msgid "" "logger.debug('A debug message')" msgstr "" -#: howto/logging-cookbook.rst:2658 +#: howto/logging-cookbook.rst:2671 msgid "To run this, you will probably need to run as ``root``:" msgstr "" -#: howto/logging-cookbook.rst:2660 +#: howto/logging-cookbook.rst:2673 msgid "" "$ sudo python3.3 chowntest.py\n" "$ cat chowntest.log\n" @@ -3330,7 +3351,7 @@ msgid "" "-rw-r--r-- 1 pulse pulse 55 2013-11-05 09:34 chowntest.log" msgstr "" -#: howto/logging-cookbook.rst:2668 +#: howto/logging-cookbook.rst:2681 msgid "" "Note that this example uses Python 3.3 because that's where :func:`shutil." "chown` makes an appearance. This approach should work with any Python " @@ -3339,25 +3360,25 @@ msgid "" "change using e.g. :func:`os.chown`." msgstr "" -#: howto/logging-cookbook.rst:2674 +#: howto/logging-cookbook.rst:2687 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:2677 +#: howto/logging-cookbook.rst:2690 msgid "'()': owned_file_handler," msgstr "" -#: howto/logging-cookbook.rst:2679 +#: howto/logging-cookbook.rst:2692 msgid "you could use e.g.::" msgstr "" -#: howto/logging-cookbook.rst:2681 +#: howto/logging-cookbook.rst:2694 msgid "'()': 'ext://project.util.owned_file_handler'," msgstr "" -#: howto/logging-cookbook.rst:2683 +#: howto/logging-cookbook.rst:2696 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://" @@ -3365,25 +3386,25 @@ msgid "" "resolved by :func:`dictConfig` from the ``ext://`` specification." msgstr "" -#: howto/logging-cookbook.rst:2688 +#: howto/logging-cookbook.rst:2701 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:2692 +#: howto/logging-cookbook.rst:2705 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:2702 +#: howto/logging-cookbook.rst:2715 msgid "Using particular formatting styles throughout your application" msgstr "" -#: howto/logging-cookbook.rst:2704 +#: howto/logging-cookbook.rst:2717 msgid "" "In Python 3.2, the :class:`~logging.Formatter` gained a ``style`` keyword " "parameter which, while defaulting to ``%`` for backward compatibility, " @@ -3394,7 +3415,7 @@ msgid "" "is constructed." msgstr "" -#: howto/logging-cookbook.rst:2711 +#: howto/logging-cookbook.rst:2724 msgid "" "Logging calls (:meth:`~Logger.debug`, :meth:`~Logger.info` etc.) only take " "positional parameters for the actual logging message itself, with keyword " @@ -3409,7 +3430,7 @@ msgid "" "calls which are out there in existing code will be using %-format strings." msgstr "" -#: howto/logging-cookbook.rst:2723 +#: howto/logging-cookbook.rst:2736 msgid "" "There have been suggestions to associate format styles with specific " "loggers, but that approach also runs into backward compatibility problems " @@ -3417,7 +3438,7 @@ msgid "" "formatting." msgstr "" -#: howto/logging-cookbook.rst:2727 +#: howto/logging-cookbook.rst:2740 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 " @@ -3425,11 +3446,11 @@ msgid "" "formatting styles can be accommodated." msgstr "" -#: howto/logging-cookbook.rst:2734 +#: howto/logging-cookbook.rst:2747 msgid "Using LogRecord factories" msgstr "" -#: howto/logging-cookbook.rst:2736 +#: howto/logging-cookbook.rst:2749 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 " @@ -3444,17 +3465,17 @@ msgid "" "implementation does." msgstr "" -#: howto/logging-cookbook.rst:2747 +#: howto/logging-cookbook.rst:2760 msgid "" "Refer to the reference documentation on :func:`setLogRecordFactory` and :" "class:`LogRecord` for more information." msgstr "" -#: howto/logging-cookbook.rst:2752 +#: howto/logging-cookbook.rst:2765 msgid "Using custom message objects" msgstr "" -#: howto/logging-cookbook.rst:2754 +#: howto/logging-cookbook.rst:2767 msgid "" "There is another, perhaps simpler way that you can use {}- and $- formatting " "to construct your individual log messages. You may recall (from :ref:" @@ -3464,7 +3485,7 @@ msgid "" "following two classes::" msgstr "" -#: howto/logging-cookbook.rst:2779 +#: howto/logging-cookbook.rst:2792 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 " @@ -3475,13 +3496,13 @@ msgid "" "using ``_`` for localization)." msgstr "" -#: howto/logging-cookbook.rst:2787 +#: howto/logging-cookbook.rst:2800 msgid "" "Examples of this approach are given below. Firstly, formatting with :meth:" "`str.format`::" msgstr "" -#: howto/logging-cookbook.rst:2790 +#: howto/logging-cookbook.rst:2803 msgid "" ">>> __ = BraceMessage\n" ">>> print(__('Message with {0} {1}', 2, 'placeholders'))\n" @@ -3496,11 +3517,11 @@ msgid "" "Message with coordinates: (0.50, 0.50)" msgstr "" -#: howto/logging-cookbook.rst:2801 +#: howto/logging-cookbook.rst:2814 msgid "Secondly, formatting with :class:`string.Template`::" msgstr "" -#: howto/logging-cookbook.rst:2803 +#: howto/logging-cookbook.rst:2816 msgid "" ">>> __ = DollarMessage\n" ">>> print(__('Message with $num $what', num=2, what='placeholders'))\n" @@ -3508,7 +3529,7 @@ msgid "" ">>>" msgstr "" -#: howto/logging-cookbook.rst:2808 +#: howto/logging-cookbook.rst:2821 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 " @@ -3520,11 +3541,11 @@ msgid "" "shown above." msgstr "" -#: howto/logging-cookbook.rst:2822 +#: howto/logging-cookbook.rst:2835 msgid "Configuring filters with :func:`dictConfig`" msgstr "" -#: howto/logging-cookbook.rst:2824 +#: howto/logging-cookbook.rst:2837 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). " @@ -3539,7 +3560,7 @@ msgid "" "complete example::" msgstr "" -#: howto/logging-cookbook.rst:2835 +#: howto/logging-cookbook.rst:2848 msgid "" "import logging\n" "import logging.config\n" @@ -3584,26 +3605,26 @@ msgid "" " logging.debug('hello - noshow')" msgstr "" -#: howto/logging-cookbook.rst:2877 +#: howto/logging-cookbook.rst:2890 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:2881 +#: howto/logging-cookbook.rst:2894 msgid "changed: hello" msgstr "" -#: howto/logging-cookbook.rst:2885 +#: howto/logging-cookbook.rst:2898 msgid "which shows that the filter is working as configured." msgstr "" -#: howto/logging-cookbook.rst:2887 +#: howto/logging-cookbook.rst:2900 msgid "A couple of extra points to note:" msgstr "" -#: howto/logging-cookbook.rst:2889 +#: howto/logging-cookbook.rst:2902 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 " @@ -3613,7 +3634,7 @@ msgid "" "the above example." msgstr "" -#: howto/logging-cookbook.rst:2896 +#: howto/logging-cookbook.rst:2909 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 " @@ -3622,11 +3643,11 @@ msgid "" "above." msgstr "" -#: howto/logging-cookbook.rst:2905 +#: howto/logging-cookbook.rst:2918 msgid "Customized exception formatting" msgstr "" -#: howto/logging-cookbook.rst:2907 +#: howto/logging-cookbook.rst:2920 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, " @@ -3634,7 +3655,7 @@ msgid "" "formatter class, as shown in the following example::" msgstr "" -#: howto/logging-cookbook.rst:2912 +#: howto/logging-cookbook.rst:2925 msgid "" "import logging\n" "\n" @@ -3673,11 +3694,11 @@ msgid "" " main()" msgstr "" -#: howto/logging-cookbook.rst:2948 +#: howto/logging-cookbook.rst:2961 msgid "When run, this produces a file with exactly two lines:" msgstr "" -#: howto/logging-cookbook.rst:2950 +#: howto/logging-cookbook.rst:2963 msgid "" "28/01/2015 07:21:23|INFO|Sample message|\n" "28/01/2015 07:21:23|ERROR|ZeroDivisionError: integer division or modulo by " @@ -3686,18 +3707,18 @@ msgid "" "zero'|" msgstr "" -#: howto/logging-cookbook.rst:2955 +#: howto/logging-cookbook.rst:2968 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:2962 +#: howto/logging-cookbook.rst:2975 msgid "Speaking logging messages" msgstr "" -#: howto/logging-cookbook.rst:2964 +#: howto/logging-cookbook.rst:2977 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 " @@ -3714,7 +3735,7 @@ msgid "" "approach, which assumes that the ``espeak`` TTS package is available::" msgstr "" -#: howto/logging-cookbook.rst:2977 +#: howto/logging-cookbook.rst:2990 msgid "" "import logging\n" "import subprocess\n" @@ -3746,24 +3767,24 @@ msgid "" " sys.exit(main())" msgstr "" -#: howto/logging-cookbook.rst:3006 +#: howto/logging-cookbook.rst:3019 msgid "" "When run, this script should say \"Hello\" and then \"Goodbye\" in a female " "voice." msgstr "" -#: howto/logging-cookbook.rst:3008 +#: howto/logging-cookbook.rst:3021 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:3016 +#: howto/logging-cookbook.rst:3029 msgid "Buffering logging messages and outputting them conditionally" msgstr "" -#: howto/logging-cookbook.rst:3018 +#: howto/logging-cookbook.rst:3031 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 " @@ -3773,7 +3794,7 @@ msgid "" "debug information to be output as well as the error." msgstr "" -#: howto/logging-cookbook.rst:3025 +#: howto/logging-cookbook.rst:3038 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 " @@ -3786,7 +3807,7 @@ msgid "" "subclass of ``MemoryHandler`` if you want custom flushing behavior." msgstr "" -#: howto/logging-cookbook.rst:3035 +#: howto/logging-cookbook.rst:3048 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 " @@ -3795,7 +3816,7 @@ msgid "" "levels - otherwise, it only logs at DEBUG, INFO and WARNING levels." msgstr "" -#: howto/logging-cookbook.rst:3041 +#: howto/logging-cookbook.rst:3054 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 " @@ -3807,11 +3828,11 @@ msgid "" "respectively." msgstr "" -#: howto/logging-cookbook.rst:3049 +#: howto/logging-cookbook.rst:3062 msgid "Here's the script::" msgstr "" -#: howto/logging-cookbook.rst:3051 +#: howto/logging-cookbook.rst:3064 msgid "" "import logging\n" "from logging.handlers import MemoryHandler\n" @@ -3877,11 +3898,11 @@ msgid "" " assert decorated_foo(True)" msgstr "" -#: howto/logging-cookbook.rst:3112 +#: howto/logging-cookbook.rst:3125 msgid "When this script is run, the following output should be observed:" msgstr "" -#: howto/logging-cookbook.rst:3114 +#: howto/logging-cookbook.rst:3127 msgid "" "Calling undecorated foo with False\n" "about to log at DEBUG ...\n" @@ -3910,29 +3931,29 @@ msgid "" "Actually logged at CRITICAL" msgstr "" -#: howto/logging-cookbook.rst:3142 +#: howto/logging-cookbook.rst:3155 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:3146 +#: howto/logging-cookbook.rst:3159 msgid "You can of course use the conventional means of decoration::" msgstr "" -#: howto/logging-cookbook.rst:3148 +#: howto/logging-cookbook.rst:3161 msgid "" "@log_if_errors(logger)\n" "def foo(fail=False):\n" " ..." msgstr "" -#: howto/logging-cookbook.rst:3156 +#: howto/logging-cookbook.rst:3169 msgid "Sending logging messages to email, with buffering" msgstr "" -#: howto/logging-cookbook.rst:3158 +#: howto/logging-cookbook.rst:3171 msgid "" "To illustrate how you can send log messages via email, so that a set number " "of messages are sent per email, you can subclass :class:`~logging.handlers." @@ -3943,7 +3964,7 @@ msgid "" "argument to see the required and optional arguments.)" msgstr "" -#: howto/logging-cookbook.rst:3166 +#: howto/logging-cookbook.rst:3179 msgid "" "import logging\n" "import logging.handlers\n" @@ -4011,7 +4032,7 @@ msgid "" " h.close()" msgstr "" -#: howto/logging-cookbook.rst:3230 +#: howto/logging-cookbook.rst:3243 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 " @@ -4019,17 +4040,17 @@ msgid "" "messages. That makes up 102 messages as specified in the script." msgstr "" -#: howto/logging-cookbook.rst:3238 +#: howto/logging-cookbook.rst:3251 msgid "Formatting times using UTC (GMT) via configuration" msgstr "" -#: howto/logging-cookbook.rst:3240 +#: howto/logging-cookbook.rst:3253 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:3243 +#: howto/logging-cookbook.rst:3256 msgid "" "import logging\n" "import time\n" @@ -4038,7 +4059,7 @@ msgid "" " converter = time.gmtime" msgstr "" -#: howto/logging-cookbook.rst:3249 +#: howto/logging-cookbook.rst:3262 msgid "" "and you can then use the ``UTCFormatter`` in your code instead of :class:" "`~logging.Formatter`. If you want to do that via configuration, you can use " @@ -4046,7 +4067,7 @@ msgid "" "the following complete example::" msgstr "" -#: howto/logging-cookbook.rst:3254 +#: howto/logging-cookbook.rst:3267 msgid "" "import logging\n" "import logging.config\n" @@ -4087,27 +4108,27 @@ msgid "" " logging.warning('The local time is %s', time.asctime())" msgstr "" -#: howto/logging-cookbook.rst:3292 +#: howto/logging-cookbook.rst:3305 msgid "When this script is run, it should print something like:" msgstr "" -#: howto/logging-cookbook.rst:3294 +#: howto/logging-cookbook.rst:3307 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:3299 +#: howto/logging-cookbook.rst:3312 msgid "" "showing how the time is formatted both as local time and UTC, one for each " "handler." msgstr "" -#: howto/logging-cookbook.rst:3306 +#: howto/logging-cookbook.rst:3319 msgid "Using a context manager for selective logging" msgstr "" -#: howto/logging-cookbook.rst:3308 +#: howto/logging-cookbook.rst:3321 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 " @@ -4117,7 +4138,7 @@ msgid "" "scope of the context manager::" msgstr "" -#: howto/logging-cookbook.rst:3315 +#: howto/logging-cookbook.rst:3328 msgid "" "import logging\n" "import sys\n" @@ -4146,7 +4167,7 @@ msgid "" " # implicit return of None => don't swallow exceptions" msgstr "" -#: howto/logging-cookbook.rst:3341 +#: howto/logging-cookbook.rst:3354 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 " @@ -4155,13 +4176,13 @@ msgid "" "block exit - you could do this if you don't need the handler any more." msgstr "" -#: howto/logging-cookbook.rst:3347 +#: howto/logging-cookbook.rst:3360 msgid "" "To illustrate how it works, we can add the following block of code to the " "above::" msgstr "" -#: howto/logging-cookbook.rst:3350 +#: howto/logging-cookbook.rst:3363 msgid "" "if __name__ == '__main__':\n" " logger = logging.getLogger('foo')\n" @@ -4181,7 +4202,7 @@ msgid "" " logger.debug('7. This should not appear.')" msgstr "" -#: howto/logging-cookbook.rst:3365 +#: howto/logging-cookbook.rst:3378 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 " @@ -4194,11 +4215,11 @@ msgid "" "(like message #1) whereas message #7 doesn't (just like message #2)." msgstr "" -#: howto/logging-cookbook.rst:3375 +#: howto/logging-cookbook.rst:3388 msgid "If we run the resulting script, the result is as follows:" msgstr "" -#: howto/logging-cookbook.rst:3377 +#: howto/logging-cookbook.rst:3390 msgid "" "$ python logctx.py\n" "1. This should appear just once on stderr.\n" @@ -4208,23 +4229,23 @@ msgid "" "6. This should appear just once on stderr." msgstr "" -#: howto/logging-cookbook.rst:3386 +#: howto/logging-cookbook.rst:3399 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:3389 +#: howto/logging-cookbook.rst:3402 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:3394 +#: howto/logging-cookbook.rst:3407 msgid "Once again, but piping ``stdout`` to ``/dev/null``, we get:" msgstr "" -#: howto/logging-cookbook.rst:3396 +#: howto/logging-cookbook.rst:3409 msgid "" "$ python logctx.py >/dev/null\n" "1. This should appear just once on stderr.\n" @@ -4233,42 +4254,42 @@ msgid "" "6. This should appear just once on stderr." msgstr "" -#: howto/logging-cookbook.rst:3404 +#: howto/logging-cookbook.rst:3417 msgid "" "In this case, the message #5 printed to ``stdout`` doesn't appear, as " "expected." msgstr "" -#: howto/logging-cookbook.rst:3406 +#: howto/logging-cookbook.rst:3419 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:3414 +#: howto/logging-cookbook.rst:3427 msgid "A CLI application starter template" msgstr "" -#: howto/logging-cookbook.rst:3416 +#: howto/logging-cookbook.rst:3429 msgid "Here's an example which shows how you can:" msgstr "" -#: howto/logging-cookbook.rst:3418 +#: howto/logging-cookbook.rst:3431 msgid "Use a logging level based on command-line arguments" msgstr "" -#: howto/logging-cookbook.rst:3419 +#: howto/logging-cookbook.rst:3432 msgid "" "Dispatch to multiple subcommands in separate files, all logging at the same " "level in a consistent way" msgstr "" -#: howto/logging-cookbook.rst:3421 +#: howto/logging-cookbook.rst:3434 msgid "Make use of simple, minimal configuration" msgstr "" -#: howto/logging-cookbook.rst:3423 +#: howto/logging-cookbook.rst:3436 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 " @@ -4279,7 +4300,7 @@ msgid "" "``logging.INFO``. Here's one way that ``app.py`` could be written::" msgstr "" -#: howto/logging-cookbook.rst:3431 +#: howto/logging-cookbook.rst:3444 msgid "" "import argparse\n" "import importlib\n" @@ -4326,13 +4347,13 @@ msgid "" " sys.exit(main())" msgstr "" -#: howto/logging-cookbook.rst:3472 +#: howto/logging-cookbook.rst:3485 msgid "" "And the ``start``, ``stop`` and ``restart`` commands can be implemented in " "separate modules, like so for starting::" msgstr "" -#: howto/logging-cookbook.rst:3475 +#: howto/logging-cookbook.rst:3488 msgid "" "# start.py\n" "import logging\n" @@ -4345,11 +4366,11 @@ msgid "" " logger.info('Started the \\'%s\\' service.', options.name)" msgstr "" -#: howto/logging-cookbook.rst:3485 +#: howto/logging-cookbook.rst:3498 msgid "and thus for stopping::" msgstr "" -#: howto/logging-cookbook.rst:3487 +#: howto/logging-cookbook.rst:3500 msgid "" "# stop.py\n" "import logging\n" @@ -4371,11 +4392,11 @@ msgid "" " logger.info('Stopped the %s service%s.', services, plural)" msgstr "" -#: howto/logging-cookbook.rst:3506 +#: howto/logging-cookbook.rst:3519 msgid "and similarly for restarting::" msgstr "" -#: howto/logging-cookbook.rst:3508 +#: howto/logging-cookbook.rst:3521 msgid "" "# restart.py\n" "import logging\n" @@ -4397,13 +4418,13 @@ msgid "" " logger.info('Restarted the %s service%s.', services, plural)" msgstr "" -#: howto/logging-cookbook.rst:3527 +#: howto/logging-cookbook.rst:3540 msgid "" "If we run this application with the default log level, we get output like " "this:" msgstr "" -#: howto/logging-cookbook.rst:3529 +#: howto/logging-cookbook.rst:3542 msgid "" "$ python app.py start foo\n" "INFO start Started the 'foo' service.\n" @@ -4415,19 +4436,19 @@ msgid "" "INFO restart Restarted the 'foo', 'bar' and 'baz' services." msgstr "" -#: howto/logging-cookbook.rst:3540 +#: howto/logging-cookbook.rst:3553 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:3543 +#: howto/logging-cookbook.rst:3556 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:3546 +#: howto/logging-cookbook.rst:3559 msgid "" "$ python app.py --log-level DEBUG start foo\n" "DEBUG start About to start foo\n" @@ -4442,28 +4463,28 @@ msgid "" "INFO restart Restarted the 'foo', 'bar' and 'baz' services." msgstr "" -#: howto/logging-cookbook.rst:3560 +#: howto/logging-cookbook.rst:3573 msgid "And if we want less:" msgstr "" -#: howto/logging-cookbook.rst:3562 +#: howto/logging-cookbook.rst:3575 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:3568 +#: howto/logging-cookbook.rst:3581 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:3574 +#: howto/logging-cookbook.rst:3587 msgid "A Qt GUI for logging" msgstr "" -#: howto/logging-cookbook.rst:3576 +#: howto/logging-cookbook.rst:3589 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-" @@ -4471,7 +4492,7 @@ msgid "" "`PyQt5` libraries." msgstr "" -#: howto/logging-cookbook.rst:3581 +#: howto/logging-cookbook.rst:3594 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 " @@ -4481,14 +4502,14 @@ msgid "" "logging messages at random levels with random short delays in between)." msgstr "" -#: howto/logging-cookbook.rst:3588 +#: howto/logging-cookbook.rst:3601 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:3592 +#: howto/logging-cookbook.rst:3605 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 " @@ -4496,7 +4517,7 @@ msgid "" "more detailed information." msgstr "" -#: howto/logging-cookbook.rst:3597 +#: howto/logging-cookbook.rst:3610 msgid "" "import datetime\n" "import logging\n" @@ -4747,11 +4768,11 @@ msgid "" " main()" msgstr "" -#: howto/logging-cookbook.rst:3829 +#: howto/logging-cookbook.rst:3842 msgid "Logging to syslog with RFC5424 support" msgstr "" -#: howto/logging-cookbook.rst:3831 +#: howto/logging-cookbook.rst:3844 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 " @@ -4761,14 +4782,14 @@ msgid "" "handlers.SysLogHandler` functionality has not been updated." msgstr "" -#: howto/logging-cookbook.rst:3838 +#: howto/logging-cookbook.rst:3851 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:3842 +#: howto/logging-cookbook.rst:3855 msgid "" "import datetime\n" "import logging.handlers\n" @@ -4838,7 +4859,7 @@ msgid "" "{sdata} {msg}'" msgstr "" -#: howto/logging-cookbook.rst:3904 +#: howto/logging-cookbook.rst:3917 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 " @@ -4847,7 +4868,7 @@ msgid "" "using something like this::" msgstr "" -#: howto/logging-cookbook.rst:3909 +#: howto/logging-cookbook.rst:3922 msgid "" "sd = {\n" " 'foo@12345': {'bar': 'baz', 'baz': 'bozz', 'fizz': r'buzz'},\n" @@ -4858,11 +4879,11 @@ msgid "" "logger.debug('Message %d', i, extra=extra)" msgstr "" -#: howto/logging-cookbook.rst:3918 +#: howto/logging-cookbook.rst:3931 msgid "How to treat a logger like an output stream" msgstr "" -#: howto/logging-cookbook.rst:3920 +#: howto/logging-cookbook.rst:3933 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 " @@ -4870,7 +4891,7 @@ msgid "" "API. Here's a short script illustrating such a class:" msgstr "" -#: howto/logging-cookbook.rst:3925 +#: howto/logging-cookbook.rst:3938 msgid "" "import logging\n" "\n" @@ -4908,23 +4929,23 @@ msgid "" " main()" msgstr "" -#: howto/logging-cookbook.rst:3960 +#: howto/logging-cookbook.rst:3973 msgid "When this script is run, it prints" msgstr "" -#: howto/logging-cookbook.rst:3962 +#: howto/logging-cookbook.rst:3975 msgid "" "INFO:demo:An INFO message\n" "DEBUG:demo:A DEBUG message" msgstr "" -#: howto/logging-cookbook.rst:3967 +#: howto/logging-cookbook.rst:3980 msgid "" "You could also use ``LoggerWriter`` to redirect ``sys.stdout`` and ``sys." "stderr`` by doing something like this:" msgstr "" -#: howto/logging-cookbook.rst:3970 +#: howto/logging-cookbook.rst:3983 msgid "" "import sys\n" "\n" @@ -4932,7 +4953,7 @@ msgid "" "sys.stderr = LoggerWriter(logger, logging.WARNING)" msgstr "" -#: howto/logging-cookbook.rst:3977 +#: howto/logging-cookbook.rst:3990 msgid "" "You should do this *after* configuring logging for your needs. In the above " "example, the :func:`~logging.basicConfig` call does this (using the ``sys." @@ -4940,7 +4961,7 @@ msgid "" "Then, you'd get this kind of result:" msgstr "" -#: howto/logging-cookbook.rst:3982 +#: howto/logging-cookbook.rst:3995 msgid "" ">>> print('Foo')\n" "INFO:demo:Foo\n" @@ -4949,31 +4970,31 @@ msgid "" ">>>" msgstr "" -#: howto/logging-cookbook.rst:3990 +#: howto/logging-cookbook.rst:4003 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:3994 +#: howto/logging-cookbook.rst:4007 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:3998 +#: howto/logging-cookbook.rst:4011 msgid "" "sys.stderr = LoggerWriter(logger, logging.WARNING)\n" "1 / 0" msgstr "" -#: howto/logging-cookbook.rst:4003 +#: howto/logging-cookbook.rst:4016 msgid "then running the script results in" msgstr "" -#: howto/logging-cookbook.rst:4005 +#: howto/logging-cookbook.rst:4018 msgid "" "WARNING:demo:Traceback (most recent call last):\n" "\n" @@ -4992,7 +5013,7 @@ msgid "" "WARNING:demo:division by zero" msgstr "" -#: howto/logging-cookbook.rst:4021 +#: howto/logging-cookbook.rst:4034 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 " @@ -5002,7 +5023,7 @@ msgid "" "``LoggerWriter``:" msgstr "" -#: howto/logging-cookbook.rst:4027 +#: howto/logging-cookbook.rst:4040 msgid "" "class BufferingLoggerWriter(LoggerWriter):\n" " def __init__(self, logger, level):\n" @@ -5022,13 +5043,13 @@ msgid "" " self.logger.log(self.level, part)" msgstr "" -#: howto/logging-cookbook.rst:4046 +#: howto/logging-cookbook.rst:4059 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:4049 +#: howto/logging-cookbook.rst:4062 msgid "" "WARNING:demo:Traceback (most recent call last):\n" "WARNING:demo: File \"/home/runner/cookbook-loggerwriter/main.py\", line 55, " @@ -5040,11 +5061,11 @@ msgid "" "WARNING:demo:ZeroDivisionError: division by zero" msgstr "" -#: howto/logging-cookbook.rst:4062 +#: howto/logging-cookbook.rst:4075 msgid "Patterns to avoid" msgstr "" -#: howto/logging-cookbook.rst:4064 +#: howto/logging-cookbook.rst:4077 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 " @@ -5052,11 +5073,11 @@ msgid "" "The following sections are in no particular order." msgstr "" -#: howto/logging-cookbook.rst:4070 +#: howto/logging-cookbook.rst:4083 msgid "Opening the same log file multiple times" msgstr "" -#: howto/logging-cookbook.rst:4072 +#: howto/logging-cookbook.rst:4085 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. " @@ -5064,32 +5085,32 @@ msgid "" "file multiple times. This could be done accidentally, for example by:" msgstr "" -#: howto/logging-cookbook.rst:4077 +#: howto/logging-cookbook.rst:4090 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:4080 +#: howto/logging-cookbook.rst:4093 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:4083 +#: howto/logging-cookbook.rst:4096 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:4087 +#: howto/logging-cookbook.rst:4100 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:4090 +#: howto/logging-cookbook.rst:4103 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 " @@ -5098,7 +5119,7 @@ msgid "" "different handler instances which happen to point to the same file." msgstr "" -#: howto/logging-cookbook.rst:4096 +#: howto/logging-cookbook.rst:4109 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 " @@ -5108,17 +5129,17 @@ msgid "" "being supposedly in place." msgstr "" -#: howto/logging-cookbook.rst:4103 +#: howto/logging-cookbook.rst:4116 msgid "" "Use the techniques outlined in :ref:`multiple-processes` to circumvent such " "issues." msgstr "" -#: howto/logging-cookbook.rst:4107 +#: howto/logging-cookbook.rst:4120 msgid "Using loggers as attributes in a class or passing them as parameters" msgstr "" -#: howto/logging-cookbook.rst:4109 +#: howto/logging-cookbook.rst:4122 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 " @@ -5129,13 +5150,13 @@ msgid "" "module (and not the class) is the unit of software decomposition." msgstr "" -#: howto/logging-cookbook.rst:4118 +#: howto/logging-cookbook.rst:4131 msgid "" "Adding handlers other than :class:`~logging.NullHandler` to a logger in a " "library" msgstr "" -#: howto/logging-cookbook.rst:4120 +#: howto/logging-cookbook.rst:4133 msgid "" "Configuring logging by adding handlers, formatters and filters is the " "responsibility of the application developer, not the library developer. If " @@ -5143,11 +5164,11 @@ msgid "" "your loggers other than a :class:`~logging.NullHandler` instance." msgstr "" -#: howto/logging-cookbook.rst:4126 +#: howto/logging-cookbook.rst:4139 msgid "Creating a lot of loggers" msgstr "" -#: howto/logging-cookbook.rst:4128 +#: howto/logging-cookbook.rst:4141 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. " @@ -5158,38 +5179,38 @@ msgid "" "occasionally slightly more fine-grained than that)." msgstr "" -#: howto/logging-cookbook.rst:4139 +#: howto/logging-cookbook.rst:4152 msgid "Other resources" msgstr "" -#: howto/logging-cookbook.rst:4143 +#: howto/logging-cookbook.rst:4156 msgid "Module :mod:`logging`" msgstr "" -#: howto/logging-cookbook.rst:4144 +#: howto/logging-cookbook.rst:4157 msgid "API reference for the logging module." msgstr "" -#: howto/logging-cookbook.rst:4146 +#: howto/logging-cookbook.rst:4159 msgid "Module :mod:`logging.config`" msgstr "" -#: howto/logging-cookbook.rst:4147 +#: howto/logging-cookbook.rst:4160 msgid "Configuration API for the logging module." msgstr "" -#: howto/logging-cookbook.rst:4149 +#: howto/logging-cookbook.rst:4162 msgid "Module :mod:`logging.handlers`" msgstr "" -#: howto/logging-cookbook.rst:4150 +#: howto/logging-cookbook.rst:4163 msgid "Useful handlers included with the logging module." msgstr "" -#: howto/logging-cookbook.rst:4152 +#: howto/logging-cookbook.rst:4165 msgid ":ref:`Basic Tutorial `" msgstr "" -#: howto/logging-cookbook.rst:4154 +#: howto/logging-cookbook.rst:4167 msgid ":ref:`Advanced Tutorial `" msgstr "" diff --git a/howto/logging.po b/howto/logging.po index 1f09f86b..adb7a560 100644 --- a/howto/logging.po +++ b/howto/logging.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/howto/mro.po b/howto/mro.po index 5c9aedbd..6f2d128d 100644 --- a/howto/mro.po +++ b/howto/mro.po @@ -8,10 +8,11 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/howto/perf_profiling.po b/howto/perf_profiling.po index b6be8760..4c6c8b56 100644 --- a/howto/perf_profiling.po +++ b/howto/perf_profiling.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/howto/pyporting.po b/howto/pyporting.po index 415d8dd0..0223b777 100644 --- a/howto/pyporting.po +++ b/howto/pyporting.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-12-06 13:40+0200\n" "Last-Translator: Marios Giannopoulos \n" "Language-Team: PyGreece \n" diff --git a/howto/regex.po b/howto/regex.po index af497e8d..ae9da180 100644 --- a/howto/regex.po +++ b/howto/regex.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -872,7 +872,7 @@ msgstr "" #: howto/regex.rst:483 msgid "" ">>> iterator = p.finditer('12 drummers drumming, 11 ... 10 ...')\n" -">>> iterator \n" +">>> iterator\n" "\n" ">>> for match in iterator:\n" "... print(match.span())\n" @@ -900,7 +900,7 @@ msgstr "" msgid "" ">>> print(re.match(r'From\\s+', 'Fromage amk'))\n" "None\n" -">>> re.match(r'From\\s+', 'From amk Thu May 14 19:12:10 1998') \n" +">>> re.match(r'From\\s+', 'From amk Thu May 14 19:12:10 1998')\n" "" msgstr "" @@ -1194,7 +1194,7 @@ msgstr "" #: howto/regex.rst:714 msgid "" -">>> print(re.search('^From', 'From Here to Eternity')) \n" +">>> print(re.search('^From', 'From Here to Eternity'))\n" "\n" ">>> print(re.search('^From', 'Reciting From Memory'))\n" "None" @@ -1216,11 +1216,11 @@ msgstr "" #: howto/regex.rst:725 msgid "" -">>> print(re.search('}$', '{block}')) \n" +">>> print(re.search('}$', '{block}'))\n" "\n" ">>> print(re.search('}$', '{block} '))\n" "None\n" -">>> print(re.search('}$', '{block}\\n')) \n" +">>> print(re.search('}$', '{block}\\n'))\n" "" msgstr "" diff --git a/howto/sockets.po b/howto/sockets.po index 3690d308..cc37caf7 100644 --- a/howto/sockets.po +++ b/howto/sockets.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/howto/sorting.po b/howto/sorting.po index 5501b0fc..6143f74b 100644 --- a/howto/sorting.po +++ b/howto/sorting.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/howto/unicode.po b/howto/unicode.po index 9d54318e..8454b0be 100644 --- a/howto/unicode.po +++ b/howto/unicode.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -383,7 +383,7 @@ msgstr "" #: howto/unicode.rst:236 msgid "" -">>> b'\\x80abc'.decode(\"utf-8\", \"strict\") \n" +">>> b'\\x80abc'.decode(\"utf-8\", \"strict\")\n" "Traceback (most recent call last):\n" " ...\n" "UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0:\n" @@ -453,7 +453,7 @@ msgid "" ">>> u = chr(40960) + 'abcd' + chr(1972)\n" ">>> u.encode('utf-8')\n" "b'\\xea\\x80\\x80abcd\\xde\\xb4'\n" -">>> u.encode('ascii') \n" +">>> u.encode('ascii')\n" "Traceback (most recent call last):\n" " ...\n" "UnicodeEncodeError: 'ascii' codec can't encode character '\\ua000' in\n" diff --git a/howto/urllib2.po b/howto/urllib2.po index 56ea0ca7..b2ae5a27 100644 --- a/howto/urllib2.po +++ b/howto/urllib2.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -230,7 +230,7 @@ msgid "" ">>> data['location'] = 'Northampton'\n" ">>> data['language'] = 'Python'\n" ">>> url_values = urllib.parse.urlencode(data)\n" -">>> print(url_values) # The order may differ from below. \n" +">>> print(url_values) # The order may differ from below.\n" "name=Somebody+Here&language=Python&location=Northampton\n" ">>> url = 'http://www.example.com/example.cgi'\n" ">>> full_url = url + '?' + url_values\n" @@ -334,7 +334,7 @@ msgid "" ">>> req = urllib.request.Request('http://www.pretend_server.org')\n" ">>> try: urllib.request.urlopen(req)\n" "... except urllib.error.URLError as e:\n" -"... print(e.reason) \n" +"... print(e.reason)\n" "...\n" "(4, 'getaddrinfo failed')" msgstr "" @@ -471,7 +471,7 @@ msgid "" "... urllib.request.urlopen(req)\n" "... except urllib.error.HTTPError as e:\n" "... print(e.code)\n" -"... print(e.read()) \n" +"... print(e.read())\n" "...\n" "404\n" "b'\n" "Language-Team: LANGUAGE \n" diff --git a/library/2to3.po b/library/2to3.po index 86a34523..5027db3c 100644 --- a/library/2to3.po +++ b/library/2to3.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/__future__.po b/library/__future__.po index 92159f2a..b5086548 100644 --- a/library/__future__.po +++ b/library/__future__.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/__main__.po b/library/__main__.po index 61c54836..93cd3f13 100644 --- a/library/__main__.po +++ b/library/__main__.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/_thread.po b/library/_thread.po index e7c122d1..9c75aa9c 100644 --- a/library/_thread.po +++ b/library/_thread.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/abc.po b/library/abc.po index df4e24b6..92e7f603 100644 --- a/library/abc.po +++ b/library/abc.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -193,25 +193,25 @@ msgstr "" #: library/abc.rst:143 msgid "" -"The ABC ``MyIterable`` defines the standard iterable method, :meth:" -"`~iterator.__iter__`, as an abstract method. The implementation given here " -"can still be called from subclasses. The :meth:`!get_iterator` method is " -"also part of the ``MyIterable`` abstract base class, but it does not have to " -"be overridden in non-abstract derived classes." +"The ABC ``MyIterable`` defines the standard iterable method, :meth:`~object." +"__iter__`, as an abstract method. The implementation given here can still " +"be called from subclasses. The :meth:`!get_iterator` method is also part of " +"the ``MyIterable`` abstract base class, but it does not have to be " +"overridden in non-abstract derived classes." msgstr "" #: library/abc.rst:149 msgid "" "The :meth:`__subclasshook__` class method defined here says that any class " -"that has an :meth:`~iterator.__iter__` method in its :attr:`~object." -"__dict__` (or in that of one of its base classes, accessed via the :attr:" -"`~type.__mro__` list) is considered a ``MyIterable`` too." +"that has an :meth:`~object.__iter__` method in its :attr:`~object.__dict__` " +"(or in that of one of its base classes, accessed via the :attr:`~type." +"__mro__` list) is considered a ``MyIterable`` too." msgstr "" #: library/abc.rst:154 msgid "" "Finally, the last line makes ``Foo`` a virtual subclass of ``MyIterable``, " -"even though it does not define an :meth:`~iterator.__iter__` method (it uses " +"even though it does not define an :meth:`~object.__iter__` method (it uses " "the old-style iterable protocol, defined in terms of :meth:`~object.__len__` " "and :meth:`~object.__getitem__`). Note that this will not make " "``get_iterator`` available as a method of ``Foo``, so it is provided " diff --git a/library/aifc.po b/library/aifc.po index 0799d772..cbf2b54a 100644 --- a/library/aifc.po +++ b/library/aifc.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-12-23 14:33+0200\n" "Last-Translator: Marios Giannopoulos \n" "Language-Team: PyGreece \n" diff --git a/library/allos.po b/library/allos.po index cacdfe45..39d43ee4 100644 --- a/library/allos.po +++ b/library/allos.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/archiving.po b/library/archiving.po index c9956fa8..807fc2ff 100644 --- a/library/archiving.po +++ b/library/archiving.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/argparse.po b/library/argparse.po index 62cb33e2..d3730cbb 100644 --- a/library/argparse.po +++ b/library/argparse.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/array.po b/library/array.po index a18a4d7e..6987a313 100644 --- a/library/array.po +++ b/library/array.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/ast.po b/library/ast.po index 8c35f9ae..2e6bcd0f 100644 --- a/library/ast.po +++ b/library/ast.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/asynchat.po b/library/asynchat.po index 53f591df..bec1f016 100644 --- a/library/asynchat.po +++ b/library/asynchat.po @@ -8,10 +8,11 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/library/asyncio-api-index.po b/library/asyncio-api-index.po index 50d3fe80..bae35e3a 100644 --- a/library/asyncio-api-index.po +++ b/library/asyncio-api-index.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/asyncio-dev.po b/library/asyncio-dev.po index cf33effe..716b4067 100644 --- a/library/asyncio-dev.po +++ b/library/asyncio-dev.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/asyncio-eventloop.po b/library/asyncio-eventloop.po index 62467d27..93511595 100644 --- a/library/asyncio-eventloop.po +++ b/library/asyncio-eventloop.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -239,7 +239,7 @@ msgid "" "called after the event loop is closed." msgstr "" -#: library/asyncio-eventloop.rst:167 +#: library/asyncio-eventloop.rst:168 msgid "" "Schedule all currently open :term:`asynchronous generator` objects to close " "with an :meth:`~agen.aclose` call. After calling this method, the event " @@ -247,18 +247,18 @@ msgid "" "should be used to reliably finalize all scheduled asynchronous generators." msgstr "" -#: library/asyncio-eventloop.rst:173 +#: library/asyncio-eventloop.rst:174 msgid "" "Note that there is no need to call this function when :func:`asyncio.run` is " "used." msgstr "" -#: library/asyncio-eventloop.rst:176 library/asyncio-eventloop.rst:1262 -#: library/asyncio-eventloop.rst:1680 +#: library/asyncio-eventloop.rst:177 library/asyncio-eventloop.rst:1285 +#: library/asyncio-eventloop.rst:1707 msgid "Example::" msgstr "" -#: library/asyncio-eventloop.rst:178 +#: library/asyncio-eventloop.rst:179 msgid "" "try:\n" " loop.run_forever()\n" @@ -267,7 +267,7 @@ msgid "" " loop.close()" msgstr "" -#: library/asyncio-eventloop.rst:188 +#: library/asyncio-eventloop.rst:190 msgid "" "Schedule the closure of the default executor and wait for it to join all of " "the threads in the :class:`~concurrent.futures.ThreadPoolExecutor`. Once " @@ -275,250 +275,250 @@ msgid "" "run_in_executor` will raise a :exc:`RuntimeError`." msgstr "" -#: library/asyncio-eventloop.rst:194 +#: library/asyncio-eventloop.rst:196 msgid "" "The *timeout* parameter specifies the amount of time (in :class:`float` " "seconds) the executor will be given to finish joining. With the default, " "``None``, the executor is allowed an unlimited amount of time." msgstr "" -#: library/asyncio-eventloop.rst:199 +#: library/asyncio-eventloop.rst:201 msgid "" "If the *timeout* is reached, a :exc:`RuntimeWarning` is emitted and the " "default executor is terminated without waiting for its threads to finish " "joining." msgstr "" -#: library/asyncio-eventloop.rst:205 +#: library/asyncio-eventloop.rst:207 msgid "" "Do not call this method when using :func:`asyncio.run`, as the latter " "handles default executor shutdown automatically." msgstr "" -#: library/asyncio-eventloop.rst:210 +#: library/asyncio-eventloop.rst:212 msgid "Added the *timeout* parameter." msgstr "" -#: library/asyncio-eventloop.rst:214 +#: library/asyncio-eventloop.rst:216 msgid "Scheduling callbacks" msgstr "" -#: library/asyncio-eventloop.rst:218 +#: library/asyncio-eventloop.rst:220 msgid "" "Schedule the *callback* :term:`callback` to be called with *args* arguments " "at the next iteration of the event loop." msgstr "" -#: library/asyncio-eventloop.rst:221 +#: library/asyncio-eventloop.rst:223 msgid "" "Return an instance of :class:`asyncio.Handle`, which can be used later to " "cancel the callback." msgstr "" -#: library/asyncio-eventloop.rst:224 +#: library/asyncio-eventloop.rst:226 msgid "" "Callbacks are called in the order in which they are registered. Each " "callback will be called exactly once." msgstr "" -#: library/asyncio-eventloop.rst:227 +#: library/asyncio-eventloop.rst:229 msgid "" "The optional keyword-only *context* argument specifies a custom :class:" "`contextvars.Context` for the *callback* to run in. Callbacks use the " "current context when no *context* is provided." msgstr "" -#: library/asyncio-eventloop.rst:231 +#: library/asyncio-eventloop.rst:233 msgid "Unlike :meth:`call_soon_threadsafe`, this method is not thread-safe." msgstr "" -#: library/asyncio-eventloop.rst:235 +#: library/asyncio-eventloop.rst:237 msgid "" "A thread-safe variant of :meth:`call_soon`. When scheduling callbacks from " "another thread, this function *must* be used, since :meth:`call_soon` is not " "thread-safe." msgstr "" -#: library/asyncio-eventloop.rst:239 +#: library/asyncio-eventloop.rst:241 msgid "" "This function is safe to be called from a reentrant context or signal " "handler, however, it is not safe or fruitful to use the returned handle in " "such contexts." msgstr "" -#: library/asyncio-eventloop.rst:242 +#: library/asyncio-eventloop.rst:244 msgid "" "Raises :exc:`RuntimeError` if called on a loop that's been closed. This can " "happen on a secondary thread when the main application is shutting down." msgstr "" -#: library/asyncio-eventloop.rst:246 +#: library/asyncio-eventloop.rst:248 msgid "" "See the :ref:`concurrency and multithreading ` " "section of the documentation." msgstr "" -#: library/asyncio-eventloop.rst:249 library/asyncio-eventloop.rst:299 -#: library/asyncio-eventloop.rst:319 +#: library/asyncio-eventloop.rst:251 library/asyncio-eventloop.rst:301 +#: library/asyncio-eventloop.rst:321 msgid "" "The *context* keyword-only parameter was added. See :pep:`567` for more " "details." msgstr "" -#: library/asyncio-eventloop.rst:257 +#: library/asyncio-eventloop.rst:259 msgid "" "Most :mod:`asyncio` scheduling functions don't allow passing keyword " "arguments. To do that, use :func:`functools.partial`::" msgstr "" -#: library/asyncio-eventloop.rst:260 +#: library/asyncio-eventloop.rst:262 msgid "" "# will schedule \"print(\"Hello\", flush=True)\"\n" "loop.call_soon(\n" " functools.partial(print, \"Hello\", flush=True))" msgstr "" -#: library/asyncio-eventloop.rst:264 +#: library/asyncio-eventloop.rst:266 msgid "" "Using partial objects is usually more convenient than using lambdas, as " "asyncio can render partial objects better in debug and error messages." msgstr "" -#: library/asyncio-eventloop.rst:272 +#: library/asyncio-eventloop.rst:274 msgid "Scheduling delayed callbacks" msgstr "" -#: library/asyncio-eventloop.rst:274 +#: library/asyncio-eventloop.rst:276 msgid "" "Event loop provides mechanisms to schedule callback functions to be called " "at some point in the future. Event loop uses monotonic clocks to track time." msgstr "" -#: library/asyncio-eventloop.rst:281 +#: library/asyncio-eventloop.rst:283 msgid "" "Schedule *callback* to be called after the given *delay* number of seconds " "(can be either an int or a float)." msgstr "" -#: library/asyncio-eventloop.rst:284 library/asyncio-eventloop.rst:316 +#: library/asyncio-eventloop.rst:286 library/asyncio-eventloop.rst:318 msgid "" "An instance of :class:`asyncio.TimerHandle` is returned which can be used to " "cancel the callback." msgstr "" -#: library/asyncio-eventloop.rst:287 +#: library/asyncio-eventloop.rst:289 msgid "" "*callback* will be called exactly once. If two callbacks are scheduled for " "exactly the same time, the order in which they are called is undefined." msgstr "" -#: library/asyncio-eventloop.rst:291 +#: library/asyncio-eventloop.rst:293 msgid "" "The optional positional *args* will be passed to the callback when it is " "called. If you want the callback to be called with keyword arguments use :" "func:`functools.partial`." msgstr "" -#: library/asyncio-eventloop.rst:295 +#: library/asyncio-eventloop.rst:297 msgid "" "An optional keyword-only *context* argument allows specifying a custom :" "class:`contextvars.Context` for the *callback* to run in. The current " "context is used when no *context* is provided." msgstr "" -#: library/asyncio-eventloop.rst:303 +#: library/asyncio-eventloop.rst:305 msgid "" "In Python 3.7 and earlier with the default event loop implementation, the " "*delay* could not exceed one day. This has been fixed in Python 3.8." msgstr "" -#: library/asyncio-eventloop.rst:310 +#: library/asyncio-eventloop.rst:312 msgid "" "Schedule *callback* to be called at the given absolute timestamp *when* (an " "int or a float), using the same time reference as :meth:`loop.time`." msgstr "" -#: library/asyncio-eventloop.rst:314 +#: library/asyncio-eventloop.rst:316 msgid "This method's behavior is the same as :meth:`call_later`." msgstr "" -#: library/asyncio-eventloop.rst:323 +#: library/asyncio-eventloop.rst:325 msgid "" "In Python 3.7 and earlier with the default event loop implementation, the " "difference between *when* and the current time could not exceed one day. " "This has been fixed in Python 3.8." msgstr "" -#: library/asyncio-eventloop.rst:330 +#: library/asyncio-eventloop.rst:332 msgid "" "Return the current time, as a :class:`float` value, according to the event " "loop's internal monotonic clock." msgstr "" -#: library/asyncio-eventloop.rst:334 +#: library/asyncio-eventloop.rst:336 msgid "" "In Python 3.7 and earlier timeouts (relative *delay* or absolute *when*) " "should not exceed one day. This has been fixed in Python 3.8." msgstr "" -#: library/asyncio-eventloop.rst:340 +#: library/asyncio-eventloop.rst:342 msgid "The :func:`asyncio.sleep` function." msgstr "" -#: library/asyncio-eventloop.rst:344 +#: library/asyncio-eventloop.rst:346 msgid "Creating Futures and Tasks" msgstr "" -#: library/asyncio-eventloop.rst:348 +#: library/asyncio-eventloop.rst:350 msgid "Create an :class:`asyncio.Future` object attached to the event loop." msgstr "" -#: library/asyncio-eventloop.rst:350 +#: library/asyncio-eventloop.rst:352 msgid "" "This is the preferred way to create Futures in asyncio. This lets third-" "party event loops provide alternative implementations of the Future object " "(with better performance or instrumentation)." msgstr "" -#: library/asyncio-eventloop.rst:358 +#: library/asyncio-eventloop.rst:360 msgid "" "Schedule the execution of :ref:`coroutine ` *coro*. Return a :" "class:`Task` object." msgstr "" -#: library/asyncio-eventloop.rst:361 +#: library/asyncio-eventloop.rst:363 msgid "" "Third-party event loops can use their own subclass of :class:`Task` for " "interoperability. In this case, the result type is a subclass of :class:" "`Task`." msgstr "" -#: library/asyncio-eventloop.rst:365 +#: library/asyncio-eventloop.rst:367 msgid "" "If the *name* argument is provided and not ``None``, it is set as the name " "of the task using :meth:`Task.set_name`." msgstr "" -#: library/asyncio-eventloop.rst:368 +#: library/asyncio-eventloop.rst:370 msgid "" "An optional keyword-only *context* argument allows specifying a custom :" "class:`contextvars.Context` for the *coro* to run in. The current context " "copy is created when no *context* is provided." msgstr "" -#: library/asyncio-eventloop.rst:372 +#: library/asyncio-eventloop.rst:374 msgid "Added the *name* parameter." msgstr "" -#: library/asyncio-eventloop.rst:375 +#: library/asyncio-eventloop.rst:377 msgid "Added the *context* parameter." msgstr "" -#: library/asyncio-eventloop.rst:380 +#: library/asyncio-eventloop.rst:382 msgid "Set a task factory that will be used by :meth:`loop.create_task`." msgstr "" -#: library/asyncio-eventloop.rst:383 +#: library/asyncio-eventloop.rst:385 msgid "" "If *factory* is ``None`` the default task factory will be set. Otherwise, " "*factory* must be a *callable* with the signature matching ``(loop, coro, " @@ -527,80 +527,80 @@ msgid "" "Future`-compatible object." msgstr "" -#: library/asyncio-eventloop.rst:391 +#: library/asyncio-eventloop.rst:393 msgid "Return a task factory or ``None`` if the default one is in use." msgstr "" -#: library/asyncio-eventloop.rst:395 +#: library/asyncio-eventloop.rst:397 msgid "Opening network connections" msgstr "" -#: library/asyncio-eventloop.rst:406 +#: library/asyncio-eventloop.rst:409 msgid "" "Open a streaming transport connection to a given address specified by *host* " "and *port*." msgstr "" -#: library/asyncio-eventloop.rst:409 +#: library/asyncio-eventloop.rst:412 msgid "" "The socket family can be either :py:const:`~socket.AF_INET` or :py:const:" "`~socket.AF_INET6` depending on *host* (or the *family* argument, if " "provided)." msgstr "" -#: library/asyncio-eventloop.rst:413 +#: library/asyncio-eventloop.rst:416 msgid "The socket type will be :py:const:`~socket.SOCK_STREAM`." msgstr "" -#: library/asyncio-eventloop.rst:415 library/asyncio-eventloop.rst:1173 -#: library/asyncio-eventloop.rst:1189 +#: library/asyncio-eventloop.rst:418 library/asyncio-eventloop.rst:1195 +#: library/asyncio-eventloop.rst:1212 msgid "" "*protocol_factory* must be a callable returning an :ref:`asyncio protocol " "` implementation." msgstr "" -#: library/asyncio-eventloop.rst:418 +#: library/asyncio-eventloop.rst:421 msgid "" "This method will try to establish the connection in the background. When " "successful, it returns a ``(transport, protocol)`` pair." msgstr "" -#: library/asyncio-eventloop.rst:421 +#: library/asyncio-eventloop.rst:424 msgid "The chronological synopsis of the underlying operation is as follows:" msgstr "" -#: library/asyncio-eventloop.rst:423 +#: library/asyncio-eventloop.rst:426 msgid "" "The connection is established and a :ref:`transport ` is " "created for it." msgstr "" -#: library/asyncio-eventloop.rst:426 +#: library/asyncio-eventloop.rst:429 msgid "" "*protocol_factory* is called without arguments and is expected to return a :" "ref:`protocol ` instance." msgstr "" -#: library/asyncio-eventloop.rst:429 +#: library/asyncio-eventloop.rst:432 msgid "" "The protocol instance is coupled with the transport by calling its :meth:" "`~BaseProtocol.connection_made` method." msgstr "" -#: library/asyncio-eventloop.rst:432 +#: library/asyncio-eventloop.rst:435 msgid "A ``(transport, protocol)`` tuple is returned on success." msgstr "" -#: library/asyncio-eventloop.rst:434 +#: library/asyncio-eventloop.rst:437 msgid "" "The created transport is an implementation-dependent bidirectional stream." msgstr "" -#: library/asyncio-eventloop.rst:437 library/asyncio-eventloop.rst:569 +#: library/asyncio-eventloop.rst:440 library/asyncio-eventloop.rst:573 msgid "Other arguments:" msgstr "" -#: library/asyncio-eventloop.rst:439 +#: library/asyncio-eventloop.rst:442 msgid "" "*ssl*: if given and not false, a SSL/TLS transport is created (by default a " "plain TCP transport is created). If *ssl* is a :class:`ssl.SSLContext` " @@ -609,11 +609,11 @@ msgid "" "is used." msgstr "" -#: library/asyncio-eventloop.rst:445 +#: library/asyncio-eventloop.rst:448 msgid ":ref:`SSL/TLS security considerations `" msgstr "" -#: library/asyncio-eventloop.rst:447 +#: library/asyncio-eventloop.rst:450 msgid "" "*server_hostname* sets or overrides the hostname that the target server's " "certificate will be matched against. Should only be passed if *ssl* is not " @@ -624,7 +624,7 @@ msgid "" "potential man-in-the-middle attacks)." msgstr "" -#: library/asyncio-eventloop.rst:455 +#: library/asyncio-eventloop.rst:458 msgid "" "*family*, *proto*, *flags* are the optional address family, protocol and " "flags to be passed through to getaddrinfo() for *host* resolution. If given, " @@ -632,7 +632,7 @@ msgid "" "constants." msgstr "" -#: library/asyncio-eventloop.rst:460 +#: library/asyncio-eventloop.rst:463 msgid "" "*happy_eyeballs_delay*, if given, enables Happy Eyeballs for this " "connection. It should be a floating-point number representing the amount of " @@ -642,7 +642,7 @@ msgid "" "the RFC is ``0.25`` (250 milliseconds)." msgstr "" -#: library/asyncio-eventloop.rst:468 +#: library/asyncio-eventloop.rst:471 msgid "" "*interleave* controls address reordering when a host name resolves to " "multiple IP addresses. If ``0`` or unspecified, no reordering is done, and " @@ -653,7 +653,7 @@ msgid "" "*happy_eyeballs_delay* is not specified, and ``1`` if it is." msgstr "" -#: library/asyncio-eventloop.rst:477 +#: library/asyncio-eventloop.rst:480 msgid "" "*sock*, if given, should be an existing, already connected :class:`socket." "socket` object to be used by the transport. If *sock* is given, none of " @@ -661,37 +661,37 @@ msgid "" "*interleave* and *local_addr* should be specified." msgstr "" -#: library/asyncio-eventloop.rst:485 library/asyncio-eventloop.rst:600 -#: library/asyncio-eventloop.rst:828 +#: library/asyncio-eventloop.rst:488 library/asyncio-eventloop.rst:604 +#: library/asyncio-eventloop.rst:836 msgid "" "The *sock* argument transfers ownership of the socket to the transport " "created. To close the socket, call the transport's :meth:`~asyncio." "BaseTransport.close` method." msgstr "" -#: library/asyncio-eventloop.rst:489 +#: library/asyncio-eventloop.rst:492 msgid "" "*local_addr*, if given, is a ``(local_host, local_port)`` tuple used to bind " "the socket locally. The *local_host* and *local_port* are looked up using " "``getaddrinfo()``, similarly to *host* and *port*." msgstr "" -#: library/asyncio-eventloop.rst:493 library/asyncio-eventloop.rst:922 +#: library/asyncio-eventloop.rst:496 library/asyncio-eventloop.rst:932 msgid "" "*ssl_handshake_timeout* is (for a TLS connection) the time in seconds to " "wait for the TLS handshake to complete before aborting the connection. " "``60.0`` seconds if ``None`` (default)." msgstr "" -#: library/asyncio-eventloop.rst:497 library/asyncio-eventloop.rst:745 -#: library/asyncio-eventloop.rst:839 library/asyncio-eventloop.rst:926 +#: library/asyncio-eventloop.rst:500 library/asyncio-eventloop.rst:751 +#: library/asyncio-eventloop.rst:847 library/asyncio-eventloop.rst:936 msgid "" "*ssl_shutdown_timeout* is the time in seconds to wait for the SSL shutdown " "to complete before aborting the connection. ``30.0`` seconds if ``None`` " "(default)." msgstr "" -#: library/asyncio-eventloop.rst:501 +#: library/asyncio-eventloop.rst:504 msgid "" "*all_errors* determines what exceptions are raised when a connection cannot " "be created. By default, only a single ``Exception`` is raised: the first " @@ -701,25 +701,25 @@ msgid "" "(even if there is only one)." msgstr "" -#: library/asyncio-eventloop.rst:511 library/asyncio-eventloop.rst:757 +#: library/asyncio-eventloop.rst:514 library/asyncio-eventloop.rst:763 msgid "Added support for SSL/TLS in :class:`ProactorEventLoop`." msgstr "" -#: library/asyncio-eventloop.rst:515 +#: library/asyncio-eventloop.rst:518 msgid "" "The socket option :ref:`socket.TCP_NODELAY ` is set " "by default for all TCP connections." msgstr "" -#: library/asyncio-eventloop.rst:520 library/asyncio-eventloop.rst:849 +#: library/asyncio-eventloop.rst:523 library/asyncio-eventloop.rst:857 msgid "Added the *ssl_handshake_timeout* parameter." msgstr "" -#: library/asyncio-eventloop.rst:524 +#: library/asyncio-eventloop.rst:527 msgid "Added the *happy_eyeballs_delay* and *interleave* parameters." msgstr "" -#: library/asyncio-eventloop.rst:526 +#: library/asyncio-eventloop.rst:529 msgid "" "Happy Eyeballs Algorithm: Success with Dual-Stack Hosts. When a server's " "IPv4 path and protocol are working, but the server's IPv6 path and protocol " @@ -730,68 +730,68 @@ msgid "" "visible delay and provides an algorithm." msgstr "" -#: library/asyncio-eventloop.rst:535 +#: library/asyncio-eventloop.rst:538 msgid "For more information: https://datatracker.ietf.org/doc/html/rfc6555" msgstr "" -#: library/asyncio-eventloop.rst:539 library/asyncio-eventloop.rst:663 -#: library/asyncio-eventloop.rst:771 library/asyncio-eventloop.rst:806 -#: library/asyncio-eventloop.rst:853 library/asyncio-eventloop.rst:934 +#: library/asyncio-eventloop.rst:542 library/asyncio-eventloop.rst:668 +#: library/asyncio-eventloop.rst:777 library/asyncio-eventloop.rst:813 +#: library/asyncio-eventloop.rst:861 library/asyncio-eventloop.rst:944 msgid "Added the *ssl_shutdown_timeout* parameter." msgstr "" -#: library/asyncio-eventloop.rst:541 +#: library/asyncio-eventloop.rst:544 msgid "*all_errors* was added." msgstr "" -#: library/asyncio-eventloop.rst:546 +#: library/asyncio-eventloop.rst:549 msgid "" "The :func:`open_connection` function is a high-level alternative API. It " "returns a pair of (:class:`StreamReader`, :class:`StreamWriter`) that can be " "used directly in async/await code." msgstr "" -#: library/asyncio-eventloop.rst:556 +#: library/asyncio-eventloop.rst:560 msgid "Create a datagram connection." msgstr "" -#: library/asyncio-eventloop.rst:558 +#: library/asyncio-eventloop.rst:562 msgid "" "The socket family can be either :py:const:`~socket.AF_INET`, :py:const:" "`~socket.AF_INET6`, or :py:const:`~socket.AF_UNIX`, depending on *host* (or " "the *family* argument, if provided)." msgstr "" -#: library/asyncio-eventloop.rst:562 +#: library/asyncio-eventloop.rst:566 msgid "The socket type will be :py:const:`~socket.SOCK_DGRAM`." msgstr "" -#: library/asyncio-eventloop.rst:564 library/asyncio-eventloop.rst:688 -#: library/asyncio-eventloop.rst:820 +#: library/asyncio-eventloop.rst:568 library/asyncio-eventloop.rst:694 +#: library/asyncio-eventloop.rst:828 msgid "" "*protocol_factory* must be a callable returning a :ref:`protocol ` implementation." msgstr "" -#: library/asyncio-eventloop.rst:567 library/asyncio-eventloop.rst:645 +#: library/asyncio-eventloop.rst:571 library/asyncio-eventloop.rst:650 msgid "A tuple of ``(transport, protocol)`` is returned on success." msgstr "" -#: library/asyncio-eventloop.rst:571 +#: library/asyncio-eventloop.rst:575 msgid "" "*local_addr*, if given, is a ``(local_host, local_port)`` tuple used to bind " "the socket locally. The *local_host* and *local_port* are looked up using :" "meth:`getaddrinfo`." msgstr "" -#: library/asyncio-eventloop.rst:575 +#: library/asyncio-eventloop.rst:579 msgid "" "*remote_addr*, if given, is a ``(remote_host, remote_port)`` tuple used to " "connect the socket to a remote address. The *remote_host* and *remote_port* " "are looked up using :meth:`getaddrinfo`." msgstr "" -#: library/asyncio-eventloop.rst:579 +#: library/asyncio-eventloop.rst:583 msgid "" "*family*, *proto*, *flags* are the optional address family, protocol and " "flags to be passed through to :meth:`getaddrinfo` for *host* resolution. If " @@ -799,7 +799,7 @@ msgid "" "module constants." msgstr "" -#: library/asyncio-eventloop.rst:584 +#: library/asyncio-eventloop.rst:588 msgid "" "*reuse_port* tells the kernel to allow this endpoint to be bound to the same " "port as other existing endpoints are bound to, so long as they all set this " @@ -808,13 +808,13 @@ msgid "" "is not defined then this capability is unsupported." msgstr "" -#: library/asyncio-eventloop.rst:590 +#: library/asyncio-eventloop.rst:594 msgid "" "*allow_broadcast* tells the kernel to allow this endpoint to send messages " "to the broadcast address." msgstr "" -#: library/asyncio-eventloop.rst:593 +#: library/asyncio-eventloop.rst:597 msgid "" "*sock* can optionally be specified in order to use a preexisting, already " "connected, :class:`socket.socket` object to be used by the transport. If " @@ -822,37 +822,37 @@ msgid "" "`None`)." msgstr "" -#: library/asyncio-eventloop.rst:604 +#: library/asyncio-eventloop.rst:608 msgid "" "See :ref:`UDP echo client protocol ` and :" "ref:`UDP echo server protocol ` examples." msgstr "" -#: library/asyncio-eventloop.rst:607 +#: library/asyncio-eventloop.rst:611 msgid "" "The *family*, *proto*, *flags*, *reuse_address*, *reuse_port*, " "*allow_broadcast*, and *sock* parameters were added." msgstr "" -#: library/asyncio-eventloop.rst:611 +#: library/asyncio-eventloop.rst:615 msgid "Added support for Windows." msgstr "" -#: library/asyncio-eventloop.rst:614 +#: library/asyncio-eventloop.rst:618 msgid "" "The *reuse_address* parameter is no longer supported, as using :ref:`socket." "SO_REUSEADDR ` poses a significant security concern " "for UDP. Explicitly passing ``reuse_address=True`` will raise an exception." msgstr "" -#: library/asyncio-eventloop.rst:620 +#: library/asyncio-eventloop.rst:624 msgid "" "When multiple processes with differing UIDs assign sockets to an identical " "UDP socket address with ``SO_REUSEADDR``, incoming packets can become " "randomly distributed among the sockets." msgstr "" -#: library/asyncio-eventloop.rst:624 +#: library/asyncio-eventloop.rst:628 msgid "" "For supported platforms, *reuse_port* can be used as a replacement for " "similar functionality. With *reuse_port*, :ref:`socket.SO_REUSEPORT ` is set by default " "for all TCP connections." msgstr "" -#: library/asyncio-eventloop.rst:775 +#: library/asyncio-eventloop.rst:781 msgid "" "The :func:`start_server` function is a higher-level alternative API that " "returns a pair of :class:`StreamReader` and :class:`StreamWriter` that can " "be used in an async/await code." msgstr "" -#: library/asyncio-eventloop.rst:786 +#: library/asyncio-eventloop.rst:793 msgid "" "Similar to :meth:`loop.create_server` but works with the :py:const:`~socket." "AF_UNIX` socket family." msgstr "" -#: library/asyncio-eventloop.rst:789 +#: library/asyncio-eventloop.rst:796 msgid "" "*path* is the name of a Unix domain socket, and is required, unless a *sock* " "argument is provided. Abstract Unix sockets, :class:`str`, :class:`bytes`, " "and :class:`~pathlib.Path` paths are supported." msgstr "" -#: library/asyncio-eventloop.rst:794 +#: library/asyncio-eventloop.rst:801 msgid "" "See the documentation of the :meth:`loop.create_server` method for " "information about arguments to this method." msgstr "" -#: library/asyncio-eventloop.rst:801 +#: library/asyncio-eventloop.rst:808 msgid "" "Added the *ssl_handshake_timeout* and *start_serving* parameters. The *path* " "parameter can now be a :class:`~pathlib.Path` object." msgstr "" -#: library/asyncio-eventloop.rst:813 +#: library/asyncio-eventloop.rst:821 msgid "Wrap an already accepted connection into a transport/protocol pair." msgstr "" -#: library/asyncio-eventloop.rst:815 +#: library/asyncio-eventloop.rst:823 msgid "" "This method can be used by servers that accept connections outside of " "asyncio but that use asyncio to handle them." msgstr "" -#: library/asyncio-eventloop.rst:818 library/asyncio-eventloop.rst:908 +#: library/asyncio-eventloop.rst:826 library/asyncio-eventloop.rst:918 msgid "Parameters:" msgstr "" -#: library/asyncio-eventloop.rst:823 +#: library/asyncio-eventloop.rst:831 msgid "" "*sock* is a preexisting socket object returned from :meth:`socket.accept " "`." msgstr "" -#: library/asyncio-eventloop.rst:832 +#: library/asyncio-eventloop.rst:840 msgid "" "*ssl* can be set to an :class:`~ssl.SSLContext` to enable SSL over the " "accepted connections." msgstr "" -#: library/asyncio-eventloop.rst:835 +#: library/asyncio-eventloop.rst:843 msgid "" "*ssl_handshake_timeout* is (for an SSL connection) the time in seconds to " "wait for the SSL handshake to complete before aborting the connection. " "``60.0`` seconds if ``None`` (default)." msgstr "" -#: library/asyncio-eventloop.rst:843 +#: library/asyncio-eventloop.rst:851 msgid "Returns a ``(transport, protocol)`` pair." msgstr "" -#: library/asyncio-eventloop.rst:857 +#: library/asyncio-eventloop.rst:865 msgid "Transferring files" msgstr "" -#: library/asyncio-eventloop.rst:862 +#: library/asyncio-eventloop.rst:871 msgid "" "Send a *file* over a *transport*. Return the total number of bytes sent." msgstr "" -#: library/asyncio-eventloop.rst:865 +#: library/asyncio-eventloop.rst:874 msgid "The method uses high-performance :meth:`os.sendfile` if available." msgstr "" -#: library/asyncio-eventloop.rst:867 +#: library/asyncio-eventloop.rst:876 msgid "*file* must be a regular file object opened in binary mode." msgstr "" -#: library/asyncio-eventloop.rst:869 library/asyncio-eventloop.rst:1120 +#: library/asyncio-eventloop.rst:878 library/asyncio-eventloop.rst:1139 msgid "" "*offset* tells from where to start reading the file. If specified, *count* " "is the total number of bytes to transmit as opposed to sending the file " @@ -1122,35 +1122,35 @@ msgid "" "obtain the actual number of bytes sent." msgstr "" -#: library/asyncio-eventloop.rst:876 +#: library/asyncio-eventloop.rst:885 msgid "" "*fallback* set to ``True`` makes asyncio to manually read and send the file " "when the platform does not support the sendfile system call (e.g. Windows or " "SSL socket on Unix)." msgstr "" -#: library/asyncio-eventloop.rst:880 +#: library/asyncio-eventloop.rst:889 msgid "" "Raise :exc:`SendfileNotAvailableError` if the system does not support the " "*sendfile* syscall and *fallback* is ``False``." msgstr "" -#: library/asyncio-eventloop.rst:887 +#: library/asyncio-eventloop.rst:896 msgid "TLS Upgrade" msgstr "" -#: library/asyncio-eventloop.rst:894 +#: library/asyncio-eventloop.rst:904 msgid "Upgrade an existing transport-based connection to TLS." msgstr "" -#: library/asyncio-eventloop.rst:896 +#: library/asyncio-eventloop.rst:906 msgid "" "Create a TLS coder/decoder instance and insert it between the *transport* " "and the *protocol*. The coder/decoder implements both *transport*-facing " "protocol and *protocol*-facing transport." msgstr "" -#: library/asyncio-eventloop.rst:900 +#: library/asyncio-eventloop.rst:910 msgid "" "Return the created two-interface instance. After *await*, the *protocol* " "must stop using the original *transport* and communicate with the returned " @@ -1158,85 +1158,85 @@ msgid "" "exchanges extra TLS session packets with *transport*." msgstr "" -#: library/asyncio-eventloop.rst:905 +#: library/asyncio-eventloop.rst:915 msgid "" "In some situations (e.g. when the passed transport is already closing) this " "may return ``None``." msgstr "" -#: library/asyncio-eventloop.rst:910 +#: library/asyncio-eventloop.rst:920 msgid "" "*transport* and *protocol* instances that methods like :meth:`~loop." "create_server` and :meth:`~loop.create_connection` return." msgstr "" -#: library/asyncio-eventloop.rst:914 +#: library/asyncio-eventloop.rst:924 msgid "*sslcontext*: a configured instance of :class:`~ssl.SSLContext`." msgstr "" -#: library/asyncio-eventloop.rst:916 +#: library/asyncio-eventloop.rst:926 msgid "" "*server_side* pass ``True`` when a server-side connection is being upgraded " "(like the one created by :meth:`~loop.create_server`)." msgstr "" -#: library/asyncio-eventloop.rst:919 +#: library/asyncio-eventloop.rst:929 msgid "" "*server_hostname*: sets or overrides the host name that the target server's " "certificate will be matched against." msgstr "" -#: library/asyncio-eventloop.rst:939 +#: library/asyncio-eventloop.rst:949 msgid "Watching file descriptors" msgstr "" -#: library/asyncio-eventloop.rst:943 +#: library/asyncio-eventloop.rst:953 msgid "" "Start monitoring the *fd* file descriptor for read availability and invoke " "*callback* with the specified arguments once *fd* is available for reading." msgstr "" -#: library/asyncio-eventloop.rst:947 library/asyncio-eventloop.rst:961 +#: library/asyncio-eventloop.rst:957 library/asyncio-eventloop.rst:971 msgid "" "Any preexisting callback registered for *fd* is cancelled and replaced by " "*callback*." msgstr "" -#: library/asyncio-eventloop.rst:952 +#: library/asyncio-eventloop.rst:962 msgid "" "Stop monitoring the *fd* file descriptor for read availability. Returns " "``True`` if *fd* was previously being monitored for reads." msgstr "" -#: library/asyncio-eventloop.rst:957 +#: library/asyncio-eventloop.rst:967 msgid "" "Start monitoring the *fd* file descriptor for write availability and invoke " "*callback* with the specified arguments once *fd* is available for writing." msgstr "" -#: library/asyncio-eventloop.rst:964 library/asyncio-eventloop.rst:1229 +#: library/asyncio-eventloop.rst:974 library/asyncio-eventloop.rst:1252 msgid "" "Use :func:`functools.partial` :ref:`to pass keyword arguments ` to *callback*." msgstr "" -#: library/asyncio-eventloop.rst:969 +#: library/asyncio-eventloop.rst:979 msgid "" "Stop monitoring the *fd* file descriptor for write availability. Returns " "``True`` if *fd* was previously being monitored for writes." msgstr "" -#: library/asyncio-eventloop.rst:972 +#: library/asyncio-eventloop.rst:982 msgid "" "See also :ref:`Platform Support ` section for some " "limitations of these methods." msgstr "" -#: library/asyncio-eventloop.rst:977 +#: library/asyncio-eventloop.rst:987 msgid "Working with socket objects directly" msgstr "" -#: library/asyncio-eventloop.rst:979 +#: library/asyncio-eventloop.rst:989 msgid "" "In general, protocol implementations that use transport-based APIs such as :" "meth:`loop.create_connection` and :meth:`loop.create_server` are faster than " @@ -1245,68 +1245,68 @@ msgid "" "socket` objects directly is more convenient." msgstr "" -#: library/asyncio-eventloop.rst:988 +#: library/asyncio-eventloop.rst:999 msgid "" "Receive up to *nbytes* from *sock*. Asynchronous version of :meth:`socket." "recv() `." msgstr "" -#: library/asyncio-eventloop.rst:991 +#: library/asyncio-eventloop.rst:1002 msgid "Return the received data as a bytes object." msgstr "" -#: library/asyncio-eventloop.rst:993 library/asyncio-eventloop.rst:1007 -#: library/asyncio-eventloop.rst:1018 library/asyncio-eventloop.rst:1030 -#: library/asyncio-eventloop.rst:1045 library/asyncio-eventloop.rst:1060 -#: library/asyncio-eventloop.rst:1070 library/asyncio-eventloop.rst:1096 -#: library/asyncio-eventloop.rst:1134 +#: library/asyncio-eventloop.rst:1004 library/asyncio-eventloop.rst:1019 +#: library/asyncio-eventloop.rst:1031 library/asyncio-eventloop.rst:1044 +#: library/asyncio-eventloop.rst:1060 library/asyncio-eventloop.rst:1076 +#: library/asyncio-eventloop.rst:1087 library/asyncio-eventloop.rst:1114 +#: library/asyncio-eventloop.rst:1153 msgid "*sock* must be a non-blocking socket." msgstr "" -#: library/asyncio-eventloop.rst:995 +#: library/asyncio-eventloop.rst:1006 msgid "" "Even though this method was always documented as a coroutine method, " "releases before Python 3.7 returned a :class:`Future`. Since Python 3.7 this " "is an ``async def`` method." msgstr "" -#: library/asyncio-eventloop.rst:1002 +#: library/asyncio-eventloop.rst:1014 msgid "" "Receive data from *sock* into the *buf* buffer. Modeled after the blocking :" "meth:`socket.recv_into() ` method." msgstr "" -#: library/asyncio-eventloop.rst:1005 +#: library/asyncio-eventloop.rst:1017 msgid "Return the number of bytes written to the buffer." msgstr "" -#: library/asyncio-eventloop.rst:1013 +#: library/asyncio-eventloop.rst:1026 msgid "" "Receive a datagram of up to *bufsize* from *sock*. Asynchronous version of :" "meth:`socket.recvfrom() `." msgstr "" -#: library/asyncio-eventloop.rst:1016 +#: library/asyncio-eventloop.rst:1029 msgid "Return a tuple of (received data, remote address)." msgstr "" -#: library/asyncio-eventloop.rst:1024 +#: library/asyncio-eventloop.rst:1038 msgid "" "Receive a datagram of up to *nbytes* from *sock* into *buf*. Asynchronous " "version of :meth:`socket.recvfrom_into() `." msgstr "" -#: library/asyncio-eventloop.rst:1028 +#: library/asyncio-eventloop.rst:1042 msgid "Return a tuple of (number of bytes received, remote address)." msgstr "" -#: library/asyncio-eventloop.rst:1036 +#: library/asyncio-eventloop.rst:1051 msgid "" "Send *data* to the *sock* socket. Asynchronous version of :meth:`socket." "sendall() `." msgstr "" -#: library/asyncio-eventloop.rst:1039 +#: library/asyncio-eventloop.rst:1054 msgid "" "This method continues to send to the socket until either all data in *data* " "has been sent or an error occurs. ``None`` is returned on success. On " @@ -1315,33 +1315,33 @@ msgid "" "the connection." msgstr "" -#: library/asyncio-eventloop.rst:1047 library/asyncio-eventloop.rst:1098 +#: library/asyncio-eventloop.rst:1062 library/asyncio-eventloop.rst:1116 msgid "" "Even though the method was always documented as a coroutine method, before " "Python 3.7 it returned a :class:`Future`. Since Python 3.7, this is an " "``async def`` method." msgstr "" -#: library/asyncio-eventloop.rst:1054 +#: library/asyncio-eventloop.rst:1070 msgid "" "Send a datagram from *sock* to *address*. Asynchronous version of :meth:" "`socket.sendto() `." msgstr "" -#: library/asyncio-eventloop.rst:1058 +#: library/asyncio-eventloop.rst:1074 msgid "Return the number of bytes sent." msgstr "" -#: library/asyncio-eventloop.rst:1066 +#: library/asyncio-eventloop.rst:1083 msgid "Connect *sock* to a remote socket at *address*." msgstr "" -#: library/asyncio-eventloop.rst:1068 +#: library/asyncio-eventloop.rst:1085 msgid "" "Asynchronous version of :meth:`socket.connect() `." msgstr "" -#: library/asyncio-eventloop.rst:1072 +#: library/asyncio-eventloop.rst:1089 msgid "" "``address`` no longer needs to be resolved. ``sock_connect`` will try to " "check if the *address* is already resolved by calling :func:`socket." @@ -1349,19 +1349,19 @@ msgid "" "*address*." msgstr "" -#: library/asyncio-eventloop.rst:1081 +#: library/asyncio-eventloop.rst:1098 msgid "" ":meth:`loop.create_connection` and :func:`asyncio.open_connection() " "`." msgstr "" -#: library/asyncio-eventloop.rst:1087 +#: library/asyncio-eventloop.rst:1105 msgid "" "Accept a connection. Modeled after the blocking :meth:`socket.accept() " "` method." msgstr "" -#: library/asyncio-eventloop.rst:1090 +#: library/asyncio-eventloop.rst:1108 msgid "" "The socket must be bound to an address and listening for connections. The " "return value is a pair ``(conn, address)`` where *conn* is a *new* socket " @@ -1369,57 +1369,57 @@ msgid "" "the address bound to the socket on the other end of the connection." msgstr "" -#: library/asyncio-eventloop.rst:1105 +#: library/asyncio-eventloop.rst:1123 msgid ":meth:`loop.create_server` and :func:`start_server`." msgstr "" -#: library/asyncio-eventloop.rst:1110 +#: library/asyncio-eventloop.rst:1129 msgid "" "Send a file using high-performance :mod:`os.sendfile` if possible. Return " "the total number of bytes sent." msgstr "" -#: library/asyncio-eventloop.rst:1113 +#: library/asyncio-eventloop.rst:1132 msgid "" "Asynchronous version of :meth:`socket.sendfile() `." msgstr "" -#: library/asyncio-eventloop.rst:1115 +#: library/asyncio-eventloop.rst:1134 msgid "" "*sock* must be a non-blocking :const:`socket.SOCK_STREAM` :class:`~socket." "socket`." msgstr "" -#: library/asyncio-eventloop.rst:1118 +#: library/asyncio-eventloop.rst:1137 msgid "*file* must be a regular file object open in binary mode." msgstr "" -#: library/asyncio-eventloop.rst:1127 +#: library/asyncio-eventloop.rst:1146 msgid "" "*fallback*, when set to ``True``, makes asyncio manually read and send the " "file when the platform does not support the sendfile syscall (e.g. Windows " "or SSL socket on Unix)." msgstr "" -#: library/asyncio-eventloop.rst:1131 +#: library/asyncio-eventloop.rst:1150 msgid "" "Raise :exc:`SendfileNotAvailableError` if the system does not support " "*sendfile* syscall and *fallback* is ``False``." msgstr "" -#: library/asyncio-eventloop.rst:1140 +#: library/asyncio-eventloop.rst:1159 msgid "DNS" msgstr "" -#: library/asyncio-eventloop.rst:1145 +#: library/asyncio-eventloop.rst:1165 msgid "Asynchronous version of :meth:`socket.getaddrinfo`." msgstr "" -#: library/asyncio-eventloop.rst:1149 +#: library/asyncio-eventloop.rst:1170 msgid "Asynchronous version of :meth:`socket.getnameinfo`." msgstr "" -#: library/asyncio-eventloop.rst:1152 +#: library/asyncio-eventloop.rst:1173 msgid "" "Both *getaddrinfo* and *getnameinfo* internally utilize their synchronous " "versions through the loop's default thread pool executor. When this executor " @@ -1429,7 +1429,7 @@ msgid "" "executor with a larger number of workers." msgstr "" -#: library/asyncio-eventloop.rst:1159 +#: library/asyncio-eventloop.rst:1180 msgid "" "Both *getaddrinfo* and *getnameinfo* methods were always documented to " "return a coroutine, but prior to Python 3.7 they were, in fact, returning :" @@ -1437,66 +1437,66 @@ msgid "" "coroutines." msgstr "" -#: library/asyncio-eventloop.rst:1167 +#: library/asyncio-eventloop.rst:1188 msgid "Working with pipes" msgstr "" -#: library/asyncio-eventloop.rst:1171 +#: library/asyncio-eventloop.rst:1193 msgid "Register the read end of *pipe* in the event loop." msgstr "" -#: library/asyncio-eventloop.rst:1176 +#: library/asyncio-eventloop.rst:1198 msgid "*pipe* is a :term:`file-like object `." msgstr "" -#: library/asyncio-eventloop.rst:1178 +#: library/asyncio-eventloop.rst:1200 msgid "" "Return pair ``(transport, protocol)``, where *transport* supports the :class:" "`ReadTransport` interface and *protocol* is an object instantiated by the " "*protocol_factory*." msgstr "" -#: library/asyncio-eventloop.rst:1182 library/asyncio-eventloop.rst:1198 +#: library/asyncio-eventloop.rst:1204 library/asyncio-eventloop.rst:1221 msgid "" "With :class:`SelectorEventLoop` event loop, the *pipe* is set to non-" "blocking mode." msgstr "" -#: library/asyncio-eventloop.rst:1187 +#: library/asyncio-eventloop.rst:1210 msgid "Register the write end of *pipe* in the event loop." msgstr "" -#: library/asyncio-eventloop.rst:1192 +#: library/asyncio-eventloop.rst:1215 msgid "*pipe* is :term:`file-like object `." msgstr "" -#: library/asyncio-eventloop.rst:1194 +#: library/asyncio-eventloop.rst:1217 msgid "" "Return pair ``(transport, protocol)``, where *transport* supports :class:" "`WriteTransport` interface and *protocol* is an object instantiated by the " "*protocol_factory*." msgstr "" -#: library/asyncio-eventloop.rst:1203 +#: library/asyncio-eventloop.rst:1226 msgid "" ":class:`SelectorEventLoop` does not support the above methods on Windows. " "Use :class:`ProactorEventLoop` instead for Windows." msgstr "" -#: library/asyncio-eventloop.rst:1208 +#: library/asyncio-eventloop.rst:1231 msgid "" "The :meth:`loop.subprocess_exec` and :meth:`loop.subprocess_shell` methods." msgstr "" -#: library/asyncio-eventloop.rst:1213 +#: library/asyncio-eventloop.rst:1236 msgid "Unix signals" msgstr "" -#: library/asyncio-eventloop.rst:1219 +#: library/asyncio-eventloop.rst:1242 msgid "Set *callback* as the handler for the *signum* signal." msgstr "" -#: library/asyncio-eventloop.rst:1221 +#: library/asyncio-eventloop.rst:1244 msgid "" "The callback will be invoked by *loop*, along with other queued callbacks " "and runnable coroutines of that event loop. Unlike signal handlers " @@ -1504,40 +1504,40 @@ msgid "" "function is allowed to interact with the event loop." msgstr "" -#: library/asyncio-eventloop.rst:1226 +#: library/asyncio-eventloop.rst:1249 msgid "" "Raise :exc:`ValueError` if the signal number is invalid or uncatchable. " "Raise :exc:`RuntimeError` if there is a problem setting up the handler." msgstr "" -#: library/asyncio-eventloop.rst:1232 +#: library/asyncio-eventloop.rst:1255 msgid "" "Like :func:`signal.signal`, this function must be invoked in the main thread." msgstr "" -#: library/asyncio-eventloop.rst:1237 +#: library/asyncio-eventloop.rst:1260 msgid "Remove the handler for the *sig* signal." msgstr "" -#: library/asyncio-eventloop.rst:1239 +#: library/asyncio-eventloop.rst:1262 msgid "" "Return ``True`` if the signal handler was removed, or ``False`` if no " "handler was set for the given signal." msgstr "" -#: library/asyncio-eventloop.rst:1246 +#: library/asyncio-eventloop.rst:1269 msgid "The :mod:`signal` module." msgstr "" -#: library/asyncio-eventloop.rst:1250 +#: library/asyncio-eventloop.rst:1273 msgid "Executing code in thread or process pools" msgstr "" -#: library/asyncio-eventloop.rst:1254 +#: library/asyncio-eventloop.rst:1277 msgid "Arrange for *func* to be called in the specified executor." msgstr "" -#: library/asyncio-eventloop.rst:1256 +#: library/asyncio-eventloop.rst:1279 msgid "" "The *executor* argument should be an :class:`concurrent.futures.Executor` " "instance. The default executor is used if *executor* is ``None``. The " @@ -1546,7 +1546,7 @@ msgid "" "and used by :func:`run_in_executor` if needed." msgstr "" -#: library/asyncio-eventloop.rst:1264 +#: library/asyncio-eventloop.rst:1287 msgid "" "import asyncio\n" "import concurrent.futures\n" @@ -1589,7 +1589,7 @@ msgid "" " asyncio.run(main())" msgstr "" -#: library/asyncio-eventloop.rst:1304 +#: library/asyncio-eventloop.rst:1327 msgid "" "Note that the entry point guard (``if __name__ == '__main__'``) is required " "for option 3 due to the peculiarities of :mod:`multiprocessing`, which is " @@ -1597,17 +1597,17 @@ msgid "" "importing of main module `." msgstr "" -#: library/asyncio-eventloop.rst:1309 +#: library/asyncio-eventloop.rst:1332 msgid "This method returns a :class:`asyncio.Future` object." msgstr "" -#: library/asyncio-eventloop.rst:1311 +#: library/asyncio-eventloop.rst:1334 msgid "" "Use :func:`functools.partial` :ref:`to pass keyword arguments ` to *func*." msgstr "" -#: library/asyncio-eventloop.rst:1314 +#: library/asyncio-eventloop.rst:1337 msgid "" ":meth:`loop.run_in_executor` no longer configures the ``max_workers`` of the " "thread pool executor it creates, instead leaving it up to the thread pool " @@ -1615,32 +1615,32 @@ msgid "" "default." msgstr "" -#: library/asyncio-eventloop.rst:1323 +#: library/asyncio-eventloop.rst:1346 msgid "" "Set *executor* as the default executor used by :meth:`run_in_executor`. " "*executor* must be an instance of :class:`~concurrent.futures." "ThreadPoolExecutor`." msgstr "" -#: library/asyncio-eventloop.rst:1327 +#: library/asyncio-eventloop.rst:1350 msgid "" "*executor* must be an instance of :class:`~concurrent.futures." "ThreadPoolExecutor`." msgstr "" -#: library/asyncio-eventloop.rst:1333 +#: library/asyncio-eventloop.rst:1356 msgid "Error Handling API" msgstr "" -#: library/asyncio-eventloop.rst:1335 +#: library/asyncio-eventloop.rst:1358 msgid "Allows customizing how exceptions are handled in the event loop." msgstr "" -#: library/asyncio-eventloop.rst:1339 +#: library/asyncio-eventloop.rst:1362 msgid "Set *handler* as the new event loop exception handler." msgstr "" -#: library/asyncio-eventloop.rst:1341 +#: library/asyncio-eventloop.rst:1364 msgid "" "If *handler* is ``None``, the default exception handler will be set. " "Otherwise, *handler* must be a callable with the signature matching ``(loop, " @@ -1649,182 +1649,182 @@ msgid "" "(see :meth:`call_exception_handler` documentation for details about context)." msgstr "" -#: library/asyncio-eventloop.rst:1349 +#: library/asyncio-eventloop.rst:1372 msgid "" "If the handler is called on behalf of a :class:`~asyncio.Task` or :class:" "`~asyncio.Handle`, it is run in the :class:`contextvars.Context` of that " "task or callback handle." msgstr "" -#: library/asyncio-eventloop.rst:1355 +#: library/asyncio-eventloop.rst:1378 msgid "" "The handler may be called in the :class:`~contextvars.Context` of the task " "or handle where the exception originated." msgstr "" -#: library/asyncio-eventloop.rst:1360 +#: library/asyncio-eventloop.rst:1383 msgid "" "Return the current exception handler, or ``None`` if no custom exception " "handler was set." msgstr "" -#: library/asyncio-eventloop.rst:1367 +#: library/asyncio-eventloop.rst:1390 msgid "Default exception handler." msgstr "" -#: library/asyncio-eventloop.rst:1369 +#: library/asyncio-eventloop.rst:1392 msgid "" "This is called when an exception occurs and no exception handler is set. " "This can be called by a custom exception handler that wants to defer to the " "default handler behavior." msgstr "" -#: library/asyncio-eventloop.rst:1373 +#: library/asyncio-eventloop.rst:1396 msgid "" "*context* parameter has the same meaning as in :meth:" "`call_exception_handler`." msgstr "" -#: library/asyncio-eventloop.rst:1378 +#: library/asyncio-eventloop.rst:1401 msgid "Call the current event loop exception handler." msgstr "" -#: library/asyncio-eventloop.rst:1380 +#: library/asyncio-eventloop.rst:1403 msgid "" "*context* is a ``dict`` object containing the following keys (new keys may " "be introduced in future Python versions):" msgstr "" -#: library/asyncio-eventloop.rst:1383 +#: library/asyncio-eventloop.rst:1406 msgid "'message': Error message;" msgstr "" -#: library/asyncio-eventloop.rst:1384 +#: library/asyncio-eventloop.rst:1407 msgid "'exception' (optional): Exception object;" msgstr "" -#: library/asyncio-eventloop.rst:1385 +#: library/asyncio-eventloop.rst:1408 msgid "'future' (optional): :class:`asyncio.Future` instance;" msgstr "" -#: library/asyncio-eventloop.rst:1386 +#: library/asyncio-eventloop.rst:1409 msgid "'task' (optional): :class:`asyncio.Task` instance;" msgstr "" -#: library/asyncio-eventloop.rst:1387 +#: library/asyncio-eventloop.rst:1410 msgid "'handle' (optional): :class:`asyncio.Handle` instance;" msgstr "" -#: library/asyncio-eventloop.rst:1388 +#: library/asyncio-eventloop.rst:1411 msgid "'protocol' (optional): :ref:`Protocol ` instance;" msgstr "" -#: library/asyncio-eventloop.rst:1389 +#: library/asyncio-eventloop.rst:1412 msgid "'transport' (optional): :ref:`Transport ` instance;" msgstr "" -#: library/asyncio-eventloop.rst:1390 +#: library/asyncio-eventloop.rst:1413 msgid "'socket' (optional): :class:`socket.socket` instance;" msgstr "" -#: library/asyncio-eventloop.rst:1391 +#: library/asyncio-eventloop.rst:1414 msgid "'asyncgen' (optional): Asynchronous generator that caused" msgstr "" -#: library/asyncio-eventloop.rst:1392 +#: library/asyncio-eventloop.rst:1415 msgid "the exception." msgstr "" -#: library/asyncio-eventloop.rst:1396 +#: library/asyncio-eventloop.rst:1419 msgid "" "This method should not be overloaded in subclassed event loops. For custom " "exception handling, use the :meth:`set_exception_handler` method." msgstr "" -#: library/asyncio-eventloop.rst:1401 +#: library/asyncio-eventloop.rst:1424 msgid "Enabling debug mode" msgstr "" -#: library/asyncio-eventloop.rst:1405 +#: library/asyncio-eventloop.rst:1428 msgid "Get the debug mode (:class:`bool`) of the event loop." msgstr "" -#: library/asyncio-eventloop.rst:1407 +#: library/asyncio-eventloop.rst:1430 msgid "" "The default value is ``True`` if the environment variable :envvar:" "`PYTHONASYNCIODEBUG` is set to a non-empty string, ``False`` otherwise." msgstr "" -#: library/asyncio-eventloop.rst:1413 +#: library/asyncio-eventloop.rst:1436 msgid "Set the debug mode of the event loop." msgstr "" -#: library/asyncio-eventloop.rst:1417 +#: library/asyncio-eventloop.rst:1440 msgid "" "The new :ref:`Python Development Mode ` can now also be used to " "enable the debug mode." msgstr "" -#: library/asyncio-eventloop.rst:1422 +#: library/asyncio-eventloop.rst:1445 msgid "" "This attribute can be used to set the minimum execution duration in seconds " "that is considered \"slow\". When debug mode is enabled, \"slow\" callbacks " "are logged." msgstr "" -#: library/asyncio-eventloop.rst:1426 +#: library/asyncio-eventloop.rst:1449 msgid "Default value is 100 milliseconds." msgstr "" -#: library/asyncio-eventloop.rst:1430 +#: library/asyncio-eventloop.rst:1453 msgid "The :ref:`debug mode of asyncio `." msgstr "" -#: library/asyncio-eventloop.rst:1434 +#: library/asyncio-eventloop.rst:1457 msgid "Running Subprocesses" msgstr "" -#: library/asyncio-eventloop.rst:1436 +#: library/asyncio-eventloop.rst:1459 msgid "" "Methods described in this subsections are low-level. In regular async/await " "code consider using the high-level :func:`asyncio.create_subprocess_shell` " "and :func:`asyncio.create_subprocess_exec` convenience functions instead." msgstr "" -#: library/asyncio-eventloop.rst:1443 +#: library/asyncio-eventloop.rst:1466 msgid "" "On Windows, the default event loop :class:`ProactorEventLoop` supports " "subprocesses, whereas :class:`SelectorEventLoop` does not. See :ref:" "`Subprocess Support on Windows ` for details." msgstr "" -#: library/asyncio-eventloop.rst:1454 +#: library/asyncio-eventloop.rst:1478 msgid "" "Create a subprocess from one or more string arguments specified by *args*." msgstr "" -#: library/asyncio-eventloop.rst:1457 +#: library/asyncio-eventloop.rst:1481 msgid "*args* must be a list of strings represented by:" msgstr "" -#: library/asyncio-eventloop.rst:1459 +#: library/asyncio-eventloop.rst:1483 msgid ":class:`str`;" msgstr "" -#: library/asyncio-eventloop.rst:1460 +#: library/asyncio-eventloop.rst:1484 msgid "" "or :class:`bytes`, encoded to the :ref:`filesystem encoding `." msgstr "" -#: library/asyncio-eventloop.rst:1463 +#: library/asyncio-eventloop.rst:1487 msgid "" "The first string specifies the program executable, and the remaining strings " "specify the arguments. Together, string arguments form the ``argv`` of the " "program." msgstr "" -#: library/asyncio-eventloop.rst:1467 +#: library/asyncio-eventloop.rst:1491 msgid "" "This is similar to the standard library :class:`subprocess.Popen` class " "called with ``shell=False`` and the list of strings passed as the first " @@ -1832,81 +1832,81 @@ msgid "" "which is list of strings, *subprocess_exec* takes multiple string arguments." msgstr "" -#: library/asyncio-eventloop.rst:1473 +#: library/asyncio-eventloop.rst:1497 msgid "" "The *protocol_factory* must be a callable returning a subclass of the :class:" "`asyncio.SubprocessProtocol` class." msgstr "" -#: library/asyncio-eventloop.rst:1476 +#: library/asyncio-eventloop.rst:1500 msgid "Other parameters:" msgstr "" -#: library/asyncio-eventloop.rst:1478 +#: library/asyncio-eventloop.rst:1502 msgid "*stdin* can be any of these:" msgstr "" -#: library/asyncio-eventloop.rst:1480 library/asyncio-eventloop.rst:1491 -#: library/asyncio-eventloop.rst:1501 +#: library/asyncio-eventloop.rst:1504 library/asyncio-eventloop.rst:1515 +#: library/asyncio-eventloop.rst:1525 msgid "a file-like object" msgstr "" -#: library/asyncio-eventloop.rst:1481 +#: library/asyncio-eventloop.rst:1505 msgid "" "an existing file descriptor (a positive integer), for example those created " "with :meth:`os.pipe`" msgstr "" -#: library/asyncio-eventloop.rst:1482 library/asyncio-eventloop.rst:1492 -#: library/asyncio-eventloop.rst:1502 +#: library/asyncio-eventloop.rst:1506 library/asyncio-eventloop.rst:1516 +#: library/asyncio-eventloop.rst:1526 msgid "" "the :const:`subprocess.PIPE` constant (default) which will create a new pipe " "and connect it," msgstr "" -#: library/asyncio-eventloop.rst:1484 library/asyncio-eventloop.rst:1494 -#: library/asyncio-eventloop.rst:1504 +#: library/asyncio-eventloop.rst:1508 library/asyncio-eventloop.rst:1518 +#: library/asyncio-eventloop.rst:1528 msgid "" "the value ``None`` which will make the subprocess inherit the file " "descriptor from this process" msgstr "" -#: library/asyncio-eventloop.rst:1486 library/asyncio-eventloop.rst:1496 -#: library/asyncio-eventloop.rst:1506 +#: library/asyncio-eventloop.rst:1510 library/asyncio-eventloop.rst:1520 +#: library/asyncio-eventloop.rst:1530 msgid "" "the :const:`subprocess.DEVNULL` constant which indicates that the special :" "data:`os.devnull` file will be used" msgstr "" -#: library/asyncio-eventloop.rst:1489 +#: library/asyncio-eventloop.rst:1513 msgid "*stdout* can be any of these:" msgstr "" -#: library/asyncio-eventloop.rst:1499 +#: library/asyncio-eventloop.rst:1523 msgid "*stderr* can be any of these:" msgstr "" -#: library/asyncio-eventloop.rst:1508 +#: library/asyncio-eventloop.rst:1532 msgid "" "the :const:`subprocess.STDOUT` constant which will connect the standard " "error stream to the process' standard output stream" msgstr "" -#: library/asyncio-eventloop.rst:1511 +#: library/asyncio-eventloop.rst:1535 msgid "" "All other keyword arguments are passed to :class:`subprocess.Popen` without " "interpretation, except for *bufsize*, *universal_newlines*, *shell*, *text*, " "*encoding* and *errors*, which should not be specified at all." msgstr "" -#: library/asyncio-eventloop.rst:1516 +#: library/asyncio-eventloop.rst:1540 msgid "" "The ``asyncio`` subprocess API does not support decoding the streams as " "text. :func:`bytes.decode` can be used to convert the bytes returned from " "the stream to text." msgstr "" -#: library/asyncio-eventloop.rst:1520 +#: library/asyncio-eventloop.rst:1544 msgid "" "If a file-like object passed as *stdin*, *stdout* or *stderr* represents a " "pipe, then the other side of this pipe should be registered with :meth:" @@ -1914,52 +1914,52 @@ msgid "" "the event loop." msgstr "" -#: library/asyncio-eventloop.rst:1525 +#: library/asyncio-eventloop.rst:1549 msgid "" "See the constructor of the :class:`subprocess.Popen` class for documentation " "on other arguments." msgstr "" -#: library/asyncio-eventloop.rst:1528 +#: library/asyncio-eventloop.rst:1552 msgid "" "Returns a pair of ``(transport, protocol)``, where *transport* conforms to " "the :class:`asyncio.SubprocessTransport` base class and *protocol* is an " "object instantiated by the *protocol_factory*." msgstr "" -#: library/asyncio-eventloop.rst:1536 +#: library/asyncio-eventloop.rst:1561 msgid "" "Create a subprocess from *cmd*, which can be a :class:`str` or a :class:" "`bytes` string encoded to the :ref:`filesystem encoding `, using the platform's \"shell\" syntax." msgstr "" -#: library/asyncio-eventloop.rst:1541 +#: library/asyncio-eventloop.rst:1566 msgid "" "This is similar to the standard library :class:`subprocess.Popen` class " "called with ``shell=True``." msgstr "" -#: library/asyncio-eventloop.rst:1544 +#: library/asyncio-eventloop.rst:1569 msgid "" "The *protocol_factory* must be a callable returning a subclass of the :class:" "`SubprocessProtocol` class." msgstr "" -#: library/asyncio-eventloop.rst:1547 +#: library/asyncio-eventloop.rst:1572 msgid "" "See :meth:`~loop.subprocess_exec` for more details about the remaining " "arguments." msgstr "" -#: library/asyncio-eventloop.rst:1550 +#: library/asyncio-eventloop.rst:1575 msgid "" "Returns a pair of ``(transport, protocol)``, where *transport* conforms to " "the :class:`SubprocessTransport` base class and *protocol* is an object " "instantiated by the *protocol_factory*." msgstr "" -#: library/asyncio-eventloop.rst:1555 +#: library/asyncio-eventloop.rst:1580 msgid "" "It is the application's responsibility to ensure that all whitespace and " "special characters are quoted appropriately to avoid `shell injection " @@ -1969,74 +1969,74 @@ msgid "" "used to construct shell commands." msgstr "" -#: library/asyncio-eventloop.rst:1564 +#: library/asyncio-eventloop.rst:1589 msgid "Callback Handles" msgstr "" -#: library/asyncio-eventloop.rst:1568 +#: library/asyncio-eventloop.rst:1593 msgid "" "A callback wrapper object returned by :meth:`loop.call_soon`, :meth:`loop." "call_soon_threadsafe`." msgstr "" -#: library/asyncio-eventloop.rst:1573 +#: library/asyncio-eventloop.rst:1598 msgid "" "Return the :class:`contextvars.Context` object associated with the handle." msgstr "" -#: library/asyncio-eventloop.rst:1580 +#: library/asyncio-eventloop.rst:1605 msgid "" "Cancel the callback. If the callback has already been canceled or executed, " "this method has no effect." msgstr "" -#: library/asyncio-eventloop.rst:1585 +#: library/asyncio-eventloop.rst:1610 msgid "Return ``True`` if the callback was cancelled." msgstr "" -#: library/asyncio-eventloop.rst:1591 +#: library/asyncio-eventloop.rst:1616 msgid "" "A callback wrapper object returned by :meth:`loop.call_later`, and :meth:" "`loop.call_at`." msgstr "" -#: library/asyncio-eventloop.rst:1594 +#: library/asyncio-eventloop.rst:1619 msgid "This class is a subclass of :class:`Handle`." msgstr "" -#: library/asyncio-eventloop.rst:1598 +#: library/asyncio-eventloop.rst:1623 msgid "Return a scheduled callback time as :class:`float` seconds." msgstr "" -#: library/asyncio-eventloop.rst:1600 +#: library/asyncio-eventloop.rst:1625 msgid "" "The time is an absolute timestamp, using the same time reference as :meth:" "`loop.time`." msgstr "" -#: library/asyncio-eventloop.rst:1607 +#: library/asyncio-eventloop.rst:1632 msgid "Server Objects" msgstr "" -#: library/asyncio-eventloop.rst:1609 +#: library/asyncio-eventloop.rst:1634 msgid "" "Server objects are created by :meth:`loop.create_server`, :meth:`loop." "create_unix_server`, :func:`start_server`, and :func:`start_unix_server` " "functions." msgstr "" -#: library/asyncio-eventloop.rst:1613 +#: library/asyncio-eventloop.rst:1638 msgid "Do not instantiate the :class:`Server` class directly." msgstr "" -#: library/asyncio-eventloop.rst:1617 +#: library/asyncio-eventloop.rst:1642 msgid "" "*Server* objects are asynchronous context managers. When used in an ``async " "with`` statement, it's guaranteed that the Server object is closed and not " "accepting new connections when the ``async with`` statement is completed::" msgstr "" -#: library/asyncio-eventloop.rst:1622 +#: library/asyncio-eventloop.rst:1647 msgid "" "srv = await loop.create_server(...)\n" "\n" @@ -2046,49 +2046,49 @@ msgid "" "# At this point, srv is closed and no longer accepts new connections." msgstr "" -#: library/asyncio-eventloop.rst:1630 +#: library/asyncio-eventloop.rst:1655 msgid "Server object is an asynchronous context manager since Python 3.7." msgstr "" -#: library/asyncio-eventloop.rst:1633 +#: library/asyncio-eventloop.rst:1658 msgid "" "This class was exposed publicly as ``asyncio.Server`` in Python 3.9.11, " "3.10.3 and 3.11." msgstr "" -#: library/asyncio-eventloop.rst:1638 +#: library/asyncio-eventloop.rst:1663 msgid "" "Stop serving: close listening sockets and set the :attr:`sockets` attribute " "to ``None``." msgstr "" -#: library/asyncio-eventloop.rst:1641 +#: library/asyncio-eventloop.rst:1666 msgid "" "The sockets that represent existing incoming client connections are left " "open." msgstr "" -#: library/asyncio-eventloop.rst:1644 +#: library/asyncio-eventloop.rst:1669 msgid "" "The server is closed asynchronously; use the :meth:`wait_closed` coroutine " "to wait until the server is closed (and no more connections are active)." msgstr "" -#: library/asyncio-eventloop.rst:1650 +#: library/asyncio-eventloop.rst:1675 msgid "Return the event loop associated with the server object." msgstr "" -#: library/asyncio-eventloop.rst:1656 +#: library/asyncio-eventloop.rst:1682 msgid "Start accepting connections." msgstr "" -#: library/asyncio-eventloop.rst:1658 +#: library/asyncio-eventloop.rst:1684 msgid "" "This method is idempotent, so it can be called when the server is already " "serving." msgstr "" -#: library/asyncio-eventloop.rst:1661 +#: library/asyncio-eventloop.rst:1687 msgid "" "The *start_serving* keyword-only parameter to :meth:`loop.create_server` " "and :meth:`asyncio.start_server` allows creating a Server object that is not " @@ -2097,19 +2097,19 @@ msgid "" "accepting connections." msgstr "" -#: library/asyncio-eventloop.rst:1672 +#: library/asyncio-eventloop.rst:1699 msgid "" "Start accepting connections until the coroutine is cancelled. Cancellation " "of ``serve_forever`` task causes the server to be closed." msgstr "" -#: library/asyncio-eventloop.rst:1676 +#: library/asyncio-eventloop.rst:1703 msgid "" "This method can be called if the server is already accepting connections. " "Only one ``serve_forever`` task can exist per one *Server* object." msgstr "" -#: library/asyncio-eventloop.rst:1682 +#: library/asyncio-eventloop.rst:1709 msgid "" "async def client_connected(reader, writer):\n" " # Communicate with the client with\n" @@ -2124,56 +2124,56 @@ msgid "" "asyncio.run(main('127.0.0.1', 0))" msgstr "" -#: library/asyncio-eventloop.rst:1698 +#: library/asyncio-eventloop.rst:1725 msgid "Return ``True`` if the server is accepting new connections." msgstr "" -#: library/asyncio-eventloop.rst:1704 +#: library/asyncio-eventloop.rst:1732 msgid "" "Wait until the :meth:`close` method completes and all active connections " "have finished." msgstr "" -#: library/asyncio-eventloop.rst:1709 +#: library/asyncio-eventloop.rst:1737 msgid "" "List of socket-like objects, ``asyncio.trsock.TransportSocket``, which the " "server is listening on." msgstr "" -#: library/asyncio-eventloop.rst:1712 +#: library/asyncio-eventloop.rst:1740 msgid "" "Prior to Python 3.7 ``Server.sockets`` used to return an internal list of " "server sockets directly. In 3.7 a copy of that list is returned." msgstr "" -#: library/asyncio-eventloop.rst:1722 +#: library/asyncio-eventloop.rst:1750 msgid "Event Loop Implementations" msgstr "" -#: library/asyncio-eventloop.rst:1724 +#: library/asyncio-eventloop.rst:1752 msgid "" "asyncio ships with two different event loop implementations: :class:" "`SelectorEventLoop` and :class:`ProactorEventLoop`." msgstr "" -#: library/asyncio-eventloop.rst:1727 +#: library/asyncio-eventloop.rst:1755 msgid "" "By default asyncio is configured to use :class:`SelectorEventLoop` on Unix " "and :class:`ProactorEventLoop` on Windows." msgstr "" -#: library/asyncio-eventloop.rst:1733 +#: library/asyncio-eventloop.rst:1761 msgid "An event loop based on the :mod:`selectors` module." msgstr "" -#: library/asyncio-eventloop.rst:1735 +#: library/asyncio-eventloop.rst:1763 msgid "" "Uses the most efficient *selector* available for the given platform. It is " "also possible to manually configure the exact selector implementation to be " "used::" msgstr "" -#: library/asyncio-eventloop.rst:1739 +#: library/asyncio-eventloop.rst:1767 msgid "" "import asyncio\n" "import selectors\n" @@ -2186,31 +2186,31 @@ msgid "" "asyncio.set_event_loop_policy(MyPolicy())" msgstr "" -#: library/asyncio-eventloop.rst:1755 +#: library/asyncio-eventloop.rst:1783 msgid "An event loop for Windows that uses \"I/O Completion Ports\" (IOCP)." msgstr "" -#: library/asyncio-eventloop.rst:1761 +#: library/asyncio-eventloop.rst:1789 msgid "" "`MSDN documentation on I/O Completion Ports `_." msgstr "" -#: library/asyncio-eventloop.rst:1767 +#: library/asyncio-eventloop.rst:1795 msgid "Abstract base class for asyncio-compliant event loops." msgstr "" -#: library/asyncio-eventloop.rst:1769 +#: library/asyncio-eventloop.rst:1797 msgid "" "The :ref:`asyncio-event-loop-methods` section lists all methods that an " "alternative implementation of ``AbstractEventLoop`` should have defined." msgstr "" -#: library/asyncio-eventloop.rst:1775 +#: library/asyncio-eventloop.rst:1803 msgid "Examples" msgstr "" -#: library/asyncio-eventloop.rst:1777 +#: library/asyncio-eventloop.rst:1805 msgid "" "Note that all examples in this section **purposefully** show how to use the " "low-level event loop APIs, such as :meth:`loop.run_forever` and :meth:`loop." @@ -2218,17 +2218,17 @@ msgid "" "consider using the high-level functions like :func:`asyncio.run`." msgstr "" -#: library/asyncio-eventloop.rst:1787 +#: library/asyncio-eventloop.rst:1815 msgid "Hello World with call_soon()" msgstr "" -#: library/asyncio-eventloop.rst:1789 +#: library/asyncio-eventloop.rst:1817 msgid "" "An example using the :meth:`loop.call_soon` method to schedule a callback. " "The callback displays ``\"Hello World\"`` and then stops the event loop::" msgstr "" -#: library/asyncio-eventloop.rst:1793 +#: library/asyncio-eventloop.rst:1821 msgid "" "import asyncio\n" "\n" @@ -2249,24 +2249,24 @@ msgid "" " loop.close()" msgstr "" -#: library/asyncio-eventloop.rst:1813 +#: library/asyncio-eventloop.rst:1841 msgid "" "A similar :ref:`Hello World ` example created with a coroutine " "and the :func:`run` function." msgstr "" -#: library/asyncio-eventloop.rst:1820 +#: library/asyncio-eventloop.rst:1848 msgid "Display the current date with call_later()" msgstr "" -#: library/asyncio-eventloop.rst:1822 +#: library/asyncio-eventloop.rst:1850 msgid "" "An example of a callback displaying the current date every second. The " "callback uses the :meth:`loop.call_later` method to reschedule itself after " "5 seconds, and then stops the event loop::" msgstr "" -#: library/asyncio-eventloop.rst:1826 +#: library/asyncio-eventloop.rst:1854 msgid "" "import asyncio\n" "import datetime\n" @@ -2291,23 +2291,23 @@ msgid "" " loop.close()" msgstr "" -#: library/asyncio-eventloop.rst:1850 +#: library/asyncio-eventloop.rst:1878 msgid "" "A similar :ref:`current date ` example created with a " "coroutine and the :func:`run` function." msgstr "" -#: library/asyncio-eventloop.rst:1857 +#: library/asyncio-eventloop.rst:1885 msgid "Watch a file descriptor for read events" msgstr "" -#: library/asyncio-eventloop.rst:1859 +#: library/asyncio-eventloop.rst:1887 msgid "" "Wait until a file descriptor received some data using the :meth:`loop." "add_reader` method and then close the event loop::" msgstr "" -#: library/asyncio-eventloop.rst:1862 +#: library/asyncio-eventloop.rst:1890 msgid "" "import asyncio\n" "from socket import socketpair\n" @@ -2343,33 +2343,33 @@ msgid "" " loop.close()" msgstr "" -#: library/asyncio-eventloop.rst:1897 +#: library/asyncio-eventloop.rst:1925 msgid "" "A similar :ref:`example ` using " "transports, protocols, and the :meth:`loop.create_connection` method." msgstr "" -#: library/asyncio-eventloop.rst:1901 +#: library/asyncio-eventloop.rst:1929 msgid "" "Another similar :ref:`example ` " "using the high-level :func:`asyncio.open_connection` function and streams." msgstr "" -#: library/asyncio-eventloop.rst:1909 +#: library/asyncio-eventloop.rst:1937 msgid "Set signal handlers for SIGINT and SIGTERM" msgstr "" -#: library/asyncio-eventloop.rst:1911 +#: library/asyncio-eventloop.rst:1939 msgid "(This ``signals`` example only works on Unix.)" msgstr "" -#: library/asyncio-eventloop.rst:1913 +#: library/asyncio-eventloop.rst:1941 msgid "" "Register handlers for signals :const:`~signal.SIGINT` and :const:`~signal." "SIGTERM` using the :meth:`loop.add_signal_handler` method::" msgstr "" -#: library/asyncio-eventloop.rst:1916 +#: library/asyncio-eventloop.rst:1944 msgid "" "import asyncio\n" "import functools\n" diff --git a/library/asyncio-exceptions.po b/library/asyncio-exceptions.po index bd7e4ece..ec9f353d 100644 --- a/library/asyncio-exceptions.po +++ b/library/asyncio-exceptions.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/asyncio-extending.po b/library/asyncio-extending.po index 9a3091fa..721d06f4 100644 --- a/library/asyncio-extending.po +++ b/library/asyncio-extending.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/asyncio-future.po b/library/asyncio-future.po index 791034cf..29d42cd8 100644 --- a/library/asyncio-future.po +++ b/library/asyncio-future.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/asyncio-llapi-index.po b/library/asyncio-llapi-index.po index ac1262af..0cc46834 100644 --- a/library/asyncio-llapi-index.po +++ b/library/asyncio-llapi-index.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/asyncio-platforms.po b/library/asyncio-platforms.po index 43425322..98508eda 100644 --- a/library/asyncio-platforms.po +++ b/library/asyncio-platforms.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/asyncio-policy.po b/library/asyncio-policy.po index d3463550..3d59d178 100644 --- a/library/asyncio-policy.po +++ b/library/asyncio-policy.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/asyncio-protocol.po b/library/asyncio-protocol.po index 739fc691..504e48b6 100644 --- a/library/asyncio-protocol.po +++ b/library/asyncio-protocol.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/asyncio-queue.po b/library/asyncio-queue.po index 447328ff..38fd9351 100644 --- a/library/asyncio-queue.po +++ b/library/asyncio-queue.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2025-01-22 13:33+0200\n" "Last-Translator: Marios Giannopoulos \n" "Language-Team: PyGreece \n" @@ -105,7 +105,7 @@ msgstr "" "Αν η ουρά αρχικοποιήθηκε με ``maxsize=0`` (προεπιλογή), τότε η :meth:`full` " "δεν επιστρέφει ποτέ ``True``." -#: library/asyncio-queue.rst:62 +#: library/asyncio-queue.rst:63 msgid "" "Remove and return an item from the queue. If queue is empty, wait until an " "item is available." @@ -113,20 +113,20 @@ msgstr "" "Αφαίρεση και επιστροφή ενός αντικειμένου από την ουρά. Αν η ουρά είναι κενή, " "περιμένετε μέχρι να είναι διαθέσιμο ένα αντικείμενο." -#: library/asyncio-queue.rst:67 +#: library/asyncio-queue.rst:68 msgid "" "Return an item if one is immediately available, else raise :exc:`QueueEmpty`." msgstr "" "Επιστρέφει ένα αντικείμενο, αν είναι άμεσα διαθέσιμο, αλλιώς κάνε raise την :" "exc:`QueueEmpty`." -#: library/asyncio-queue.rst:72 +#: library/asyncio-queue.rst:74 msgid "Block until all items in the queue have been received and processed." msgstr "" "Αποκλείει μέχρι να ληφθούν και να υποβληθούν σε επεξεργασία όλα τα στοιχεία " "στην ουρά." -#: library/asyncio-queue.rst:74 +#: library/asyncio-queue.rst:76 msgid "" "The count of unfinished tasks goes up whenever an item is added to the " "queue. The count goes down whenever a consumer coroutine calls :meth:" @@ -140,7 +140,7 @@ msgstr "" "λήφθηκε και η εργασία πάνω του έχει ολοκληρωθεί. Όταν ο αριθμός των " "ατελείωτων εργασιών μειωθεί στο μηδέν, η μέθοδος :meth:`join` αποδεσμεύεται." -#: library/asyncio-queue.rst:82 +#: library/asyncio-queue.rst:85 msgid "" "Put an item into the queue. If the queue is full, wait until a free slot is " "available before adding the item." @@ -148,26 +148,26 @@ msgstr "" "Τοποθετεί ένα αντικείμενο στην ουρά. Αν η ουρά είναι γεμάτη, περιμένετε " "μέχρι να είναι διαθέσιμη μια ελεύθερη θέση, πριν προσθέσετε το αντικείμενο." -#: library/asyncio-queue.rst:87 +#: library/asyncio-queue.rst:90 msgid "Put an item into the queue without blocking." msgstr "Τοποθετεί ένα αντικείμενο στην ουρά χωρίς να μπλοκάρει." -#: library/asyncio-queue.rst:89 +#: library/asyncio-queue.rst:92 msgid "If no free slot is immediately available, raise :exc:`QueueFull`." msgstr "" "Αν δεν είναι διαθέσιμη μια ελεύθερη θέση αμέσως, γίνεται raise η :exc:" "`QueueFull`." -#: library/asyncio-queue.rst:93 +#: library/asyncio-queue.rst:96 msgid "Return the number of items in the queue." msgstr "Επιστρέφει τον αριθμό των αντικειμένων στην ουρά." -#: library/asyncio-queue.rst:97 +#: library/asyncio-queue.rst:100 msgid "Indicate that a formerly enqueued work item is complete." msgstr "" "Υποδεικνύει ότι μια εργασία που είχε προστεθεί στην ουρά έχει ολοκληρωθεί." -#: library/asyncio-queue.rst:99 +#: library/asyncio-queue.rst:102 msgid "" "Used by queue consumers. For each :meth:`~Queue.get` used to fetch a work " "item, a subsequent call to :meth:`task_done` tells the queue that the " @@ -178,7 +178,7 @@ msgstr "" "`task_done` ενημερώνει την ουρά ότι η επεξεργασία της εργασίας έχει " "ολοκληρωθεί." -#: library/asyncio-queue.rst:103 +#: library/asyncio-queue.rst:106 msgid "" "If a :meth:`join` is currently blocking, it will resume when all items have " "been processed (meaning that a :meth:`task_done` call was received for every " @@ -189,7 +189,7 @@ msgstr "" "meth:`task_done` για κάθε αντικείμενο που είχε προστεθεί με :meth:`~Queue." "put` στην ουρά)." -#: library/asyncio-queue.rst:108 +#: library/asyncio-queue.rst:111 msgid "" "Raises :exc:`ValueError` if called more times than there were items placed " "in the queue." @@ -197,11 +197,11 @@ msgstr "" "Κάνει raise την :exc:`ValueError` εάν κληθεί περισσότερες φορές από όσες τα " "αντικείμενα που είχαν τοποθετηθεί στην ουρά." -#: library/asyncio-queue.rst:113 +#: library/asyncio-queue.rst:116 msgid "Priority Queue" msgstr "Σειρά Προτεραιότητας" -#: library/asyncio-queue.rst:117 +#: library/asyncio-queue.rst:120 msgid "" "A variant of :class:`Queue`; retrieves entries in priority order (lowest " "first)." @@ -209,15 +209,15 @@ msgstr "" "Μια παραλλαγή της :class:`Queue`; η οποία ανακτά τις καταχωρήσεις με σειρά " "προτεραιότητας (οι χαμηλότερες πρώτες)." -#: library/asyncio-queue.rst:120 +#: library/asyncio-queue.rst:123 msgid "Entries are typically tuples of the form ``(priority_number, data)``." msgstr "Οι καταχωρήσεις είναι συνήθως της μορφής ``(priority_number, data)``." -#: library/asyncio-queue.rst:125 +#: library/asyncio-queue.rst:128 msgid "LIFO Queue" msgstr "Ουρά LIFO" -#: library/asyncio-queue.rst:129 +#: library/asyncio-queue.rst:132 msgid "" "A variant of :class:`Queue` that retrieves most recently added entries first " "(last in, first out)." @@ -225,11 +225,11 @@ msgstr "" "Μια παραλλαγή της κλάσης :class:`Queue` που ανακτά τις πιο πρόσφατα " "προστιθέμενες καταχωρίσεις πρώτες (με τη λογική τελευταίος μέσα, πρώτος έξω)." -#: library/asyncio-queue.rst:134 +#: library/asyncio-queue.rst:137 msgid "Exceptions" msgstr "Εξαιρέσεις" -#: library/asyncio-queue.rst:138 +#: library/asyncio-queue.rst:141 msgid "" "This exception is raised when the :meth:`~Queue.get_nowait` method is called " "on an empty queue." @@ -237,7 +237,7 @@ msgstr "" "Αυτή η εξαίρεση γίνεται raise όταν η μέθοδος :meth:`~Queue.get_nowait` " "καλείται σε μια άδεια ουρά." -#: library/asyncio-queue.rst:144 +#: library/asyncio-queue.rst:147 msgid "" "Exception raised when the :meth:`~Queue.put_nowait` method is called on a " "queue that has reached its *maxsize*." @@ -245,18 +245,18 @@ msgstr "" "Εξαίρεση που γίνεται raise όταν η μέθοδος :meth:`~Queue.put_nowait` καλείται " "σε μια ουρά που έχει φτάσει στο *maxsize* της." -#: library/asyncio-queue.rst:149 +#: library/asyncio-queue.rst:152 msgid "Examples" msgstr "Παραδείγματα" -#: library/asyncio-queue.rst:153 +#: library/asyncio-queue.rst:156 msgid "" "Queues can be used to distribute workload between several concurrent tasks::" msgstr "" "Οι ουρές μπορούν να χρησιμοποιηθούν για τη διανομή εργασίας μεταξύ αρκετών " "παράλληλων εργασιών::" -#: library/asyncio-queue.rst:156 +#: library/asyncio-queue.rst:159 msgid "" "import asyncio\n" "import random\n" diff --git a/library/asyncio-runner.po b/library/asyncio-runner.po index eccb8fa6..5fd9bb78 100644 --- a/library/asyncio-runner.po +++ b/library/asyncio-runner.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/asyncio-stream.po b/library/asyncio-stream.po index 920dcfa0..f20465a4 100644 --- a/library/asyncio-stream.po +++ b/library/asyncio-stream.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -36,7 +36,7 @@ msgstr "" msgid "Here is an example of a TCP echo client written using asyncio streams::" msgstr "" -#: library/asyncio-stream.rst:404 +#: library/asyncio-stream.rst:415 msgid "" "import asyncio\n" "\n" @@ -72,59 +72,59 @@ msgid "" "with streams:" msgstr "" -#: library/asyncio-stream.rst:58 +#: library/asyncio-stream.rst:59 msgid "" "Establish a network connection and return a pair of ``(reader, writer)`` " "objects." msgstr "" -#: library/asyncio-stream.rst:61 +#: library/asyncio-stream.rst:62 msgid "" "The returned *reader* and *writer* objects are instances of :class:" "`StreamReader` and :class:`StreamWriter` classes." msgstr "" -#: library/asyncio-stream.rst:109 +#: library/asyncio-stream.rst:111 msgid "" "*limit* determines the buffer size limit used by the returned :class:" "`StreamReader` instance. By default the *limit* is set to 64 KiB." msgstr "" -#: library/asyncio-stream.rst:68 +#: library/asyncio-stream.rst:69 msgid "" "The rest of the arguments are passed directly to :meth:`loop." "create_connection`." msgstr "" -#: library/asyncio-stream.rst:147 +#: library/asyncio-stream.rst:150 msgid "" "The *sock* argument transfers ownership of the socket to the :class:" "`StreamWriter` created. To close the socket, call its :meth:`~asyncio." "StreamWriter.close` method." msgstr "" -#: library/asyncio-stream.rst:77 +#: library/asyncio-stream.rst:78 msgid "Added the *ssl_handshake_timeout* parameter." msgstr "" -#: library/asyncio-stream.rst:80 +#: library/asyncio-stream.rst:81 msgid "Added the *happy_eyeballs_delay* and *interleave* parameters." msgstr "" -#: library/asyncio-stream.rst:125 library/asyncio-stream.rst:187 +#: library/asyncio-stream.rst:127 library/asyncio-stream.rst:191 msgid "Removed the *loop* parameter." msgstr "" -#: library/asyncio-stream.rst:128 library/asyncio-stream.rst:190 -#: library/asyncio-stream.rst:372 +#: library/asyncio-stream.rst:130 library/asyncio-stream.rst:194 +#: library/asyncio-stream.rst:382 msgid "Added the *ssl_shutdown_timeout* parameter." msgstr "" -#: library/asyncio-stream.rst:98 +#: library/asyncio-stream.rst:100 msgid "Start a socket server." msgstr "" -#: library/asyncio-stream.rst:100 +#: library/asyncio-stream.rst:102 msgid "" "The *client_connected_cb* callback is called whenever a new client " "connection is established. It receives a ``(reader, writer)`` pair as two " @@ -132,162 +132,162 @@ msgid "" "classes." msgstr "" -#: library/asyncio-stream.rst:105 +#: library/asyncio-stream.rst:107 msgid "" "*client_connected_cb* can be a plain callable or a :ref:`coroutine function " "`; if it is a coroutine function, it will be automatically " "scheduled as a :class:`Task`." msgstr "" -#: library/asyncio-stream.rst:113 +#: library/asyncio-stream.rst:115 msgid "" "The rest of the arguments are passed directly to :meth:`loop.create_server`." msgstr "" -#: library/asyncio-stream.rst:177 +#: library/asyncio-stream.rst:181 msgid "" "The *sock* argument transfers ownership of the socket to the server created. " "To close the socket, call the server's :meth:`~asyncio.Server.close` method." msgstr "" -#: library/asyncio-stream.rst:122 +#: library/asyncio-stream.rst:124 msgid "Added the *ssl_handshake_timeout* and *start_serving* parameters." msgstr "" -#: library/asyncio-stream.rst:133 +#: library/asyncio-stream.rst:135 msgid "Unix Sockets" msgstr "" -#: library/asyncio-stream.rst:138 +#: library/asyncio-stream.rst:141 msgid "" "Establish a Unix socket connection and return a pair of ``(reader, writer)``." msgstr "" -#: library/asyncio-stream.rst:141 +#: library/asyncio-stream.rst:144 msgid "Similar to :func:`open_connection` but operates on Unix sockets." msgstr "" -#: library/asyncio-stream.rst:143 +#: library/asyncio-stream.rst:146 msgid "See also the documentation of :meth:`loop.create_unix_connection`." msgstr "" -#: library/asyncio-stream.rst:181 +#: library/asyncio-stream.rst:185 msgid "Availability" msgstr "" -#: library/asyncio-stream.rst:153 +#: library/asyncio-stream.rst:156 msgid "" "Added the *ssl_handshake_timeout* parameter. The *path* parameter can now be " "a :term:`path-like object`" msgstr "" -#: library/asyncio-stream.rst:169 +#: library/asyncio-stream.rst:173 msgid "Start a Unix socket server." msgstr "" -#: library/asyncio-stream.rst:171 +#: library/asyncio-stream.rst:175 msgid "Similar to :func:`start_server` but works with Unix sockets." msgstr "" -#: library/asyncio-stream.rst:173 +#: library/asyncio-stream.rst:177 msgid "See also the documentation of :meth:`loop.create_unix_server`." msgstr "" -#: library/asyncio-stream.rst:183 +#: library/asyncio-stream.rst:187 msgid "" "Added the *ssl_handshake_timeout* and *start_serving* parameters. The *path* " "parameter can now be a :term:`path-like object`." msgstr "" -#: library/asyncio-stream.rst:195 +#: library/asyncio-stream.rst:199 msgid "StreamReader" msgstr "" -#: library/asyncio-stream.rst:199 +#: library/asyncio-stream.rst:203 msgid "" "Represents a reader object that provides APIs to read data from the IO " "stream. As an :term:`asynchronous iterable`, the object supports the :" "keyword:`async for` statement." msgstr "" -#: library/asyncio-stream.rst:203 +#: library/asyncio-stream.rst:207 msgid "" "It is not recommended to instantiate *StreamReader* objects directly; use :" "func:`open_connection` and :func:`start_server` instead." msgstr "" -#: library/asyncio-stream.rst:209 +#: library/asyncio-stream.rst:213 msgid "Acknowledge the EOF." msgstr "" -#: library/asyncio-stream.rst:213 +#: library/asyncio-stream.rst:218 msgid "Read up to *n* bytes from the stream." msgstr "" -#: library/asyncio-stream.rst:215 +#: library/asyncio-stream.rst:220 msgid "" "If *n* is not provided or set to ``-1``, read until EOF, then return all " "read :class:`bytes`. If EOF was received and the internal buffer is empty, " "return an empty ``bytes`` object." msgstr "" -#: library/asyncio-stream.rst:220 +#: library/asyncio-stream.rst:225 msgid "If *n* is ``0``, return an empty ``bytes`` object immediately." msgstr "" -#: library/asyncio-stream.rst:222 +#: library/asyncio-stream.rst:227 msgid "" "If *n* is positive, return at most *n* available ``bytes`` as soon as at " "least 1 byte is available in the internal buffer. If EOF is received before " "any byte is read, return an empty ``bytes`` object." msgstr "" -#: library/asyncio-stream.rst:229 +#: library/asyncio-stream.rst:235 msgid "" "Read one line, where \"line\" is a sequence of bytes ending with ``\\n``." msgstr "" -#: library/asyncio-stream.rst:232 +#: library/asyncio-stream.rst:238 msgid "" "If EOF is received and ``\\n`` was not found, the method returns partially " "read data." msgstr "" -#: library/asyncio-stream.rst:235 +#: library/asyncio-stream.rst:241 msgid "" "If EOF is received and the internal buffer is empty, return an empty " "``bytes`` object." msgstr "" -#: library/asyncio-stream.rst:240 +#: library/asyncio-stream.rst:247 msgid "Read exactly *n* bytes." msgstr "" -#: library/asyncio-stream.rst:242 +#: library/asyncio-stream.rst:249 msgid "" "Raise an :exc:`IncompleteReadError` if EOF is reached before *n* can be " "read. Use the :attr:`IncompleteReadError.partial` attribute to get the " "partially read data." msgstr "" -#: library/asyncio-stream.rst:248 +#: library/asyncio-stream.rst:256 msgid "Read data from the stream until *separator* is found." msgstr "" -#: library/asyncio-stream.rst:250 +#: library/asyncio-stream.rst:258 msgid "" "On success, the data and separator will be removed from the internal buffer " "(consumed). Returned data will include the separator at the end." msgstr "" -#: library/asyncio-stream.rst:254 +#: library/asyncio-stream.rst:262 msgid "" "If the amount of data read exceeds the configured stream limit, a :exc:" "`LimitOverrunError` exception is raised, and the data is left in the " "internal buffer and can be read again." msgstr "" -#: library/asyncio-stream.rst:258 +#: library/asyncio-stream.rst:266 msgid "" "If EOF is reached before the complete separator is found, an :exc:" "`IncompleteReadError` exception is raised, and the internal buffer is " @@ -295,103 +295,103 @@ msgid "" "portion of the separator." msgstr "" -#: library/asyncio-stream.rst:267 +#: library/asyncio-stream.rst:275 msgid "Return ``True`` if the buffer is empty and :meth:`feed_eof` was called." msgstr "" -#: library/asyncio-stream.rst:272 +#: library/asyncio-stream.rst:280 msgid "StreamWriter" msgstr "" -#: library/asyncio-stream.rst:276 +#: library/asyncio-stream.rst:284 msgid "" "Represents a writer object that provides APIs to write data to the IO stream." msgstr "" -#: library/asyncio-stream.rst:279 +#: library/asyncio-stream.rst:287 msgid "" "It is not recommended to instantiate *StreamWriter* objects directly; use :" "func:`open_connection` and :func:`start_server` instead." msgstr "" -#: library/asyncio-stream.rst:285 +#: library/asyncio-stream.rst:293 msgid "" "The method attempts to write the *data* to the underlying socket " "immediately. If that fails, the data is queued in an internal write buffer " "until it can be sent." msgstr "" -#: library/asyncio-stream.rst:301 +#: library/asyncio-stream.rst:309 msgid "The method should be used along with the ``drain()`` method::" msgstr "" -#: library/asyncio-stream.rst:291 +#: library/asyncio-stream.rst:299 msgid "" "stream.write(data)\n" "await stream.drain()" msgstr "" -#: library/asyncio-stream.rst:296 +#: library/asyncio-stream.rst:304 msgid "" "The method writes a list (or any iterable) of bytes to the underlying socket " "immediately. If that fails, the data is queued in an internal write buffer " "until it can be sent." msgstr "" -#: library/asyncio-stream.rst:303 +#: library/asyncio-stream.rst:311 msgid "" "stream.writelines(lines)\n" "await stream.drain()" msgstr "" -#: library/asyncio-stream.rst:308 +#: library/asyncio-stream.rst:316 msgid "The method closes the stream and the underlying socket." msgstr "" -#: library/asyncio-stream.rst:310 +#: library/asyncio-stream.rst:318 msgid "" "The method should be used, though not mandatory, along with the " "``wait_closed()`` method::" msgstr "" -#: library/asyncio-stream.rst:313 +#: library/asyncio-stream.rst:321 msgid "" "stream.close()\n" "await stream.wait_closed()" msgstr "" -#: library/asyncio-stream.rst:318 +#: library/asyncio-stream.rst:326 msgid "" "Return ``True`` if the underlying transport supports the :meth:`write_eof` " "method, ``False`` otherwise." msgstr "" -#: library/asyncio-stream.rst:323 +#: library/asyncio-stream.rst:331 msgid "" "Close the write end of the stream after the buffered write data is flushed." msgstr "" -#: library/asyncio-stream.rst:328 +#: library/asyncio-stream.rst:336 msgid "Return the underlying asyncio transport." msgstr "" -#: library/asyncio-stream.rst:332 +#: library/asyncio-stream.rst:340 msgid "" "Access optional transport information; see :meth:`BaseTransport." "get_extra_info` for details." msgstr "" -#: library/asyncio-stream.rst:337 +#: library/asyncio-stream.rst:346 msgid "Wait until it is appropriate to resume writing to the stream. Example::" msgstr "" -#: library/asyncio-stream.rst:340 +#: library/asyncio-stream.rst:349 msgid "" "writer.write(data)\n" "await writer.drain()" msgstr "" -#: library/asyncio-stream.rst:343 +#: library/asyncio-stream.rst:352 msgid "" "This is a flow control method that interacts with the underlying IO write " "buffer. When the size of the buffer reaches the high watermark, *drain()* " @@ -400,82 +400,82 @@ msgid "" "`drain` returns immediately." msgstr "" -#: library/asyncio-stream.rst:353 +#: library/asyncio-stream.rst:363 msgid "Upgrade an existing stream-based connection to TLS." msgstr "" -#: library/asyncio-stream.rst:355 +#: library/asyncio-stream.rst:365 msgid "Parameters:" msgstr "" -#: library/asyncio-stream.rst:357 +#: library/asyncio-stream.rst:367 msgid "*sslcontext*: a configured instance of :class:`~ssl.SSLContext`." msgstr "" -#: library/asyncio-stream.rst:359 +#: library/asyncio-stream.rst:369 msgid "" "*server_hostname*: sets or overrides the host name that the target server's " "certificate will be matched against." msgstr "" -#: library/asyncio-stream.rst:362 +#: library/asyncio-stream.rst:372 msgid "" "*ssl_handshake_timeout* is the time in seconds to wait for the TLS handshake " "to complete before aborting the connection. ``60.0`` seconds if ``None`` " "(default)." msgstr "" -#: library/asyncio-stream.rst:366 +#: library/asyncio-stream.rst:376 msgid "" "*ssl_shutdown_timeout* is the time in seconds to wait for the SSL shutdown " "to complete before aborting the connection. ``30.0`` seconds if ``None`` " "(default)." msgstr "" -#: library/asyncio-stream.rst:378 +#: library/asyncio-stream.rst:388 msgid "" "Return ``True`` if the stream is closed or in the process of being closed." msgstr "" -#: library/asyncio-stream.rst:385 +#: library/asyncio-stream.rst:396 msgid "Wait until the stream is closed." msgstr "" -#: library/asyncio-stream.rst:387 +#: library/asyncio-stream.rst:398 msgid "" "Should be called after :meth:`close` to wait until the underlying connection " "is closed, ensuring that all data has been flushed before e.g. exiting the " "program." msgstr "" -#: library/asyncio-stream.rst:395 +#: library/asyncio-stream.rst:406 msgid "Examples" msgstr "" -#: library/asyncio-stream.rst:400 +#: library/asyncio-stream.rst:411 msgid "TCP echo client using streams" msgstr "" -#: library/asyncio-stream.rst:402 +#: library/asyncio-stream.rst:413 msgid "TCP echo client using the :func:`asyncio.open_connection` function::" msgstr "" -#: library/asyncio-stream.rst:426 +#: library/asyncio-stream.rst:437 msgid "" "The :ref:`TCP echo client protocol " "` example uses the low-level :meth:" "`loop.create_connection` method." msgstr "" -#: library/asyncio-stream.rst:433 +#: library/asyncio-stream.rst:444 msgid "TCP echo server using streams" msgstr "" -#: library/asyncio-stream.rst:435 +#: library/asyncio-stream.rst:446 msgid "TCP echo server using the :func:`asyncio.start_server` function::" msgstr "" -#: library/asyncio-stream.rst:437 +#: library/asyncio-stream.rst:448 msgid "" "import asyncio\n" "\n" @@ -507,23 +507,23 @@ msgid "" "asyncio.run(main())" msgstr "" -#: library/asyncio-stream.rst:469 +#: library/asyncio-stream.rst:480 msgid "" "The :ref:`TCP echo server protocol " "` example uses the :meth:`loop." "create_server` method." msgstr "" -#: library/asyncio-stream.rst:474 +#: library/asyncio-stream.rst:485 msgid "Get HTTP headers" msgstr "" -#: library/asyncio-stream.rst:476 +#: library/asyncio-stream.rst:487 msgid "" "Simple example querying HTTP headers of the URL passed on the command line::" msgstr "" -#: library/asyncio-stream.rst:478 +#: library/asyncio-stream.rst:489 msgid "" "import asyncio\n" "import urllib.parse\n" @@ -562,33 +562,33 @@ msgid "" "asyncio.run(print_http_headers(url))" msgstr "" -#: library/asyncio-stream.rst:515 +#: library/asyncio-stream.rst:526 msgid "Usage::" msgstr "" -#: library/asyncio-stream.rst:517 +#: library/asyncio-stream.rst:528 msgid "python example.py http://example.com/path/page.html" msgstr "" -#: library/asyncio-stream.rst:519 +#: library/asyncio-stream.rst:530 msgid "or with HTTPS::" msgstr "" -#: library/asyncio-stream.rst:521 +#: library/asyncio-stream.rst:532 msgid "python example.py https://example.com/path/page.html" msgstr "" -#: library/asyncio-stream.rst:527 +#: library/asyncio-stream.rst:538 msgid "Register an open socket to wait for data using streams" msgstr "" -#: library/asyncio-stream.rst:529 +#: library/asyncio-stream.rst:540 msgid "" "Coroutine waiting until a socket receives data using the :func:" "`open_connection` function::" msgstr "" -#: library/asyncio-stream.rst:532 +#: library/asyncio-stream.rst:543 msgid "" "import asyncio\n" "import socket\n" @@ -621,14 +621,14 @@ msgid "" "asyncio.run(wait_for_data())" msgstr "" -#: library/asyncio-stream.rst:564 +#: library/asyncio-stream.rst:575 msgid "" "The :ref:`register an open socket to wait for data using a protocol " "` example uses a low-level protocol and " "the :meth:`loop.create_connection` method." msgstr "" -#: library/asyncio-stream.rst:568 +#: library/asyncio-stream.rst:579 msgid "" "The :ref:`watch a file descriptor for read events " "` example uses the low-level :meth:`loop." diff --git a/library/asyncio-subprocess.po b/library/asyncio-subprocess.po index 94ab6bc6..9a09e8cb 100644 --- a/library/asyncio-subprocess.po +++ b/library/asyncio-subprocess.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -97,40 +97,41 @@ msgstr "" msgid "Creating Subprocesses" msgstr "" -#: library/asyncio-subprocess.rst:67 +#: library/asyncio-subprocess.rst:68 msgid "Create a subprocess." msgstr "" -#: library/asyncio-subprocess.rst:69 library/asyncio-subprocess.rst:87 +#: library/asyncio-subprocess.rst:70 library/asyncio-subprocess.rst:89 msgid "" "The *limit* argument sets the buffer limit for :class:`StreamReader` " -"wrappers for :attr:`Process.stdout` and :attr:`Process.stderr` (if :const:" -"`subprocess.PIPE` is passed to *stdout* and *stderr* arguments)." +"wrappers for :attr:`~asyncio.subprocess.Process.stdout` and :attr:`~asyncio." +"subprocess.Process.stderr` (if :const:`subprocess.PIPE` is passed to " +"*stdout* and *stderr* arguments)." msgstr "" -#: library/asyncio-subprocess.rst:73 library/asyncio-subprocess.rst:91 +#: library/asyncio-subprocess.rst:74 library/asyncio-subprocess.rst:93 msgid "Return a :class:`~asyncio.subprocess.Process` instance." msgstr "" -#: library/asyncio-subprocess.rst:75 +#: library/asyncio-subprocess.rst:76 msgid "" "See the documentation of :meth:`loop.subprocess_exec` for other parameters." msgstr "" -#: library/asyncio-subprocess.rst:78 library/asyncio-subprocess.rst:105 +#: library/asyncio-subprocess.rst:79 library/asyncio-subprocess.rst:107 msgid "Removed the *loop* parameter." msgstr "" -#: library/asyncio-subprocess.rst:85 +#: library/asyncio-subprocess.rst:87 msgid "Run the *cmd* shell command." msgstr "" -#: library/asyncio-subprocess.rst:93 +#: library/asyncio-subprocess.rst:95 msgid "" "See the documentation of :meth:`loop.subprocess_shell` for other parameters." msgstr "" -#: library/asyncio-subprocess.rst:98 +#: library/asyncio-subprocess.rst:100 msgid "" "It is the application's responsibility to ensure that all whitespace and " "special characters are quoted appropriately to avoid `shell injection " @@ -140,14 +141,14 @@ msgid "" "be used to construct shell commands." msgstr "" -#: library/asyncio-subprocess.rst:110 +#: library/asyncio-subprocess.rst:112 msgid "" "Subprocesses are available for Windows if a :class:`ProactorEventLoop` is " "used. See :ref:`Subprocess Support on Windows ` " "for details." msgstr "" -#: library/asyncio-subprocess.rst:116 +#: library/asyncio-subprocess.rst:118 msgid "" "asyncio also has the following *low-level* APIs to work with subprocesses: :" "meth:`loop.subprocess_exec`, :meth:`loop.subprocess_shell`, :meth:`loop." @@ -156,47 +157,47 @@ msgid "" "Protocols `." msgstr "" -#: library/asyncio-subprocess.rst:124 +#: library/asyncio-subprocess.rst:126 msgid "Constants" msgstr "" -#: library/asyncio-subprocess.rst:129 +#: library/asyncio-subprocess.rst:131 msgid "Can be passed to the *stdin*, *stdout* or *stderr* parameters." msgstr "" -#: library/asyncio-subprocess.rst:131 +#: library/asyncio-subprocess.rst:133 msgid "" "If *PIPE* is passed to *stdin* argument, the :attr:`Process.stdin ` attribute will point to a :class:`StreamWriter` " -"instance." +"subprocess.Process.stdin>` attribute will point to a :class:`~asyncio." +"StreamWriter` instance." msgstr "" -#: library/asyncio-subprocess.rst:135 +#: library/asyncio-subprocess.rst:137 msgid "" "If *PIPE* is passed to *stdout* or *stderr* arguments, the :attr:`Process." "stdout ` and :attr:`Process.stderr " "` attributes will point to :class:" -"`StreamReader` instances." +"`~asyncio.StreamReader` instances." msgstr "" -#: library/asyncio-subprocess.rst:143 +#: library/asyncio-subprocess.rst:145 msgid "" "Special value that can be used as the *stderr* argument and indicates that " "standard error should be redirected into standard output." msgstr "" -#: library/asyncio-subprocess.rst:149 +#: library/asyncio-subprocess.rst:151 msgid "" "Special value that can be used as the *stdin*, *stdout* or *stderr* argument " "to process creation functions. It indicates that the special file :data:`os." "devnull` will be used for the corresponding subprocess stream." msgstr "" -#: library/asyncio-subprocess.rst:155 +#: library/asyncio-subprocess.rst:157 msgid "Interacting with Subprocesses" msgstr "" -#: library/asyncio-subprocess.rst:157 +#: library/asyncio-subprocess.rst:159 msgid "" "Both :func:`create_subprocess_exec` and :func:`create_subprocess_shell` " "functions return instances of the *Process* class. *Process* is a high-" @@ -204,61 +205,62 @@ msgid "" "their completion." msgstr "" -#: library/asyncio-subprocess.rst:165 +#: library/asyncio-subprocess.rst:167 msgid "" -"An object that wraps OS processes created by the :func:" -"`create_subprocess_exec` and :func:`create_subprocess_shell` functions." +"An object that wraps OS processes created by the :func:`~asyncio." +"create_subprocess_exec` and :func:`~asyncio.create_subprocess_shell` " +"functions." msgstr "" -#: library/asyncio-subprocess.rst:169 +#: library/asyncio-subprocess.rst:171 msgid "" "This class is designed to have a similar API to the :class:`subprocess." "Popen` class, but there are some notable differences:" msgstr "" -#: library/asyncio-subprocess.rst:173 +#: library/asyncio-subprocess.rst:175 msgid "" "unlike Popen, Process instances do not have an equivalent to the :meth:" "`~subprocess.Popen.poll` method;" msgstr "" -#: library/asyncio-subprocess.rst:176 +#: library/asyncio-subprocess.rst:178 msgid "" "the :meth:`~asyncio.subprocess.Process.communicate` and :meth:`~asyncio." "subprocess.Process.wait` methods don't have a *timeout* parameter: use the :" "func:`~asyncio.wait_for` function;" msgstr "" -#: library/asyncio-subprocess.rst:180 +#: library/asyncio-subprocess.rst:182 msgid "" "the :meth:`Process.wait() ` method is " "asynchronous, whereas :meth:`subprocess.Popen.wait` method is implemented as " "a blocking busy loop;" msgstr "" -#: library/asyncio-subprocess.rst:184 +#: library/asyncio-subprocess.rst:186 msgid "the *universal_newlines* parameter is not supported." msgstr "" -#: library/asyncio-subprocess.rst:186 +#: library/asyncio-subprocess.rst:188 msgid "This class is :ref:`not thread safe `." msgstr "" -#: library/asyncio-subprocess.rst:188 +#: library/asyncio-subprocess.rst:190 msgid "" "See also the :ref:`Subprocess and Threads ` " "section." msgstr "" -#: library/asyncio-subprocess.rst:193 +#: library/asyncio-subprocess.rst:196 msgid "Wait for the child process to terminate." msgstr "" -#: library/asyncio-subprocess.rst:195 +#: library/asyncio-subprocess.rst:198 msgid "Set and return the :attr:`returncode` attribute." msgstr "" -#: library/asyncio-subprocess.rst:199 +#: library/asyncio-subprocess.rst:202 msgid "" "This method can deadlock when using ``stdout=PIPE`` or ``stderr=PIPE`` and " "the child process generates so much output that it blocks waiting for the OS " @@ -266,37 +268,37 @@ msgid "" "using pipes to avoid this condition." msgstr "" -#: library/asyncio-subprocess.rst:207 +#: library/asyncio-subprocess.rst:211 msgid "Interact with process:" msgstr "" -#: library/asyncio-subprocess.rst:209 +#: library/asyncio-subprocess.rst:213 msgid "send data to *stdin* (if *input* is not ``None``);" msgstr "" -#: library/asyncio-subprocess.rst:210 +#: library/asyncio-subprocess.rst:214 msgid "closes *stdin*;" msgstr "" -#: library/asyncio-subprocess.rst:211 +#: library/asyncio-subprocess.rst:215 msgid "read data from *stdout* and *stderr*, until EOF is reached;" msgstr "" -#: library/asyncio-subprocess.rst:212 +#: library/asyncio-subprocess.rst:216 msgid "wait for process to terminate." msgstr "" -#: library/asyncio-subprocess.rst:214 +#: library/asyncio-subprocess.rst:218 msgid "" "The optional *input* argument is the data (:class:`bytes` object) that will " "be sent to the child process." msgstr "" -#: library/asyncio-subprocess.rst:217 +#: library/asyncio-subprocess.rst:221 msgid "Return a tuple ``(stdout_data, stderr_data)``." msgstr "" -#: library/asyncio-subprocess.rst:219 +#: library/asyncio-subprocess.rst:223 msgid "" "If either :exc:`BrokenPipeError` or :exc:`ConnectionResetError` exception is " "raised when writing *input* into *stdin*, the exception is ignored. This " @@ -304,7 +306,7 @@ msgid "" "*stdin*." msgstr "" -#: library/asyncio-subprocess.rst:224 +#: library/asyncio-subprocess.rst:228 msgid "" "If it is desired to send data to the process' *stdin*, the process needs to " "be created with ``stdin=PIPE``. Similarly, to get anything other than " @@ -312,75 +314,76 @@ msgid "" "``stdout=PIPE`` and/or ``stderr=PIPE`` arguments." msgstr "" -#: library/asyncio-subprocess.rst:230 +#: library/asyncio-subprocess.rst:234 msgid "" "Note, that the data read is buffered in memory, so do not use this method if " "the data size is large or unlimited." msgstr "" -#: library/asyncio-subprocess.rst:235 -msgid "*stdin* gets closed when `input=None` too." +#: library/asyncio-subprocess.rst:239 +msgid "*stdin* gets closed when ``input=None`` too." msgstr "" -#: library/asyncio-subprocess.rst:239 +#: library/asyncio-subprocess.rst:243 msgid "Sends the signal *signal* to the child process." msgstr "" -#: library/asyncio-subprocess.rst:243 +#: library/asyncio-subprocess.rst:247 msgid "" "On Windows, :py:const:`~signal.SIGTERM` is an alias for :meth:`terminate`. " "``CTRL_C_EVENT`` and ``CTRL_BREAK_EVENT`` can be sent to processes started " "with a *creationflags* parameter which includes ``CREATE_NEW_PROCESS_GROUP``." msgstr "" -#: library/asyncio-subprocess.rst:250 +#: library/asyncio-subprocess.rst:254 msgid "Stop the child process." msgstr "" -#: library/asyncio-subprocess.rst:252 +#: library/asyncio-subprocess.rst:256 msgid "" "On POSIX systems this method sends :py:const:`~signal.SIGTERM` to the child " "process." msgstr "" -#: library/asyncio-subprocess.rst:255 +#: library/asyncio-subprocess.rst:259 msgid "" "On Windows the Win32 API function :c:func:`!TerminateProcess` is called to " "stop the child process." msgstr "" -#: library/asyncio-subprocess.rst:260 +#: library/asyncio-subprocess.rst:264 msgid "Kill the child process." msgstr "" -#: library/asyncio-subprocess.rst:262 +#: library/asyncio-subprocess.rst:266 msgid "" -"On POSIX systems this method sends :py:data:`SIGKILL` to the child process." +"On POSIX systems this method sends :py:data:`~signal.SIGKILL` to the child " +"process." msgstr "" -#: library/asyncio-subprocess.rst:265 +#: library/asyncio-subprocess.rst:269 msgid "On Windows this method is an alias for :meth:`terminate`." msgstr "" -#: library/asyncio-subprocess.rst:269 +#: library/asyncio-subprocess.rst:273 msgid "" -"Standard input stream (:class:`StreamWriter`) or ``None`` if the process was " -"created with ``stdin=None``." +"Standard input stream (:class:`~asyncio.StreamWriter`) or ``None`` if the " +"process was created with ``stdin=None``." msgstr "" -#: library/asyncio-subprocess.rst:274 +#: library/asyncio-subprocess.rst:278 msgid "" -"Standard output stream (:class:`StreamReader`) or ``None`` if the process " -"was created with ``stdout=None``." +"Standard output stream (:class:`~asyncio.StreamReader`) or ``None`` if the " +"process was created with ``stdout=None``." msgstr "" -#: library/asyncio-subprocess.rst:279 +#: library/asyncio-subprocess.rst:283 msgid "" -"Standard error stream (:class:`StreamReader`) or ``None`` if the process was " -"created with ``stderr=None``." +"Standard error stream (:class:`~asyncio.StreamReader`) or ``None`` if the " +"process was created with ``stderr=None``." msgstr "" -#: library/asyncio-subprocess.rst:284 +#: library/asyncio-subprocess.rst:288 msgid "" "Use the :meth:`communicate` method rather than :attr:`process.stdin.write() " "`, :attr:`await process.stdout.read() ` or :attr:`await " @@ -388,93 +391,94 @@ msgid "" "pausing reading or writing and blocking the child process." msgstr "" -#: library/asyncio-subprocess.rst:293 +#: library/asyncio-subprocess.rst:297 msgid "Process identification number (PID)." msgstr "" -#: library/asyncio-subprocess.rst:295 +#: library/asyncio-subprocess.rst:299 msgid "" -"Note that for processes created by the :func:`create_subprocess_shell` " -"function, this attribute is the PID of the spawned shell." +"Note that for processes created by the :func:`~asyncio." +"create_subprocess_shell` function, this attribute is the PID of the spawned " +"shell." msgstr "" -#: library/asyncio-subprocess.rst:300 +#: library/asyncio-subprocess.rst:304 msgid "Return code of the process when it exits." msgstr "" -#: library/asyncio-subprocess.rst:302 +#: library/asyncio-subprocess.rst:306 msgid "A ``None`` value indicates that the process has not terminated yet." msgstr "" -#: library/asyncio-subprocess.rst:304 +#: library/asyncio-subprocess.rst:308 msgid "" "A negative value ``-N`` indicates that the child was terminated by signal " "``N`` (POSIX only)." msgstr "" -#: library/asyncio-subprocess.rst:311 +#: library/asyncio-subprocess.rst:315 msgid "Subprocess and Threads" msgstr "" -#: library/asyncio-subprocess.rst:313 +#: library/asyncio-subprocess.rst:317 msgid "" "Standard asyncio event loop supports running subprocesses from different " "threads by default." msgstr "" -#: library/asyncio-subprocess.rst:316 +#: library/asyncio-subprocess.rst:320 msgid "" "On Windows subprocesses are provided by :class:`ProactorEventLoop` only " "(default), :class:`SelectorEventLoop` has no subprocess support." msgstr "" -#: library/asyncio-subprocess.rst:319 +#: library/asyncio-subprocess.rst:323 msgid "" "On UNIX *child watchers* are used for subprocess finish waiting, see :ref:" "`asyncio-watchers` for more info." msgstr "" -#: library/asyncio-subprocess.rst:325 +#: library/asyncio-subprocess.rst:329 msgid "" "UNIX switched to use :class:`ThreadedChildWatcher` for spawning subprocesses " "from different threads without any limitation." msgstr "" -#: library/asyncio-subprocess.rst:328 +#: library/asyncio-subprocess.rst:332 msgid "" "Spawning a subprocess with *inactive* current child watcher raises :exc:" "`RuntimeError`." msgstr "" -#: library/asyncio-subprocess.rst:331 +#: library/asyncio-subprocess.rst:335 msgid "" "Note that alternative event loop implementations might have own limitations; " "please refer to their documentation." msgstr "" -#: library/asyncio-subprocess.rst:336 +#: library/asyncio-subprocess.rst:340 msgid "" "The :ref:`Concurrency and multithreading in asyncio ` section." msgstr "" -#: library/asyncio-subprocess.rst:341 +#: library/asyncio-subprocess.rst:345 msgid "Examples" msgstr "" -#: library/asyncio-subprocess.rst:343 +#: library/asyncio-subprocess.rst:347 msgid "" "An example using the :class:`~asyncio.subprocess.Process` class to control a " "subprocess and the :class:`StreamReader` class to read from its standard " "output." msgstr "" -#: library/asyncio-subprocess.rst:349 +#: library/asyncio-subprocess.rst:353 msgid "" "The subprocess is created by the :func:`create_subprocess_exec` function::" msgstr "" -#: library/asyncio-subprocess.rst:352 +#: library/asyncio-subprocess.rst:356 msgid "" "import asyncio\n" "import sys\n" @@ -500,7 +504,7 @@ msgid "" "print(f\"Current date: {date}\")" msgstr "" -#: library/asyncio-subprocess.rst:376 +#: library/asyncio-subprocess.rst:380 msgid "" "See also the :ref:`same example ` written " "using low-level APIs." diff --git a/library/asyncio-sync.po b/library/asyncio-sync.po index 1e1a0640..daa9e1bd 100644 --- a/library/asyncio-sync.po +++ b/library/asyncio-sync.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -99,7 +99,7 @@ msgid "" " # access shared state" msgstr "" -#: library/asyncio-sync.rst:199 library/asyncio-sync.rst:299 +#: library/asyncio-sync.rst:201 library/asyncio-sync.rst:304 msgid "which is equivalent to::" msgstr "" @@ -115,64 +115,64 @@ msgid "" " lock.release()" msgstr "" -#: library/asyncio-sync.rst:112 library/asyncio-sync.rst:287 -#: library/asyncio-sync.rst:342 +#: library/asyncio-sync.rst:113 library/asyncio-sync.rst:292 +#: library/asyncio-sync.rst:348 msgid "Removed the *loop* parameter." msgstr "" -#: library/asyncio-sync.rst:72 +#: library/asyncio-sync.rst:73 msgid "Acquire the lock." msgstr "" -#: library/asyncio-sync.rst:74 +#: library/asyncio-sync.rst:75 msgid "" "This method waits until the lock is *unlocked*, sets it to *locked* and " "returns ``True``." msgstr "" -#: library/asyncio-sync.rst:77 +#: library/asyncio-sync.rst:78 msgid "" "When more than one coroutine is blocked in :meth:`acquire` waiting for the " "lock to be unlocked, only one coroutine eventually proceeds." msgstr "" -#: library/asyncio-sync.rst:81 +#: library/asyncio-sync.rst:82 msgid "" "Acquiring a lock is *fair*: the coroutine that proceeds will be the first " "coroutine that started waiting on the lock." msgstr "" -#: library/asyncio-sync.rst:86 +#: library/asyncio-sync.rst:87 msgid "Release the lock." msgstr "" -#: library/asyncio-sync.rst:88 +#: library/asyncio-sync.rst:89 msgid "When the lock is *locked*, reset it to *unlocked* and return." msgstr "" -#: library/asyncio-sync.rst:90 +#: library/asyncio-sync.rst:91 msgid "If the lock is *unlocked*, a :exc:`RuntimeError` is raised." msgstr "" -#: library/asyncio-sync.rst:94 +#: library/asyncio-sync.rst:95 msgid "Return ``True`` if the lock is *locked*." msgstr "" -#: library/asyncio-sync.rst:98 +#: library/asyncio-sync.rst:99 msgid "Event" msgstr "" -#: library/asyncio-sync.rst:102 +#: library/asyncio-sync.rst:103 msgid "An event object. Not thread-safe." msgstr "" -#: library/asyncio-sync.rst:104 +#: library/asyncio-sync.rst:105 msgid "" "An asyncio event can be used to notify multiple asyncio tasks that some " "event has happened." msgstr "" -#: library/asyncio-sync.rst:107 +#: library/asyncio-sync.rst:108 msgid "" "An Event object manages an internal flag that can be set to *true* with the :" "meth:`~Event.set` method and reset to *false* with the :meth:`clear` " @@ -180,11 +180,11 @@ msgid "" "*true*. The flag is set to *false* initially." msgstr "" -#: library/asyncio-sync.rst:366 +#: library/asyncio-sync.rst:372 msgid "Example::" msgstr "" -#: library/asyncio-sync.rst:119 +#: library/asyncio-sync.rst:120 msgid "" "async def waiter(event):\n" " print('waiting for it ...')\n" @@ -208,53 +208,53 @@ msgid "" "asyncio.run(main())" msgstr "" -#: library/asyncio-sync.rst:142 +#: library/asyncio-sync.rst:144 msgid "Wait until the event is set." msgstr "" -#: library/asyncio-sync.rst:144 +#: library/asyncio-sync.rst:146 msgid "" "If the event is set, return ``True`` immediately. Otherwise block until " "another task calls :meth:`~Event.set`." msgstr "" -#: library/asyncio-sync.rst:149 +#: library/asyncio-sync.rst:151 msgid "Set the event." msgstr "" -#: library/asyncio-sync.rst:151 +#: library/asyncio-sync.rst:153 msgid "All tasks waiting for event to be set will be immediately awakened." msgstr "" -#: library/asyncio-sync.rst:156 +#: library/asyncio-sync.rst:158 msgid "Clear (unset) the event." msgstr "" -#: library/asyncio-sync.rst:158 +#: library/asyncio-sync.rst:160 msgid "" "Tasks awaiting on :meth:`~Event.wait` will now block until the :meth:`~Event." "set` method is called again." msgstr "" -#: library/asyncio-sync.rst:163 +#: library/asyncio-sync.rst:165 msgid "Return ``True`` if the event is set." msgstr "" -#: library/asyncio-sync.rst:167 +#: library/asyncio-sync.rst:169 msgid "Condition" msgstr "" -#: library/asyncio-sync.rst:171 +#: library/asyncio-sync.rst:173 msgid "A Condition object. Not thread-safe." msgstr "" -#: library/asyncio-sync.rst:173 +#: library/asyncio-sync.rst:175 msgid "" "An asyncio condition primitive can be used by a task to wait for some event " "to happen and then get exclusive access to a shared resource." msgstr "" -#: library/asyncio-sync.rst:177 +#: library/asyncio-sync.rst:179 msgid "" "In essence, a Condition object combines the functionality of an :class:" "`Event` and a :class:`Lock`. It is possible to have multiple Condition " @@ -263,18 +263,18 @@ msgid "" "that shared resource." msgstr "" -#: library/asyncio-sync.rst:183 +#: library/asyncio-sync.rst:185 msgid "" "The optional *lock* argument must be a :class:`Lock` object or ``None``. In " "the latter case a new Lock object is created automatically." msgstr "" -#: library/asyncio-sync.rst:190 +#: library/asyncio-sync.rst:192 msgid "" "The preferred way to use a Condition is an :keyword:`async with` statement::" msgstr "" -#: library/asyncio-sync.rst:193 +#: library/asyncio-sync.rst:195 msgid "" "cond = asyncio.Condition()\n" "\n" @@ -283,7 +283,7 @@ msgid "" " await cond.wait()" msgstr "" -#: library/asyncio-sync.rst:201 +#: library/asyncio-sync.rst:203 msgid "" "cond = asyncio.Condition()\n" "\n" @@ -295,86 +295,86 @@ msgid "" " cond.release()" msgstr "" -#: library/asyncio-sync.rst:212 +#: library/asyncio-sync.rst:215 msgid "Acquire the underlying lock." msgstr "" -#: library/asyncio-sync.rst:214 +#: library/asyncio-sync.rst:217 msgid "" "This method waits until the underlying lock is *unlocked*, sets it to " "*locked* and returns ``True``." msgstr "" -#: library/asyncio-sync.rst:219 +#: library/asyncio-sync.rst:222 msgid "" "Wake up at most *n* tasks (1 by default) waiting on this condition. The " "method is no-op if no tasks are waiting." msgstr "" -#: library/asyncio-sync.rst:237 +#: library/asyncio-sync.rst:240 msgid "" "The lock must be acquired before this method is called and released shortly " "after. If called with an *unlocked* lock a :exc:`RuntimeError` error is " "raised." msgstr "" -#: library/asyncio-sync.rst:228 +#: library/asyncio-sync.rst:231 msgid "Return ``True`` if the underlying lock is acquired." msgstr "" -#: library/asyncio-sync.rst:232 +#: library/asyncio-sync.rst:235 msgid "Wake up all tasks waiting on this condition." msgstr "" -#: library/asyncio-sync.rst:234 +#: library/asyncio-sync.rst:237 msgid "This method acts like :meth:`notify`, but wakes up all waiting tasks." msgstr "" -#: library/asyncio-sync.rst:243 +#: library/asyncio-sync.rst:246 msgid "Release the underlying lock." msgstr "" -#: library/asyncio-sync.rst:245 +#: library/asyncio-sync.rst:248 msgid "When invoked on an unlocked lock, a :exc:`RuntimeError` is raised." msgstr "" -#: library/asyncio-sync.rst:250 +#: library/asyncio-sync.rst:254 msgid "Wait until notified." msgstr "" -#: library/asyncio-sync.rst:252 +#: library/asyncio-sync.rst:256 msgid "" "If the calling task has not acquired the lock when this method is called, a :" "exc:`RuntimeError` is raised." msgstr "" -#: library/asyncio-sync.rst:255 +#: library/asyncio-sync.rst:259 msgid "" "This method releases the underlying lock, and then blocks until it is " "awakened by a :meth:`notify` or :meth:`notify_all` call. Once awakened, the " "Condition re-acquires its lock and this method returns ``True``." msgstr "" -#: library/asyncio-sync.rst:262 +#: library/asyncio-sync.rst:267 msgid "Wait until a predicate becomes *true*." msgstr "" -#: library/asyncio-sync.rst:264 +#: library/asyncio-sync.rst:269 msgid "" "The predicate must be a callable which result will be interpreted as a " "boolean value. The method will repeatedly :meth:`~Condition.wait` until the " "predicate evaluates to *true*. The final value is the return value." msgstr "" -#: library/asyncio-sync.rst:271 +#: library/asyncio-sync.rst:276 msgid "Semaphore" msgstr "" -#: library/asyncio-sync.rst:275 +#: library/asyncio-sync.rst:280 msgid "A Semaphore object. Not thread-safe." msgstr "" -#: library/asyncio-sync.rst:277 +#: library/asyncio-sync.rst:282 msgid "" "A semaphore manages an internal counter which is decremented by each :meth:" "`acquire` call and incremented by each :meth:`release` call. The counter can " @@ -382,19 +382,19 @@ msgid "" "waiting until some task calls :meth:`release`." msgstr "" -#: library/asyncio-sync.rst:283 +#: library/asyncio-sync.rst:288 msgid "" "The optional *value* argument gives the initial value for the internal " "counter (``1`` by default). If the given value is less than ``0`` a :exc:" "`ValueError` is raised." msgstr "" -#: library/asyncio-sync.rst:290 +#: library/asyncio-sync.rst:295 msgid "" "The preferred way to use a Semaphore is an :keyword:`async with` statement::" msgstr "" -#: library/asyncio-sync.rst:293 +#: library/asyncio-sync.rst:298 msgid "" "sem = asyncio.Semaphore(10)\n" "\n" @@ -403,7 +403,7 @@ msgid "" " # work with shared resource" msgstr "" -#: library/asyncio-sync.rst:301 +#: library/asyncio-sync.rst:306 msgid "" "sem = asyncio.Semaphore(10)\n" "\n" @@ -415,57 +415,57 @@ msgid "" " sem.release()" msgstr "" -#: library/asyncio-sync.rst:312 +#: library/asyncio-sync.rst:318 msgid "Acquire a semaphore." msgstr "" -#: library/asyncio-sync.rst:314 +#: library/asyncio-sync.rst:320 msgid "" "If the internal counter is greater than zero, decrement it by one and return " "``True`` immediately. If it is zero, wait until a :meth:`release` is called " "and return ``True``." msgstr "" -#: library/asyncio-sync.rst:320 +#: library/asyncio-sync.rst:326 msgid "Returns ``True`` if semaphore can not be acquired immediately." msgstr "" -#: library/asyncio-sync.rst:324 +#: library/asyncio-sync.rst:330 msgid "" "Release a semaphore, incrementing the internal counter by one. Can wake up a " "task waiting to acquire the semaphore." msgstr "" -#: library/asyncio-sync.rst:327 +#: library/asyncio-sync.rst:333 msgid "" "Unlike :class:`BoundedSemaphore`, :class:`Semaphore` allows making more " "``release()`` calls than ``acquire()`` calls." msgstr "" -#: library/asyncio-sync.rst:332 +#: library/asyncio-sync.rst:338 msgid "BoundedSemaphore" msgstr "" -#: library/asyncio-sync.rst:336 +#: library/asyncio-sync.rst:342 msgid "A bounded semaphore object. Not thread-safe." msgstr "" -#: library/asyncio-sync.rst:338 +#: library/asyncio-sync.rst:344 msgid "" "Bounded Semaphore is a version of :class:`Semaphore` that raises a :exc:" "`ValueError` in :meth:`~Semaphore.release` if it increases the internal " "counter above the initial *value*." msgstr "" -#: library/asyncio-sync.rst:347 +#: library/asyncio-sync.rst:353 msgid "Barrier" msgstr "" -#: library/asyncio-sync.rst:351 +#: library/asyncio-sync.rst:357 msgid "A barrier object. Not thread-safe." msgstr "" -#: library/asyncio-sync.rst:353 +#: library/asyncio-sync.rst:359 msgid "" "A barrier is a simple synchronization primitive that allows to block until " "*parties* number of tasks are waiting on it. Tasks can wait on the :meth:" @@ -474,17 +474,17 @@ msgid "" "waiting tasks would unblock simultaneously." msgstr "" -#: library/asyncio-sync.rst:359 +#: library/asyncio-sync.rst:365 msgid "" ":keyword:`async with` can be used as an alternative to awaiting on :meth:" "`~Barrier.wait`." msgstr "" -#: library/asyncio-sync.rst:362 +#: library/asyncio-sync.rst:368 msgid "The barrier can be reused any number of times." msgstr "" -#: library/asyncio-sync.rst:368 +#: library/asyncio-sync.rst:374 msgid "" "async def example_barrier():\n" " # barrier with 3 parties\n" @@ -508,11 +508,11 @@ msgid "" "asyncio.run(example_barrier())" msgstr "" -#: library/asyncio-sync.rst:389 +#: library/asyncio-sync.rst:395 msgid "Result of this example is::" msgstr "" -#: library/asyncio-sync.rst:391 +#: library/asyncio-sync.rst:397 msgid "" "\n" "\n" @@ -520,27 +520,27 @@ msgid "" "" msgstr "" -#: library/asyncio-sync.rst:400 +#: library/asyncio-sync.rst:407 msgid "" "Pass the barrier. When all the tasks party to the barrier have called this " "function, they are all unblocked simultaneously." msgstr "" -#: library/asyncio-sync.rst:403 +#: library/asyncio-sync.rst:410 msgid "" "When a waiting or blocked task in the barrier is cancelled, this task exits " "the barrier which stays in the same state. If the state of the barrier is " "\"filling\", the number of waiting task decreases by 1." msgstr "" -#: library/asyncio-sync.rst:408 +#: library/asyncio-sync.rst:415 msgid "" "The return value is an integer in the range of 0 to ``parties-1``, different " "for each task. This can be used to select a task to do some special " "housekeeping, e.g.::" msgstr "" -#: library/asyncio-sync.rst:412 +#: library/asyncio-sync.rst:419 msgid "" "...\n" "async with barrier as position:\n" @@ -549,26 +549,26 @@ msgid "" " print('End of *draining phase*')" msgstr "" -#: library/asyncio-sync.rst:418 +#: library/asyncio-sync.rst:425 msgid "" "This method may raise a :class:`BrokenBarrierError` exception if the barrier " "is broken or reset while a task is waiting. It could raise a :exc:" "`CancelledError` if a task is cancelled." msgstr "" -#: library/asyncio-sync.rst:424 +#: library/asyncio-sync.rst:432 msgid "" "Return the barrier to the default, empty state. Any tasks waiting on it " "will receive the :class:`BrokenBarrierError` exception." msgstr "" -#: library/asyncio-sync.rst:427 +#: library/asyncio-sync.rst:435 msgid "" "If a barrier is broken it may be better to just leave it and create a new " "one." msgstr "" -#: library/asyncio-sync.rst:431 +#: library/asyncio-sync.rst:440 msgid "" "Put the barrier into a broken state. This causes any active or future calls " "to :meth:`~Barrier.wait` to fail with the :class:`BrokenBarrierError`. Use " @@ -576,25 +576,25 @@ msgid "" "waiting tasks." msgstr "" -#: library/asyncio-sync.rst:438 +#: library/asyncio-sync.rst:447 msgid "The number of tasks required to pass the barrier." msgstr "" -#: library/asyncio-sync.rst:442 +#: library/asyncio-sync.rst:451 msgid "The number of tasks currently waiting in the barrier while filling." msgstr "" -#: library/asyncio-sync.rst:446 +#: library/asyncio-sync.rst:455 msgid "A boolean that is ``True`` if the barrier is in the broken state." msgstr "" -#: library/asyncio-sync.rst:451 +#: library/asyncio-sync.rst:460 msgid "" "This exception, a subclass of :exc:`RuntimeError`, is raised when the :class:" "`Barrier` object is reset or broken." msgstr "" -#: library/asyncio-sync.rst:459 +#: library/asyncio-sync.rst:468 msgid "" "Acquiring a lock using ``await lock`` or ``yield from lock`` and/or :keyword:" "`with` statement (``with await lock``, ``with (yield from lock)``) was " diff --git a/library/asyncio-task.po b/library/asyncio-task.po index fee9a8de..851d1542 100644 --- a/library/asyncio-task.po +++ b/library/asyncio-task.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -399,11 +399,11 @@ msgid "" " task.add_done_callback(background_tasks.discard)" msgstr "" -#: library/asyncio-task.rst:1122 +#: library/asyncio-task.rst:1126 msgid "Added the *name* parameter." msgstr "" -#: library/asyncio-task.rst:1129 +#: library/asyncio-task.rst:1133 msgid "Added the *context* parameter." msgstr "" @@ -460,8 +460,8 @@ msgid "" "`asyncio.create_task`." msgstr "" -#: library/asyncio-task.rst:519 library/asyncio-task.rst:750 -#: library/asyncio-task.rst:816 library/asyncio-task.rst:915 +#: library/asyncio-task.rst:520 library/asyncio-task.rst:751 +#: library/asyncio-task.rst:818 library/asyncio-task.rst:918 msgid "Example::" msgstr "" @@ -584,34 +584,34 @@ msgstr "" msgid "Sleeping" msgstr "" -#: library/asyncio-task.rst:441 +#: library/asyncio-task.rst:442 msgid "Block for *delay* seconds." msgstr "" -#: library/asyncio-task.rst:443 +#: library/asyncio-task.rst:444 msgid "" "If *result* is provided, it is returned to the caller when the coroutine " "completes." msgstr "" -#: library/asyncio-task.rst:446 +#: library/asyncio-task.rst:447 msgid "" "``sleep()`` always suspends the current task, allowing other tasks to run." msgstr "" -#: library/asyncio-task.rst:449 +#: library/asyncio-task.rst:450 msgid "" "Setting the delay to 0 provides an optimized path to allow other tasks to " "run. This can be used by long-running functions to avoid blocking the event " "loop for the full duration of the function call." msgstr "" -#: library/asyncio-task.rst:455 +#: library/asyncio-task.rst:456 msgid "" "Example of coroutine displaying the current date every second for 5 seconds::" msgstr "" -#: library/asyncio-task.rst:458 +#: library/asyncio-task.rst:459 msgid "" "import asyncio\n" "import datetime\n" @@ -628,35 +628,35 @@ msgid "" "asyncio.run(display_date())" msgstr "" -#: library/asyncio-task.rst:568 library/asyncio-task.rst:841 -#: library/asyncio-task.rst:921 +#: library/asyncio-task.rst:569 library/asyncio-task.rst:843 +#: library/asyncio-task.rst:924 msgid "Removed the *loop* parameter." msgstr "" -#: library/asyncio-task.rst:478 +#: library/asyncio-task.rst:479 msgid "Running Tasks Concurrently" msgstr "" -#: library/asyncio-task.rst:482 +#: library/asyncio-task.rst:483 msgid "" "Run :ref:`awaitable objects ` in the *aws* sequence " "*concurrently*." msgstr "" -#: library/asyncio-task.rst:485 +#: library/asyncio-task.rst:486 msgid "" "If any awaitable in *aws* is a coroutine, it is automatically scheduled as a " "Task." msgstr "" -#: library/asyncio-task.rst:488 +#: library/asyncio-task.rst:489 msgid "" "If all awaitables are completed successfully, the result is an aggregate " "list of returned values. The order of result values corresponds to the " "order of awaitables in *aws*." msgstr "" -#: library/asyncio-task.rst:492 +#: library/asyncio-task.rst:493 msgid "" "If *return_exceptions* is ``False`` (default), the first raised exception is " "immediately propagated to the task that awaits on ``gather()``. Other " @@ -664,19 +664,19 @@ msgid "" "run." msgstr "" -#: library/asyncio-task.rst:497 +#: library/asyncio-task.rst:498 msgid "" "If *return_exceptions* is ``True``, exceptions are treated the same as " "successful results, and aggregated in the result list." msgstr "" -#: library/asyncio-task.rst:500 +#: library/asyncio-task.rst:501 msgid "" "If ``gather()`` is *cancelled*, all submitted awaitables (that have not " "completed yet) are also *cancelled*." msgstr "" -#: library/asyncio-task.rst:503 +#: library/asyncio-task.rst:504 msgid "" "If any Task or Future from the *aws* sequence is *cancelled*, it is treated " "as if it raised :exc:`CancelledError` -- the ``gather()`` call is **not** " @@ -684,7 +684,7 @@ msgid "" "submitted Task/Future to cause other Tasks/Futures to be cancelled." msgstr "" -#: library/asyncio-task.rst:510 +#: library/asyncio-task.rst:511 msgid "" "A new alternative to create and run tasks concurrently and wait for their " "completion is :class:`asyncio.TaskGroup`. *TaskGroup* provides stronger " @@ -694,7 +694,7 @@ msgid "" "tasks)." msgstr "" -#: library/asyncio-task.rst:521 +#: library/asyncio-task.rst:522 msgid "" "import asyncio\n" "\n" @@ -733,7 +733,7 @@ msgid "" "# [2, 6, 24]" msgstr "" -#: library/asyncio-task.rst:557 +#: library/asyncio-task.rst:558 msgid "" "If *return_exceptions* is false, cancelling gather() after it has been " "marked done won't cancel any submitted awaitables. For instance, gather can " @@ -742,28 +742,28 @@ msgid "" "the awaitables) from gather won't cancel any other awaitables." msgstr "" -#: library/asyncio-task.rst:564 +#: library/asyncio-task.rst:565 msgid "" "If the *gather* itself is cancelled, the cancellation is propagated " "regardless of *return_exceptions*." msgstr "" -#: library/asyncio-task.rst:571 +#: library/asyncio-task.rst:572 msgid "" "Deprecation warning is emitted if no positional arguments are provided or " "not all positional arguments are Future-like objects and there is no running " "event loop." msgstr "" -#: library/asyncio-task.rst:580 +#: library/asyncio-task.rst:581 msgid "Eager Task Factory" msgstr "" -#: library/asyncio-task.rst:584 +#: library/asyncio-task.rst:585 msgid "A task factory for eager task execution." msgstr "" -#: library/asyncio-task.rst:586 +#: library/asyncio-task.rst:587 msgid "" "When using this factory (via :meth:`loop.set_task_factory(asyncio." "eager_task_factory) `), coroutines begin execution " @@ -773,13 +773,13 @@ msgid "" "synchronously." msgstr "" -#: library/asyncio-task.rst:592 +#: library/asyncio-task.rst:593 msgid "" "A common example where this is beneficial is coroutines which employ caching " "or memoization to avoid actual I/O when possible." msgstr "" -#: library/asyncio-task.rst:597 +#: library/asyncio-task.rst:598 msgid "" "Immediate execution of the coroutine is a semantic change. If the coroutine " "returns or raises, the task is never scheduled to the event loop. If the " @@ -788,60 +788,60 @@ msgid "" "the application's task execution order is likely to change." msgstr "" -#: library/asyncio-task.rst:608 +#: library/asyncio-task.rst:609 msgid "" "Create an eager task factory, similar to :func:`eager_task_factory`, using " "the provided *custom_task_constructor* when creating a new task instead of " "the default :class:`Task`." msgstr "" -#: library/asyncio-task.rst:612 +#: library/asyncio-task.rst:613 msgid "" "*custom_task_constructor* must be a *callable* with the signature matching " "the signature of :class:`Task.__init__ `. The callable must return a :" "class:`asyncio.Task`-compatible object." msgstr "" -#: library/asyncio-task.rst:616 +#: library/asyncio-task.rst:617 msgid "" "This function returns a *callable* intended to be used as a task factory of " "an event loop via :meth:`loop.set_task_factory(factory) `)." msgstr "" -#: library/asyncio-task.rst:623 +#: library/asyncio-task.rst:624 msgid "Shielding From Cancellation" msgstr "" -#: library/asyncio-task.rst:627 +#: library/asyncio-task.rst:628 msgid "" "Protect an :ref:`awaitable object ` from being :meth:" "`cancelled `." msgstr "" -#: library/asyncio-task.rst:796 +#: library/asyncio-task.rst:798 msgid "If *aw* is a coroutine it is automatically scheduled as a Task." msgstr "" -#: library/asyncio-task.rst:632 +#: library/asyncio-task.rst:633 msgid "The statement::" msgstr "" -#: library/asyncio-task.rst:634 +#: library/asyncio-task.rst:635 msgid "" "task = asyncio.create_task(something())\n" "res = await shield(task)" msgstr "" -#: library/asyncio-task.rst:637 +#: library/asyncio-task.rst:638 msgid "is equivalent to::" msgstr "" -#: library/asyncio-task.rst:639 +#: library/asyncio-task.rst:640 msgid "res = await something()" msgstr "" -#: library/asyncio-task.rst:641 +#: library/asyncio-task.rst:642 msgid "" "*except* that if the coroutine containing it is cancelled, the Task running " "in ``something()`` is not cancelled. From the point of view of " @@ -850,20 +850,20 @@ msgid "" "`CancelledError`." msgstr "" -#: library/asyncio-task.rst:647 +#: library/asyncio-task.rst:648 msgid "" "If ``something()`` is cancelled by other means (i.e. from within itself) " "that would also cancel ``shield()``." msgstr "" -#: library/asyncio-task.rst:650 +#: library/asyncio-task.rst:651 msgid "" "If it is desired to completely ignore cancellation (not recommended) the " "``shield()`` function should be combined with a try/except clause, as " "follows::" msgstr "" -#: library/asyncio-task.rst:654 +#: library/asyncio-task.rst:655 msgid "" "task = asyncio.create_task(something())\n" "try:\n" @@ -872,7 +872,7 @@ msgid "" " res = None" msgstr "" -#: library/asyncio-task.rst:662 +#: library/asyncio-task.rst:663 msgid "" "Save a reference to tasks passed to this function, to avoid a task " "disappearing mid-execution. The event loop only keeps weak references to " @@ -880,43 +880,43 @@ msgid "" "any time, even before it's done." msgstr "" -#: library/asyncio-task.rst:670 +#: library/asyncio-task.rst:671 msgid "" "Deprecation warning is emitted if *aw* is not Future-like object and there " "is no running event loop." msgstr "" -#: library/asyncio-task.rst:676 +#: library/asyncio-task.rst:677 msgid "Timeouts" msgstr "" -#: library/asyncio-task.rst:680 +#: library/asyncio-task.rst:681 msgid "" "Return an :ref:`asynchronous context manager ` that " "can be used to limit the amount of time spent waiting on something." msgstr "" -#: library/asyncio-task.rst:684 +#: library/asyncio-task.rst:685 msgid "" "*delay* can either be ``None``, or a float/int number of seconds to wait. If " "*delay* is ``None``, no time limit will be applied; this can be useful if " "the delay is unknown when the context manager is created." msgstr "" -#: library/asyncio-task.rst:689 +#: library/asyncio-task.rst:690 msgid "" "In either case, the context manager can be rescheduled after creation using :" "meth:`Timeout.reschedule`." msgstr "" -#: library/asyncio-task.rst:694 +#: library/asyncio-task.rst:695 msgid "" "async def main():\n" " async with asyncio.timeout(10):\n" " await long_running_task()" msgstr "" -#: library/asyncio-task.rst:698 +#: library/asyncio-task.rst:699 msgid "" "If ``long_running_task`` takes more than 10 seconds to complete, the context " "manager will cancel the current task and handle the resulting :exc:`asyncio." @@ -924,18 +924,18 @@ msgid "" "can be caught and handled." msgstr "" -#: library/asyncio-task.rst:705 +#: library/asyncio-task.rst:706 msgid "" "The :func:`asyncio.timeout` context manager is what transforms the :exc:" "`asyncio.CancelledError` into a :exc:`TimeoutError`, which means the :exc:" "`TimeoutError` can only be caught *outside* of the context manager." msgstr "" -#: library/asyncio-task.rst:710 +#: library/asyncio-task.rst:711 msgid "Example of catching :exc:`TimeoutError`::" msgstr "" -#: library/asyncio-task.rst:712 +#: library/asyncio-task.rst:713 msgid "" "async def main():\n" " try:\n" @@ -947,48 +947,48 @@ msgid "" " print(\"This statement will run regardless.\")" msgstr "" -#: library/asyncio-task.rst:721 +#: library/asyncio-task.rst:722 msgid "" "The context manager produced by :func:`asyncio.timeout` can be rescheduled " "to a different deadline and inspected." msgstr "" -#: library/asyncio-task.rst:726 +#: library/asyncio-task.rst:727 msgid "" "An :ref:`asynchronous context manager ` for " "cancelling overdue coroutines." msgstr "" -#: library/asyncio-task.rst:729 +#: library/asyncio-task.rst:730 msgid "" "``when`` should be an absolute time at which the context should time out, as " "measured by the event loop's clock:" msgstr "" -#: library/asyncio-task.rst:732 +#: library/asyncio-task.rst:733 msgid "If ``when`` is ``None``, the timeout will never trigger." msgstr "" -#: library/asyncio-task.rst:733 +#: library/asyncio-task.rst:734 msgid "" "If ``when < loop.time()``, the timeout will trigger on the next iteration of " "the event loop." msgstr "" -#: library/asyncio-task.rst:738 +#: library/asyncio-task.rst:739 msgid "" "Return the current deadline, or ``None`` if the current deadline is not set." msgstr "" -#: library/asyncio-task.rst:743 +#: library/asyncio-task.rst:744 msgid "Reschedule the timeout." msgstr "" -#: library/asyncio-task.rst:747 +#: library/asyncio-task.rst:748 msgid "Return whether the context manager has exceeded its deadline (expired)." msgstr "" -#: library/asyncio-task.rst:752 +#: library/asyncio-task.rst:753 msgid "" "async def main():\n" " try:\n" @@ -1006,17 +1006,17 @@ msgid "" " print(\"Looks like we haven't finished on time.\")" msgstr "" -#: library/asyncio-task.rst:767 +#: library/asyncio-task.rst:768 msgid "Timeout context managers can be safely nested." msgstr "" -#: library/asyncio-task.rst:773 +#: library/asyncio-task.rst:774 msgid "" "Similar to :func:`asyncio.timeout`, except *when* is the absolute time to " "stop waiting, or ``None``." msgstr "" -#: library/asyncio-task.rst:778 +#: library/asyncio-task.rst:779 msgid "" "async def main():\n" " loop = get_running_loop()\n" @@ -1030,41 +1030,41 @@ msgid "" " print(\"This statement will run regardless.\")" msgstr "" -#: library/asyncio-task.rst:793 +#: library/asyncio-task.rst:795 msgid "" "Wait for the *aw* :ref:`awaitable ` to complete with a " "timeout." msgstr "" -#: library/asyncio-task.rst:798 +#: library/asyncio-task.rst:800 msgid "" "*timeout* can either be ``None`` or a float or int number of seconds to wait " "for. If *timeout* is ``None``, block until the future completes." msgstr "" -#: library/asyncio-task.rst:802 +#: library/asyncio-task.rst:804 msgid "" "If a timeout occurs, it cancels the task and raises :exc:`TimeoutError`." msgstr "" -#: library/asyncio-task.rst:805 +#: library/asyncio-task.rst:807 msgid "" "To avoid the task :meth:`cancellation `, wrap it in :func:" "`shield`." msgstr "" -#: library/asyncio-task.rst:808 +#: library/asyncio-task.rst:810 msgid "" "The function will wait until the future is actually cancelled, so the total " "wait time may exceed the *timeout*. If an exception happens during " "cancellation, it is propagated." msgstr "" -#: library/asyncio-task.rst:812 +#: library/asyncio-task.rst:814 msgid "If the wait is cancelled, the future *aw* is also cancelled." msgstr "" -#: library/asyncio-task.rst:818 +#: library/asyncio-task.rst:820 msgid "" "async def eternity():\n" " # Sleep for one hour\n" @@ -1085,100 +1085,100 @@ msgid "" "# timeout!" msgstr "" -#: library/asyncio-task.rst:836 +#: library/asyncio-task.rst:838 msgid "" "When *aw* is cancelled due to a timeout, ``wait_for`` waits for *aw* to be " "cancelled. Previously, it raised :exc:`TimeoutError` immediately." msgstr "" -#: library/asyncio-task.rst:844 +#: library/asyncio-task.rst:846 msgid "Raises :exc:`TimeoutError` instead of :exc:`asyncio.TimeoutError`." msgstr "" -#: library/asyncio-task.rst:849 +#: library/asyncio-task.rst:851 msgid "Waiting Primitives" msgstr "" -#: library/asyncio-task.rst:853 +#: library/asyncio-task.rst:856 msgid "" "Run :class:`~asyncio.Future` and :class:`~asyncio.Task` instances in the " "*aws* iterable concurrently and block until the condition specified by " "*return_when*." msgstr "" -#: library/asyncio-task.rst:857 +#: library/asyncio-task.rst:860 msgid "The *aws* iterable must not be empty." msgstr "" -#: library/asyncio-task.rst:859 +#: library/asyncio-task.rst:862 msgid "Returns two sets of Tasks/Futures: ``(done, pending)``." msgstr "" -#: library/asyncio-task.rst:861 +#: library/asyncio-task.rst:864 msgid "Usage::" msgstr "" -#: library/asyncio-task.rst:863 +#: library/asyncio-task.rst:866 msgid "done, pending = await asyncio.wait(aws)" msgstr "" -#: library/asyncio-task.rst:865 +#: library/asyncio-task.rst:868 msgid "" "*timeout* (a float or int), if specified, can be used to control the maximum " "number of seconds to wait before returning." msgstr "" -#: library/asyncio-task.rst:868 +#: library/asyncio-task.rst:871 msgid "" "Note that this function does not raise :exc:`TimeoutError`. Futures or Tasks " "that aren't done when the timeout occurs are simply returned in the second " "set." msgstr "" -#: library/asyncio-task.rst:872 +#: library/asyncio-task.rst:875 msgid "" "*return_when* indicates when this function should return. It must be one of " "the following constants:" msgstr "" -#: library/asyncio-task.rst:878 +#: library/asyncio-task.rst:881 msgid "Constant" msgstr "" -#: library/asyncio-task.rst:879 +#: library/asyncio-task.rst:882 msgid "Description" msgstr "" -#: library/asyncio-task.rst:882 +#: library/asyncio-task.rst:885 msgid "The function will return when any future finishes or is cancelled." msgstr "" -#: library/asyncio-task.rst:885 +#: library/asyncio-task.rst:888 msgid "" "The function will return when any future finishes by raising an exception. " "If no future raises an exception then it is equivalent to :const:" "`ALL_COMPLETED`." msgstr "" -#: library/asyncio-task.rst:890 +#: library/asyncio-task.rst:893 msgid "The function will return when all futures finish or are cancelled." msgstr "" -#: library/asyncio-task.rst:892 +#: library/asyncio-task.rst:895 msgid "" "Unlike :func:`~asyncio.wait_for`, ``wait()`` does not cancel the futures " "when a timeout occurs." msgstr "" -#: library/asyncio-task.rst:898 +#: library/asyncio-task.rst:901 msgid "Passing coroutine objects to ``wait()`` directly is forbidden." msgstr "" -#: library/asyncio-task.rst:928 +#: library/asyncio-task.rst:931 msgid "Added support for generators yielding tasks." msgstr "" -#: library/asyncio-task.rst:907 +#: library/asyncio-task.rst:910 msgid "" "Run :ref:`awaitable objects ` in the *aws* iterable " "concurrently. Return an iterator of coroutines. Each coroutine returned can " @@ -1186,33 +1186,33 @@ msgid "" "remaining awaitables." msgstr "" -#: library/asyncio-task.rst:912 +#: library/asyncio-task.rst:915 msgid "" "Raises :exc:`TimeoutError` if the timeout occurs before all Futures are done." msgstr "" -#: library/asyncio-task.rst:917 +#: library/asyncio-task.rst:920 msgid "" "for coro in as_completed(aws):\n" " earliest_result = await coro\n" " # ..." msgstr "" -#: library/asyncio-task.rst:924 +#: library/asyncio-task.rst:927 msgid "" "Deprecation warning is emitted if not all awaitable objects in the *aws* " "iterable are Future-like objects and there is no running event loop." msgstr "" -#: library/asyncio-task.rst:933 +#: library/asyncio-task.rst:936 msgid "Running in Threads" msgstr "" -#: library/asyncio-task.rst:937 +#: library/asyncio-task.rst:941 msgid "Asynchronously run function *func* in a separate thread." msgstr "" -#: library/asyncio-task.rst:939 +#: library/asyncio-task.rst:943 msgid "" "Any \\*args and \\*\\*kwargs supplied for this function are directly passed " "to *func*. Also, the current :class:`contextvars.Context` is propagated, " @@ -1220,19 +1220,19 @@ msgid "" "separate thread." msgstr "" -#: library/asyncio-task.rst:944 +#: library/asyncio-task.rst:948 msgid "" "Return a coroutine that can be awaited to get the eventual result of *func*." msgstr "" -#: library/asyncio-task.rst:946 +#: library/asyncio-task.rst:950 msgid "" "This coroutine function is primarily intended to be used for executing IO-" "bound functions/methods that would otherwise block the event loop if they " "were run in the main thread. For example::" msgstr "" -#: library/asyncio-task.rst:950 +#: library/asyncio-task.rst:954 msgid "" "def blocking_io():\n" " print(f\"start blocking_io at {time.strftime('%X')}\")\n" @@ -1261,7 +1261,7 @@ msgid "" "# finished main at 19:50:54" msgstr "" -#: library/asyncio-task.rst:976 +#: library/asyncio-task.rst:980 msgid "" "Directly calling ``blocking_io()`` in any coroutine would block the event " "loop for its duration, resulting in an additional 1 second of run time. " @@ -1269,7 +1269,7 @@ msgid "" "thread without blocking the event loop." msgstr "" -#: library/asyncio-task.rst:983 +#: library/asyncio-task.rst:987 msgid "" "Due to the :term:`GIL`, ``asyncio.to_thread()`` can typically only be used " "to make IO-bound functions non-blocking. However, for extension modules that " @@ -1277,27 +1277,27 @@ msgid "" "``asyncio.to_thread()`` can also be used for CPU-bound functions." msgstr "" -#: library/asyncio-task.rst:992 +#: library/asyncio-task.rst:996 msgid "Scheduling From Other Threads" msgstr "" -#: library/asyncio-task.rst:996 +#: library/asyncio-task.rst:1000 msgid "Submit a coroutine to the given event loop. Thread-safe." msgstr "" -#: library/asyncio-task.rst:998 +#: library/asyncio-task.rst:1002 msgid "" "Return a :class:`concurrent.futures.Future` to wait for the result from " "another OS thread." msgstr "" -#: library/asyncio-task.rst:1001 +#: library/asyncio-task.rst:1005 msgid "" "This function is meant to be called from a different OS thread than the one " "where the event loop is running. Example::" msgstr "" -#: library/asyncio-task.rst:1004 +#: library/asyncio-task.rst:1008 msgid "" "# Create a coroutine\n" "coro = asyncio.sleep(1, result=3)\n" @@ -1309,13 +1309,13 @@ msgid "" "assert future.result(timeout) == 3" msgstr "" -#: library/asyncio-task.rst:1013 +#: library/asyncio-task.rst:1017 msgid "" "If an exception is raised in the coroutine, the returned Future will be " "notified. It can also be used to cancel the task in the event loop::" msgstr "" -#: library/asyncio-task.rst:1017 +#: library/asyncio-task.rst:1021 msgid "" "try:\n" " result = future.result(timeout)\n" @@ -1328,59 +1328,59 @@ msgid "" " print(f'The coroutine returned: {result!r}')" msgstr "" -#: library/asyncio-task.rst:1027 +#: library/asyncio-task.rst:1031 msgid "" "See the :ref:`concurrency and multithreading ` " "section of the documentation." msgstr "" -#: library/asyncio-task.rst:1030 +#: library/asyncio-task.rst:1034 msgid "" "Unlike other asyncio functions this function requires the *loop* argument to " "be passed explicitly." msgstr "" -#: library/asyncio-task.rst:1037 +#: library/asyncio-task.rst:1041 msgid "Introspection" msgstr "" -#: library/asyncio-task.rst:1042 +#: library/asyncio-task.rst:1046 msgid "" "Return the currently running :class:`Task` instance, or ``None`` if no task " "is running." msgstr "" -#: library/asyncio-task.rst:1045 +#: library/asyncio-task.rst:1049 msgid "" "If *loop* is ``None`` :func:`get_running_loop` is used to get the current " "loop." msgstr "" -#: library/asyncio-task.rst:1053 +#: library/asyncio-task.rst:1057 msgid "Return a set of not yet finished :class:`Task` objects run by the loop." msgstr "" -#: library/asyncio-task.rst:1056 +#: library/asyncio-task.rst:1060 msgid "" "If *loop* is ``None``, :func:`get_running_loop` is used for getting current " "loop." msgstr "" -#: library/asyncio-task.rst:1064 +#: library/asyncio-task.rst:1068 msgid "Return ``True`` if *obj* is a coroutine object." msgstr "" -#: library/asyncio-task.rst:1070 +#: library/asyncio-task.rst:1074 msgid "Task Object" msgstr "" -#: library/asyncio-task.rst:1074 +#: library/asyncio-task.rst:1078 msgid "" "A :class:`Future-like ` object that runs a Python :ref:`coroutine " "`. Not thread-safe." msgstr "" -#: library/asyncio-task.rst:1077 +#: library/asyncio-task.rst:1081 msgid "" "Tasks are used to run coroutines in event loops. If a coroutine awaits on a " "Future, the Task suspends the execution of the coroutine and waits for the " @@ -1388,21 +1388,21 @@ msgid "" "wrapped coroutine resumes." msgstr "" -#: library/asyncio-task.rst:1083 +#: library/asyncio-task.rst:1087 msgid "" "Event loops use cooperative scheduling: an event loop runs one Task at a " "time. While a Task awaits for the completion of a Future, the event loop " "runs other Tasks, callbacks, or performs IO operations." msgstr "" -#: library/asyncio-task.rst:1088 +#: library/asyncio-task.rst:1092 msgid "" "Use the high-level :func:`asyncio.create_task` function to create Tasks, or " "the low-level :meth:`loop.create_task` or :func:`ensure_future` functions. " "Manual instantiation of Tasks is discouraged." msgstr "" -#: library/asyncio-task.rst:1093 +#: library/asyncio-task.rst:1097 msgid "" "To cancel a running Task use the :meth:`cancel` method. Calling it will " "cause the Task to throw a :exc:`CancelledError` exception into the wrapped " @@ -1410,20 +1410,20 @@ msgid "" "cancellation, the Future object will be cancelled." msgstr "" -#: library/asyncio-task.rst:1098 +#: library/asyncio-task.rst:1102 msgid "" ":meth:`cancelled` can be used to check if the Task was cancelled. The method " "returns ``True`` if the wrapped coroutine did not suppress the :exc:" "`CancelledError` exception and was actually cancelled." msgstr "" -#: library/asyncio-task.rst:1103 +#: library/asyncio-task.rst:1107 msgid "" ":class:`asyncio.Task` inherits from :class:`Future` all of its APIs except :" "meth:`Future.set_result` and :meth:`Future.set_exception`." msgstr "" -#: library/asyncio-task.rst:1107 +#: library/asyncio-task.rst:1111 msgid "" "An optional keyword-only *context* argument allows specifying a custom :" "class:`contextvars.Context` for the *coro* to run in. If no *context* is " @@ -1431,7 +1431,7 @@ msgid "" "in the copied context." msgstr "" -#: library/asyncio-task.rst:1112 +#: library/asyncio-task.rst:1116 msgid "" "An optional keyword-only *eager_start* argument allows eagerly starting the " "execution of the :class:`asyncio.Task` at task creation time. If set to " @@ -1441,96 +1441,96 @@ msgid "" "eagerly and will skip scheduling to the event loop." msgstr "" -#: library/asyncio-task.rst:1119 +#: library/asyncio-task.rst:1123 msgid "Added support for the :mod:`contextvars` module." msgstr "" -#: library/asyncio-task.rst:1125 +#: library/asyncio-task.rst:1129 msgid "" "Deprecation warning is emitted if *loop* is not specified and there is no " "running event loop." msgstr "" -#: library/asyncio-task.rst:1132 +#: library/asyncio-task.rst:1136 msgid "Added the *eager_start* parameter." msgstr "" -#: library/asyncio-task.rst:1137 +#: library/asyncio-task.rst:1141 msgid "Return ``True`` if the Task is *done*." msgstr "" -#: library/asyncio-task.rst:1139 +#: library/asyncio-task.rst:1143 msgid "" "A Task is *done* when the wrapped coroutine either returned a value, raised " "an exception, or the Task was cancelled." msgstr "" -#: library/asyncio-task.rst:1144 +#: library/asyncio-task.rst:1148 msgid "Return the result of the Task." msgstr "" -#: library/asyncio-task.rst:1146 +#: library/asyncio-task.rst:1150 msgid "" "If the Task is *done*, the result of the wrapped coroutine is returned (or " "if the coroutine raised an exception, that exception is re-raised.)" msgstr "" -#: library/asyncio-task.rst:1164 +#: library/asyncio-task.rst:1168 msgid "" "If the Task has been *cancelled*, this method raises a :exc:`CancelledError` " "exception." msgstr "" -#: library/asyncio-task.rst:1153 +#: library/asyncio-task.rst:1157 msgid "" "If the Task's result isn't yet available, this method raises an :exc:" "`InvalidStateError` exception." msgstr "" -#: library/asyncio-task.rst:1158 +#: library/asyncio-task.rst:1162 msgid "Return the exception of the Task." msgstr "" -#: library/asyncio-task.rst:1160 +#: library/asyncio-task.rst:1164 msgid "" "If the wrapped coroutine raised an exception that exception is returned. If " "the wrapped coroutine returned normally this method returns ``None``." msgstr "" -#: library/asyncio-task.rst:1167 +#: library/asyncio-task.rst:1171 msgid "" "If the Task isn't *done* yet, this method raises an :exc:`InvalidStateError` " "exception." msgstr "" -#: library/asyncio-task.rst:1172 +#: library/asyncio-task.rst:1176 msgid "Add a callback to be run when the Task is *done*." msgstr "" -#: library/asyncio-task.rst:1183 +#: library/asyncio-task.rst:1187 msgid "This method should only be used in low-level callback-based code." msgstr "" -#: library/asyncio-task.rst:1176 +#: library/asyncio-task.rst:1180 msgid "" "See the documentation of :meth:`Future.add_done_callback` for more details." msgstr "" -#: library/asyncio-task.rst:1181 +#: library/asyncio-task.rst:1185 msgid "Remove *callback* from the callbacks list." msgstr "" -#: library/asyncio-task.rst:1185 +#: library/asyncio-task.rst:1189 msgid "" "See the documentation of :meth:`Future.remove_done_callback` for more " "details." msgstr "" -#: library/asyncio-task.rst:1190 +#: library/asyncio-task.rst:1194 msgid "Return the list of stack frames for this Task." msgstr "" -#: library/asyncio-task.rst:1192 +#: library/asyncio-task.rst:1196 msgid "" "If the wrapped coroutine is not done, this returns the stack where it is " "suspended. If the coroutine has completed successfully or was cancelled, " @@ -1538,15 +1538,15 @@ msgid "" "this returns the list of traceback frames." msgstr "" -#: library/asyncio-task.rst:1198 +#: library/asyncio-task.rst:1202 msgid "The frames are always ordered from oldest to newest." msgstr "" -#: library/asyncio-task.rst:1200 +#: library/asyncio-task.rst:1204 msgid "Only one stack frame is returned for a suspended coroutine." msgstr "" -#: library/asyncio-task.rst:1202 +#: library/asyncio-task.rst:1206 msgid "" "The optional *limit* argument sets the maximum number of frames to return; " "by default all available frames are returned. The ordering of the returned " @@ -1555,81 +1555,81 @@ msgid "" "are returned. (This matches the behavior of the traceback module.)" msgstr "" -#: library/asyncio-task.rst:1211 +#: library/asyncio-task.rst:1215 msgid "Print the stack or traceback for this Task." msgstr "" -#: library/asyncio-task.rst:1213 +#: library/asyncio-task.rst:1217 msgid "" "This produces output similar to that of the traceback module for the frames " "retrieved by :meth:`get_stack`." msgstr "" -#: library/asyncio-task.rst:1216 +#: library/asyncio-task.rst:1220 msgid "The *limit* argument is passed to :meth:`get_stack` directly." msgstr "" -#: library/asyncio-task.rst:1218 +#: library/asyncio-task.rst:1222 msgid "" "The *file* argument is an I/O stream to which the output is written; by " "default output is written to :data:`sys.stdout`." msgstr "" -#: library/asyncio-task.rst:1223 +#: library/asyncio-task.rst:1227 msgid "Return the coroutine object wrapped by the :class:`Task`." msgstr "" -#: library/asyncio-task.rst:1227 +#: library/asyncio-task.rst:1231 msgid "" "This will return ``None`` for Tasks which have already completed eagerly. " "See the :ref:`Eager Task Factory `." msgstr "" -#: library/asyncio-task.rst:1234 +#: library/asyncio-task.rst:1238 msgid "Newly added eager task execution means result may be ``None``." msgstr "" -#: library/asyncio-task.rst:1238 +#: library/asyncio-task.rst:1242 msgid "" "Return the :class:`contextvars.Context` object associated with the task." msgstr "" -#: library/asyncio-task.rst:1245 +#: library/asyncio-task.rst:1249 msgid "Return the name of the Task." msgstr "" -#: library/asyncio-task.rst:1247 +#: library/asyncio-task.rst:1251 msgid "" "If no name has been explicitly assigned to the Task, the default asyncio " "Task implementation generates a default name during instantiation." msgstr "" -#: library/asyncio-task.rst:1255 +#: library/asyncio-task.rst:1259 msgid "Set the name of the Task." msgstr "" -#: library/asyncio-task.rst:1257 +#: library/asyncio-task.rst:1261 msgid "" "The *value* argument can be any object, which is then converted to a string." msgstr "" -#: library/asyncio-task.rst:1260 +#: library/asyncio-task.rst:1264 msgid "" "In the default Task implementation, the name will be visible in the :func:" "`repr` output of a task object." msgstr "" -#: library/asyncio-task.rst:1267 +#: library/asyncio-task.rst:1271 msgid "Request the Task to be cancelled." msgstr "" -#: library/asyncio-task.rst:1269 +#: library/asyncio-task.rst:1273 msgid "" "This arranges for a :exc:`CancelledError` exception to be thrown into the " "wrapped coroutine on the next cycle of the event loop." msgstr "" -#: library/asyncio-task.rst:1272 +#: library/asyncio-task.rst:1276 msgid "" "The coroutine then has a chance to clean up or even deny the request by " "suppressing the exception with a :keyword:`try` ... ... ``except " @@ -1641,21 +1641,21 @@ msgid "" "addition to catching the exception." msgstr "" -#: library/asyncio-task.rst:1282 +#: library/asyncio-task.rst:1286 msgid "Added the *msg* parameter." msgstr "" -#: library/asyncio-task.rst:1285 +#: library/asyncio-task.rst:1289 msgid "The ``msg`` parameter is propagated from cancelled task to its awaiter." msgstr "" -#: library/asyncio-task.rst:1290 +#: library/asyncio-task.rst:1294 msgid "" "The following example illustrates how coroutines can intercept the " "cancellation request::" msgstr "" -#: library/asyncio-task.rst:1293 +#: library/asyncio-task.rst:1297 msgid "" "async def cancel_me():\n" " print('cancel_me(): before sleep')\n" @@ -1692,32 +1692,32 @@ msgid "" "# main(): cancel_me is cancelled now" msgstr "" -#: library/asyncio-task.rst:1329 +#: library/asyncio-task.rst:1333 msgid "Return ``True`` if the Task is *cancelled*." msgstr "" -#: library/asyncio-task.rst:1331 +#: library/asyncio-task.rst:1335 msgid "" "The Task is *cancelled* when the cancellation was requested with :meth:" "`cancel` and the wrapped coroutine propagated the :exc:`CancelledError` " "exception thrown into it." msgstr "" -#: library/asyncio-task.rst:1337 +#: library/asyncio-task.rst:1341 msgid "Decrement the count of cancellation requests to this Task." msgstr "" -#: library/asyncio-task.rst:1339 +#: library/asyncio-task.rst:1343 msgid "Returns the remaining number of cancellation requests." msgstr "" -#: library/asyncio-task.rst:1341 +#: library/asyncio-task.rst:1345 msgid "" "Note that once execution of a cancelled task completed, further calls to :" "meth:`uncancel` are ineffective." msgstr "" -#: library/asyncio-task.rst:1346 +#: library/asyncio-task.rst:1350 msgid "" "This method is used by asyncio's internals and isn't expected to be used by " "end-user code. In particular, if a Task gets successfully uncancelled, this " @@ -1726,7 +1726,7 @@ msgid "" "respective structured block. For example::" msgstr "" -#: library/asyncio-task.rst:1353 +#: library/asyncio-task.rst:1357 msgid "" "async def make_request_with_timeout():\n" " try:\n" @@ -1740,7 +1740,7 @@ msgid "" " await unrelated_code()" msgstr "" -#: library/asyncio-task.rst:1364 +#: library/asyncio-task.rst:1368 msgid "" "While the block with ``make_request()`` and ``make_another_request()`` might " "get cancelled due to the timeout, ``unrelated_code()`` should continue " @@ -1749,20 +1749,20 @@ msgid "" "similar fashion." msgstr "" -#: library/asyncio-task.rst:1370 +#: library/asyncio-task.rst:1374 msgid "" "If end-user code is, for some reason, suppressing cancellation by catching :" "exc:`CancelledError`, it needs to call this method to remove the " "cancellation state." msgstr "" -#: library/asyncio-task.rst:1376 +#: library/asyncio-task.rst:1380 msgid "" "Return the number of pending cancellation requests to this Task, i.e., the " "number of calls to :meth:`cancel` less the number of :meth:`uncancel` calls." msgstr "" -#: library/asyncio-task.rst:1380 +#: library/asyncio-task.rst:1384 msgid "" "Note that if this number is greater than zero but the Task is still " "executing, :meth:`cancelled` will still return ``False``. This is because " @@ -1771,7 +1771,7 @@ msgid "" "to zero." msgstr "" -#: library/asyncio-task.rst:1386 +#: library/asyncio-task.rst:1390 msgid "" "This method is used by asyncio's internals and isn't expected to be used by " "end-user code. See :meth:`uncancel` for more details." diff --git a/library/asyncio.po b/library/asyncio.po index ada34e6c..b64ee18e 100644 --- a/library/asyncio.po +++ b/library/asyncio.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/asyncore.po b/library/asyncore.po index 20bea193..8477372e 100644 --- a/library/asyncore.po +++ b/library/asyncore.po @@ -8,10 +8,11 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/library/atexit.po b/library/atexit.po index d3e6984c..ef59b44a 100644 --- a/library/atexit.po +++ b/library/atexit.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/audioop.po b/library/audioop.po index babf279c..3df02270 100644 --- a/library/audioop.po +++ b/library/audioop.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/audit_events.po b/library/audit_events.po index 13d04a6a..918c457d 100644 --- a/library/audit_events.po +++ b/library/audit_events.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/base64.po b/library/base64.po index e8477747..f24dc1d2 100644 --- a/library/base64.po +++ b/library/base64.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/bdb.po b/library/bdb.po index 98d1c438..224a8703 100644 --- a/library/bdb.po +++ b/library/bdb.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/binary.po b/library/binary.po index e8cd886c..92cfa12f 100644 --- a/library/binary.po +++ b/library/binary.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/binascii.po b/library/binascii.po index df5cdafd..2cadf157 100644 --- a/library/binascii.po +++ b/library/binascii.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/bisect.po b/library/bisect.po index e66f9a1c..adb1e64f 100644 --- a/library/bisect.po +++ b/library/bisect.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/builtins.po b/library/builtins.po index 69cf50e3..c5cce26f 100644 --- a/library/builtins.po +++ b/library/builtins.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/bz2.po b/library/bz2.po index bcdabfad..6c84bdf9 100644 --- a/library/bz2.po +++ b/library/bz2.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/calendar.po b/library/calendar.po index 9e9adf50..b2a2b39b 100644 --- a/library/calendar.po +++ b/library/calendar.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/cgi.po b/library/cgi.po index cc040599..64479700 100644 --- a/library/cgi.po +++ b/library/cgi.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/cgitb.po b/library/cgitb.po index cef080cd..2ac7063a 100644 --- a/library/cgitb.po +++ b/library/cgitb.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/chunk.po b/library/chunk.po index 3842a759..e6107364 100644 --- a/library/chunk.po +++ b/library/chunk.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/cmath.po b/library/cmath.po index 66277282..ae31f2ec 100644 --- a/library/cmath.po +++ b/library/cmath.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -70,17 +70,281 @@ msgid "" msgstr "" #: library/cmath.rst:42 -msgid "Conversions to and from polar coordinates" +msgid "**Conversions to and from polar coordinates**" +msgstr "" + +#: library/cmath.rst:44 +msgid ":func:`phase(z) `" msgstr "" #: library/cmath.rst:44 +msgid "Return the phase of *z*" +msgstr "" + +#: library/cmath.rst:45 +msgid ":func:`polar(z) `" +msgstr "" + +#: library/cmath.rst:45 +msgid "Return the representation of *z* in polar coordinates" +msgstr "" + +#: library/cmath.rst:46 +msgid ":func:`rect(r, phi) `" +msgstr "" + +#: library/cmath.rst:46 +msgid "Return the complex number *z* with polar coordinates *r* and *phi*" +msgstr "" + +#: library/cmath.rst:48 +msgid "**Power and logarithmic functions**" +msgstr "" + +#: library/cmath.rst:50 +msgid ":func:`exp(z) `" +msgstr "" + +#: library/cmath.rst:50 +msgid "Return *e* raised to the power *z*" +msgstr "" + +#: library/cmath.rst:51 +msgid ":func:`log(z[, base]) `" +msgstr "" + +#: library/cmath.rst:51 +msgid "Return the logarithm of *z* to the given *base* (*e* by default)" +msgstr "" + +#: library/cmath.rst:52 +msgid ":func:`log10(z) `" +msgstr "" + +#: library/cmath.rst:52 +msgid "Return the base-10 logarithm of *z*" +msgstr "" + +#: library/cmath.rst:53 +msgid ":func:`sqrt(z) `" +msgstr "" + +#: library/cmath.rst:53 +msgid "Return the square root of *z*" +msgstr "" + +#: library/cmath.rst:55 +msgid "**Trigonometric functions**" +msgstr "" + +#: library/cmath.rst:57 +msgid ":func:`acos(z) `" +msgstr "" + +#: library/cmath.rst:57 +msgid "Return the arc cosine of *z*" +msgstr "" + +#: library/cmath.rst:58 +msgid ":func:`asin(z) `" +msgstr "" + +#: library/cmath.rst:58 +msgid "Return the arc sine of *z*" +msgstr "" + +#: library/cmath.rst:59 +msgid ":func:`atan(z) `" +msgstr "" + +#: library/cmath.rst:59 +msgid "Return the arc tangent of *z*" +msgstr "" + +#: library/cmath.rst:60 +msgid ":func:`cos(z) `" +msgstr "" + +#: library/cmath.rst:60 +msgid "Return the cosine of *z*" +msgstr "" + +#: library/cmath.rst:61 +msgid ":func:`sin(z) `" +msgstr "" + +#: library/cmath.rst:61 +msgid "Return the sine of *z*" +msgstr "" + +#: library/cmath.rst:62 +msgid ":func:`tan(z) `" +msgstr "" + +#: library/cmath.rst:62 +msgid "Return the tangent of *z*" +msgstr "" + +#: library/cmath.rst:64 +msgid "**Hyperbolic functions**" +msgstr "" + +#: library/cmath.rst:66 +msgid ":func:`acosh(z) `" +msgstr "" + +#: library/cmath.rst:66 +msgid "Return the inverse hyperbolic cosine of *z*" +msgstr "" + +#: library/cmath.rst:67 +msgid ":func:`asinh(z) `" +msgstr "" + +#: library/cmath.rst:67 +msgid "Return the inverse hyperbolic sine of *z*" +msgstr "" + +#: library/cmath.rst:68 +msgid ":func:`atanh(z) `" +msgstr "" + +#: library/cmath.rst:68 +msgid "Return the inverse hyperbolic tangent of *z*" +msgstr "" + +#: library/cmath.rst:69 +msgid ":func:`cosh(z) `" +msgstr "" + +#: library/cmath.rst:69 +msgid "Return the hyperbolic cosine of *z*" +msgstr "" + +#: library/cmath.rst:70 +msgid ":func:`sinh(z) `" +msgstr "" + +#: library/cmath.rst:70 +msgid "Return the hyperbolic sine of *z*" +msgstr "" + +#: library/cmath.rst:71 +msgid ":func:`tanh(z) `" +msgstr "" + +#: library/cmath.rst:71 +msgid "Return the hyperbolic tangent of *z*" +msgstr "" + +#: library/cmath.rst:73 +msgid "**Classification functions**" +msgstr "" + +#: library/cmath.rst:75 +msgid ":func:`isfinite(z) `" +msgstr "" + +#: library/cmath.rst:75 +msgid "Check if all components of *z* are finite" +msgstr "" + +#: library/cmath.rst:76 +msgid ":func:`isinf(z) `" +msgstr "" + +#: library/cmath.rst:76 +msgid "Check if any component of *z* is infinite" +msgstr "" + +#: library/cmath.rst:77 +msgid ":func:`isnan(z) `" +msgstr "" + +#: library/cmath.rst:77 +msgid "Check if any component of *z* is a NaN" +msgstr "" + +#: library/cmath.rst:78 +msgid ":func:`isclose(a, b, *, rel_tol, abs_tol) `" +msgstr "" + +#: library/cmath.rst:78 +msgid "Check if the values *a* and *b* are close to each other" +msgstr "" + +#: library/cmath.rst:80 +msgid "**Constants**" +msgstr "" + +#: library/cmath.rst:82 +msgid ":data:`pi`" +msgstr "" + +#: library/cmath.rst:82 +msgid "*π* = 3.141592..." +msgstr "" + +#: library/cmath.rst:83 +msgid ":data:`e`" +msgstr "" + +#: library/cmath.rst:83 +msgid "*e* = 2.718281..." +msgstr "" + +#: library/cmath.rst:84 +msgid ":data:`tau`" +msgstr "" + +#: library/cmath.rst:84 +msgid "*τ* = 2\\ *π* = 6.283185..." +msgstr "" + +#: library/cmath.rst:85 +msgid ":data:`inf`" +msgstr "" + +#: library/cmath.rst:85 +msgid "Positive infinity" +msgstr "" + +#: library/cmath.rst:86 +msgid ":data:`infj`" +msgstr "" + +#: library/cmath.rst:86 +msgid "Pure imaginary infinity" +msgstr "" + +#: library/cmath.rst:87 +msgid ":data:`nan`" +msgstr "" + +#: library/cmath.rst:87 +msgid "\"Not a number\" (NaN)" +msgstr "" + +#: library/cmath.rst:88 +msgid ":data:`nanj`" +msgstr "" + +#: library/cmath.rst:88 +msgid "Pure imaginary NaN" +msgstr "" + +#: library/cmath.rst:93 +msgid "Conversions to and from polar coordinates" +msgstr "" + +#: library/cmath.rst:95 msgid "" "A Python complex number ``z`` is stored internally using *rectangular* or " "*Cartesian* coordinates. It is completely determined by its *real part* ``z." "real`` and its *imaginary part* ``z.imag``." msgstr "" -#: library/cmath.rst:48 +#: library/cmath.rst:99 msgid "" "*Polar coordinates* give an alternative way to represent a complex number. " "In polar coordinates, a complex number *z* is defined by the modulus *r* and " @@ -90,22 +354,22 @@ msgid "" "to *z*." msgstr "" -#: library/cmath.rst:55 +#: library/cmath.rst:106 msgid "" "The following functions can be used to convert from the native rectangular " "coordinates to polar coordinates and back." msgstr "" -#: library/cmath.rst:60 +#: library/cmath.rst:111 msgid "" -"Return the phase of *x* (also known as the *argument* of *x*), as a float. " -"``phase(x)`` is equivalent to ``math.atan2(x.imag, x.real)``. The result " +"Return the phase of *z* (also known as the *argument* of *z*), as a float. " +"``phase(z)`` is equivalent to ``math.atan2(z.imag, z.real)``. The result " "lies in the range [-\\ *π*, *π*], and the branch cut for this operation lies " "along the negative real axis. The sign of the result is the same as the " -"sign of ``x.imag``, even when ``x.imag`` is zero::" +"sign of ``z.imag``, even when ``z.imag`` is zero::" msgstr "" -#: library/cmath.rst:66 +#: library/cmath.rst:117 msgid "" ">>> phase(complex(-1.0, 0.0))\n" "3.141592653589793\n" @@ -113,161 +377,161 @@ msgid "" "-3.141592653589793" msgstr "" -#: library/cmath.rst:74 +#: library/cmath.rst:125 msgid "" -"The modulus (absolute value) of a complex number *x* can be computed using " +"The modulus (absolute value) of a complex number *z* can be computed using " "the built-in :func:`abs` function. There is no separate :mod:`cmath` module " "function for this operation." msgstr "" -#: library/cmath.rst:81 +#: library/cmath.rst:132 msgid "" -"Return the representation of *x* in polar coordinates. Returns a pair ``(r, " -"phi)`` where *r* is the modulus of *x* and phi is the phase of *x*. " -"``polar(x)`` is equivalent to ``(abs(x), phase(x))``." +"Return the representation of *z* in polar coordinates. Returns a pair ``(r, " +"phi)`` where *r* is the modulus of *z* and *phi* is the phase of *z*. " +"``polar(z)`` is equivalent to ``(abs(z), phase(z))``." msgstr "" -#: library/cmath.rst:89 +#: library/cmath.rst:140 msgid "" -"Return the complex number *x* with polar coordinates *r* and *phi*. " +"Return the complex number *z* with polar coordinates *r* and *phi*. " "Equivalent to ``complex(r * math.cos(phi), r * math.sin(phi))``." msgstr "" -#: library/cmath.rst:94 +#: library/cmath.rst:145 msgid "Power and logarithmic functions" msgstr "" -#: library/cmath.rst:98 +#: library/cmath.rst:149 msgid "" -"Return *e* raised to the power *x*, where *e* is the base of natural " +"Return *e* raised to the power *z*, where *e* is the base of natural " "logarithms." msgstr "" -#: library/cmath.rst:104 +#: library/cmath.rst:155 msgid "" -"Returns the logarithm of *x* to the given *base*. If the *base* is not " -"specified, returns the natural logarithm of *x*. There is one branch cut, " +"Return the logarithm of *z* to the given *base*. If the *base* is not " +"specified, returns the natural logarithm of *z*. There is one branch cut, " "from 0 along the negative real axis to -∞." msgstr "" -#: library/cmath.rst:111 +#: library/cmath.rst:162 msgid "" -"Return the base-10 logarithm of *x*. This has the same branch cut as :func:" +"Return the base-10 logarithm of *z*. This has the same branch cut as :func:" "`log`." msgstr "" -#: library/cmath.rst:117 +#: library/cmath.rst:168 msgid "" -"Return the square root of *x*. This has the same branch cut as :func:`log`." +"Return the square root of *z*. This has the same branch cut as :func:`log`." msgstr "" -#: library/cmath.rst:121 +#: library/cmath.rst:172 msgid "Trigonometric functions" msgstr "" -#: library/cmath.rst:125 +#: library/cmath.rst:176 msgid "" -"Return the arc cosine of *x*. There are two branch cuts: One extends right " +"Return the arc cosine of *z*. There are two branch cuts: One extends right " "from 1 along the real axis to ∞. The other extends left from -1 along the " "real axis to -∞." msgstr "" -#: library/cmath.rst:132 +#: library/cmath.rst:183 msgid "" -"Return the arc sine of *x*. This has the same branch cuts as :func:`acos`." +"Return the arc sine of *z*. This has the same branch cuts as :func:`acos`." msgstr "" -#: library/cmath.rst:137 +#: library/cmath.rst:188 msgid "" -"Return the arc tangent of *x*. There are two branch cuts: One extends from " +"Return the arc tangent of *z*. There are two branch cuts: One extends from " "``1j`` along the imaginary axis to ``∞j``. The other extends from ``-1j`` " "along the imaginary axis to ``-∞j``." msgstr "" -#: library/cmath.rst:144 -msgid "Return the cosine of *x*." +#: library/cmath.rst:195 +msgid "Return the cosine of *z*." msgstr "" -#: library/cmath.rst:149 -msgid "Return the sine of *x*." +#: library/cmath.rst:200 +msgid "Return the sine of *z*." msgstr "" -#: library/cmath.rst:154 -msgid "Return the tangent of *x*." +#: library/cmath.rst:205 +msgid "Return the tangent of *z*." msgstr "" -#: library/cmath.rst:158 +#: library/cmath.rst:209 msgid "Hyperbolic functions" msgstr "" -#: library/cmath.rst:162 +#: library/cmath.rst:213 msgid "" -"Return the inverse hyperbolic cosine of *x*. There is one branch cut, " +"Return the inverse hyperbolic cosine of *z*. There is one branch cut, " "extending left from 1 along the real axis to -∞." msgstr "" -#: library/cmath.rst:168 +#: library/cmath.rst:219 msgid "" -"Return the inverse hyperbolic sine of *x*. There are two branch cuts: One " +"Return the inverse hyperbolic sine of *z*. There are two branch cuts: One " "extends from ``1j`` along the imaginary axis to ``∞j``. The other extends " "from ``-1j`` along the imaginary axis to ``-∞j``." msgstr "" -#: library/cmath.rst:175 +#: library/cmath.rst:226 msgid "" -"Return the inverse hyperbolic tangent of *x*. There are two branch cuts: One " +"Return the inverse hyperbolic tangent of *z*. There are two branch cuts: One " "extends from ``1`` along the real axis to ``∞``. The other extends from " "``-1`` along the real axis to ``-∞``." msgstr "" -#: library/cmath.rst:182 -msgid "Return the hyperbolic cosine of *x*." +#: library/cmath.rst:233 +msgid "Return the hyperbolic cosine of *z*." msgstr "" -#: library/cmath.rst:187 -msgid "Return the hyperbolic sine of *x*." +#: library/cmath.rst:238 +msgid "Return the hyperbolic sine of *z*." msgstr "" -#: library/cmath.rst:192 -msgid "Return the hyperbolic tangent of *x*." +#: library/cmath.rst:243 +msgid "Return the hyperbolic tangent of *z*." msgstr "" -#: library/cmath.rst:196 +#: library/cmath.rst:247 msgid "Classification functions" msgstr "" -#: library/cmath.rst:200 +#: library/cmath.rst:251 msgid "" -"Return ``True`` if both the real and imaginary parts of *x* are finite, and " +"Return ``True`` if both the real and imaginary parts of *z* are finite, and " "``False`` otherwise." msgstr "" -#: library/cmath.rst:208 +#: library/cmath.rst:259 msgid "" -"Return ``True`` if either the real or the imaginary part of *x* is an " +"Return ``True`` if either the real or the imaginary part of *z* is an " "infinity, and ``False`` otherwise." msgstr "" -#: library/cmath.rst:214 +#: library/cmath.rst:265 msgid "" -"Return ``True`` if either the real or the imaginary part of *x* is a NaN, " +"Return ``True`` if either the real or the imaginary part of *z* is a NaN, " "and ``False`` otherwise." msgstr "" -#: library/cmath.rst:220 +#: library/cmath.rst:271 msgid "" "Return ``True`` if the values *a* and *b* are close to each other and " "``False`` otherwise." msgstr "" -#: library/cmath.rst:223 +#: library/cmath.rst:274 msgid "" "Whether or not two values are considered close is determined according to " "given absolute and relative tolerances. If no errors occur, the result will " "be: ``abs(a-b) <= max(rel_tol * max(abs(a), abs(b)), abs_tol)``." msgstr "" -#: library/cmath.rst:227 +#: library/cmath.rst:278 msgid "" "*rel_tol* is the relative tolerance -- it is the maximum allowed difference " "between *a* and *b*, relative to the larger absolute value of *a* or *b*. " @@ -277,7 +541,7 @@ msgid "" "``1.0``." msgstr "" -#: library/cmath.rst:234 +#: library/cmath.rst:285 msgid "" "*abs_tol* is the absolute tolerance; it defaults to ``0.0`` and it must be " "nonnegative. When comparing ``x`` to ``0.0``, ``isclose(x, 0)`` is computed " @@ -286,7 +550,7 @@ msgid "" "to the call." msgstr "" -#: library/cmath.rst:240 +#: library/cmath.rst:291 msgid "" "The IEEE 754 special values of ``NaN``, ``inf``, and ``-inf`` will be " "handled according to IEEE rules. Specifically, ``NaN`` is not considered " @@ -294,49 +558,49 @@ msgid "" "considered close to themselves." msgstr "" -#: library/cmath.rst:249 +#: library/cmath.rst:300 msgid ":pep:`485` -- A function for testing approximate equality" msgstr "" -#: library/cmath.rst:253 +#: library/cmath.rst:304 msgid "Constants" msgstr "" -#: library/cmath.rst:257 +#: library/cmath.rst:308 msgid "The mathematical constant *π*, as a float." msgstr "" -#: library/cmath.rst:262 +#: library/cmath.rst:313 msgid "The mathematical constant *e*, as a float." msgstr "" -#: library/cmath.rst:267 +#: library/cmath.rst:318 msgid "The mathematical constant *τ*, as a float." msgstr "" -#: library/cmath.rst:274 +#: library/cmath.rst:325 msgid "Floating-point positive infinity. Equivalent to ``float('inf')``." msgstr "" -#: library/cmath.rst:281 +#: library/cmath.rst:332 msgid "" "Complex number with zero real part and positive infinity imaginary part. " "Equivalent to ``complex(0.0, float('inf'))``." msgstr "" -#: library/cmath.rst:289 +#: library/cmath.rst:340 msgid "" "A floating-point \"not a number\" (NaN) value. Equivalent to " "``float('nan')``." msgstr "" -#: library/cmath.rst:297 +#: library/cmath.rst:348 msgid "" "Complex number with zero real part and NaN imaginary part. Equivalent to " "``complex(0.0, float('nan'))``." msgstr "" -#: library/cmath.rst:305 +#: library/cmath.rst:356 msgid "" "Note that the selection of functions is similar, but not identical, to that " "in module :mod:`math`. The reason for having two modules is that some users " @@ -348,7 +612,7 @@ msgid "" "zero)." msgstr "" -#: library/cmath.rst:313 +#: library/cmath.rst:364 msgid "" "A note on branch cuts: They are curves along which the given function fails " "to be continuous. They are a necessary feature of many complex functions. " @@ -359,17 +623,17 @@ msgid "" "following:" msgstr "" -#: library/cmath.rst:323 +#: library/cmath.rst:374 msgid "" "Kahan, W: Branch cuts for complex elementary functions; or, Much ado about " "nothing's sign bit. In Iserles, A., and Powell, M. (eds.), The state of the " "art in numerical analysis. Clarendon Press (1987) pp165--211." msgstr "" -#: library/cmath.rst:303 +#: library/cmath.rst:354 msgid "module" msgstr "" -#: library/cmath.rst:303 +#: library/cmath.rst:354 msgid "math" msgstr "" diff --git a/library/cmd.po b/library/cmd.po index a46f78a2..76a9e993 100644 --- a/library/cmd.po +++ b/library/cmd.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/cmdline.po b/library/cmdline.po index 4f3d2e53..26a465d8 100644 --- a/library/cmdline.po +++ b/library/cmdline.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -62,7 +62,7 @@ msgid ":ref:`dis `" msgstr "" #: library/cmdline.rst:16 -msgid ":mod:`doctest`" +msgid ":ref:`doctest `" msgstr "" #: library/cmdline.rst:17 diff --git a/library/code.po b/library/code.po index e2f1492f..7a3212f4 100644 --- a/library/code.po +++ b/library/code.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/codecs.po b/library/codecs.po index 9587f0af..fc84cfd2 100644 --- a/library/codecs.po +++ b/library/codecs.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/codeop.po b/library/codeop.po index 22d95688..ff09d327 100644 --- a/library/codeop.po +++ b/library/codeop.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/collections.abc.po b/library/collections.abc.po index 3249d26d..019ff147 100644 --- a/library/collections.abc.po +++ b/library/collections.abc.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" -"PO-Revision-Date: 2025-01-03 15:43+0200\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" +"PO-Revision-Date: 2025-05-02 23:52+0200\n" "Last-Translator: Marios Giannopoulos \n" "Language-Team: PyGreece \n" "Language: \n" @@ -51,16 +51,16 @@ msgstr "" #: library/collections.abc.rst:30 msgid "" -"1) A newly written class can inherit directly from one of the abstract base " +"A newly written class can inherit directly from one of the abstract base " "classes. The class must supply the required abstract methods. The " "remaining mixin methods come from inheritance and can be overridden if " "desired. Other methods may be added as needed:" msgstr "" -"1) Μια νέα κλάση μπορεί να κληρονομήσει άμεσα από τις αφηρημένες βασικές " -"κλάσεις. Η κλάση πρέπει να παρέχει τις απαιτούμενες αφηρημένες μεθόδους. Οι " -"υπόλοιπες μέθοδοι mixin προέρχονται από την κληρονομικότητα και μπορούν να " -"παρακαμφθούν αν χρειάζεται. Άλλες μέθοδοι μπορούν να προστεθούν όταν είναι " -"αναγκαίο:" +"Μια νέα γραμμένη κλάση μπορεί να κληρονομήσει άμεσα από τις αφηρημένες " +"βασικές κλάσεις. Η κλάση πρέπει να παρέχει τις απαιτούμενες αφηρημένες " +"μεθόδους. Οι υπόλοιπες μέθοδοι mixin προέρχονται από την κληρονομικότητα και " +"μπορούν να παρακαμφθούν αν χρειάζεται. Άλλες μέθοδοι μπορούν να προστεθούν " +"όταν είναι αναγκαίο:" #: library/collections.abc.rst:35 msgid "" @@ -92,14 +92,14 @@ msgstr "" #: library/collections.abc.rst:50 msgid "" -"2) Existing classes and built-in classes can be registered as \"virtual " +"Existing classes and built-in classes can be registered as \"virtual " "subclasses\" of the ABCs. Those classes should define the full API " "including all of the abstract methods and all of the mixin methods. This " "lets users rely on :func:`issubclass` or :func:`isinstance` tests to " "determine whether the full interface is supported. The exception to this " "rule is for methods that are automatically inferred from the rest of the API:" msgstr "" -"2) Υπάρχουσες κλάσεις και ενσωματωμένες κλάσεις μπορούν να καταχωρηθούν ως " +"Υπάρχουσες κλάσεις και ενσωματωμένες κλάσεις μπορούν να καταχωρηθούν ως " "\"εικονικές υποκλάσεις\" των ABCs. Αυτές οι κλάσεις θα πρέπει να ορίζουν το " "πλήρες API, συμπεριλαμβανομένων όλων των αφηρημένων μεθόδων και όλων των " "μεθόδων mixin. Αυτό επιτρέπει στους χρήστες να βασίζονται στους ελέγχους :" @@ -157,14 +157,14 @@ msgstr "" #: library/collections.abc.rst:82 msgid "" -"3) Some simple interfaces are directly recognizable by the presence of the " +"Some simple interfaces are directly recognizable by the presence of the " "required methods (unless those methods have been set to :const:`None`):" msgstr "" -"3) Ορισμένες απλές διεπαφές είναι άμεσα αναγνωρίσιμες από την παρουσία των " +"Ορισμένες απλές διεπαφές είναι άμεσα αναγνωρίσιμες από την παρουσία των " "απαιτούμενων μεθόδων (εκτός αν αυτές οι μέθοδοι έχουν οριστεί σε :const:" "`None`):" -#: library/collections.abc.rst:86 +#: library/collections.abc.rst:85 msgid "" "class E:\n" " def __iter__(self): ...\n" @@ -174,7 +174,7 @@ msgstr "" " def __iter__(self): ...\n" " def __next__(self): ..." -#: library/collections.abc.rst:92 +#: library/collections.abc.rst:91 msgid "" ">>> issubclass(E, Iterable)\n" "True\n" @@ -186,7 +186,7 @@ msgstr "" ">>> isinstance(E(), Iterable)\n" "True" -#: library/collections.abc.rst:99 +#: library/collections.abc.rst:98 msgid "" "Complex interfaces do not support this last technique because an interface " "is more than just the presence of method names. Interfaces specify " @@ -203,7 +203,7 @@ msgstr "" "``__getitem__``, ``__len__`` και ``__iter__`` δεν είναι επαρκής για να " "διακρίνει μια κλάση :class:`Sequence` από μια κλάση :class:`Mapping`." -#: library/collections.abc.rst:107 +#: library/collections.abc.rst:106 msgid "" "These abstract classes now support ``[]``. See :ref:`types-genericalias` " "and :pep:`585`." @@ -211,151 +211,151 @@ msgstr "" "Αυτές οι αφηρημένες κλάσεις υποστηρίζουν πλέον ``[]``. Δείτε :ref:`types-" "genericalias` και :pep:`585`." -#: library/collections.abc.rst:114 +#: library/collections.abc.rst:113 msgid "Collections Abstract Base Classes" msgstr "Αφηρημένες Βασικές Κλάσεις Συλλογών" -#: library/collections.abc.rst:116 +#: library/collections.abc.rst:115 msgid "" "The collections module offers the following :term:`ABCs `:" msgstr "" "Το collections module προσφέρει τις εξής :term:`ABCs `:" -#: library/collections.abc.rst:121 +#: library/collections.abc.rst:120 msgid "ABC" msgstr "ABC" -#: library/collections.abc.rst:121 +#: library/collections.abc.rst:120 msgid "Inherits from" msgstr "Κληρονομεί από" -#: library/collections.abc.rst:121 +#: library/collections.abc.rst:120 msgid "Abstract Methods" msgstr "Αφηρημένες Μέθοδοι" -#: library/collections.abc.rst:121 +#: library/collections.abc.rst:120 msgid "Mixin Methods" msgstr "Mixin Μέθοδοι" -#: library/collections.abc.rst:123 +#: library/collections.abc.rst:122 msgid ":class:`Container` [1]_" msgstr ":class:`Container` [1]_" -#: library/collections.abc.rst:123 +#: library/collections.abc.rst:122 msgid "``__contains__``" msgstr "``__contains__``" -#: library/collections.abc.rst:124 +#: library/collections.abc.rst:123 msgid ":class:`Hashable` [1]_" msgstr ":class:`Hashable` [1]_" -#: library/collections.abc.rst:124 +#: library/collections.abc.rst:123 msgid "``__hash__``" msgstr "``__hash__``" -#: library/collections.abc.rst:125 +#: library/collections.abc.rst:124 msgid ":class:`Iterable` [1]_ [2]_" msgstr ":class:`Iterable` [1]_ [2]_" -#: library/collections.abc.rst:125 library/collections.abc.rst:126 +#: library/collections.abc.rst:124 library/collections.abc.rst:125 msgid "``__iter__``" msgstr "``__iter__``" -#: library/collections.abc.rst:126 +#: library/collections.abc.rst:125 msgid ":class:`Iterator` [1]_" msgstr ":class:`Iterator` [1]_" -#: library/collections.abc.rst:126 library/collections.abc.rst:127 +#: library/collections.abc.rst:125 library/collections.abc.rst:126 msgid ":class:`Iterable`" msgstr ":class:`Iterable`" -#: library/collections.abc.rst:126 +#: library/collections.abc.rst:125 msgid "``__next__``" msgstr "``__next__``" -#: library/collections.abc.rst:127 +#: library/collections.abc.rst:126 msgid ":class:`Reversible` [1]_" msgstr ":class:`Reversible` [1]_" -#: library/collections.abc.rst:127 +#: library/collections.abc.rst:126 msgid "``__reversed__``" msgstr "``__reversed__``" -#: library/collections.abc.rst:128 +#: library/collections.abc.rst:127 msgid ":class:`Generator` [1]_" msgstr ":class:`Generator` [1]_" -#: library/collections.abc.rst:128 +#: library/collections.abc.rst:127 msgid ":class:`Iterator`" msgstr ":class:`Iterator`" -#: library/collections.abc.rst:128 library/collections.abc.rst:177 +#: library/collections.abc.rst:127 library/collections.abc.rst:176 msgid "``send``, ``throw``" msgstr "``send``, ``throw``" -#: library/collections.abc.rst:128 +#: library/collections.abc.rst:127 msgid "``close``, ``__iter__``, ``__next__``" msgstr "``close``, ``__iter__``, ``__next__``" -#: library/collections.abc.rst:129 +#: library/collections.abc.rst:128 msgid ":class:`Sized` [1]_" msgstr ":class:`Sized` [1]_" -#: library/collections.abc.rst:129 +#: library/collections.abc.rst:128 msgid "``__len__``" msgstr "``__len__``" -#: library/collections.abc.rst:130 +#: library/collections.abc.rst:129 msgid ":class:`Callable` [1]_" msgstr ":class:`Callable` [1]_" -#: library/collections.abc.rst:130 +#: library/collections.abc.rst:129 msgid "``__call__``" msgstr "``__call__``" -#: library/collections.abc.rst:131 +#: library/collections.abc.rst:130 msgid ":class:`Collection` [1]_" msgstr ":class:`Collection` [1]_" -#: library/collections.abc.rst:131 +#: library/collections.abc.rst:130 msgid ":class:`Sized`, :class:`Iterable`, :class:`Container`" msgstr ":class:`Sized`, :class:`Iterable`, :class:`Container`" -#: library/collections.abc.rst:131 library/collections.abc.rst:147 +#: library/collections.abc.rst:130 library/collections.abc.rst:146 msgid "``__contains__``, ``__iter__``, ``__len__``" msgstr "``__contains__``, ``__iter__``, ``__len__``" -#: library/collections.abc.rst:135 library/collections.abc.rst:138 -#: library/collections.abc.rst:144 +#: library/collections.abc.rst:134 library/collections.abc.rst:137 +#: library/collections.abc.rst:143 msgid ":class:`Sequence`" msgstr ":class:`Sequence`" -#: library/collections.abc.rst:135 +#: library/collections.abc.rst:134 msgid ":class:`Reversible`, :class:`Collection`" msgstr ":class:`Reversible`, :class:`Collection`" -#: library/collections.abc.rst:135 library/collections.abc.rst:144 +#: library/collections.abc.rst:134 library/collections.abc.rst:143 msgid "``__getitem__``, ``__len__``" msgstr "``__getitem__``, ``__len__``" -#: library/collections.abc.rst:135 +#: library/collections.abc.rst:134 msgid "" "``__contains__``, ``__iter__``, ``__reversed__``, ``index``, and ``count``" msgstr "" "``__contains__``, ``__iter__``, ``__reversed__``, ``index``, and ``count``" -#: library/collections.abc.rst:138 +#: library/collections.abc.rst:137 msgid ":class:`MutableSequence`" msgstr ":class:`MutableSequence`" -#: library/collections.abc.rst:138 +#: library/collections.abc.rst:137 msgid "" "``__getitem__``, ``__setitem__``, ``__delitem__``, ``__len__``, ``insert``" msgstr "" "``__getitem__``, ``__setitem__``, ``__delitem__``, ``__len__``, ``insert``" -#: library/collections.abc.rst:138 +#: library/collections.abc.rst:137 msgid "" "Inherited :class:`Sequence` methods and ``append``, ``clear``, ``reverse``, " "``extend``, ``pop``, ``remove``, and ``__iadd__``" @@ -363,23 +363,23 @@ msgstr "" "Κληρονομημένες :class:`Sequence` μέθοδοι και ``append``, ``clear``, " "``reverse``, ``extend``, ``pop``, ``remove``, and ``__iadd__``" -#: library/collections.abc.rst:144 +#: library/collections.abc.rst:143 msgid ":class:`ByteString`" msgstr ":class:`ByteString`" -#: library/collections.abc.rst:144 +#: library/collections.abc.rst:143 msgid "Inherited :class:`Sequence` methods" msgstr "Κληρονομημένες :class:`Sequence` μέθοδοι" -#: library/collections.abc.rst:147 library/collections.abc.rst:152 +#: library/collections.abc.rst:146 library/collections.abc.rst:151 msgid ":class:`Set`" msgstr ":class:`Set`" -#: library/collections.abc.rst:147 library/collections.abc.rst:158 +#: library/collections.abc.rst:146 library/collections.abc.rst:157 msgid ":class:`Collection`" msgstr ":class:`Collection`" -#: library/collections.abc.rst:147 +#: library/collections.abc.rst:146 msgid "" "``__le__``, ``__lt__``, ``__eq__``, ``__ne__``, ``__gt__``, ``__ge__``, " "``__and__``, ``__or__``, ``__sub__``, ``__rsub__``, ``__xor__``, " @@ -389,15 +389,15 @@ msgstr "" "``__and__``, ``__or__``, ``__sub__``, ``__rsub__``, ``__xor__``, " "``__rxor__`` και ``isdisjoint``" -#: library/collections.abc.rst:152 +#: library/collections.abc.rst:151 msgid ":class:`MutableSet`" msgstr ":class:`MutableSet`" -#: library/collections.abc.rst:152 +#: library/collections.abc.rst:151 msgid "``__contains__``, ``__iter__``, ``__len__``, ``add``, ``discard``" msgstr "``__contains__``, ``__iter__``, ``__len__``, ``add``, ``discard``" -#: library/collections.abc.rst:152 +#: library/collections.abc.rst:151 msgid "" "Inherited :class:`Set` methods and ``clear``, ``pop``, ``remove``, " "``__ior__``, ``__iand__``, ``__ixor__``, and ``__isub__``" @@ -405,15 +405,15 @@ msgstr "" "Κληρονομημένες :class:`Set` μέθοδοι και ``clear``, ``pop``, ``remove``, " "``__ior__``, ``__iand__``, ``__ixor__``, και ``__isub__``" -#: library/collections.abc.rst:158 library/collections.abc.rst:162 +#: library/collections.abc.rst:157 library/collections.abc.rst:161 msgid ":class:`Mapping`" msgstr ":class:`Mapping`" -#: library/collections.abc.rst:158 +#: library/collections.abc.rst:157 msgid "``__getitem__``, ``__iter__``, ``__len__``" msgstr "``__getitem__``, ``__iter__``, ``__len__``" -#: library/collections.abc.rst:158 +#: library/collections.abc.rst:157 msgid "" "``__contains__``, ``keys``, ``items``, ``values``, ``get``, ``__eq__``, and " "``__ne__``" @@ -421,17 +421,17 @@ msgstr "" "``__contains__``, ``keys``, ``items``, ``values``, ``get``, ``__eq__``, και " "``__ne__``" -#: library/collections.abc.rst:162 +#: library/collections.abc.rst:161 msgid ":class:`MutableMapping`" msgstr ":class:`MutableMapping`" -#: library/collections.abc.rst:162 +#: library/collections.abc.rst:161 msgid "" "``__getitem__``, ``__setitem__``, ``__delitem__``, ``__iter__``, ``__len__``" msgstr "" "``__getitem__``, ``__setitem__``, ``__delitem__``, ``__iter__``, ``__len__``" -#: library/collections.abc.rst:162 +#: library/collections.abc.rst:161 msgid "" "Inherited :class:`Mapping` methods and ``pop``, ``popitem``, ``clear``, " "``update``, and ``setdefault``" @@ -439,112 +439,112 @@ msgstr "" "Κληρονομημένες :class:`Mapping` μέθοδοι και ``pop``, ``popitem``, ``clear``, " "``update``, και ``setdefault``" -#: library/collections.abc.rst:169 +#: library/collections.abc.rst:168 msgid ":class:`MappingView`" msgstr ":class:`MappingView`" -#: library/collections.abc.rst:169 +#: library/collections.abc.rst:168 msgid ":class:`Sized`" msgstr ":class:`Sized`" -#: library/collections.abc.rst:169 +#: library/collections.abc.rst:168 msgid "``__init__``, ``__len__`` and ``__repr__``" msgstr "``__init__``, ``__len__`` and ``__repr__``" -#: library/collections.abc.rst:170 +#: library/collections.abc.rst:169 msgid ":class:`ItemsView`" msgstr ":class:`ItemsView`" -#: library/collections.abc.rst:170 library/collections.abc.rst:172 +#: library/collections.abc.rst:169 library/collections.abc.rst:171 msgid ":class:`MappingView`, :class:`Set`" msgstr ":class:`MappingView`, :class:`Set`" -#: library/collections.abc.rst:170 library/collections.abc.rst:172 -#: library/collections.abc.rst:174 +#: library/collections.abc.rst:169 library/collections.abc.rst:171 +#: library/collections.abc.rst:173 msgid "``__contains__``, ``__iter__``" msgstr "``__contains__``, ``__iter__``" -#: library/collections.abc.rst:172 +#: library/collections.abc.rst:171 msgid ":class:`KeysView`" msgstr ":class:`KeysView`" -#: library/collections.abc.rst:174 +#: library/collections.abc.rst:173 msgid ":class:`ValuesView`" msgstr ":class:`ValuesView`" -#: library/collections.abc.rst:174 +#: library/collections.abc.rst:173 msgid ":class:`MappingView`, :class:`Collection`" msgstr ":class:`MappingView`, :class:`Collection`" -#: library/collections.abc.rst:176 +#: library/collections.abc.rst:175 msgid ":class:`Awaitable` [1]_" msgstr ":class:`Awaitable` [1]_" -#: library/collections.abc.rst:176 +#: library/collections.abc.rst:175 msgid "``__await__``" msgstr "``__await__``" -#: library/collections.abc.rst:177 +#: library/collections.abc.rst:176 msgid ":class:`Coroutine` [1]_" msgstr ":class:`Coroutine` [1]_" -#: library/collections.abc.rst:177 +#: library/collections.abc.rst:176 msgid ":class:`Awaitable`" msgstr ":class:`Awaitable`" -#: library/collections.abc.rst:177 +#: library/collections.abc.rst:176 msgid "``close``" msgstr "``close``" -#: library/collections.abc.rst:178 +#: library/collections.abc.rst:177 msgid ":class:`AsyncIterable` [1]_" msgstr ":class:`AsyncIterable` [1]_" -#: library/collections.abc.rst:178 library/collections.abc.rst:179 +#: library/collections.abc.rst:177 library/collections.abc.rst:178 msgid "``__aiter__``" msgstr "``__aiter__``" -#: library/collections.abc.rst:179 +#: library/collections.abc.rst:178 msgid ":class:`AsyncIterator` [1]_" msgstr ":class:`AsyncIterator` [1]_" -#: library/collections.abc.rst:179 +#: library/collections.abc.rst:178 msgid ":class:`AsyncIterable`" msgstr ":class:`AsyncIterable`" -#: library/collections.abc.rst:179 +#: library/collections.abc.rst:178 msgid "``__anext__``" msgstr "``__anext__``" -#: library/collections.abc.rst:180 +#: library/collections.abc.rst:179 msgid ":class:`AsyncGenerator` [1]_" msgstr ":class:`AsyncGenerator` [1]_" -#: library/collections.abc.rst:180 +#: library/collections.abc.rst:179 msgid ":class:`AsyncIterator`" msgstr ":class:`AsyncIterator`" -#: library/collections.abc.rst:180 +#: library/collections.abc.rst:179 msgid "``asend``, ``athrow``" msgstr "``asend``, ``athrow``" -#: library/collections.abc.rst:180 +#: library/collections.abc.rst:179 msgid "``aclose``, ``__aiter__``, ``__anext__``" msgstr "``aclose``, ``__aiter__``, ``__anext__``" -#: library/collections.abc.rst:181 +#: library/collections.abc.rst:180 msgid ":class:`Buffer` [1]_" msgstr ":class:`Buffer` [1]_" -#: library/collections.abc.rst:181 +#: library/collections.abc.rst:180 msgid "``__buffer__``" msgstr "``__buffer__``" -#: library/collections.abc.rst:186 +#: library/collections.abc.rst:185 msgid "Footnotes" msgstr "Υποσημειώσεις" -#: library/collections.abc.rst:187 +#: library/collections.abc.rst:186 msgid "" "These ABCs override :meth:`~abc.ABCMeta.__subclasshook__` to support testing " "an interface by verifying the required methods are present and have not been " @@ -557,7 +557,7 @@ msgstr "" "`None`. Αυτό λειτουργεί μόνο για απλές διεπαφές. Πιο σύνθετες διεπαφές " "απαιτούν εγγραφή ή άμεση υποκλάση." -#: library/collections.abc.rst:193 +#: library/collections.abc.rst:192 msgid "" "Checking ``isinstance(obj, Iterable)`` detects classes that are registered " "as :class:`Iterable` or that have an :meth:`~container.__iter__` method, but " @@ -572,27 +572,27 @@ msgstr "" "προσδιοριστεί αν ένα αντικείμενο είναι :term:`iterable` είναι να καλέσετε " "``iter(obj)``." -#: library/collections.abc.rst:201 +#: library/collections.abc.rst:200 msgid "Collections Abstract Base Classes -- Detailed Descriptions" msgstr "Αφηρημένες Βασικές Κλάσεις Συλλογών -- Αναλυτικές Περιγραφές" -#: library/collections.abc.rst:206 +#: library/collections.abc.rst:205 msgid "ABC for classes that provide the :meth:`~object.__contains__` method." msgstr "ABC για κλάσεις που παρέχουν την μέθοδο :meth:`~object.__contains__`." -#: library/collections.abc.rst:210 +#: library/collections.abc.rst:209 msgid "ABC for classes that provide the :meth:`~object.__hash__` method." msgstr "ABC για κλάσεις που παρέχουν την μέθοδο :meth:`~object.__hash__`." -#: library/collections.abc.rst:214 +#: library/collections.abc.rst:213 msgid "ABC for classes that provide the :meth:`~object.__len__` method." msgstr "ABC για κλάσεις που παρέχουν την μέθοδο :meth:`~object.__len__`." -#: library/collections.abc.rst:218 +#: library/collections.abc.rst:217 msgid "ABC for classes that provide the :meth:`~object.__call__` method." msgstr "ABC για κλάσεις που παρέχουν την μέθοδο :meth:`~object.__call__`." -#: library/collections.abc.rst:220 +#: library/collections.abc.rst:219 msgid "" "See :ref:`annotating-callables` for details on how to use :class:`!Callable` " "in type annotations." @@ -600,11 +600,11 @@ msgstr "" "Ανατρέξτε στο :ref:`annotating-callables` για λεπτομέρειες σχετικά με τον " "τρόπο χρήσης του :class:`!Callable` σε τύπους annotations." -#: library/collections.abc.rst:225 +#: library/collections.abc.rst:224 msgid "ABC for classes that provide the :meth:`~container.__iter__` method." msgstr "ABC για κλάσεις που παρέχουν την μέθοδο :meth:`~container.__iter__`." -#: library/collections.abc.rst:227 +#: library/collections.abc.rst:226 msgid "" "Checking ``isinstance(obj, Iterable)`` detects classes that are registered " "as :class:`Iterable` or that have an :meth:`~container.__iter__` method, but " @@ -619,11 +619,11 @@ msgstr "" "τρόπος για να προσδιοριστεί αν ένα αντικείμενο είναι :term:`iterable` είναι " "να κληθεί ``iter(obj)``." -#: library/collections.abc.rst:236 +#: library/collections.abc.rst:235 msgid "ABC for sized iterable container classes." msgstr "ABC για τις κλάσεις επαναλαμβανόμενων container με μέγεθος." -#: library/collections.abc.rst:242 +#: library/collections.abc.rst:241 msgid "" "ABC for classes that provide the :meth:`~iterator.__iter__` and :meth:" "`~iterator.__next__` methods. See also the definition of :term:`iterator`." @@ -631,7 +631,7 @@ msgstr "" "ABC για κλάσεις που παρέχουν τις μεθόδους :meth:`~iterator.__iter__` και :" "meth:`~iterator.__next__`. Δείτε επίσης τον ορισμό του :term:`iterator`." -#: library/collections.abc.rst:248 +#: library/collections.abc.rst:247 msgid "" "ABC for iterable classes that also provide the :meth:`~object.__reversed__` " "method." @@ -639,7 +639,7 @@ msgstr "" "ABC για τις επαναλαμβανόμενες κλάσεις που παρέχουν επίσης τη μέθοδο :meth:" "`~object.__reversed__`." -#: library/collections.abc.rst:255 +#: library/collections.abc.rst:254 msgid "" "ABC for :term:`generator` classes that implement the protocol defined in :" "pep:`342` that extends :term:`iterators ` with the :meth:" @@ -651,7 +651,7 @@ msgstr "" "` με τις μεθόδους :meth:`~generator.send`, :meth:`~generator." "throw` και :meth:`~generator.close`." -#: library/collections.abc.rst:260 +#: library/collections.abc.rst:259 msgid "" "See :ref:`annotating-generators-and-coroutines` for details on using :class:" "`!Generator` in type annotations." @@ -659,12 +659,12 @@ msgstr "" "Δείτε. :ref:`annotating-generators-and-coroutines` για λεπτομέρειες σχετικά " "με τη χρήση του :class:`!Generator` σε τύπους annotations." -#: library/collections.abc.rst:269 +#: library/collections.abc.rst:268 msgid "ABCs for read-only and mutable :term:`sequences `." msgstr "" "ABCs μόνο για ανάγνωση (read-only) και mutable :term:`sequences `." -#: library/collections.abc.rst:271 +#: library/collections.abc.rst:270 msgid "" "Implementation note: Some of the mixin methods, such as :meth:`~container." "__iter__`, :meth:`~object.__reversed__` and :meth:`index`, make repeated " @@ -683,12 +683,12 @@ msgstr "" "οι mixins θα έχουν τετραγωνική απόδοση και πιθανώς θα χρειαστεί να " "αντικατασταθούν." -#: library/collections.abc.rst:280 +#: library/collections.abc.rst:279 msgid "The index() method added support for *stop* and *start* arguments." msgstr "" "Η μέθοδος index() πρόσθεσε υποστήριξη για τα ορίσματα *stop* και *start*." -#: library/collections.abc.rst:284 +#: library/collections.abc.rst:283 msgid "" "The :class:`ByteString` ABC has been deprecated. For use in typing, prefer a " "union, like ``bytes | bytearray``, or :class:`collections.abc.Buffer`. For " @@ -699,24 +699,24 @@ msgstr "" "Buffer`. Για χρήση ως ABC, προτιμάται :class:`Sequence` ή :class:" "`collections.abc.Buffer`." -#: library/collections.abc.rst:293 +#: library/collections.abc.rst:292 msgid "ABCs for read-only and mutable :ref:`sets `." msgstr "" "ABCs μόνο για ανάγνωση (read-only) και mutable :ref:`sets `." -#: library/collections.abc.rst:298 +#: library/collections.abc.rst:297 msgid "ABCs for read-only and mutable :term:`mappings `." msgstr "" "ABCs μόνο για ανάγνωση (read-only) και mutable :term:`mappings `." -#: library/collections.abc.rst:305 +#: library/collections.abc.rst:304 msgid "" "ABCs for mapping, items, keys, and values :term:`views `." msgstr "" "ABCs για αντιστοιχήσεις, στοιχεία, κλειδιά και τιμές :term:`views " "`." -#: library/collections.abc.rst:309 +#: library/collections.abc.rst:308 msgid "" "ABC for :term:`awaitable` objects, which can be used in :keyword:`await` " "expressions. Custom implementations must provide the :meth:`~object." @@ -726,7 +726,7 @@ msgstr "" "εκφράσεις :keyword:`await`. Οι προσαρμοσμένες υλοποιήσεις πρέπει να παρέχουν " "τη μέθοδο :meth:`~object.__await__`." -#: library/collections.abc.rst:313 +#: library/collections.abc.rst:312 msgid "" ":term:`Coroutine ` objects and instances of the :class:" "`~collections.abc.Coroutine` ABC are all instances of this ABC." @@ -734,7 +734,7 @@ msgstr "" "Τα αντικείμενα :term:`Coroutine ` και τα στιγμιότυπα της κλάσης :" "class:`~collections.abc.Coroutine` είναι όλα παραδείγματα αυτής της ABC." -#: library/collections.abc.rst:317 +#: library/collections.abc.rst:316 msgid "" "In CPython, generator-based coroutines (:term:`generators ` " "decorated with :func:`@types.coroutine `) are *awaitables*, " @@ -749,7 +749,7 @@ msgstr "" "Χρησιμοποιείτε τη συνάρτηση :func:`inspect.isawaitable` για να τις " "εντοπίσετε." -#: library/collections.abc.rst:327 +#: library/collections.abc.rst:326 msgid "" "ABC for :term:`coroutine` compatible classes. These implement the following " "methods, defined in :ref:`coroutine-objects`: :meth:`~coroutine.send`, :meth:" @@ -764,7 +764,7 @@ msgstr "" "`~object.__await__`. Όλα τα :class:`Coroutine` στιγμιότυπα είναι επίσης " "στιγμιότυπα της κλάσης :class:`Awaitable`." -#: library/collections.abc.rst:335 +#: library/collections.abc.rst:334 msgid "" "In CPython, generator-based coroutines (:term:`generators ` " "decorated with :func:`@types.coroutine `) are *awaitables*, " @@ -778,7 +778,7 @@ msgstr "" "της ``isinstance (gencoro, Coroutine)`` γι' αυτές θα επιστρέψει ``False``. " "Χρησιμοποιείται η συνάρτηση :func:`inspect.isawaitable` για να εντοπιστούν." -#: library/collections.abc.rst:341 +#: library/collections.abc.rst:340 msgid "" "See :ref:`annotating-generators-and-coroutines` for details on using :class:" "`!Coroutine` in type annotations. The variance and order of type parameters " @@ -788,7 +788,7 @@ msgstr "" "τη χρήση της :class:`!Coroutine` σε σχολιασμούς τύπου. Η διακύμανση και η " "σειρά των παραμέτρων τύπου αντιστοιχούν σε εκείνες της :class:`Generator`." -#: library/collections.abc.rst:350 +#: library/collections.abc.rst:349 msgid "" "ABC for classes that provide an ``__aiter__`` method. See also the " "definition of :term:`asynchronous iterable`." @@ -796,7 +796,7 @@ msgstr "" "ABC για κλάσεις που παρέχουν μια μέθοδο ``__aiter__``. Δείτε επίσης τον " "ορισμό του :term:`asynchronous iterable`." -#: library/collections.abc.rst:357 +#: library/collections.abc.rst:356 msgid "" "ABC for classes that provide ``__aiter__`` and ``__anext__`` methods. See " "also the definition of :term:`asynchronous iterator`." @@ -804,7 +804,7 @@ msgstr "" "ABC για κλάσεις που παρέχουν τις μεθόδους ``__aiter__`` και ``__anext__``. " "Δείτε επίσης τον ορισμό του :term:`asynchronous iterator`." -#: library/collections.abc.rst:364 +#: library/collections.abc.rst:363 msgid "" "ABC for :term:`asynchronous generator` classes that implement the protocol " "defined in :pep:`525` and :pep:`492`." @@ -812,7 +812,7 @@ msgstr "" "ABC για κλάσεις :term:`asynchronous generator` που υλοποιούν το πρωτόκολλο " "που ορίζεται στο :pep:`525` και :pep:`492`." -#: library/collections.abc.rst:367 +#: library/collections.abc.rst:366 msgid "" "See :ref:`annotating-generators-and-coroutines` for details on using :class:" "`!AsyncGenerator` in type annotations." @@ -820,7 +820,7 @@ msgstr "" "Δείτε :ref:`annotating-generators-and-coroutines` για λεπτομέρειες σχετικά " "με τη χρήση του :class:`!AsyncGenerator` σε σχολιασμούς τύπου." -#: library/collections.abc.rst:374 +#: library/collections.abc.rst:373 msgid "" "ABC for classes that provide the :meth:`~object.__buffer__` method, " "implementing the :ref:`buffer protocol `. See :pep:`688`." @@ -828,11 +828,11 @@ msgstr "" "ABC για κλάσεις που παρέχουν τη μέθοδο :meth:`~object.__buffer__`, " "υλοποιώντας το :ref:`buffer protocol `. Δείτε το :pep:`688`." -#: library/collections.abc.rst:380 +#: library/collections.abc.rst:379 msgid "Examples and Recipes" msgstr "Παραδείγματα και Συνταγές" -#: library/collections.abc.rst:382 +#: library/collections.abc.rst:381 msgid "" "ABCs allow us to ask classes or instances if they provide particular " "functionality, for example::" @@ -840,7 +840,7 @@ msgstr "" "Οι ABCs επιτρέπουν να ρωτήσουμε τις κλάσεις ή τα αντικείμενα αν παρέχουν " "συγκεκριμένη λειτουργικότητα, για παράδειγμα::" -#: library/collections.abc.rst:385 +#: library/collections.abc.rst:384 msgid "" "size = None\n" "if isinstance(myvar, collections.abc.Sized):\n" @@ -850,7 +850,7 @@ msgstr "" "if isinstance(myvar, collections.abc.Sized):\n" " size = len(myvar)" -#: library/collections.abc.rst:389 +#: library/collections.abc.rst:388 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 " @@ -867,7 +867,7 @@ msgstr "" "ABC παρέχει τις υπόλοιπες μεθόδους, όπως :meth:`!__and__` και :meth:" "`~frozenset.isdisjoint`::" -#: library/collections.abc.rst:396 +#: library/collections.abc.rst:395 msgid "" "class ListBasedSet(collections.abc.Set):\n" " ''' Alternate set implementation favoring space over speed\n" @@ -915,12 +915,12 @@ msgstr "" "overlap = s1 & s2 # The __and__() method is supported " "automatically" -#: library/collections.abc.rst:418 +#: library/collections.abc.rst:417 msgid "Notes on using :class:`Set` and :class:`MutableSet` as a mixin:" msgstr "" "Σημειώσεις για τη χρήση των :class:`Set` και :class:`MutableSet` ως mixin:" -#: library/collections.abc.rst:421 +#: library/collections.abc.rst:420 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 " @@ -943,7 +943,7 @@ msgstr "" "αντικαταστήσετε την :meth:`!_from_iterable` με μια μέθοδο κλάσης ή κανονική " "μέθοδο που μπορεί να δημιουργήσει νέα αντικείμενα από ένα όρισμα iterable." -#: library/collections.abc.rst:432 +#: library/collections.abc.rst:431 msgid "" "To override the comparisons (presumably for speed, as the semantics are " "fixed), redefine :meth:`~object.__le__` and :meth:`~object.__ge__`, then the " @@ -954,7 +954,7 @@ msgstr "" "__le__`, και :meth:`~object.__ge__`, και οι άλλες λειτουργίες θα " "ακολουθήσουν αυτόματα." -#: library/collections.abc.rst:438 +#: library/collections.abc.rst:437 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 " @@ -969,7 +969,7 @@ msgstr "" "χρησιμοποιώντας mixins, κληρονομήστε τόσο από τις κλάσεις :meth:`Set` όσο " "και :meth:`Hashable`, και στη συνέχεια ορίστε ``__hash__ = Set._hash``." -#: library/collections.abc.rst:446 +#: library/collections.abc.rst:445 msgid "" "`OrderedSet recipe `_ for an " "example built on :class:`MutableSet`." @@ -977,7 +977,7 @@ msgstr "" "Συνταγή `OrderedSet `_ για ένα " "παράδειγμα που βασίζεται στην κλάση :class:`MutableSet`." -#: library/collections.abc.rst:449 +#: library/collections.abc.rst:448 msgid "For more about ABCs, see the :mod:`abc` module and :pep:`3119`." msgstr "" "Για περισσότερα σχετικά με τις ABCs, δείτε το :mod:`abc` module και το :pep:" diff --git a/library/collections.po b/library/collections.po index 55da8bbf..745810f6 100644 --- a/library/collections.po +++ b/library/collections.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -989,8 +989,8 @@ msgstr "" #: library/collections.rst:750 msgid "" "Note that :meth:`__missing__` is *not* called for any operations besides :" -"meth:`~object.__getitem__`. This means that :meth:`get` will, like normal " -"dictionaries, return ``None`` as a default rather than using :attr:" +"meth:`~object.__getitem__`. This means that :meth:`~dict.get` will, like " +"normal dictionaries, return ``None`` as a default rather than using :attr:" "`default_factory`." msgstr "" @@ -1005,7 +1005,7 @@ msgid "" "absent." msgstr "" -#: library/collections.rst:1185 +#: library/collections.rst:1186 msgid "" "Added merge (``|``) and update (``|=``) operators, specified in :pep:`584`." msgstr "" @@ -1078,18 +1078,19 @@ msgid "" "Returns a new tuple subclass named *typename*. The new subclass is used to " "create tuple-like objects that have fields accessible by attribute lookup as " "well as being indexable and iterable. Instances of the subclass also have a " -"helpful docstring (with typename and field_names) and a helpful :meth:" -"`__repr__` method which lists the tuple contents in a ``name=value`` format." +"helpful docstring (with *typename* and *field_names*) and a helpful :meth:" +"`~object.__repr__` method which lists the tuple contents in a ``name=value`` " +"format." msgstr "" -#: library/collections.rst:855 +#: library/collections.rst:856 msgid "" "The *field_names* are a sequence of strings such as ``['x', 'y']``. " "Alternatively, *field_names* can be a single string with each fieldname " "separated by whitespace and/or commas, for example ``'x y'`` or ``'x, y'``." msgstr "" -#: library/collections.rst:859 +#: library/collections.rst:860 msgid "" "Any valid Python identifier may be used for a fieldname except for names " "starting with an underscore. Valid identifiers consist of letters, digits, " @@ -1097,7 +1098,7 @@ msgid "" "mod:`keyword` such as *class*, *for*, *return*, *global*, *pass*, or *raise*." msgstr "" -#: library/collections.rst:865 +#: library/collections.rst:866 msgid "" "If *rename* is true, invalid fieldnames are automatically replaced with " "positional names. For example, ``['abc', 'def', 'ghi', 'abc']`` is " @@ -1105,7 +1106,7 @@ msgid "" "and the duplicate fieldname ``abc``." msgstr "" -#: library/collections.rst:870 +#: library/collections.rst:871 msgid "" "*defaults* can be ``None`` or an :term:`iterable` of default values. Since " "fields with a default value must come after any fields without a default, " @@ -1115,48 +1116,49 @@ msgid "" "will default to ``2``." msgstr "" -#: library/collections.rst:877 +#: library/collections.rst:878 msgid "" "If *module* is defined, the :attr:`~type.__module__` attribute of the named " "tuple is set to that value." msgstr "" -#: library/collections.rst:880 +#: library/collections.rst:881 msgid "" "Named tuple instances do not have per-instance dictionaries, so they are " "lightweight and require no more memory than regular tuples." msgstr "" -#: library/collections.rst:883 +#: library/collections.rst:884 msgid "" "To support pickling, the named tuple class should be assigned to a variable " "that matches *typename*." msgstr "" -#: library/collections.rst:886 +#: library/collections.rst:887 msgid "Added support for *rename*." msgstr "" -#: library/collections.rst:889 +#: library/collections.rst:890 msgid "" "The *verbose* and *rename* parameters became :ref:`keyword-only arguments " "`." msgstr "" -#: library/collections.rst:893 +#: library/collections.rst:894 msgid "Added the *module* parameter." msgstr "" -#: library/collections.rst:896 -msgid "Removed the *verbose* parameter and the :attr:`_source` attribute." +#: library/collections.rst:897 +msgid "Removed the *verbose* parameter and the :attr:`!_source` attribute." msgstr "" -#: library/collections.rst:899 +#: library/collections.rst:900 msgid "" -"Added the *defaults* parameter and the :attr:`_field_defaults` attribute." +"Added the *defaults* parameter and the :attr:`~somenamedtuple." +"_field_defaults` attribute." msgstr "" -#: library/collections.rst:903 +#: library/collections.rst:904 msgid "" ">>> # Basic example\n" ">>> Point = namedtuple('Point', ['x', 'y'])\n" @@ -1173,13 +1175,13 @@ msgid "" "Point(x=11, y=22)" msgstr "" -#: library/collections.rst:919 +#: library/collections.rst:920 msgid "" "Named tuples are especially useful for assigning field names to result " "tuples returned by the :mod:`csv` or :mod:`sqlite3` modules::" msgstr "" -#: library/collections.rst:922 +#: library/collections.rst:923 msgid "" "EmployeeRecord = namedtuple('EmployeeRecord', 'name, age, title, department, " "paygrade')\n" @@ -1198,43 +1200,43 @@ msgid "" " print(emp.name, emp.title)" msgstr "" -#: library/collections.rst:935 +#: library/collections.rst:936 msgid "" "In addition to the methods inherited from tuples, named tuples support three " "additional methods and two attributes. To prevent conflicts with field " "names, the method and attribute names start with an underscore." msgstr "" -#: library/collections.rst:941 +#: library/collections.rst:942 msgid "" "Class method that makes a new instance from an existing sequence or iterable." msgstr "" -#: library/collections.rst:943 +#: library/collections.rst:944 msgid "" ">>> t = [11, 22]\n" ">>> Point._make(t)\n" "Point(x=11, y=22)" msgstr "" -#: library/collections.rst:951 +#: library/collections.rst:952 msgid "" "Return a new :class:`dict` which maps field names to their corresponding " "values:" msgstr "" -#: library/collections.rst:954 +#: library/collections.rst:955 msgid "" ">>> p = Point(x=11, y=22)\n" ">>> p._asdict()\n" "{'x': 11, 'y': 22}" msgstr "" -#: library/collections.rst:960 +#: library/collections.rst:961 msgid "Returns an :class:`OrderedDict` instead of a regular :class:`dict`." msgstr "" -#: library/collections.rst:963 +#: library/collections.rst:964 msgid "" "Returns a regular :class:`dict` instead of an :class:`OrderedDict`. As of " "Python 3.7, regular dicts are guaranteed to be ordered. If the extra " @@ -1242,13 +1244,13 @@ msgid "" "to cast the result to the desired type: ``OrderedDict(nt._asdict())``." msgstr "" -#: library/collections.rst:972 +#: library/collections.rst:973 msgid "" "Return a new instance of the named tuple replacing specified fields with new " "values::" msgstr "" -#: library/collections.rst:975 +#: library/collections.rst:976 msgid "" ">>> p = Point(x=11, y=22)\n" ">>> p._replace(x=33)\n" @@ -1259,13 +1261,13 @@ msgid "" "timestamp=time.now())" msgstr "" -#: library/collections.rst:984 +#: library/collections.rst:985 msgid "" "Tuple of strings listing the field names. Useful for introspection and for " "creating new named tuple types from existing named tuples." msgstr "" -#: library/collections.rst:987 +#: library/collections.rst:988 msgid "" ">>> p._fields # view the field names\n" "('x', 'y')\n" @@ -1276,11 +1278,11 @@ msgid "" "Pixel(x=11, y=22, red=128, green=255, blue=0)" msgstr "" -#: library/collections.rst:999 +#: library/collections.rst:1000 msgid "Dictionary mapping field names to default values." msgstr "" -#: library/collections.rst:1001 +#: library/collections.rst:1002 msgid "" ">>> Account = namedtuple('Account', ['type', 'balance'], defaults=[0])\n" ">>> Account._field_defaults\n" @@ -1289,26 +1291,26 @@ msgid "" "Account(type='premium', balance=0)" msgstr "" -#: library/collections.rst:1009 +#: library/collections.rst:1010 msgid "" "To retrieve a field whose name is stored in a string, use the :func:" "`getattr` function:" msgstr "" -#: library/collections.rst:1015 +#: library/collections.rst:1016 msgid "" "To convert a dictionary to a named tuple, use the double-star-operator (as " "described in :ref:`tut-unpacking-arguments`):" msgstr "" -#: library/collections.rst:1022 +#: library/collections.rst:1023 msgid "" "Since a named tuple is a regular Python class, it is easy to add or change " "functionality with a subclass. Here is how to add a calculated field and a " "fixed-width print format:" msgstr "" -#: library/collections.rst:1026 +#: library/collections.rst:1027 msgid "" ">>> class Point(namedtuple('Point', ['x', 'y'])):\n" "... __slots__ = ()\n" @@ -1325,38 +1327,38 @@ msgid "" "Point: x=14.000 y= 0.714 hypot=14.018" msgstr "" -#: library/collections.rst:1041 +#: library/collections.rst:1042 msgid "" "The subclass shown above sets ``__slots__`` to an empty tuple. This helps " "keep memory requirements low by preventing the creation of instance " "dictionaries." msgstr "" -#: library/collections.rst:1044 +#: library/collections.rst:1045 msgid "" "Subclassing is not useful for adding new, stored fields. Instead, simply " "create a new named tuple type from the :attr:`~somenamedtuple._fields` " "attribute:" msgstr "" -#: library/collections.rst:1049 +#: library/collections.rst:1050 msgid "" "Docstrings can be customized by making direct assignments to the ``__doc__`` " "fields:" msgstr "" -#: library/collections.rst:1058 +#: library/collections.rst:1059 msgid "Property docstrings became writeable." msgstr "" -#: library/collections.rst:1063 +#: library/collections.rst:1064 msgid "" "See :class:`typing.NamedTuple` for a way to add type hints for named " "tuples. It also provides an elegant notation using the :keyword:`class` " "keyword::" msgstr "" -#: library/collections.rst:1067 +#: library/collections.rst:1068 msgid "" "class Component(NamedTuple):\n" " part_number: int\n" @@ -1364,23 +1366,23 @@ msgid "" " description: Optional[str] = None" msgstr "" -#: library/collections.rst:1072 +#: library/collections.rst:1073 msgid "" "See :meth:`types.SimpleNamespace` for a mutable namespace based on an " "underlying dictionary instead of a tuple." msgstr "" -#: library/collections.rst:1075 +#: library/collections.rst:1076 msgid "" "The :mod:`dataclasses` module provides a decorator and functions for " "automatically adding generated special methods to user-defined classes." msgstr "" -#: library/collections.rst:1080 +#: library/collections.rst:1081 msgid ":class:`OrderedDict` objects" msgstr "" -#: library/collections.rst:1082 +#: library/collections.rst:1083 msgid "" "Ordered dictionaries are just like regular dictionaries but have some extra " "capabilities relating to ordering operations. They have become less " @@ -1388,91 +1390,93 @@ msgid "" "remember insertion order (this new behavior became guaranteed in Python 3.7)." msgstr "" -#: library/collections.rst:1088 +#: library/collections.rst:1089 msgid "Some differences from :class:`dict` still remain:" msgstr "" -#: library/collections.rst:1090 +#: library/collections.rst:1091 msgid "" "The regular :class:`dict` was designed to be very good at mapping " "operations. Tracking insertion order was secondary." msgstr "" -#: library/collections.rst:1093 +#: library/collections.rst:1094 msgid "" "The :class:`OrderedDict` was designed to be good at reordering operations. " "Space efficiency, iteration speed, and the performance of update operations " "were secondary." msgstr "" -#: library/collections.rst:1097 +#: library/collections.rst:1098 msgid "" "The :class:`OrderedDict` algorithm can handle frequent reordering operations " "better than :class:`dict`. As shown in the recipes below, this makes it " "suitable for implementing various kinds of LRU caches." msgstr "" -#: library/collections.rst:1101 +#: library/collections.rst:1102 msgid "" "The equality operation for :class:`OrderedDict` checks for matching order." msgstr "" -#: library/collections.rst:1103 +#: library/collections.rst:1104 msgid "" "A regular :class:`dict` can emulate the order sensitive equality test with " "``p == q and all(k1 == k2 for k1, k2 in zip(p, q))``." msgstr "" -#: library/collections.rst:1106 +#: library/collections.rst:1107 msgid "" -"The :meth:`popitem` method of :class:`OrderedDict` has a different " -"signature. It accepts an optional argument to specify which item is popped." +"The :meth:`~OrderedDict.popitem` method of :class:`OrderedDict` has a " +"different signature. It accepts an optional argument to specify which item " +"is popped." msgstr "" -#: library/collections.rst:1109 +#: library/collections.rst:1110 msgid "" "A regular :class:`dict` can emulate OrderedDict's ``od.popitem(last=True)`` " "with ``d.popitem()`` which is guaranteed to pop the rightmost (last) item." msgstr "" -#: library/collections.rst:1112 +#: library/collections.rst:1113 msgid "" "A regular :class:`dict` can emulate OrderedDict's ``od.popitem(last=False)`` " "with ``(k := next(iter(d)), d.pop(k))`` which will return and remove the " "leftmost (first) item if it exists." msgstr "" -#: library/collections.rst:1116 +#: library/collections.rst:1117 msgid "" -":class:`OrderedDict` has a :meth:`move_to_end` method to efficiently " -"reposition an element to an endpoint." +":class:`OrderedDict` has a :meth:`~OrderedDict.move_to_end` method to " +"efficiently reposition an element to an endpoint." msgstr "" -#: library/collections.rst:1119 +#: library/collections.rst:1120 msgid "" "A regular :class:`dict` can emulate OrderedDict's ``od.move_to_end(k, " "last=True)`` with ``d[k] = d.pop(k)`` which will move the key and its " "associated value to the rightmost (last) position." msgstr "" -#: library/collections.rst:1123 +#: library/collections.rst:1124 msgid "" "A regular :class:`dict` does not have an efficient equivalent for " "OrderedDict's ``od.move_to_end(k, last=False)`` which moves the key and its " "associated value to the leftmost (first) position." msgstr "" -#: library/collections.rst:1127 -msgid "Until Python 3.8, :class:`dict` lacked a :meth:`__reversed__` method." +#: library/collections.rst:1128 +msgid "" +"Until Python 3.8, :class:`dict` lacked a :meth:`~object.__reversed__` method." msgstr "" -#: library/collections.rst:1132 +#: library/collections.rst:1133 msgid "" "Return an instance of a :class:`dict` subclass that has methods specialized " "for rearranging dictionary order." msgstr "" -#: library/collections.rst:1139 +#: library/collections.rst:1140 msgid "" "The :meth:`popitem` method for ordered dictionaries returns and removes a " "(key, value) pair. The pairs are returned in :abbr:`LIFO (last-in, first-" @@ -1480,14 +1484,14 @@ msgid "" "false." msgstr "" -#: library/collections.rst:1146 +#: library/collections.rst:1147 msgid "" "Move an existing *key* to either end of an ordered dictionary. The item is " "moved to the right end if *last* is true (the default) or to the beginning " "if *last* is false. Raises :exc:`KeyError` if the *key* does not exist:" msgstr "" -#: library/collections.rst:1151 +#: library/collections.rst:1152 msgid "" ">>> d = OrderedDict.fromkeys('abcde')\n" ">>> d.move_to_end('b')\n" @@ -1498,19 +1502,19 @@ msgid "" "'bacde'" msgstr "" -#: library/collections.rst:1163 +#: library/collections.rst:1164 msgid "" "In addition to the usual mapping methods, ordered dictionaries also support " "reverse iteration using :func:`reversed`." msgstr "" -#: library/collections.rst:1168 +#: library/collections.rst:1169 msgid "" "Equality tests between :class:`OrderedDict` objects are order-sensitive and " "are roughly equivalent to ``list(od1.items())==list(od2.items())``." msgstr "" -#: library/collections.rst:1171 +#: library/collections.rst:1172 msgid "" "Equality tests between :class:`OrderedDict` objects and other :class:" "`~collections.abc.Mapping` objects are order-insensitive like regular " @@ -1518,23 +1522,24 @@ msgid "" "anywhere a regular dictionary is used." msgstr "" -#: library/collections.rst:1176 +#: library/collections.rst:1177 msgid "" "The items, keys, and values :term:`views ` of :class:" "`OrderedDict` now support reverse iteration using :func:`reversed`." msgstr "" -#: library/collections.rst:1180 +#: library/collections.rst:1181 msgid "" "With the acceptance of :pep:`468`, order is retained for keyword arguments " -"passed to the :class:`OrderedDict` constructor and its :meth:`update` method." +"passed to the :class:`OrderedDict` constructor and its :meth:`~dict.update` " +"method." msgstr "" -#: library/collections.rst:1190 +#: library/collections.rst:1191 msgid ":class:`OrderedDict` Examples and Recipes" msgstr "" -#: library/collections.rst:1192 +#: library/collections.rst:1193 msgid "" "It is straightforward to create an ordered dictionary variant that remembers " "the order the keys were *last* inserted. If a new entry overwrites an " @@ -1542,7 +1547,7 @@ msgid "" "end::" msgstr "" -#: library/collections.rst:1197 +#: library/collections.rst:1198 msgid "" "class LastUpdatedOrderedDict(OrderedDict):\n" " 'Store items in the order the keys were last added'\n" @@ -1552,13 +1557,13 @@ msgid "" " self.move_to_end(key)" msgstr "" -#: library/collections.rst:1204 +#: library/collections.rst:1205 msgid "" "An :class:`OrderedDict` would also be useful for implementing variants of :" "func:`functools.lru_cache`:" msgstr "" -#: library/collections.rst:1207 +#: library/collections.rst:1208 msgid "" "from collections import OrderedDict\n" "from time import time\n" @@ -1585,7 +1590,7 @@ msgid "" " return result" msgstr "" -#: library/collections.rst:1234 +#: library/collections.rst:1235 msgid "" "class MultiHitLRUCache:\n" " \"\"\" LRU cache that defers caching a result until\n" @@ -1623,11 +1628,11 @@ msgid "" " return result" msgstr "" -#: library/collections.rst:1303 +#: library/collections.rst:1304 msgid ":class:`UserDict` objects" msgstr "" -#: library/collections.rst:1305 +#: library/collections.rst:1306 msgid "" "The class, :class:`UserDict` acts as a wrapper around dictionary objects. " "The need for this class has been partially supplanted by the ability to " @@ -1635,7 +1640,7 @@ msgid "" "work with because the underlying dictionary is accessible as an attribute." msgstr "" -#: library/collections.rst:1313 +#: library/collections.rst:1314 msgid "" "Class that simulates a dictionary. The instance's contents are kept in a " "regular dictionary, which is accessible via the :attr:`data` attribute of :" @@ -1644,22 +1649,22 @@ msgid "" "not be kept, allowing it to be used for other purposes." msgstr "" -#: library/collections.rst:1319 +#: library/collections.rst:1320 msgid "" "In addition to supporting the methods and operations of mappings, :class:" "`UserDict` instances provide the following attribute:" msgstr "" -#: library/collections.rst:1324 +#: library/collections.rst:1325 msgid "" "A real dictionary used to store the contents of the :class:`UserDict` class." msgstr "" -#: library/collections.rst:1330 +#: library/collections.rst:1331 msgid ":class:`UserList` objects" msgstr "" -#: library/collections.rst:1332 +#: library/collections.rst:1333 msgid "" "This class acts as a wrapper around list objects. It is a useful base class " "for your own list-like classes which can inherit from them and override " @@ -1667,14 +1672,14 @@ msgid "" "lists." msgstr "" -#: library/collections.rst:1337 +#: library/collections.rst:1338 msgid "" "The need for this class has been partially supplanted by the ability to " "subclass directly from :class:`list`; however, this class can be easier to " "work with because the underlying list is accessible as an attribute." msgstr "" -#: library/collections.rst:1343 +#: library/collections.rst:1344 msgid "" "Class that simulates a list. The instance's contents are kept in a regular " "list, which is accessible via the :attr:`data` attribute of :class:" @@ -1683,19 +1688,19 @@ msgid "" "for example a real Python list or a :class:`UserList` object." msgstr "" -#: library/collections.rst:1349 +#: library/collections.rst:1350 msgid "" "In addition to supporting the methods and operations of mutable sequences, :" "class:`UserList` instances provide the following attribute:" msgstr "" -#: library/collections.rst:1354 +#: library/collections.rst:1355 msgid "" "A real :class:`list` object used to store the contents of the :class:" "`UserList` class." msgstr "" -#: library/collections.rst:1357 +#: library/collections.rst:1358 msgid "" "**Subclassing requirements:** Subclasses of :class:`UserList` are expected " "to offer a constructor which can be called with either no arguments or one " @@ -1705,7 +1710,7 @@ msgid "" "object used as a data source." msgstr "" -#: library/collections.rst:1364 +#: library/collections.rst:1365 msgid "" "If a derived class does not wish to comply with this requirement, all of the " "special methods supported by this class will need to be overridden; please " @@ -1713,11 +1718,11 @@ msgid "" "provided in that case." msgstr "" -#: library/collections.rst:1370 +#: library/collections.rst:1371 msgid ":class:`UserString` objects" msgstr "" -#: library/collections.rst:1372 +#: library/collections.rst:1373 msgid "" "The class, :class:`UserString` acts as a wrapper around string objects. The " "need for this class has been partially supplanted by the ability to subclass " @@ -1725,7 +1730,7 @@ msgid "" "because the underlying string is accessible as an attribute." msgstr "" -#: library/collections.rst:1380 +#: library/collections.rst:1381 msgid "" "Class that simulates a string object. The instance's content is kept in a " "regular string object, which is accessible via the :attr:`data` attribute " @@ -1734,19 +1739,19 @@ msgid "" "converted into a string using the built-in :func:`str` function." msgstr "" -#: library/collections.rst:1387 +#: library/collections.rst:1388 msgid "" "In addition to supporting the methods and operations of strings, :class:" "`UserString` instances provide the following attribute:" msgstr "" -#: library/collections.rst:1392 +#: library/collections.rst:1393 msgid "" "A real :class:`str` object used to store the contents of the :class:" "`UserString` class." msgstr "" -#: library/collections.rst:1395 +#: library/collections.rst:1396 msgid "" "New methods ``__getnewargs__``, ``__rmod__``, ``casefold``, ``format_map``, " "``isprintable``, and ``maketrans``." diff --git a/library/colorsys.po b/library/colorsys.po index c63bd2af..f4b5d4a2 100644 --- a/library/colorsys.po +++ b/library/colorsys.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/compileall.po b/library/compileall.po index 9ffece97..399369dc 100644 --- a/library/compileall.po +++ b/library/compileall.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/concurrency.po b/library/concurrency.po index ff730c50..b76d99ef 100644 --- a/library/concurrency.po +++ b/library/concurrency.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/concurrent.futures.po b/library/concurrent.futures.po index 2231a1ab..13b68ef4 100644 --- a/library/concurrent.futures.po +++ b/library/concurrent.futures.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/concurrent.po b/library/concurrent.po index 9d047e35..1d298ed7 100644 --- a/library/concurrent.po +++ b/library/concurrent.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/configparser.po b/library/configparser.po index 30e3ef4e..1a47c1c3 100644 --- a/library/configparser.po +++ b/library/configparser.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -156,7 +156,7 @@ msgid "" "'no'\n" ">>> topsecret['Port']\n" "'50022'\n" -">>> for key in config['forge.example']: \n" +">>> for key in config['forge.example']:\n" "... print(key)\n" "user\n" "compressionlevel\n" diff --git a/library/constants.po b/library/constants.po index f6e059f3..bd0c5d15 100644 --- a/library/constants.po +++ b/library/constants.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -74,19 +74,19 @@ msgstr "" #: library/constants.rst:51 msgid "" -"``NotImplementedError`` and :data:`!NotImplemented` are not interchangeable, " -"even though they have similar names and purposes. See :exc:" -"`NotImplementedError` for details on when to use it." +":data:`!NotImplemented` and :exc:`!NotImplementedError` are not " +"interchangeable. This constant should only be used as described above; see :" +"exc:`NotImplementedError` for details on correct usage of the exception." msgstr "" -#: library/constants.rst:55 +#: library/constants.rst:56 msgid "" "Evaluating :data:`!NotImplemented` in a boolean context is deprecated. While " "it currently evaluates as true, it will emit a :exc:`DeprecationWarning`. It " "will raise a :exc:`TypeError` in a future version of Python." msgstr "" -#: library/constants.rst:64 +#: library/constants.rst:65 msgid "" "The same as the ellipsis literal \"``...``\". Special value used mostly in " "conjunction with extended slicing syntax for user-defined container data " @@ -94,24 +94,24 @@ msgid "" "type." msgstr "" -#: library/constants.rst:71 +#: library/constants.rst:72 msgid "" "This constant is true if Python was not started with an :option:`-O` option. " "See also the :keyword:`assert` statement." msgstr "" -#: library/constants.rst:77 +#: library/constants.rst:78 msgid "" "The names :data:`None`, :data:`False`, :data:`True` and :data:`__debug__` " "cannot be reassigned (assignments to them, even as an attribute name, raise :" "exc:`SyntaxError`), so they can be considered \"true\" constants." msgstr "" -#: library/constants.rst:85 +#: library/constants.rst:86 msgid "Constants added by the :mod:`site` module" msgstr "" -#: library/constants.rst:87 +#: library/constants.rst:88 msgid "" "The :mod:`site` module (which is imported automatically during startup, " "except if the :option:`-S` command-line option is given) adds several " @@ -119,37 +119,37 @@ msgid "" "interpreter shell and should not be used in programs." msgstr "" -#: library/constants.rst:95 +#: library/constants.rst:96 msgid "" "Objects that when printed, print a message like \"Use quit() or Ctrl-D (i.e. " "EOF) to exit\", and when called, raise :exc:`SystemExit` with the specified " "exit code." msgstr "" -#: library/constants.rst:102 +#: library/constants.rst:103 msgid "" "Object that when printed, prints the message \"Type help() for interactive " "help, or help(object) for help about object.\", and when called, acts as " "described :func:`elsewhere `." msgstr "" -#: library/constants.rst:109 +#: library/constants.rst:110 msgid "" "Objects that when printed or called, print the text of copyright or credits, " "respectively." msgstr "" -#: library/constants.rst:114 +#: library/constants.rst:115 msgid "" "Object that when printed, prints the message \"Type license() to see the " "full license text\", and when called, displays the full license text in a " "pager-like fashion (one screen at a time)." msgstr "" -#: library/constants.rst:61 +#: library/constants.rst:62 msgid "..." msgstr "" -#: library/constants.rst:61 +#: library/constants.rst:62 msgid "ellipsis literal" msgstr "" diff --git a/library/contextlib.po b/library/contextlib.po index af141276..fa3e2e20 100644 --- a/library/contextlib.po +++ b/library/contextlib.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -854,37 +854,37 @@ msgid "" "be used instead." msgstr "" -#: library/contextlib.rst:634 +#: library/contextlib.rst:635 msgid "" "Similar to :meth:`ExitStack.enter_context` but expects an asynchronous " "context manager." msgstr "" -#: library/contextlib.rst:637 +#: library/contextlib.rst:638 msgid "" "Raises :exc:`TypeError` instead of :exc:`AttributeError` if *cm* is not an " "asynchronous context manager." msgstr "" -#: library/contextlib.rst:643 +#: library/contextlib.rst:644 msgid "" "Similar to :meth:`ExitStack.push` but expects either an asynchronous context " "manager or a coroutine function." msgstr "" -#: library/contextlib.rst:648 +#: library/contextlib.rst:649 msgid "Similar to :meth:`ExitStack.callback` but expects a coroutine function." msgstr "" -#: library/contextlib.rst:652 +#: library/contextlib.rst:654 msgid "Similar to :meth:`ExitStack.close` but properly handles awaitables." msgstr "" -#: library/contextlib.rst:654 +#: library/contextlib.rst:656 msgid "Continuing the example for :func:`asynccontextmanager`::" msgstr "" -#: library/contextlib.rst:656 +#: library/contextlib.rst:658 msgid "" "async with AsyncExitStack() as stack:\n" " connections = [await stack.enter_async_context(get_connection())\n" @@ -894,21 +894,21 @@ msgid "" " # later in the list raise an exception." msgstr "" -#: library/contextlib.rst:666 +#: library/contextlib.rst:668 msgid "Examples and Recipes" msgstr "" -#: library/contextlib.rst:668 +#: library/contextlib.rst:670 msgid "" "This section describes some examples and recipes for making effective use of " "the tools provided by :mod:`contextlib`." msgstr "" -#: library/contextlib.rst:673 +#: library/contextlib.rst:675 msgid "Supporting a variable number of context managers" msgstr "" -#: library/contextlib.rst:675 +#: library/contextlib.rst:677 msgid "" "The primary use case for :class:`ExitStack` is the one given in the class " "documentation: supporting a variable number of context managers and other " @@ -918,7 +918,7 @@ msgid "" "of the context managers being optional::" msgstr "" -#: library/contextlib.rst:682 +#: library/contextlib.rst:684 msgid "" "with ExitStack() as stack:\n" " for resource in resources:\n" @@ -929,18 +929,18 @@ msgid "" " # Perform operations that use the acquired resources" msgstr "" -#: library/contextlib.rst:690 +#: library/contextlib.rst:692 msgid "" "As shown, :class:`ExitStack` also makes it quite easy to use :keyword:`with` " "statements to manage arbitrary resources that don't natively support the " "context management protocol." msgstr "" -#: library/contextlib.rst:696 +#: library/contextlib.rst:698 msgid "Catching exceptions from ``__enter__`` methods" msgstr "" -#: library/contextlib.rst:698 +#: library/contextlib.rst:700 msgid "" "It is occasionally desirable to catch exceptions from an ``__enter__`` " "method implementation, *without* inadvertently catching exceptions from the :" @@ -949,7 +949,7 @@ msgid "" "be separated slightly in order to allow this::" msgstr "" -#: library/contextlib.rst:704 +#: library/contextlib.rst:706 msgid "" "stack = ExitStack()\n" "try:\n" @@ -961,7 +961,7 @@ msgid "" " # Handle normal case" msgstr "" -#: library/contextlib.rst:713 +#: library/contextlib.rst:715 msgid "" "Actually needing to do this is likely to indicate that the underlying API " "should be providing a direct resource management interface for use with :" @@ -972,25 +972,25 @@ msgid "" "`with` statement." msgstr "" -#: library/contextlib.rst:723 +#: library/contextlib.rst:725 msgid "Cleaning up in an ``__enter__`` implementation" msgstr "" -#: library/contextlib.rst:725 +#: library/contextlib.rst:727 msgid "" "As noted in the documentation of :meth:`ExitStack.push`, this method can be " "useful in cleaning up an already allocated resource if later steps in the :" "meth:`~object.__enter__` implementation fail." msgstr "" -#: library/contextlib.rst:729 +#: library/contextlib.rst:731 msgid "" "Here's an example of doing this for a context manager that accepts resource " "acquisition and release functions, along with an optional validation " "function, and maps them to the context management protocol::" msgstr "" -#: library/contextlib.rst:733 +#: library/contextlib.rst:735 msgid "" "from contextlib import contextmanager, AbstractContextManager, ExitStack\n" "\n" @@ -1028,11 +1028,11 @@ msgid "" " self.release_resource()" msgstr "" -#: library/contextlib.rst:769 +#: library/contextlib.rst:771 msgid "Replacing any use of ``try-finally`` and flag variables" msgstr "" -#: library/contextlib.rst:771 +#: library/contextlib.rst:773 msgid "" "A pattern you will sometimes see is a ``try-finally`` statement with a flag " "variable to indicate whether or not the body of the ``finally`` clause " @@ -1040,7 +1040,7 @@ msgid "" "by using an ``except`` clause instead), it looks something like this::" msgstr "" -#: library/contextlib.rst:776 +#: library/contextlib.rst:778 msgid "" "cleanup_needed = True\n" "try:\n" @@ -1052,21 +1052,21 @@ msgid "" " cleanup_resources()" msgstr "" -#: library/contextlib.rst:785 +#: library/contextlib.rst:787 msgid "" "As with any ``try`` statement based code, this can cause problems for " "development and review, because the setup code and the cleanup code can end " "up being separated by arbitrarily long sections of code." msgstr "" -#: library/contextlib.rst:789 +#: library/contextlib.rst:791 msgid "" ":class:`ExitStack` makes it possible to instead register a callback for " "execution at the end of a ``with`` statement, and then later decide to skip " "executing that callback::" msgstr "" -#: library/contextlib.rst:793 +#: library/contextlib.rst:795 msgid "" "from contextlib import ExitStack\n" "\n" @@ -1077,19 +1077,19 @@ msgid "" " stack.pop_all()" msgstr "" -#: library/contextlib.rst:801 +#: library/contextlib.rst:803 msgid "" "This allows the intended cleanup behaviour to be made explicit up front, " "rather than requiring a separate flag variable." msgstr "" -#: library/contextlib.rst:804 +#: library/contextlib.rst:806 msgid "" "If a particular application uses this pattern a lot, it can be simplified " "even further by means of a small helper class::" msgstr "" -#: library/contextlib.rst:807 +#: library/contextlib.rst:809 msgid "" "from contextlib import ExitStack\n" "\n" @@ -1107,14 +1107,14 @@ msgid "" " cb.cancel()" msgstr "" -#: library/contextlib.rst:822 +#: library/contextlib.rst:824 msgid "" "If the resource cleanup isn't already neatly bundled into a standalone " "function, then it is still possible to use the decorator form of :meth:" "`ExitStack.callback` to declare the resource cleanup in advance::" msgstr "" -#: library/contextlib.rst:827 +#: library/contextlib.rst:829 msgid "" "from contextlib import ExitStack\n" "\n" @@ -1127,24 +1127,24 @@ msgid "" " stack.pop_all()" msgstr "" -#: library/contextlib.rst:837 +#: library/contextlib.rst:839 msgid "" "Due to the way the decorator protocol works, a callback function declared " "this way cannot take any parameters. Instead, any resources to be released " "must be accessed as closure variables." msgstr "" -#: library/contextlib.rst:843 +#: library/contextlib.rst:845 msgid "Using a context manager as a function decorator" msgstr "" -#: library/contextlib.rst:845 +#: library/contextlib.rst:847 msgid "" ":class:`ContextDecorator` makes it possible to use a context manager in both " "an ordinary ``with`` statement and also as a function decorator." msgstr "" -#: library/contextlib.rst:848 +#: library/contextlib.rst:850 msgid "" "For example, it is sometimes useful to wrap functions or groups of " "statements with a logger that can track the time of entry and time of exit. " @@ -1153,7 +1153,7 @@ msgid "" "in a single definition::" msgstr "" -#: library/contextlib.rst:854 +#: library/contextlib.rst:856 msgid "" "from contextlib import ContextDecorator\n" "import logging\n" @@ -1171,22 +1171,22 @@ msgid "" " logging.info('Exiting: %s', self.name)" msgstr "" -#: library/contextlib.rst:869 +#: library/contextlib.rst:871 msgid "Instances of this class can be used as both a context manager::" msgstr "" -#: library/contextlib.rst:871 +#: library/contextlib.rst:873 msgid "" "with track_entry_and_exit('widget loader'):\n" " print('Some time consuming activity goes here')\n" " load_widget()" msgstr "" -#: library/contextlib.rst:875 +#: library/contextlib.rst:877 msgid "And also as a function decorator::" msgstr "" -#: library/contextlib.rst:877 +#: library/contextlib.rst:879 msgid "" "@track_entry_and_exit('widget loader')\n" "def activity():\n" @@ -1194,7 +1194,7 @@ msgid "" " load_widget()" msgstr "" -#: library/contextlib.rst:882 +#: library/contextlib.rst:884 msgid "" "Note that there is one additional limitation when using context managers as " "function decorators: there's no way to access the return value of :meth:" @@ -1202,21 +1202,21 @@ msgid "" "use an explicit ``with`` statement." msgstr "" -#: library/contextlib.rst:889 +#: library/contextlib.rst:891 msgid ":pep:`343` - The \"with\" statement" msgstr "" -#: library/contextlib.rst:890 +#: library/contextlib.rst:892 msgid "" "The specification, background, and examples for the Python :keyword:`with` " "statement." msgstr "" -#: library/contextlib.rst:896 +#: library/contextlib.rst:898 msgid "Single use, reusable and reentrant context managers" msgstr "" -#: library/contextlib.rst:898 +#: library/contextlib.rst:900 msgid "" "Most context managers are written in a way that means they can only be used " "effectively in a :keyword:`with` statement once. These single use context " @@ -1224,28 +1224,28 @@ msgid "" "them a second time will trigger an exception or otherwise not work correctly." msgstr "" -#: library/contextlib.rst:904 +#: library/contextlib.rst:906 msgid "" "This common limitation means that it is generally advisable to create " "context managers directly in the header of the :keyword:`with` statement " "where they are used (as shown in all of the usage examples above)." msgstr "" -#: library/contextlib.rst:908 +#: library/contextlib.rst:910 msgid "" "Files are an example of effectively single use context managers, since the " "first :keyword:`with` statement will close the file, preventing any further " "IO operations using that file object." msgstr "" -#: library/contextlib.rst:912 +#: library/contextlib.rst:914 msgid "" "Context managers created using :func:`contextmanager` are also single use " "context managers, and will complain about the underlying generator failing " "to yield if an attempt is made to use them a second time::" msgstr "" -#: library/contextlib.rst:916 +#: library/contextlib.rst:918 msgid "" ">>> from contextlib import contextmanager\n" ">>> @contextmanager\n" @@ -1268,11 +1268,11 @@ msgid "" "RuntimeError: generator didn't yield" msgstr "" -#: library/contextlib.rst:940 +#: library/contextlib.rst:942 msgid "Reentrant context managers" msgstr "" -#: library/contextlib.rst:942 +#: library/contextlib.rst:944 msgid "" "More sophisticated context managers may be \"reentrant\". These context " "managers can not only be used in multiple :keyword:`with` statements, but " @@ -1280,14 +1280,14 @@ msgid "" "the same context manager." msgstr "" -#: library/contextlib.rst:947 +#: library/contextlib.rst:949 msgid "" ":class:`threading.RLock` is an example of a reentrant context manager, as " "are :func:`suppress`, :func:`redirect_stdout`, and :func:`chdir`. Here's a " "very simple example of reentrant use::" msgstr "" -#: library/contextlib.rst:951 +#: library/contextlib.rst:953 msgid "" ">>> from contextlib import redirect_stdout\n" ">>> from io import StringIO\n" @@ -1305,14 +1305,14 @@ msgid "" "This is also written to the stream" msgstr "" -#: library/contextlib.rst:966 +#: library/contextlib.rst:968 msgid "" "Real world examples of reentrancy are more likely to involve multiple " "functions calling each other and hence be far more complicated than this " "example." msgstr "" -#: library/contextlib.rst:970 +#: library/contextlib.rst:972 msgid "" "Note also that being reentrant is *not* the same thing as being thread " "safe. :func:`redirect_stdout`, for example, is definitely not thread safe, " @@ -1320,11 +1320,11 @@ msgid "" "stdout` to a different stream." msgstr "" -#: library/contextlib.rst:979 +#: library/contextlib.rst:981 msgid "Reusable context managers" msgstr "" -#: library/contextlib.rst:981 +#: library/contextlib.rst:983 msgid "" "Distinct from both single use and reentrant context managers are " "\"reusable\" context managers (or, to be completely explicit, \"reusable, " @@ -1334,21 +1334,21 @@ msgid "" "manager instance has already been used in a containing with statement." msgstr "" -#: library/contextlib.rst:988 +#: library/contextlib.rst:990 msgid "" ":class:`threading.Lock` is an example of a reusable, but not reentrant, " "context manager (for a reentrant lock, it is necessary to use :class:" "`threading.RLock` instead)." msgstr "" -#: library/contextlib.rst:992 +#: library/contextlib.rst:994 msgid "" "Another example of a reusable, but not reentrant, context manager is :class:" "`ExitStack`, as it invokes *all* currently registered callbacks when leaving " "any with statement, regardless of where those callbacks were added::" msgstr "" -#: library/contextlib.rst:997 +#: library/contextlib.rst:999 msgid "" ">>> from contextlib import ExitStack\n" ">>> stack = ExitStack()\n" @@ -1377,7 +1377,7 @@ msgid "" "Leaving outer context" msgstr "" -#: library/contextlib.rst:1023 +#: library/contextlib.rst:1025 msgid "" "As the output from the example shows, reusing a single stack object across " "multiple with statements works correctly, but attempting to nest them will " @@ -1385,13 +1385,13 @@ msgid "" "which is unlikely to be desirable behaviour." msgstr "" -#: library/contextlib.rst:1028 +#: library/contextlib.rst:1030 msgid "" "Using separate :class:`ExitStack` instances instead of reusing a single " "instance avoids that problem::" msgstr "" -#: library/contextlib.rst:1031 +#: library/contextlib.rst:1033 msgid "" ">>> from contextlib import ExitStack\n" ">>> with ExitStack() as outer_stack:\n" diff --git a/library/contextvars.po b/library/contextvars.po index 6389cedc..cdff3fc1 100644 --- a/library/contextvars.po +++ b/library/contextvars.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/copy.po b/library/copy.po index 9f6b8f9f..b1990e6d 100644 --- a/library/copy.po +++ b/library/copy.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -130,21 +130,29 @@ msgstr "" #: library/copy.rst:82 msgid "" "In order for a class to define its own copy implementation, it can define " -"special methods :meth:`__copy__` and :meth:`__deepcopy__`. The former is " -"called to implement the shallow copy operation; no additional arguments are " -"passed. The latter is called to implement the deep copy operation; it is " -"passed one argument, the ``memo`` dictionary. If the :meth:`__deepcopy__` " -"implementation needs to make a deep copy of a component, it should call the :" -"func:`deepcopy` function with the component as first argument and the memo " -"dictionary as second argument. The memo dictionary should be treated as an " -"opaque object." +"special methods :meth:`~object.__copy__` and :meth:`~object.__deepcopy__`." +msgstr "" + +#: library/copy.rst:88 +msgid "" +"Called to implement the shallow copy operation; no additional arguments are " +"passed." msgstr "" #: library/copy.rst:94 +msgid "" +"Called to implement the deep copy operation; it is passed one argument, the " +"*memo* dictionary. If the ``__deepcopy__`` implementation needs to make a " +"deep copy of a component, it should call the :func:`deepcopy` function with " +"the component as first argument and the *memo* dictionary as second " +"argument. The *memo* dictionary should be treated as an opaque object." +msgstr "" + +#: library/copy.rst:103 msgid "Module :mod:`pickle`" msgstr "" -#: library/copy.rst:95 +#: library/copy.rst:104 msgid "" "Discussion of the special methods used to support object state retrieval and " "restoration." diff --git a/library/copyreg.po b/library/copyreg.po index 35242bb3..c48f9ef5 100644 --- a/library/copyreg.po +++ b/library/copyreg.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/crypt.po b/library/crypt.po index 9f89a376..bb3b6d27 100644 --- a/library/crypt.po +++ b/library/crypt.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/crypto.po b/library/crypto.po index daae59e7..aade7ff2 100644 --- a/library/crypto.po +++ b/library/crypto.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/csv.po b/library/csv.po index a09754e9..972f0e81 100644 --- a/library/csv.po +++ b/library/csv.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/ctypes.po b/library/ctypes.po index a9d63c55..40c7e640 100644 --- a/library/ctypes.po +++ b/library/ctypes.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -88,11 +88,11 @@ msgstr "" #: library/ctypes.rst:57 msgid "" ">>> from ctypes import *\n" -">>> print(windll.kernel32) \n" +">>> print(windll.kernel32)\n" "\n" -">>> print(cdll.msvcrt) \n" +">>> print(cdll.msvcrt)\n" "\n" -">>> libc = cdll.msvcrt \n" +">>> libc = cdll.msvcrt\n" ">>>" msgstr "" @@ -119,10 +119,10 @@ msgstr "" #: library/ctypes.rst:79 msgid "" -">>> cdll.LoadLibrary(\"libc.so.6\") \n" +">>> cdll.LoadLibrary(\"libc.so.6\")\n" "\n" -">>> libc = CDLL(\"libc.so.6\") \n" -">>> libc \n" +">>> libc = CDLL(\"libc.so.6\")\n" +">>> libc\n" "\n" ">>>" msgstr "" @@ -139,9 +139,9 @@ msgstr "" msgid "" ">>> libc.printf\n" "<_FuncPtr object at 0x...>\n" -">>> print(windll.kernel32.GetModuleHandleA) \n" +">>> print(windll.kernel32.GetModuleHandleA)\n" "<_FuncPtr object at 0x...>\n" -">>> print(windll.kernel32.MyOwnFunction) \n" +">>> print(windll.kernel32.MyOwnFunction)\n" "Traceback (most recent call last):\n" " File \"\", line 1, in \n" " File \"ctypes.py\", line 239, in __getattr__\n" @@ -185,7 +185,7 @@ msgstr "" #: library/ctypes.rst:129 msgid "" -">>> getattr(cdll.msvcrt, \"??2@YAPAXI@Z\") \n" +">>> getattr(cdll.msvcrt, \"??2@YAPAXI@Z\")\n" "<_FuncPtr object at 0x...>\n" ">>>" msgstr "" @@ -199,9 +199,9 @@ msgstr "" #: library/ctypes.rst:136 msgid "" -">>> cdll.kernel32[1] \n" +">>> cdll.kernel32[1]\n" "<_FuncPtr object at 0x...>\n" -">>> cdll.kernel32[0] \n" +">>> cdll.kernel32[0]\n" "Traceback (most recent call last):\n" " File \"\", line 1, in \n" " File \"ctypes.py\", line 310, in __getitem__\n" @@ -223,7 +223,7 @@ msgstr "" #: library/ctypes.rst:155 msgid "" -">>> print(libc.rand()) \n" +">>> print(libc.rand())\n" "1804289383" msgstr "" @@ -236,7 +236,7 @@ msgstr "" #: library/ctypes.rst:161 msgid "" -">>> print(hex(windll.kernel32.GetModuleHandleA(None))) \n" +">>> print(hex(windll.kernel32.GetModuleHandleA(None)))\n" "0x1d000000\n" ">>>" msgstr "" @@ -249,14 +249,14 @@ msgstr "" #: library/ctypes.rst:168 msgid "" -">>> cdll.kernel32.GetModuleHandleA(None) \n" +">>> cdll.kernel32.GetModuleHandleA(None)\n" "Traceback (most recent call last):\n" " File \"\", line 1, in \n" "ValueError: Procedure probably called with not enough arguments (4 bytes " "missing)\n" ">>>\n" "\n" -">>> windll.msvcrt.printf(b\"spam\") \n" +">>> windll.msvcrt.printf(b\"spam\")\n" "Traceback (most recent call last):\n" " File \"\", line 1, in \n" "ValueError: Procedure probably called with too many arguments (4 bytes in " @@ -279,7 +279,7 @@ msgstr "" #: library/ctypes.rst:187 msgid "" -">>> windll.kernel32.GetModuleHandleA(32) \n" +">>> windll.kernel32.GetModuleHandleA(32)\n" "Traceback (most recent call last):\n" " File \"\", line 1, in \n" "OSError: exception: access violation reading 0x00000020\n" @@ -848,7 +848,7 @@ msgstr "" #: library/ctypes.rst:494 msgid "" -">>> print(libc.time(None)) \n" +">>> print(libc.time(None))\n" "1150640792" msgstr "" @@ -861,7 +861,7 @@ msgstr "" #: library/ctypes.rst:500 msgid "" ">>> strchr = libc.strchr\n" -">>> strchr(b\"abcdef\", ord(\"d\")) \n" +">>> strchr(b\"abcdef\", ord(\"d\"))\n" "8059983\n" ">>> strchr.restype = c_char_p # c_char_p is a pointer to a string\n" ">>> strchr(b\"abcdef\", ord(\"d\"))\n" @@ -907,17 +907,17 @@ msgstr "" #: library/ctypes.rst:535 msgid "" -">>> GetModuleHandle = windll.kernel32.GetModuleHandleA \n" +">>> GetModuleHandle = windll.kernel32.GetModuleHandleA\n" ">>> def ValidHandle(value):\n" "... if value == 0:\n" "... raise WinError()\n" "... return value\n" "...\n" ">>>\n" -">>> GetModuleHandle.restype = ValidHandle \n" -">>> GetModuleHandle(None) \n" +">>> GetModuleHandle.restype = ValidHandle\n" +">>> GetModuleHandle(None)\n" "486539264\n" -">>> GetModuleHandle(\"something silly\") \n" +">>> GetModuleHandle(\"something silly\")\n" "Traceback (most recent call last):\n" " File \"\", line 1, in \n" " File \"\", line 3, in ValidHandle\n" @@ -1637,7 +1637,7 @@ msgstr "" #: library/ctypes.rst:1039 msgid "" -">>> qsort(ia, len(ia), sizeof(c_int), cmp_func) \n" +">>> qsort(ia, len(ia), sizeof(c_int), cmp_func)\n" "py_cmp_func 5 1\n" "py_cmp_func 33 99\n" "py_cmp_func 7 33\n" @@ -1657,7 +1657,7 @@ msgid "" "... return a[0] - b[0]\n" "...\n" ">>>\n" -">>> qsort(ia, len(ia), sizeof(c_int), CMPFUNC(py_cmp_func)) \n" +">>> qsort(ia, len(ia), sizeof(c_int), CMPFUNC(py_cmp_func))\n" "py_cmp_func 5 1\n" "py_cmp_func 33 99\n" "py_cmp_func 7 33\n" diff --git a/library/curses.ascii.po b/library/curses.ascii.po index bc6aaae2..5a130830 100644 --- a/library/curses.ascii.po +++ b/library/curses.ascii.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/curses.panel.po b/library/curses.panel.po index 72921606..1c5c159a 100644 --- a/library/curses.panel.po +++ b/library/curses.panel.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/curses.po b/library/curses.po index 05ea2cdd..6a9a70ff 100644 --- a/library/curses.po +++ b/library/curses.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/custominterp.po b/library/custominterp.po index 27794893..15f0583b 100644 --- a/library/custominterp.po +++ b/library/custominterp.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/dataclasses.po b/library/dataclasses.po index fd676f0e..bdb1bfcb 100644 --- a/library/dataclasses.po +++ b/library/dataclasses.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -253,10 +253,11 @@ msgstr "" #: library/dataclasses.rst:165 msgid "" "*match_args*: If true (the default is ``True``), the :attr:`~object." -"__match_args__` tuple will be created from the list of parameters to the " -"generated :meth:`~object.__init__` method (even if :meth:`!__init__` is not " -"generated, see above). If false, or if :attr:`!__match_args__` is already " -"defined in the class, then :attr:`!__match_args__` will not be generated." +"__match_args__` tuple will be created from the list of non keyword-only " +"parameters to the generated :meth:`~object.__init__` method (even if :meth:`!" +"__init__` is not generated, see above). If false, or if :attr:`!" +"__match_args__` is already defined in the class, then :attr:`!" +"__match_args__` will not be generated." msgstr "" #: library/dataclasses.rst:174 @@ -265,12 +266,15 @@ msgid "" "marked as keyword-only. If a field is marked as keyword-only, then the only " "effect is that the :meth:`~object.__init__` parameter generated from a " "keyword-only field must be specified with a keyword when :meth:`!__init__` " -"is called. There is no effect on any other aspect of dataclasses. See the :" -"term:`parameter` glossary entry for details. Also see the :const:`KW_ONLY` " -"section." +"is called. See the :term:`parameter` glossary entry for details. Also see " +"the :const:`KW_ONLY` section." msgstr "" -#: library/dataclasses.rst:185 +#: library/dataclasses.rst:182 +msgid "Keyword-only fields are not included in :attr:`!__match_args__`." +msgstr "" + +#: library/dataclasses.rst:186 msgid "" "*slots*: If true (the default is ``False``), :attr:`~object.__slots__` " "attribute will be generated and new class will be returned instead of the " @@ -278,7 +282,7 @@ msgid "" "exc:`TypeError` is raised." msgstr "" -#: library/dataclasses.rst:191 +#: library/dataclasses.rst:192 msgid "" "Calling no-arg :func:`super` in dataclasses using ``slots=True`` will result " "in the following exception being raised: ``TypeError: super(type, obj): obj " @@ -286,7 +290,7 @@ msgid "" "valid workaround. See :gh:`90562` for full details." msgstr "" -#: library/dataclasses.rst:198 +#: library/dataclasses.rst:199 msgid "" "Passing parameters to a base class :meth:`~object.__init_subclass__` when " "using ``slots=True`` will result in a :exc:`TypeError`. Either use " @@ -294,7 +298,7 @@ msgid "" "workaround. See :gh:`91126` for full details." msgstr "" -#: library/dataclasses.rst:206 +#: library/dataclasses.rst:207 msgid "" "If a field name is already included in the :attr:`!__slots__` of a base " "class, it will not be included in the generated :attr:`!__slots__` to " @@ -304,7 +308,7 @@ msgid "" "`!__slots__` may be any iterable, but *not* an iterator." msgstr "" -#: library/dataclasses.rst:216 +#: library/dataclasses.rst:217 msgid "" "*weakref_slot*: If true (the default is ``False``), add a slot named " "\"__weakref__\", which is required to make an instance :func:`weakref-able " @@ -312,13 +316,13 @@ msgid "" "specifying ``slots=True``." msgstr "" -#: library/dataclasses.rst:224 +#: library/dataclasses.rst:225 msgid "" "``field``\\s may optionally specify a default value, using normal Python " "syntax::" msgstr "" -#: library/dataclasses.rst:227 +#: library/dataclasses.rst:228 msgid "" "@dataclass\n" "class C:\n" @@ -326,24 +330,24 @@ msgid "" " b: int = 0 # assign a default value for 'b'" msgstr "" -#: library/dataclasses.rst:232 +#: library/dataclasses.rst:233 msgid "" "In this example, both :attr:`!a` and :attr:`!b` will be included in the " "added :meth:`~object.__init__` method, which will be defined as::" msgstr "" -#: library/dataclasses.rst:235 +#: library/dataclasses.rst:236 msgid "def __init__(self, a: int, b: int = 0):" msgstr "" -#: library/dataclasses.rst:237 +#: library/dataclasses.rst:238 msgid "" ":exc:`TypeError` will be raised if a field without a default value follows a " "field with a default value. This is true whether this occurs in a single " "class, or as a result of class inheritance." msgstr "" -#: library/dataclasses.rst:243 +#: library/dataclasses.rst:244 msgid "" "For common and simple use cases, no other functionality is required. There " "are, however, some dataclass features that require additional per-field " @@ -352,7 +356,7 @@ msgid "" "function. For example::" msgstr "" -#: library/dataclasses.rst:249 +#: library/dataclasses.rst:250 msgid "" "@dataclass\n" "class C:\n" @@ -362,7 +366,7 @@ msgid "" "c.mylist += [1, 2, 3]" msgstr "" -#: library/dataclasses.rst:256 +#: library/dataclasses.rst:257 msgid "" "As shown above, the :const:`MISSING` value is a sentinel object used to " "detect if some parameters are provided by the user. This sentinel is used " @@ -370,18 +374,18 @@ msgid "" "meaning. No code should directly use the :const:`MISSING` value." msgstr "" -#: library/dataclasses.rst:261 +#: library/dataclasses.rst:262 msgid "The parameters to :func:`!field` are:" msgstr "" -#: library/dataclasses.rst:263 +#: library/dataclasses.rst:264 msgid "" "*default*: If provided, this will be the default value for this field. This " "is needed because the :func:`!field` call itself replaces the normal " "position of the default value." msgstr "" -#: library/dataclasses.rst:267 +#: library/dataclasses.rst:268 msgid "" "*default_factory*: If provided, it must be a zero-argument callable that " "will be called when a default value is needed for this field. Among other " @@ -390,28 +394,30 @@ msgid "" "*default_factory*." msgstr "" -#: library/dataclasses.rst:273 +#: library/dataclasses.rst:274 msgid "" "*init*: If true (the default), this field is included as a parameter to the " "generated :meth:`~object.__init__` method." msgstr "" -#: library/dataclasses.rst:276 +#: library/dataclasses.rst:277 msgid "" "*repr*: If true (the default), this field is included in the string returned " "by the generated :meth:`~object.__repr__` method." msgstr "" -#: library/dataclasses.rst:279 +#: library/dataclasses.rst:280 msgid "" "*hash*: This can be a bool or ``None``. If true, this field is included in " -"the generated :meth:`~object.__hash__` method. If ``None`` (the default), " -"use the value of *compare*: this would normally be the expected behavior. A " -"field should be considered in the hash if it's used for comparisons. " -"Setting this value to anything other than ``None`` is discouraged." +"the generated :meth:`~object.__hash__` method. If false, this field is " +"excluded from the generated :meth:`~object.__hash__`. If ``None`` (the " +"default), use the value of *compare*: this would normally be the expected " +"behavior, since a field should be included in the hash if it's used for " +"comparisons. Setting this value to anything other than ``None`` is " +"discouraged." msgstr "" -#: library/dataclasses.rst:286 +#: library/dataclasses.rst:288 msgid "" "One possible reason to set ``hash=False`` but ``compare=True`` would be if a " "field is expensive to compute a hash value for, that field is needed for " @@ -420,14 +426,14 @@ msgid "" "used for comparisons." msgstr "" -#: library/dataclasses.rst:292 +#: library/dataclasses.rst:294 msgid "" "*compare*: If true (the default), this field is included in the generated " "equality and comparison methods (:meth:`~object.__eq__`, :meth:`~object." "__gt__`, et al.)." msgstr "" -#: library/dataclasses.rst:296 +#: library/dataclasses.rst:298 msgid "" "*metadata*: This can be a mapping or ``None``. ``None`` is treated as an " "empty dict. This value is wrapped in :func:`~types.MappingProxyType` to " @@ -437,13 +443,17 @@ msgid "" "namespace in the metadata." msgstr "" -#: library/dataclasses.rst:304 +#: library/dataclasses.rst:306 msgid "" "*kw_only*: If true, this field will be marked as keyword-only. This is used " "when the generated :meth:`~object.__init__` method's parameters are computed." msgstr "" #: library/dataclasses.rst:310 +msgid "Keyword-only fields are also not included in :attr:`!__match_args__`." +msgstr "" + +#: library/dataclasses.rst:314 msgid "" "If the default value of a field is specified by a call to :func:`!field`, " "then the class attribute for this field will be replaced by the specified " @@ -454,7 +464,7 @@ msgid "" "specified. For example, after::" msgstr "" -#: library/dataclasses.rst:319 +#: library/dataclasses.rst:323 msgid "" "@dataclass\n" "class C:\n" @@ -464,14 +474,14 @@ msgid "" " t: int = 20" msgstr "" -#: library/dataclasses.rst:326 +#: library/dataclasses.rst:330 msgid "" "The class attribute :attr:`!C.z` will be ``10``, the class attribute :attr:`!" "C.t` will be ``20``, and the class attributes :attr:`!C.x` and :attr:`!C.y` " "will not be set." msgstr "" -#: library/dataclasses.rst:332 +#: library/dataclasses.rst:336 msgid "" ":class:`!Field` objects describe each defined field. These objects are " "created internally, and are returned by the :func:`fields` module-level " @@ -479,28 +489,28 @@ msgid "" "directly. Its documented attributes are:" msgstr "" -#: library/dataclasses.rst:337 +#: library/dataclasses.rst:341 msgid ":attr:`!name`: The name of the field." msgstr "" -#: library/dataclasses.rst:338 +#: library/dataclasses.rst:342 msgid ":attr:`!type`: The type of the field." msgstr "" -#: library/dataclasses.rst:339 +#: library/dataclasses.rst:343 msgid "" ":attr:`!default`, :attr:`!default_factory`, :attr:`!init`, :attr:`!repr`, :" "attr:`!hash`, :attr:`!compare`, :attr:`!metadata`, and :attr:`!kw_only` have " "the identical meaning and values as they do in the :func:`field` function." msgstr "" -#: library/dataclasses.rst:343 +#: library/dataclasses.rst:347 msgid "" "Other attributes may exist, but they are private and must not be inspected " "or relied on." msgstr "" -#: library/dataclasses.rst:348 +#: library/dataclasses.rst:352 msgid "" "Returns a tuple of :class:`Field` objects that define the fields for this " "dataclass. Accepts either a dataclass, or an instance of a dataclass. " @@ -508,7 +518,7 @@ msgid "" "not return pseudo-fields which are ``ClassVar`` or ``InitVar``." msgstr "" -#: library/dataclasses.rst:355 +#: library/dataclasses.rst:359 msgid "" "Converts the dataclass *obj* to a dict (by using the factory function " "*dict_factory*). Each dataclass is converted to a dict of its fields, as " @@ -516,11 +526,11 @@ msgid "" "into. Other objects are copied with :func:`copy.deepcopy`." msgstr "" -#: library/dataclasses.rst:361 +#: library/dataclasses.rst:365 msgid "Example of using :func:`!asdict` on nested dataclasses::" msgstr "" -#: library/dataclasses.rst:363 +#: library/dataclasses.rst:367 msgid "" "@dataclass\n" "class Point:\n" @@ -538,20 +548,20 @@ msgid "" "assert asdict(c) == {'mylist': [{'x': 0, 'y': 0}, {'x': 10, 'y': 4}]}" msgstr "" -#: library/dataclasses.rst:398 +#: library/dataclasses.rst:402 msgid "To create a shallow copy, the following workaround may be used::" msgstr "" -#: library/dataclasses.rst:380 +#: library/dataclasses.rst:384 msgid "{field.name: getattr(obj, field.name) for field in fields(obj)}" msgstr "" -#: library/dataclasses.rst:382 +#: library/dataclasses.rst:386 msgid "" ":func:`!asdict` raises :exc:`TypeError` if *obj* is not a dataclass instance." msgstr "" -#: library/dataclasses.rst:387 +#: library/dataclasses.rst:391 msgid "" "Converts the dataclass *obj* to a tuple (by using the factory function " "*tuple_factory*). Each dataclass is converted to a tuple of its field " @@ -559,27 +569,27 @@ msgid "" "objects are copied with :func:`copy.deepcopy`." msgstr "" -#: library/dataclasses.rst:393 +#: library/dataclasses.rst:397 msgid "Continuing from the previous example::" msgstr "" -#: library/dataclasses.rst:395 +#: library/dataclasses.rst:399 msgid "" "assert astuple(p) == (10, 20)\n" "assert astuple(c) == ([(0, 0), (10, 4)],)" msgstr "" -#: library/dataclasses.rst:400 +#: library/dataclasses.rst:404 msgid "tuple(getattr(obj, field.name) for field in dataclasses.fields(obj))" msgstr "" -#: library/dataclasses.rst:402 +#: library/dataclasses.rst:406 msgid "" ":func:`!astuple` raises :exc:`TypeError` if *obj* is not a dataclass " "instance." msgstr "" -#: library/dataclasses.rst:407 +#: library/dataclasses.rst:411 msgid "" "Creates a new dataclass with name *cls_name*, fields as defined in *fields*, " "base classes as given in *bases*, and initialized with a namespace as given " @@ -591,13 +601,13 @@ msgid "" "`@dataclass `." msgstr "" -#: library/dataclasses.rst:417 +#: library/dataclasses.rst:421 msgid "" "If *module* is defined, the :attr:`!__module__` attribute of the dataclass " "is set to that value. By default, it is set to the module name of the caller." msgstr "" -#: library/dataclasses.rst:421 +#: library/dataclasses.rst:425 msgid "" "This function is not strictly required, because any Python mechanism for " "creating a new class with :attr:`!__annotations__` can then apply the :func:" @@ -605,7 +615,7 @@ msgid "" "This function is provided as a convenience. For example::" msgstr "" -#: library/dataclasses.rst:427 +#: library/dataclasses.rst:431 msgid "" "C = make_dataclass('C',\n" " [('x', int),\n" @@ -614,11 +624,11 @@ msgid "" " namespace={'add_one': lambda self: self.x + 1})" msgstr "" -#: library/dataclasses.rst:433 +#: library/dataclasses.rst:437 msgid "Is equivalent to::" msgstr "" -#: library/dataclasses.rst:435 +#: library/dataclasses.rst:439 msgid "" "@dataclass\n" "class C:\n" @@ -630,7 +640,7 @@ msgid "" " return self.x + 1" msgstr "" -#: library/dataclasses.rst:446 +#: library/dataclasses.rst:450 msgid "" "Creates a new object of the same type as *obj*, replacing fields with values " "from *changes*. If *obj* is not a Data Class, raises :exc:`TypeError`. If " @@ -638,27 +648,27 @@ msgid "" "`TypeError`." msgstr "" -#: library/dataclasses.rst:451 +#: library/dataclasses.rst:455 msgid "" "The newly returned object is created by calling the :meth:`~object.__init__` " "method of the dataclass. This ensures that :meth:`__post_init__`, if " "present, is also called." msgstr "" -#: library/dataclasses.rst:455 +#: library/dataclasses.rst:459 msgid "" "Init-only variables without default values, if any exist, must be specified " "on the call to :func:`!replace` so that they can be passed to :meth:`!" "__init__` and :meth:`__post_init__`." msgstr "" -#: library/dataclasses.rst:459 +#: library/dataclasses.rst:463 msgid "" "It is an error for *changes* to contain any fields that are defined as " "having ``init=False``. A :exc:`ValueError` will be raised in this case." msgstr "" -#: library/dataclasses.rst:463 +#: library/dataclasses.rst:467 msgid "" "Be forewarned about how ``init=False`` fields work during a call to :func:`!" "replace`. They are not copied from the source object, but rather are " @@ -669,30 +679,30 @@ msgid "" "instance copying." msgstr "" -#: library/dataclasses.rst:474 +#: library/dataclasses.rst:478 msgid "" "Return ``True`` if its parameter is a dataclass (including subclasses of a " "dataclass) or an instance of one, otherwise return ``False``." msgstr "" -#: library/dataclasses.rst:477 +#: library/dataclasses.rst:481 msgid "" "If you need to know if a class is an instance of a dataclass (and not a " "dataclass itself), then add a further check for ``not isinstance(obj, " "type)``::" msgstr "" -#: library/dataclasses.rst:481 +#: library/dataclasses.rst:485 msgid "" "def is_dataclass_instance(obj):\n" " return is_dataclass(obj) and not isinstance(obj, type)" msgstr "" -#: library/dataclasses.rst:486 +#: library/dataclasses.rst:490 msgid "A sentinel value signifying a missing default or default_factory." msgstr "" -#: library/dataclasses.rst:490 +#: library/dataclasses.rst:494 msgid "" "A sentinel value used as a type annotation. Any fields after a pseudo-field " "with the type of :const:`!KW_ONLY` are marked as keyword-only fields. Note " @@ -703,13 +713,13 @@ msgid "" "the class is instantiated." msgstr "" -#: library/dataclasses.rst:499 +#: library/dataclasses.rst:503 msgid "" "In this example, the fields ``y`` and ``z`` will be marked as keyword-only " "fields::" msgstr "" -#: library/dataclasses.rst:501 +#: library/dataclasses.rst:505 msgid "" "@dataclass\n" "class Point:\n" @@ -721,24 +731,24 @@ msgid "" "p = Point(0, y=1.5, z=2.0)" msgstr "" -#: library/dataclasses.rst:510 +#: library/dataclasses.rst:514 msgid "" "In a single dataclass, it is an error to specify more than one field whose " "type is :const:`!KW_ONLY`." msgstr "" -#: library/dataclasses.rst:517 +#: library/dataclasses.rst:521 msgid "" "Raised when an implicitly defined :meth:`~object.__setattr__` or :meth:" "`~object.__delattr__` is called on a dataclass which was defined with " "``frozen=True``. It is a subclass of :exc:`AttributeError`." msgstr "" -#: library/dataclasses.rst:524 +#: library/dataclasses.rst:528 msgid "Post-init processing" msgstr "" -#: library/dataclasses.rst:528 +#: library/dataclasses.rst:532 msgid "" "When defined on the class, it will be called by the generated :meth:`~object." "__init__`, normally as :meth:`!self.__post_init__`. However, if any " @@ -748,13 +758,13 @@ msgid "" "automatically be called." msgstr "" -#: library/dataclasses.rst:535 +#: library/dataclasses.rst:539 msgid "" "Among other uses, this allows for initializing field values that depend on " "one or more other fields. For example::" msgstr "" -#: library/dataclasses.rst:538 +#: library/dataclasses.rst:542 msgid "" "@dataclass\n" "class C:\n" @@ -766,7 +776,7 @@ msgid "" " self.c = self.a + self.b" msgstr "" -#: library/dataclasses.rst:547 +#: library/dataclasses.rst:551 msgid "" "The :meth:`~object.__init__` method generated by :func:`@dataclass " "` does not call base class :meth:`!__init__` methods. If the base " @@ -774,7 +784,7 @@ msgid "" "call this method in a :meth:`__post_init__` method::" msgstr "" -#: library/dataclasses.rst:552 +#: library/dataclasses.rst:556 msgid "" "class Rectangle:\n" " def __init__(self, height, width):\n" @@ -789,25 +799,25 @@ msgid "" " super().__init__(self.side, self.side)" msgstr "" -#: library/dataclasses.rst:564 +#: library/dataclasses.rst:568 msgid "" "Note, however, that in general the dataclass-generated :meth:`!__init__` " "methods don't need to be called, since the derived dataclass will take care " "of initializing all fields of any base class that is a dataclass itself." msgstr "" -#: library/dataclasses.rst:568 +#: library/dataclasses.rst:572 msgid "" "See the section below on init-only variables for ways to pass parameters to :" "meth:`!__post_init__`. Also see the warning about how :func:`replace` " "handles ``init=False`` fields." msgstr "" -#: library/dataclasses.rst:575 +#: library/dataclasses.rst:579 msgid "Class variables" msgstr "" -#: library/dataclasses.rst:577 +#: library/dataclasses.rst:581 msgid "" "One of the few places where :func:`@dataclass ` actually inspects " "the type of a field is to determine if a field is a class variable as " @@ -818,11 +828,11 @@ msgid "" "`fields` function." msgstr "" -#: library/dataclasses.rst:588 +#: library/dataclasses.rst:592 msgid "Init-only variables" msgstr "" -#: library/dataclasses.rst:590 +#: library/dataclasses.rst:594 msgid "" "Another place where :func:`@dataclass ` inspects a type " "annotation is to determine if a field is an init-only variable. It does " @@ -835,13 +845,13 @@ msgid "" "dataclasses." msgstr "" -#: library/dataclasses.rst:600 +#: library/dataclasses.rst:604 msgid "" "For example, suppose a field will be initialized from a database, if a value " "is not provided when creating the class::" msgstr "" -#: library/dataclasses.rst:603 +#: library/dataclasses.rst:607 msgid "" "@dataclass\n" "class C:\n" @@ -856,17 +866,17 @@ msgid "" "c = C(10, database=my_database)" msgstr "" -#: library/dataclasses.rst:615 +#: library/dataclasses.rst:619 msgid "" "In this case, :func:`fields` will return :class:`Field` objects for :attr:`!" "i` and :attr:`!j`, but not for :attr:`!database`." msgstr "" -#: library/dataclasses.rst:621 +#: library/dataclasses.rst:625 msgid "Frozen instances" msgstr "" -#: library/dataclasses.rst:623 +#: library/dataclasses.rst:627 msgid "" "It is not possible to create truly immutable Python objects. However, by " "passing ``frozen=True`` to the :func:`@dataclass ` decorator you " @@ -875,18 +885,18 @@ msgid "" "methods will raise a :exc:`FrozenInstanceError` when invoked." msgstr "" -#: library/dataclasses.rst:629 +#: library/dataclasses.rst:633 msgid "" "There is a tiny performance penalty when using ``frozen=True``: :meth:" "`~object.__init__` cannot use simple assignment to initialize fields, and " "must use :meth:`!object.__setattr__`." msgstr "" -#: library/dataclasses.rst:638 +#: library/dataclasses.rst:642 msgid "Inheritance" msgstr "" -#: library/dataclasses.rst:640 +#: library/dataclasses.rst:644 msgid "" "When the dataclass is being created by the :func:`@dataclass ` " "decorator, it looks through all of the class's base classes in reverse MRO " @@ -898,7 +908,7 @@ msgid "" "order, derived classes override base classes. An example::" msgstr "" -#: library/dataclasses.rst:650 +#: library/dataclasses.rst:654 msgid "" "@dataclass\n" "class Base:\n" @@ -911,28 +921,28 @@ msgid "" " x: int = 15" msgstr "" -#: library/dataclasses.rst:660 +#: library/dataclasses.rst:664 msgid "" "The final list of fields is, in order, :attr:`!x`, :attr:`!y`, :attr:`!z`. " "The final type of :attr:`!x` is :class:`int`, as specified in class :class:`!" "C`." msgstr "" -#: library/dataclasses.rst:663 +#: library/dataclasses.rst:667 msgid "" "The generated :meth:`~object.__init__` method for :class:`!C` will look " "like::" msgstr "" -#: library/dataclasses.rst:665 +#: library/dataclasses.rst:669 msgid "def __init__(self, x: int = 15, y: int = 0, z: int = 10):" msgstr "" -#: library/dataclasses.rst:668 +#: library/dataclasses.rst:672 msgid "Re-ordering of keyword-only parameters in :meth:`!__init__`" msgstr "" -#: library/dataclasses.rst:670 +#: library/dataclasses.rst:674 msgid "" "After the parameters needed for :meth:`~object.__init__` are computed, any " "keyword-only parameters are moved to come after all regular (non-keyword-" @@ -940,14 +950,14 @@ msgid "" "implemented in Python: they must come after non-keyword-only parameters." msgstr "" -#: library/dataclasses.rst:676 +#: library/dataclasses.rst:680 msgid "" "In this example, :attr:`!Base.y`, :attr:`!Base.w`, and :attr:`!D.t` are " "keyword-only fields, and :attr:`!Base.x` and :attr:`!D.z` are regular " "fields::" msgstr "" -#: library/dataclasses.rst:679 +#: library/dataclasses.rst:683 msgid "" "@dataclass\n" "class Base:\n" @@ -962,45 +972,45 @@ msgid "" " t: int = field(kw_only=True, default=0)" msgstr "" -#: library/dataclasses.rst:691 +#: library/dataclasses.rst:695 msgid "The generated :meth:`!__init__` method for :class:`!D` will look like::" msgstr "" -#: library/dataclasses.rst:693 +#: library/dataclasses.rst:697 msgid "" "def __init__(self, x: Any = 15.0, z: int = 10, *, y: int = 0, w: int = 1, t: " "int = 0):" msgstr "" -#: library/dataclasses.rst:695 +#: library/dataclasses.rst:699 msgid "" "Note that the parameters have been re-ordered from how they appear in the " "list of fields: parameters derived from regular fields are followed by " "parameters derived from keyword-only fields." msgstr "" -#: library/dataclasses.rst:699 +#: library/dataclasses.rst:703 msgid "" "The relative ordering of keyword-only parameters is maintained in the re-" "ordered :meth:`!__init__` parameter list." msgstr "" -#: library/dataclasses.rst:704 +#: library/dataclasses.rst:708 msgid "Default factory functions" msgstr "" -#: library/dataclasses.rst:706 +#: library/dataclasses.rst:710 msgid "" "If a :func:`field` specifies a *default_factory*, it is called with zero " "arguments when a default value for the field is needed. For example, to " "create a new instance of a list, use::" msgstr "" -#: library/dataclasses.rst:710 +#: library/dataclasses.rst:714 msgid "mylist: list = field(default_factory=list)" msgstr "" -#: library/dataclasses.rst:712 +#: library/dataclasses.rst:716 msgid "" "If a field is excluded from :meth:`~object.__init__` (using ``init=False``) " "and the field also specifies *default_factory*, then the default factory " @@ -1009,17 +1019,17 @@ msgid "" "initial value." msgstr "" -#: library/dataclasses.rst:719 +#: library/dataclasses.rst:723 msgid "Mutable default values" msgstr "" -#: library/dataclasses.rst:721 +#: library/dataclasses.rst:725 msgid "" "Python stores default member variable values in class attributes. Consider " "this example, not using dataclasses::" msgstr "" -#: library/dataclasses.rst:724 +#: library/dataclasses.rst:728 msgid "" "class C:\n" " x = []\n" @@ -1034,17 +1044,17 @@ msgid "" "assert o1.x is o2.x" msgstr "" -#: library/dataclasses.rst:736 +#: library/dataclasses.rst:740 msgid "" "Note that the two instances of class :class:`!C` share the same class " "variable :attr:`!x`, as expected." msgstr "" -#: library/dataclasses.rst:739 +#: library/dataclasses.rst:743 msgid "Using dataclasses, *if* this code was valid::" msgstr "" -#: library/dataclasses.rst:741 +#: library/dataclasses.rst:745 msgid "" "@dataclass\n" "class D:\n" @@ -1053,11 +1063,11 @@ msgid "" " self.x.append(element)" msgstr "" -#: library/dataclasses.rst:747 +#: library/dataclasses.rst:751 msgid "it would generate code similar to::" msgstr "" -#: library/dataclasses.rst:749 +#: library/dataclasses.rst:753 msgid "" "class D:\n" " x = []\n" @@ -1069,7 +1079,7 @@ msgid "" "assert D().x is D().x" msgstr "" -#: library/dataclasses.rst:758 +#: library/dataclasses.rst:762 msgid "" "This has the same issue as the original example using class :class:`!C`. " "That is, two instances of class :class:`!D` that do not specify a value for :" @@ -1082,13 +1092,13 @@ msgid "" "partial solution, but it does protect against many common errors." msgstr "" -#: library/dataclasses.rst:769 +#: library/dataclasses.rst:773 msgid "" "Using default factory functions is a way to create new instances of mutable " "types as default values for fields::" msgstr "" -#: library/dataclasses.rst:772 +#: library/dataclasses.rst:776 msgid "" "@dataclass\n" "class D:\n" @@ -1097,38 +1107,38 @@ msgid "" "assert D().x is not D().x" msgstr "" -#: library/dataclasses.rst:778 +#: library/dataclasses.rst:782 msgid "" "Instead of looking for and disallowing objects of type :class:`list`, :class:" "`dict`, or :class:`set`, unhashable objects are now not allowed as default " "values. Unhashability is used to approximate mutability." msgstr "" -#: library/dataclasses.rst:785 +#: library/dataclasses.rst:789 msgid "Descriptor-typed fields" msgstr "" -#: library/dataclasses.rst:787 +#: library/dataclasses.rst:791 msgid "" "Fields that are assigned :ref:`descriptor objects ` as their " "default value have the following special behaviors:" msgstr "" -#: library/dataclasses.rst:790 +#: library/dataclasses.rst:794 msgid "" "The value for the field passed to the dataclass's :meth:`~object.__init__` " "method is passed to the descriptor's :meth:`~object.__set__` method rather " "than overwriting the descriptor object." msgstr "" -#: library/dataclasses.rst:794 +#: library/dataclasses.rst:798 msgid "" "Similarly, when getting or setting the field, the descriptor's :meth:" "`~object.__get__` or :meth:`!__set__` method is called rather than returning " "or overwriting the descriptor object." msgstr "" -#: library/dataclasses.rst:798 +#: library/dataclasses.rst:802 msgid "" "To determine whether a field contains a default value, :func:`@dataclass " "` will call the descriptor's :meth:`!__get__` method using its " @@ -1138,7 +1148,7 @@ msgid "" "in this situation, no default value will be provided for the field." msgstr "" -#: library/dataclasses.rst:808 +#: library/dataclasses.rst:812 msgid "" "class IntConversionDescriptor:\n" " def __init__(self, *, default):\n" @@ -1167,7 +1177,7 @@ msgid "" "print(i.quantity_on_hand) # 2" msgstr "" -#: library/dataclasses.rst:833 +#: library/dataclasses.rst:837 msgid "" "Note that if a field is annotated with a descriptor type, but is not " "assigned a descriptor object as its default value, the field will act like a " diff --git a/library/datatypes.po b/library/datatypes.po index 25563c66..f7e663dc 100644 --- a/library/datatypes.po +++ b/library/datatypes.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/datetime.po b/library/datetime.po index 57283949..c0b7ded8 100644 --- a/library/datetime.po +++ b/library/datetime.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -619,7 +619,7 @@ msgid "" "constructor call with canonical attribute values." msgstr "" -#: library/datetime.rst:623 library/datetime.rst:2553 +#: library/datetime.rst:623 library/datetime.rst:2570 msgid "Notes:" msgstr "" @@ -999,8 +999,8 @@ msgstr "" #: library/datetime.rst:653 msgid "" -"Return a date with the same value, except for those parameters given new " -"values by whichever keyword arguments are specified." +"Return a new :class:`date` object with the same values, but with specified " +"parameters updated." msgstr "" #: library/datetime.rst:1890 @@ -1211,7 +1211,7 @@ msgid "" "\n" ">>> # Methods for to extracting 'components' under different calendars\n" ">>> t = d.timetuple()\n" -">>> for i in t: \n" +">>> for i in t:\n" "... print(i)\n" "2002 # year\n" "3 # month\n" @@ -1223,7 +1223,7 @@ msgid "" "70 # 70th day in the year\n" "-1\n" ">>> ic = d.isocalendar()\n" -">>> for i in ic: \n" +">>> for i in ic:\n" "... print(i)\n" "2002 # ISO year\n" "11 # ISO week number\n" @@ -1539,7 +1539,7 @@ msgid "" ">>> datetime.fromisoformat('2011-11-04 00:05:23.283+00:00')\n" "datetime.datetime(2011, 11, 4, 0, 5, 23, 283000, tzinfo=datetime.timezone." "utc)\n" -">>> datetime.fromisoformat('2011-11-04T00:05:23+04:00') \n" +">>> datetime.fromisoformat('2011-11-04T00:05:23+04:00')\n" "datetime.datetime(2011, 11, 4, 0, 5, 23,\n" " tzinfo=datetime.timezone(datetime.timedelta(seconds=14400)))" msgstr "" @@ -1570,7 +1570,7 @@ msgid "" "equivalent to::" msgstr "" -#: library/datetime.rst:2533 +#: library/datetime.rst:2550 msgid "datetime(*(time.strptime(date_string, format)[0:6]))" msgstr "" @@ -1791,10 +1791,10 @@ msgstr "" #: library/datetime.rst:1277 msgid "" -"Return a datetime with the same attributes, except for those attributes " -"given new values by whichever keyword arguments are specified. Note that " -"``tzinfo=None`` can be specified to create a naive datetime from an aware " -"datetime with no conversion of date and time data." +"Return a new :class:`datetime` object with the same attributes, but with " +"specified parameters updated. Note that ``tzinfo=None`` can be specified to " +"create a naive datetime from an aware datetime with no conversion of date " +"and time data." msgstr "" #: library/datetime.rst:1288 @@ -1873,7 +1873,7 @@ msgid "" msgstr "" #: library/datetime.rst:1930 library/datetime.rst:2282 -#: library/datetime.rst:2606 +#: library/datetime.rst:2623 msgid "The UTC offset is not restricted to a whole number of minutes." msgstr "" @@ -2124,7 +2124,7 @@ msgstr "" #: library/datetime.rst:1519 msgid "" ">>> from datetime import datetime\n" -">>> datetime.now().isoformat(timespec='minutes') \n" +">>> datetime.now().isoformat(timespec='minutes')\n" "'2002-12-25T00:00'\n" ">>> dt = datetime(2015, 1, 1, 12, 30, 59, 0)\n" ">>> dt.isoformat(timespec='microseconds')\n" @@ -2199,9 +2199,9 @@ msgid "" "datetime.datetime(2005, 7, 14, 12, 30)\n" "\n" ">>> # Using datetime.now()\n" -">>> datetime.now() \n" +">>> datetime.now()\n" "datetime.datetime(2007, 12, 6, 16, 29, 43, 79043) # GMT +1\n" -">>> datetime.now(timezone.utc) \n" +">>> datetime.now(timezone.utc)\n" "datetime.datetime(2007, 12, 6, 15, 29, 43, 79060, tzinfo=datetime.timezone." "utc)\n" "\n" @@ -2212,7 +2212,7 @@ msgid "" "\n" ">>> # Using datetime.timetuple() to get tuple of all attributes\n" ">>> tt = dt.timetuple()\n" -">>> for it in tt: \n" +">>> for it in tt:\n" "... print(it)\n" "...\n" "2006 # year\n" @@ -2227,7 +2227,7 @@ msgid "" "\n" ">>> # Date in ISO format\n" ">>> ic = dt.isocalendar()\n" -">>> for it in ic: \n" +">>> for it in ic:\n" "... print(it)\n" "...\n" "2006 # ISO year\n" @@ -2464,10 +2464,10 @@ msgstr "" #: library/datetime.rst:1852 msgid "" -"Return a :class:`.time` with the same value, except for those attributes " -"given new values by whichever keyword arguments are specified. Note that " -"``tzinfo=None`` can be specified to create a naive :class:`.time` from an " -"aware :class:`.time`, without conversion of the time data." +"Return a new :class:`.time` with the same values, but with specified " +"parameters updated. Note that ``tzinfo=None`` can be specified to create a " +"naive :class:`.time` from an aware :class:`.time`, without conversion of the " +"time data." msgstr "" #: library/datetime.rst:1863 @@ -3558,7 +3558,7 @@ msgstr "" msgid "\\(5)" msgstr "" -#: library/datetime.rst:2594 +#: library/datetime.rst:2611 msgid "``%z``" msgstr "" @@ -3576,7 +3576,7 @@ msgstr "" msgid "\\(6)" msgstr "" -#: library/datetime.rst:2620 +#: library/datetime.rst:2637 msgid "``%Z``" msgstr "" @@ -3744,7 +3744,7 @@ msgstr "" msgid "\\(8), \\(9)" msgstr "" -#: library/datetime.rst:2616 +#: library/datetime.rst:2633 msgid "``%:z``" msgstr "" @@ -3800,35 +3800,55 @@ msgstr "" msgid "" "For the :meth:`.datetime.strptime` class method, the default value is " "``1900-01-01T00:00:00.000``: any components not specified in the format " -"string will be pulled from the default value. [#]_" +"string will be pulled from the default value." +msgstr "" + +#: library/datetime.rst:2532 +msgid "" +"When used to parse partial dates lacking a year, :meth:`~.datetime.strptime` " +"will raise when encountering February 29 because its default year of 1900 is " +"*not* a leap year. Always add a default leap year to partial date strings " +"before parsing." +msgstr "" + +#: library/datetime.rst:2537 +msgid "" +">>> from datetime import datetime\n" +">>> value = \"2/29\"\n" +">>> datetime.strptime(value, \"%m/%d\")\n" +"Traceback (most recent call last):\n" +"...\n" +"ValueError: day is out of range for month\n" +">>> datetime.strptime(f\"1904 {value}\", \"%Y %m/%d\")\n" +"datetime.datetime(1904, 2, 29, 0, 0)" msgstr "" -#: library/datetime.rst:2531 +#: library/datetime.rst:2548 msgid "Using ``datetime.strptime(date_string, format)`` is equivalent to::" msgstr "" -#: library/datetime.rst:2535 +#: library/datetime.rst:2552 msgid "" "except when the format includes sub-second components or time zone offset " "information, which are supported in ``datetime.strptime`` but are discarded " "by ``time.strptime``." msgstr "" -#: library/datetime.rst:2539 +#: library/datetime.rst:2556 msgid "" "For :class:`.time` objects, the format codes for year, month, and day should " "not be used, as :class:`!time` objects have no such values. If they're used " "anyway, 1900 is substituted for the year, and 1 for the month and day." msgstr "" -#: library/datetime.rst:2543 +#: library/datetime.rst:2560 msgid "" "For :class:`date` objects, the format codes for hours, minutes, seconds, and " "microseconds should not be used, as :class:`date` objects have no such " "values. If they're used anyway, 0 is substituted for them." msgstr "" -#: library/datetime.rst:2547 +#: library/datetime.rst:2564 msgid "" "For the same reason, handling of format strings containing Unicode code " "points that can't be represented in the charset of the current locale is " @@ -3837,7 +3857,7 @@ msgid "" "`UnicodeError` or return an empty string instead." msgstr "" -#: library/datetime.rst:2556 +#: library/datetime.rst:2573 msgid "" "Because the format depends on the current locale, care should be taken when " "making assumptions about the output value. Field orderings will vary (for " @@ -3845,38 +3865,38 @@ msgid "" "contain non-ASCII characters." msgstr "" -#: library/datetime.rst:2562 +#: library/datetime.rst:2579 msgid "" "The :meth:`~.datetime.strptime` method can parse years in the full [1, 9999] " "range, but years < 1000 must be zero-filled to 4-digit width." msgstr "" -#: library/datetime.rst:2565 +#: library/datetime.rst:2582 msgid "" "In previous versions, :meth:`~.datetime.strftime` method was restricted to " "years >= 1900." msgstr "" -#: library/datetime.rst:2569 +#: library/datetime.rst:2586 msgid "" "In version 3.2, :meth:`~.datetime.strftime` method was restricted to years " ">= 1000." msgstr "" -#: library/datetime.rst:2574 +#: library/datetime.rst:2591 msgid "" "When used with the :meth:`~.datetime.strptime` method, the ``%p`` directive " "only affects the output hour field if the ``%I`` directive is used to parse " "the hour." msgstr "" -#: library/datetime.rst:2578 +#: library/datetime.rst:2595 msgid "" "Unlike the :mod:`time` module, the :mod:`!datetime` module does not support " "leap seconds." msgstr "" -#: library/datetime.rst:2582 +#: library/datetime.rst:2599 msgid "" "When used with the :meth:`~.datetime.strptime` method, the ``%f`` directive " "accepts from one to six digits and zero pads on the right. ``%f`` is an " @@ -3884,17 +3904,17 @@ msgid "" "separately in datetime objects, and therefore always available)." msgstr "" -#: library/datetime.rst:2589 +#: library/datetime.rst:2606 msgid "" "For a naive object, the ``%z``, ``%:z`` and ``%Z`` format codes are replaced " "by empty strings." msgstr "" -#: library/datetime.rst:2592 +#: library/datetime.rst:2609 msgid "For an aware object:" msgstr "" -#: library/datetime.rst:2595 +#: library/datetime.rst:2612 msgid "" ":meth:`~.datetime.utcoffset` is transformed into a string of the form " "``±HHMM[SS[.ffffff]]``, where ``HH`` is a 2-digit string giving the number " @@ -3908,7 +3928,7 @@ msgid "" "replaced with the string ``'-0330'``." msgstr "" -#: library/datetime.rst:2609 +#: library/datetime.rst:2626 msgid "" "When the ``%z`` directive is provided to the :meth:`~.datetime.strptime` " "method, the UTC offsets can have a colon as a separator between hours, " @@ -3917,53 +3937,53 @@ msgid "" "``'+00:00'``." msgstr "" -#: library/datetime.rst:2617 +#: library/datetime.rst:2634 msgid "" "Behaves exactly as ``%z``, but has a colon separator added between hours, " "minutes and seconds." msgstr "" -#: library/datetime.rst:2621 +#: library/datetime.rst:2638 msgid "" "In :meth:`~.datetime.strftime`, ``%Z`` is replaced by an empty string if :" "meth:`~.datetime.tzname` returns ``None``; otherwise ``%Z`` is replaced by " "the returned value, which must be a string." msgstr "" -#: library/datetime.rst:2625 +#: library/datetime.rst:2642 msgid ":meth:`~.datetime.strptime` only accepts certain values for ``%Z``:" msgstr "" -#: library/datetime.rst:2627 +#: library/datetime.rst:2644 msgid "any value in ``time.tzname`` for your machine's locale" msgstr "" -#: library/datetime.rst:2628 +#: library/datetime.rst:2645 msgid "the hard-coded values ``UTC`` and ``GMT``" msgstr "" -#: library/datetime.rst:2630 +#: library/datetime.rst:2647 msgid "" "So someone living in Japan may have ``JST``, ``UTC``, and ``GMT`` as valid " "values, but probably not ``EST``. It will raise ``ValueError`` for invalid " "values." msgstr "" -#: library/datetime.rst:2634 +#: library/datetime.rst:2651 msgid "" "When the ``%z`` directive is provided to the :meth:`~.datetime.strptime` " "method, an aware :class:`.datetime` object will be produced. The ``tzinfo`` " "of the result will be set to a :class:`timezone` instance." msgstr "" -#: library/datetime.rst:2640 +#: library/datetime.rst:2657 msgid "" "When used with the :meth:`~.datetime.strptime` method, ``%U`` and ``%W`` are " "only used in calculations when the day of the week and the calendar year " "(``%Y``) are specified." msgstr "" -#: library/datetime.rst:2645 +#: library/datetime.rst:2662 msgid "" "Similar to ``%U`` and ``%W``, ``%V`` is only used in calculations when the " "day of the week and the ISO year (``%G``) are specified in a :meth:`~." @@ -3971,7 +3991,7 @@ msgid "" "interchangeable." msgstr "" -#: library/datetime.rst:2651 +#: library/datetime.rst:2668 msgid "" "When used with the :meth:`~.datetime.strptime` method, the leading zero is " "optional for formats ``%d``, ``%m``, ``%H``, ``%I``, ``%M``, ``%S``, " @@ -3979,15 +3999,22 @@ msgid "" "zero." msgstr "" -#: library/datetime.rst:2656 +#: library/datetime.rst:2673 +msgid "" +"Parsing dates without a year using :meth:`~.datetime.strptime` will fail on " +"representations of February 29 as that date does not exist in the default " +"year of 1900." +msgstr "" + +#: library/datetime.rst:2678 msgid "Footnotes" msgstr "" -#: library/datetime.rst:2657 +#: library/datetime.rst:2679 msgid "If, that is, we ignore the effects of Relativity" msgstr "" -#: library/datetime.rst:2659 +#: library/datetime.rst:2681 msgid "" "This matches the definition of the \"proleptic Gregorian\" calendar in " "Dershowitz and Reingold's book *Calendrical Calculations*, where it's the " @@ -3996,19 +4023,13 @@ msgid "" "systems." msgstr "" -#: library/datetime.rst:2665 +#: library/datetime.rst:2687 msgid "" "See R. H. van Gent's `guide to the mathematics of the ISO 8601 calendar " "`_ for a good explanation." msgstr "" -#: library/datetime.rst:2669 -msgid "" -"Passing ``datetime.strptime('Feb 29', '%b %d')`` will fail since 1900 is not " -"a leap year." -msgstr "" - #: library/datetime.rst:2329 msgid "% (percent)" msgstr "" diff --git a/library/dbm.po b/library/dbm.po index e250990f..17b81237 100644 --- a/library/dbm.po +++ b/library/dbm.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/debug.po b/library/debug.po index 4571b907..f8292d91 100644 --- a/library/debug.po +++ b/library/debug.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/decimal.po b/library/decimal.po index b34e1003..7ca50664 100644 --- a/library/decimal.po +++ b/library/decimal.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/development.po b/library/development.po index 0b0378d6..94c85d47 100644 --- a/library/development.po +++ b/library/development.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/devmode.po b/library/devmode.po index cd906f60..b880204a 100644 --- a/library/devmode.po +++ b/library/devmode.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/dialog.po b/library/dialog.po index b8e4999f..80252d92 100644 --- a/library/dialog.po +++ b/library/dialog.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/difflib.po b/library/difflib.po index 9feb4216..f5e98b42 100644 --- a/library/difflib.po +++ b/library/difflib.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/dis.po b/library/dis.po index d680b245..ebc70231 100644 --- a/library/dis.po +++ b/library/dis.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/distribution.po b/library/distribution.po index 0317e139..23ff23b9 100644 --- a/library/distribution.po +++ b/library/distribution.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/distutils.po b/library/distutils.po index 2b6311f3..aa4c9e85 100644 --- a/library/distutils.po +++ b/library/distutils.po @@ -8,10 +8,11 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/library/doctest.po b/library/doctest.po index 82ed9651..aabdcd67 100644 --- a/library/doctest.po +++ b/library/doctest.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -242,45 +242,33 @@ msgstr "" #: library/doctest.rst:176 msgid "" -"There is also a command line shortcut for running :func:`testmod`. You can " -"instruct the Python interpreter to run the doctest module directly from the " -"standard library and pass the module name(s) on the command line::" +"There is also a command line shortcut for running :func:`testmod`, see " +"section :ref:`doctest-cli`." msgstr "" -#: library/doctest.rst:180 -msgid "python -m doctest -v example.py" -msgstr "" - -#: library/doctest.rst:182 -msgid "" -"This will import :file:`example.py` as a standalone module and run :func:" -"`testmod` on it. Note that this may not work correctly if the file is part " -"of a package and imports other submodules from that package." -msgstr "" - -#: library/doctest.rst:186 +#: library/doctest.rst:179 msgid "" "For more information on :func:`testmod`, see section :ref:`doctest-basic-" "api`." msgstr "" -#: library/doctest.rst:192 +#: library/doctest.rst:185 msgid "Simple Usage: Checking Examples in a Text File" msgstr "" -#: library/doctest.rst:194 +#: library/doctest.rst:187 msgid "" "Another simple application of doctest is testing interactive examples in a " "text file. This can be done with the :func:`testfile` function::" msgstr "" -#: library/doctest.rst:197 +#: library/doctest.rst:190 msgid "" "import doctest\n" "doctest.testfile(\"example.txt\")" msgstr "" -#: library/doctest.rst:200 +#: library/doctest.rst:193 msgid "" "That short script executes and verifies any interactive Python examples " "contained in the file :file:`example.txt`. The file content is treated as " @@ -288,7 +276,7 @@ msgid "" "Python program! For example, perhaps :file:`example.txt` contains this:" msgstr "" -#: library/doctest.rst:205 +#: library/doctest.rst:198 msgid "" "The ``example`` module\n" "======================\n" @@ -307,13 +295,13 @@ msgid "" " 120" msgstr "" -#: library/doctest.rst:223 +#: library/doctest.rst:216 msgid "" "Running ``doctest.testfile(\"example.txt\")`` then finds the error in this " "documentation::" msgstr "" -#: library/doctest.rst:226 +#: library/doctest.rst:219 msgid "" "File \"./example.txt\", line 14, in example.txt\n" "Failed example:\n" @@ -324,7 +312,7 @@ msgid "" " 720" msgstr "" -#: library/doctest.rst:234 +#: library/doctest.rst:227 msgid "" "As with :func:`testmod`, :func:`testfile` won't display anything unless an " "example fails. If an example does fail, then the failing example(s) and the " @@ -332,7 +320,7 @@ msgid "" "func:`testmod`." msgstr "" -#: library/doctest.rst:239 +#: library/doctest.rst:232 msgid "" "By default, :func:`testfile` looks for files in the calling module's " "directory. See section :ref:`doctest-basic-api` for a description of the " @@ -340,40 +328,79 @@ msgid "" "locations." msgstr "" -#: library/doctest.rst:243 +#: library/doctest.rst:236 msgid "" "Like :func:`testmod`, :func:`testfile`'s verbosity can be set with the ``-" "v`` command-line switch or with the optional keyword argument *verbose*." msgstr "" -#: library/doctest.rst:247 +#: library/doctest.rst:240 msgid "" -"There is also a command line shortcut for running :func:`testfile`. You can " -"instruct the Python interpreter to run the doctest module directly from the " -"standard library and pass the file name(s) on the command line::" +"There is also a command line shortcut for running :func:`testfile`, see " +"section :ref:`doctest-cli`." +msgstr "" + +#: library/doctest.rst:243 +msgid "" +"For more information on :func:`testfile`, see section :ref:`doctest-basic-" +"api`." +msgstr "" + +#: library/doctest.rst:249 +msgid "Command-line Usage" msgstr "" #: library/doctest.rst:251 -msgid "python -m doctest -v example.txt" +msgid "" +"The :mod:`doctest` module can be invoked as a script from the command line:" msgstr "" #: library/doctest.rst:253 +msgid "python -m doctest [-v] [-o OPTION] [-f] file [file ...]" +msgstr "" + +#: library/doctest.rst:261 msgid "" -"Because the file name does not end with :file:`.py`, :mod:`doctest` infers " -"that it must be run with :func:`testfile`, not :func:`testmod`." +"Detailed report of all examples tried is printed to standard output, along " +"with assorted summaries at the end::" msgstr "" -#: library/doctest.rst:256 +#: library/doctest.rst:264 +msgid "python -m doctest -v example.py" +msgstr "" + +#: library/doctest.rst:266 msgid "" -"For more information on :func:`testfile`, see section :ref:`doctest-basic-" -"api`." +"This will import :file:`example.py` as a standalone module and run :func:" +"`testmod` on it. Note that this may not work correctly if the file is part " +"of a package and imports other submodules from that package." +msgstr "" + +#: library/doctest.rst:270 +msgid "" +"If the file name does not end with :file:`.py`, :mod:`!doctest` infers that " +"it must be run with :func:`testfile` instead::" +msgstr "" + +#: library/doctest.rst:273 +msgid "python -m doctest -v example.txt" +msgstr "" + +#: library/doctest.rst:277 +msgid "" +"Option flags control various aspects of doctest's behavior, see section :ref:" +"`doctest-options`." +msgstr "" + +#: library/doctest.rst:284 +msgid "This is shorthand for ``-o FAIL_FAST``." msgstr "" -#: library/doctest.rst:262 +#: library/doctest.rst:292 msgid "How It Works" msgstr "" -#: library/doctest.rst:264 +#: library/doctest.rst:294 msgid "" "This section examines in detail how doctest works: which docstrings it looks " "at, how it finds interactive examples, what execution context it uses, how " @@ -383,17 +410,17 @@ msgid "" "see the following sections." msgstr "" -#: library/doctest.rst:275 +#: library/doctest.rst:305 msgid "Which Docstrings Are Examined?" msgstr "" -#: library/doctest.rst:277 +#: library/doctest.rst:307 msgid "" "The module docstring, and all function, class and method docstrings are " "searched. Objects imported into the module are not searched." msgstr "" -#: library/doctest.rst:280 +#: library/doctest.rst:310 msgid "" "In addition, there are cases when you want tests to be part of a module but " "not part of the help text, which requires that the tests not be included in " @@ -406,11 +433,11 @@ msgid "" "__test__.K``." msgstr "" -#: library/doctest.rst:289 +#: library/doctest.rst:319 msgid "For example, place this block of code at the top of :file:`example.py`:" msgstr "" -#: library/doctest.rst:291 +#: library/doctest.rst:321 msgid "" "__test__ = {\n" " 'numbers': \"\"\"\n" @@ -423,7 +450,7 @@ msgid "" "}" msgstr "" -#: library/doctest.rst:303 +#: library/doctest.rst:333 msgid "" "The value of ``example.__test__[\"numbers\"]`` will be treated as a " "docstring and all the tests inside it will be run. It is important to note " @@ -432,24 +459,24 @@ msgid "" "scanned for tests." msgstr "" -#: library/doctest.rst:309 +#: library/doctest.rst:339 msgid "" "Any classes found are recursively searched similarly, to test docstrings in " "their contained methods and nested classes." msgstr "" -#: library/doctest.rst:316 +#: library/doctest.rst:346 msgid "How are Docstring Examples Recognized?" msgstr "" -#: library/doctest.rst:318 +#: library/doctest.rst:348 msgid "" "In most cases a copy-and-paste of an interactive console session works fine, " "but doctest isn't trying to do an exact emulation of any specific Python " "shell." msgstr "" -#: library/doctest.rst:323 +#: library/doctest.rst:353 msgid "" ">>> # comments are ignored\n" ">>> x = 12\n" @@ -468,18 +495,18 @@ msgid "" ">>>" msgstr "" -#: library/doctest.rst:343 +#: library/doctest.rst:373 msgid "" "Any expected output must immediately follow the final ``'>>> '`` or ``'... " "'`` line containing the code, and the expected output (if any) extends to " "the next ``'>>> '`` or all-whitespace line." msgstr "" -#: library/doctest.rst:347 +#: library/doctest.rst:377 msgid "The fine print:" msgstr "" -#: library/doctest.rst:349 +#: library/doctest.rst:379 msgid "" "Expected output cannot contain an all-whitespace line, since such a line is " "taken to signal the end of expected output. If expected output does contain " @@ -487,7 +514,7 @@ msgid "" "line is expected." msgstr "" -#: library/doctest.rst:354 +#: library/doctest.rst:384 msgid "" "All hard tab characters are expanded to spaces, using 8-column tab stops. " "Tabs in output generated by the tested code are not modified. Because any " @@ -502,20 +529,20 @@ msgid "" "`DocTestParser` class." msgstr "" -#: library/doctest.rst:366 +#: library/doctest.rst:396 msgid "" "Output to stdout is captured, but not output to stderr (exception tracebacks " "are captured via a different means)." msgstr "" -#: library/doctest.rst:369 +#: library/doctest.rst:399 msgid "" "If you continue a line via backslashing in an interactive session, or for " "any other reason use a backslash, you should use a raw docstring, which will " "preserve your backslashes exactly as you type them::" msgstr "" -#: library/doctest.rst:373 +#: library/doctest.rst:403 msgid "" ">>> def f(x):\n" "... r'''Backslashes in a raw docstring: m\\n'''\n" @@ -524,7 +551,7 @@ msgid "" "Backslashes in a raw docstring: m\\n" msgstr "" -#: library/doctest.rst:379 +#: library/doctest.rst:409 msgid "" "Otherwise, the backslash will be interpreted as part of the string. For " "example, the ``\\n`` above would be interpreted as a newline character. " @@ -532,7 +559,7 @@ msgid "" "use a raw string)::" msgstr "" -#: library/doctest.rst:383 +#: library/doctest.rst:413 msgid "" ">>> def f(x):\n" "... '''Backslashes in a raw docstring: m\\\\n'''\n" @@ -541,11 +568,11 @@ msgid "" "Backslashes in a raw docstring: m\\n" msgstr "" -#: library/doctest.rst:389 +#: library/doctest.rst:419 msgid "The starting column doesn't matter::" msgstr "" -#: library/doctest.rst:391 +#: library/doctest.rst:421 msgid "" ">>> assert \"Easy!\"\n" " >>> import math\n" @@ -553,17 +580,17 @@ msgid "" " 1" msgstr "" -#: library/doctest.rst:396 +#: library/doctest.rst:426 msgid "" "and as many leading whitespace characters are stripped from the expected " "output as appeared in the initial ``'>>> '`` line that started the example." msgstr "" -#: library/doctest.rst:403 +#: library/doctest.rst:433 msgid "What's the Execution Context?" msgstr "" -#: library/doctest.rst:405 +#: library/doctest.rst:435 msgid "" "By default, each time :mod:`doctest` finds a docstring to test, it uses a " "*shallow copy* of :mod:`!M`'s globals, so that running tests doesn't change " @@ -574,17 +601,17 @@ msgid "" "defined in other docstrings." msgstr "" -#: library/doctest.rst:413 +#: library/doctest.rst:443 msgid "" "You can force use of your own dict as the execution context by passing " "``globs=your_dict`` to :func:`testmod` or :func:`testfile` instead." msgstr "" -#: library/doctest.rst:420 +#: library/doctest.rst:450 msgid "What About Exceptions?" msgstr "" -#: library/doctest.rst:422 +#: library/doctest.rst:452 msgid "" "No problem, provided that the traceback is the only output produced by the " "example: just paste in the traceback. [#]_ Since tracebacks contain details " @@ -593,11 +620,11 @@ msgid "" "it accepts." msgstr "" -#: library/doctest.rst:428 +#: library/doctest.rst:458 msgid "Simple example::" msgstr "" -#: library/doctest.rst:430 +#: library/doctest.rst:460 msgid "" ">>> [1, 2, 3].remove(42)\n" "Traceback (most recent call last):\n" @@ -605,33 +632,33 @@ msgid "" "ValueError: list.remove(x): x not in list" msgstr "" -#: library/doctest.rst:435 +#: library/doctest.rst:465 msgid "" "That doctest succeeds if :exc:`ValueError` is raised, with the ``list." "remove(x): x not in list`` detail as shown." msgstr "" -#: library/doctest.rst:438 +#: library/doctest.rst:468 msgid "" "The expected output for an exception must start with a traceback header, " "which may be either of the following two lines, indented the same as the " "first line of the example::" msgstr "" -#: library/doctest.rst:442 +#: library/doctest.rst:472 msgid "" "Traceback (most recent call last):\n" "Traceback (innermost last):" msgstr "" -#: library/doctest.rst:445 +#: library/doctest.rst:475 msgid "" "The traceback header is followed by an optional traceback stack, whose " "contents are ignored by doctest. The traceback stack is typically omitted, " "or copied verbatim from an interactive session." msgstr "" -#: library/doctest.rst:449 +#: library/doctest.rst:479 msgid "" "The traceback stack is followed by the most interesting part: the line(s) " "containing the exception type and detail. This is usually the last line of " @@ -639,7 +666,7 @@ msgid "" "multi-line detail::" msgstr "" -#: library/doctest.rst:454 +#: library/doctest.rst:484 msgid "" ">>> raise ValueError('multi\\n line\\ndetail')\n" "Traceback (most recent call last):\n" @@ -649,20 +676,20 @@ msgid "" "detail" msgstr "" -#: library/doctest.rst:461 +#: library/doctest.rst:491 msgid "" "The last three lines (starting with :exc:`ValueError`) are compared against " "the exception's type and detail, and the rest are ignored." msgstr "" -#: library/doctest.rst:464 +#: library/doctest.rst:494 msgid "" "Best practice is to omit the traceback stack, unless it adds significant " "documentation value to the example. So the last example is probably better " "as::" msgstr "" -#: library/doctest.rst:467 +#: library/doctest.rst:497 msgid "" ">>> raise ValueError('multi\\n line\\ndetail')\n" "Traceback (most recent call last):\n" @@ -672,7 +699,7 @@ msgid "" "detail" msgstr "" -#: library/doctest.rst:474 +#: library/doctest.rst:504 msgid "" "Note that tracebacks are treated very specially. In particular, in the " "rewritten example, the use of ``...`` is independent of doctest's :const:" @@ -681,11 +708,11 @@ msgid "" "transcript of a Monty Python skit." msgstr "" -#: library/doctest.rst:480 +#: library/doctest.rst:510 msgid "Some details you should read once, but won't need to remember:" msgstr "" -#: library/doctest.rst:482 +#: library/doctest.rst:512 msgid "" "Doctest can't guess whether your expected output came from an exception " "traceback or from ordinary printing. So, e.g., an example that expects " @@ -695,7 +722,7 @@ msgid "" "create real problems." msgstr "" -#: library/doctest.rst:489 +#: library/doctest.rst:519 msgid "" "Each line of the traceback stack (if present) must be indented further than " "the first line of the example, *or* start with a non-alphanumeric character. " @@ -704,14 +731,14 @@ msgid "" "course this does the right thing for genuine tracebacks." msgstr "" -#: library/doctest.rst:495 +#: library/doctest.rst:525 msgid "" "When the :const:`IGNORE_EXCEPTION_DETAIL` doctest option is specified, " "everything following the leftmost colon and any module information in the " "exception name is ignored." msgstr "" -#: library/doctest.rst:499 +#: library/doctest.rst:529 msgid "" "The interactive shell omits the traceback header line for some :exc:" "`SyntaxError`\\ s. But doctest uses the traceback header line to " @@ -720,13 +747,13 @@ msgid "" "need to manually add the traceback header line to your test example." msgstr "" -#: library/doctest.rst:507 +#: library/doctest.rst:537 msgid "" "For some exceptions, Python displays the position of the error using ``^`` " "markers and tildes::" msgstr "" -#: library/doctest.rst:510 +#: library/doctest.rst:540 msgid "" ">>> 1 + None\n" " File \"\", line 1\n" @@ -735,7 +762,7 @@ msgid "" "TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'" msgstr "" -#: library/doctest.rst:516 +#: library/doctest.rst:546 msgid "" "Since the lines showing the position of the error come before the exception " "type and detail, they are not checked by doctest. For example, the " @@ -743,7 +770,7 @@ msgid "" "location::" msgstr "" -#: library/doctest.rst:520 +#: library/doctest.rst:550 msgid "" ">>> 1 + None\n" " File \"\", line 1\n" @@ -752,11 +779,11 @@ msgid "" "TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'" msgstr "" -#: library/doctest.rst:531 +#: library/doctest.rst:561 msgid "Option Flags" msgstr "" -#: library/doctest.rst:533 +#: library/doctest.rst:563 msgid "" "A number of option flags control various aspects of doctest's behavior. " "Symbolic names for the flags are supplied as module constants, which can be :" @@ -766,17 +793,13 @@ msgid "" "option." msgstr "" -#: library/doctest.rst:539 -msgid "The ``-o`` command line option." -msgstr "" - -#: library/doctest.rst:542 +#: library/doctest.rst:569 msgid "" "The first group of options define test semantics, controlling aspects of how " "doctest decides whether actual output matches an example's expected output:" msgstr "" -#: library/doctest.rst:548 +#: library/doctest.rst:575 msgid "" "By default, if an expected output block contains just ``1``, an actual " "output block containing just ``1`` or just ``True`` is considered to be a " @@ -788,7 +811,7 @@ msgid "" "not for several years." msgstr "" -#: library/doctest.rst:560 +#: library/doctest.rst:587 msgid "" "By default, if an expected output block contains a line containing only the " "string ````, then that line will match a blank line in the actual " @@ -797,7 +820,7 @@ msgid "" "`DONT_ACCEPT_BLANKLINE` is specified, this substitution is not allowed." msgstr "" -#: library/doctest.rst:569 +#: library/doctest.rst:596 msgid "" "When specified, all sequences of whitespace (blanks and newlines) are " "treated as equal. Any sequence of whitespace within the expected output " @@ -807,7 +830,7 @@ msgid "" "across multiple lines in your source." msgstr "" -#: library/doctest.rst:580 +#: library/doctest.rst:607 msgid "" "When specified, an ellipsis marker (``...``) in the expected output can " "match any substring in the actual output. This includes substrings that " @@ -816,14 +839,14 @@ msgid "" "matched too much!\" surprises that ``.*`` is prone to in regular expressions." msgstr "" -#: library/doctest.rst:589 +#: library/doctest.rst:616 msgid "" "When specified, doctests expecting exceptions pass so long as an exception " "of the expected type is raised, even if the details (message and fully " "qualified exception name) don't match." msgstr "" -#: library/doctest.rst:593 +#: library/doctest.rst:620 msgid "" "For example, an example expecting ``ValueError: 42`` will pass if the actual " "exception raised is ``ValueError: 3*14``, but will fail if, say, a :exc:" @@ -833,7 +856,7 @@ msgid "" "these variations will work with the flag specified:" msgstr "" -#: library/doctest.rst:601 +#: library/doctest.rst:628 msgid "" ">>> raise Exception('message')\n" "Traceback (most recent call last):\n" @@ -848,20 +871,20 @@ msgid "" "__main__.Exception: message" msgstr "" -#: library/doctest.rst:615 +#: library/doctest.rst:642 msgid "" "Note that :const:`ELLIPSIS` can also be used to ignore the details of the " "exception message, but such a test may still fail based on whether the " "module name is present or matches exactly." msgstr "" -#: library/doctest.rst:619 +#: library/doctest.rst:646 msgid "" ":const:`IGNORE_EXCEPTION_DETAIL` now also ignores any information relating " "to the module containing the exception under test." msgstr "" -#: library/doctest.rst:626 +#: library/doctest.rst:653 msgid "" "When specified, do not run the example at all. This can be useful in " "contexts where doctest examples serve as both documentation and test cases, " @@ -870,32 +893,32 @@ msgid "" "might depend on resources which would be unavailable to the test driver." msgstr "" -#: library/doctest.rst:632 +#: library/doctest.rst:659 msgid "" "The SKIP flag can also be used for temporarily \"commenting out\" examples." msgstr "" -#: library/doctest.rst:637 +#: library/doctest.rst:664 msgid "A bitmask or'ing together all the comparison flags above." msgstr "" -#: library/doctest.rst:639 +#: library/doctest.rst:666 msgid "The second group of options controls how test failures are reported:" msgstr "" -#: library/doctest.rst:644 +#: library/doctest.rst:671 msgid "" "When specified, failures that involve multi-line expected and actual outputs " "are displayed using a unified diff." msgstr "" -#: library/doctest.rst:650 +#: library/doctest.rst:677 msgid "" "When specified, failures that involve multi-line expected and actual outputs " "will be displayed using a context diff." msgstr "" -#: library/doctest.rst:656 +#: library/doctest.rst:683 msgid "" "When specified, differences are computed by ``difflib.Differ``, using the " "same algorithm as the popular :file:`ndiff.py` utility. This is the only " @@ -905,7 +928,7 @@ msgid "" "mismatching column positions." msgstr "" -#: library/doctest.rst:665 +#: library/doctest.rst:692 msgid "" "When specified, display the first failing example in each doctest, but " "suppress output for all remaining examples. This will prevent doctest from " @@ -916,7 +939,7 @@ msgid "" "of failures reported; only the output is suppressed." msgstr "" -#: library/doctest.rst:676 +#: library/doctest.rst:703 msgid "" "When specified, exit after the first failing example and don't attempt to " "run the remaining examples. Thus, the number of failures reported will be at " @@ -924,23 +947,17 @@ msgid "" "first failure won't even produce debugging output." msgstr "" -#: library/doctest.rst:681 -msgid "" -"The doctest command line accepts the option ``-f`` as a shorthand for ``-o " -"FAIL_FAST``." -msgstr "" - -#: library/doctest.rst:689 +#: library/doctest.rst:711 msgid "A bitmask or'ing together all the reporting flags above." msgstr "" -#: library/doctest.rst:692 +#: library/doctest.rst:714 msgid "" "There is also a way to register new option flag names, though this isn't " "useful unless you intend to extend :mod:`doctest` internals via subclassing:" msgstr "" -#: library/doctest.rst:698 +#: library/doctest.rst:720 msgid "" "Create a new option flag with a given name, and return the new flag's " "integer value. :func:`register_optionflag` can be used when subclassing :" @@ -949,46 +966,46 @@ msgid "" "be called using the following idiom::" msgstr "" -#: library/doctest.rst:704 +#: library/doctest.rst:726 msgid "MY_FLAG = register_optionflag('MY_FLAG')" msgstr "" -#: library/doctest.rst:714 +#: library/doctest.rst:736 msgid "Directives" msgstr "" -#: library/doctest.rst:716 +#: library/doctest.rst:738 msgid "" "Doctest directives may be used to modify the :ref:`option flags ` for an individual example. Doctest directives are special Python " "comments following an example's source code:" msgstr "" -#: library/doctest.rst:727 +#: library/doctest.rst:749 msgid "" "Whitespace is not allowed between the ``+`` or ``-`` and the directive " "option name. The directive option name can be any of the option flag names " "explained above." msgstr "" -#: library/doctest.rst:731 +#: library/doctest.rst:753 msgid "" "An example's doctest directives modify doctest's behavior for that single " "example. Use ``+`` to enable the named behavior, or ``-`` to disable it." msgstr "" -#: library/doctest.rst:734 +#: library/doctest.rst:756 msgid "For example, this test passes:" msgstr "" -#: library/doctest.rst:736 +#: library/doctest.rst:758 msgid "" ">>> print(list(range(20))) # doctest: +NORMALIZE_WHITESPACE\n" "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9,\n" "10, 11, 12, 13, 14, 15, 16, 17, 18, 19]" msgstr "" -#: library/doctest.rst:743 +#: library/doctest.rst:765 msgid "" "Without the directive it would fail, both because the actual output doesn't " "have two blanks before the single-digit list elements, and because the " @@ -996,52 +1013,52 @@ msgid "" "a directive to do so:" msgstr "" -#: library/doctest.rst:748 +#: library/doctest.rst:770 msgid "" ">>> print(list(range(20))) # doctest: +ELLIPSIS\n" "[0, 1, ..., 18, 19]" msgstr "" -#: library/doctest.rst:754 +#: library/doctest.rst:776 msgid "" "Multiple directives can be used on a single physical line, separated by " "commas:" msgstr "" -#: library/doctest.rst:757 +#: library/doctest.rst:779 msgid "" ">>> print(list(range(20))) # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE\n" "[0, 1, ..., 18, 19]" msgstr "" -#: library/doctest.rst:763 +#: library/doctest.rst:785 msgid "" "If multiple directive comments are used for a single example, then they are " "combined:" msgstr "" -#: library/doctest.rst:766 +#: library/doctest.rst:788 msgid "" ">>> print(list(range(20))) # doctest: +ELLIPSIS\n" "... # doctest: +NORMALIZE_WHITESPACE\n" "[0, 1, ..., 18, 19]" msgstr "" -#: library/doctest.rst:773 +#: library/doctest.rst:795 msgid "" "As the previous example shows, you can add ``...`` lines to your example " "containing only directives. This can be useful when an example is too long " "for a directive to comfortably fit on the same line:" msgstr "" -#: library/doctest.rst:777 +#: library/doctest.rst:799 msgid "" ">>> print(list(range(5)) + list(range(10, 20)) + list(range(30, 40)))\n" "... # doctest: +ELLIPSIS\n" "[0, ..., 4, 10, ..., 19, 30, ..., 39]" msgstr "" -#: library/doctest.rst:784 +#: library/doctest.rst:806 msgid "" "Note that since all options are disabled by default, and directives apply " "only to the example they appear in, enabling options (via ``+`` in a " @@ -1051,11 +1068,11 @@ msgid "" "be useful." msgstr "" -#: library/doctest.rst:794 +#: library/doctest.rst:816 msgid "Warnings" msgstr "" -#: library/doctest.rst:796 +#: library/doctest.rst:818 msgid "" ":mod:`doctest` is serious about requiring exact matches in expected output. " "If even a single character doesn't match, the test fails. This will " @@ -1065,69 +1082,69 @@ msgid "" "test like ::" msgstr "" -#: library/doctest.rst:802 +#: library/doctest.rst:824 msgid "" ">>> foo()\n" "{\"spam\", \"eggs\"}" msgstr "" -#: library/doctest.rst:805 +#: library/doctest.rst:827 msgid "is vulnerable! One workaround is to do ::" msgstr "" -#: library/doctest.rst:807 +#: library/doctest.rst:829 msgid "" ">>> foo() == {\"spam\", \"eggs\"}\n" "True" msgstr "" -#: library/doctest.rst:810 +#: library/doctest.rst:832 msgid "instead. Another is to do ::" msgstr "" -#: library/doctest.rst:812 +#: library/doctest.rst:834 msgid "" ">>> d = sorted(foo())\n" ">>> d\n" "['eggs', 'spam']" msgstr "" -#: library/doctest.rst:816 +#: library/doctest.rst:838 msgid "There are others, but you get the idea." msgstr "" -#: library/doctest.rst:818 +#: library/doctest.rst:840 msgid "Another bad idea is to print things that embed an object address, like" msgstr "" -#: library/doctest.rst:820 +#: library/doctest.rst:842 msgid "" -">>> id(1.0) # certain to fail some of the time \n" +">>> id(1.0) # certain to fail some of the time\n" "7948648\n" ">>> class C: pass\n" -">>> C() # the default repr() for instances embeds an address \n" +">>> C() # the default repr() for instances embeds an address\n" "" msgstr "" -#: library/doctest.rst:828 +#: library/doctest.rst:850 msgid "" "The :const:`ELLIPSIS` directive gives a nice approach for the last example:" msgstr "" -#: library/doctest.rst:830 +#: library/doctest.rst:852 msgid "" ">>> C() # doctest: +ELLIPSIS\n" "" msgstr "" -#: library/doctest.rst:836 +#: library/doctest.rst:858 msgid "" "Floating-point numbers are also subject to small output variations across " "platforms, because Python defers to the platform C library for float " "formatting, and C libraries vary widely in quality here. ::" msgstr "" -#: library/doctest.rst:840 +#: library/doctest.rst:862 msgid "" ">>> 1./7 # risky\n" "0.14285714285714285\n" @@ -1137,29 +1154,29 @@ msgid "" "0.142857" msgstr "" -#: library/doctest.rst:847 +#: library/doctest.rst:869 msgid "" "Numbers of the form ``I/2.**J`` are safe across all platforms, and I often " "contrive doctest examples to produce numbers of that form::" msgstr "" -#: library/doctest.rst:850 +#: library/doctest.rst:872 msgid "" ">>> 3./4 # utterly safe\n" "0.75" msgstr "" -#: library/doctest.rst:853 +#: library/doctest.rst:875 msgid "" "Simple fractions are also easier for people to understand, and that makes " "for better documentation." msgstr "" -#: library/doctest.rst:860 +#: library/doctest.rst:882 msgid "Basic API" msgstr "" -#: library/doctest.rst:862 +#: library/doctest.rst:884 msgid "" "The functions :func:`testmod` and :func:`testfile` provide a simple " "interface to doctest that should be sufficient for most basic uses. For a " @@ -1167,25 +1184,25 @@ msgid "" "simple-testmod` and :ref:`doctest-simple-testfile`." msgstr "" -#: library/doctest.rst:870 +#: library/doctest.rst:892 msgid "" "All arguments except *filename* are optional, and should be specified in " "keyword form." msgstr "" -#: library/doctest.rst:873 +#: library/doctest.rst:895 msgid "" "Test examples in the file named *filename*. Return ``(failure_count, " "test_count)``." msgstr "" -#: library/doctest.rst:876 +#: library/doctest.rst:898 msgid "" "Optional argument *module_relative* specifies how the filename should be " "interpreted:" msgstr "" -#: library/doctest.rst:879 +#: library/doctest.rst:901 msgid "" "If *module_relative* is ``True`` (the default), then *filename* specifies an " "OS-independent module-relative path. By default, this path is relative to " @@ -1195,20 +1212,20 @@ msgid "" "absolute path (i.e., it may not begin with ``/``)." msgstr "" -#: library/doctest.rst:886 +#: library/doctest.rst:908 msgid "" "If *module_relative* is ``False``, then *filename* specifies an OS-specific " "path. The path may be absolute or relative; relative paths are resolved " "with respect to the current working directory." msgstr "" -#: library/doctest.rst:890 +#: library/doctest.rst:912 msgid "" "Optional argument *name* gives the name of the test; by default, or if " "``None``, ``os.path.basename(filename)`` is used." msgstr "" -#: library/doctest.rst:893 +#: library/doctest.rst:915 msgid "" "Optional argument *package* is a Python package or the name of a Python " "package whose directory should be used as the base directory for a module-" @@ -1217,7 +1234,7 @@ msgid "" "is an error to specify *package* if *module_relative* is ``False``." msgstr "" -#: library/doctest.rst:899 +#: library/doctest.rst:921 msgid "" "Optional argument *globs* gives a dict to be used as the globals when " "executing examples. A new shallow copy of this dict is created for the " @@ -1225,7 +1242,7 @@ msgid "" "``None``, a new empty dict is used." msgstr "" -#: library/doctest.rst:904 +#: library/doctest.rst:926 msgid "" "Optional argument *extraglobs* gives a dict merged into the globals used to " "execute examples. This works like :meth:`dict.update`: if *globs* and " @@ -1238,27 +1255,27 @@ msgid "" "tested." msgstr "" -#: library/doctest.rst:913 +#: library/doctest.rst:935 msgid "" "Optional argument *verbose* prints lots of stuff if true, and prints only " "failures if false; by default, or if ``None``, it's true if and only if ``'-" "v'`` is in ``sys.argv``." msgstr "" -#: library/doctest.rst:917 +#: library/doctest.rst:939 msgid "" "Optional argument *report* prints a summary at the end when true, else " "prints nothing at the end. In verbose mode, the summary is detailed, else " "the summary is very brief (in fact, empty if all tests passed)." msgstr "" -#: library/doctest.rst:921 +#: library/doctest.rst:943 msgid "" "Optional argument *optionflags* (default value 0) takes the :ref:`bitwise OR " "` of option flags. See section :ref:`doctest-options`." msgstr "" -#: library/doctest.rst:925 +#: library/doctest.rst:947 msgid "" "Optional argument *raise_on_error* defaults to false. If true, an exception " "is raised upon the first failure or unexpected exception in an example. " @@ -1266,33 +1283,33 @@ msgid "" "continue running examples." msgstr "" -#: library/doctest.rst:1071 +#: library/doctest.rst:1093 msgid "" "Optional argument *parser* specifies a :class:`DocTestParser` (or subclass) " "that should be used to extract tests from the files. It defaults to a " "normal parser (i.e., ``DocTestParser()``)." msgstr "" -#: library/doctest.rst:1075 +#: library/doctest.rst:1097 msgid "" "Optional argument *encoding* specifies an encoding that should be used to " "convert the file to unicode." msgstr "" -#: library/doctest.rst:940 +#: library/doctest.rst:962 msgid "" "All arguments are optional, and all except for *m* should be specified in " "keyword form." msgstr "" -#: library/doctest.rst:943 +#: library/doctest.rst:965 msgid "" "Test examples in docstrings in functions and classes reachable from module " "*m* (or module :mod:`__main__` if *m* is not supplied or is ``None``), " "starting with ``m.__doc__``." msgstr "" -#: library/doctest.rst:947 +#: library/doctest.rst:969 msgid "" "Also test examples reachable from dict ``m.__test__``, if it exists. ``m." "__test__`` maps names (strings) to functions, classes and strings; function " @@ -1300,22 +1317,22 @@ msgid "" "directly, as if they were docstrings." msgstr "" -#: library/doctest.rst:952 +#: library/doctest.rst:974 msgid "" "Only docstrings attached to objects belonging to module *m* are searched." msgstr "" -#: library/doctest.rst:954 +#: library/doctest.rst:976 msgid "Return ``(failure_count, test_count)``." msgstr "" -#: library/doctest.rst:956 +#: library/doctest.rst:978 msgid "" "Optional argument *name* gives the name of the module; by default, or if " "``None``, ``m.__name__`` is used." msgstr "" -#: library/doctest.rst:959 +#: library/doctest.rst:981 msgid "" "Optional argument *exclude_empty* defaults to false. If true, objects for " "which no doctests are found are excluded from consideration. The default is " @@ -1326,39 +1343,39 @@ msgid "" "defaults to true." msgstr "" -#: library/doctest.rst:967 +#: library/doctest.rst:989 msgid "" "Optional arguments *extraglobs*, *verbose*, *report*, *optionflags*, " "*raise_on_error*, and *globs* are the same as for function :func:`testfile` " "above, except that *globs* defaults to ``m.__dict__``." msgstr "" -#: library/doctest.rst:974 +#: library/doctest.rst:996 msgid "" "Test examples associated with object *f*; for example, *f* may be a string, " "a module, a function, or a class object." msgstr "" -#: library/doctest.rst:977 +#: library/doctest.rst:999 msgid "" "A shallow copy of dictionary argument *globs* is used for the execution " "context." msgstr "" -#: library/doctest.rst:979 +#: library/doctest.rst:1001 msgid "" "Optional argument *name* is used in failure messages, and defaults to " "``\"NoName\"``." msgstr "" -#: library/doctest.rst:982 +#: library/doctest.rst:1004 msgid "" "If optional argument *verbose* is true, output is generated even if there " "are no failures. By default, output is generated only in case of an example " "failure." msgstr "" -#: library/doctest.rst:985 +#: library/doctest.rst:1007 msgid "" "Optional argument *compileflags* gives the set of flags that should be used " "by the Python compiler when running the examples. By default, or if " @@ -1366,16 +1383,16 @@ msgid "" "found in *globs*." msgstr "" -#: library/doctest.rst:989 +#: library/doctest.rst:1011 msgid "" "Optional argument *optionflags* works as for function :func:`testfile` above." msgstr "" -#: library/doctest.rst:995 +#: library/doctest.rst:1017 msgid "Unittest API" msgstr "" -#: library/doctest.rst:997 +#: library/doctest.rst:1019 msgid "" "As your collection of doctest'ed modules grows, you'll want a way to run all " "their doctests systematically. :mod:`doctest` provides two functions that " @@ -1385,7 +1402,7 @@ msgid "" "your test module::" msgstr "" -#: library/doctest.rst:1003 +#: library/doctest.rst:1025 msgid "" "import unittest\n" "import doctest\n" @@ -1396,19 +1413,19 @@ msgid "" " return tests" msgstr "" -#: library/doctest.rst:1011 +#: library/doctest.rst:1033 msgid "" "There are two main functions for creating :class:`unittest.TestSuite` " "instances from text files and modules with doctests:" msgstr "" -#: library/doctest.rst:1017 +#: library/doctest.rst:1039 msgid "" "Convert doctest tests from one or more text files to a :class:`unittest." "TestSuite`." msgstr "" -#: library/doctest.rst:1020 +#: library/doctest.rst:1042 msgid "" "The returned :class:`unittest.TestSuite` is to be run by the unittest " "framework and runs the interactive examples in each file. If an example in " @@ -1417,21 +1434,21 @@ msgid "" "containing the test and a (sometimes approximate) line number." msgstr "" -#: library/doctest.rst:1026 +#: library/doctest.rst:1048 msgid "Pass one or more paths (as strings) to text files to be examined." msgstr "" -#: library/doctest.rst:1028 +#: library/doctest.rst:1050 msgid "Options may be provided as keyword arguments:" msgstr "" -#: library/doctest.rst:1030 +#: library/doctest.rst:1052 msgid "" "Optional argument *module_relative* specifies how the filenames in *paths* " "should be interpreted:" msgstr "" -#: library/doctest.rst:1033 +#: library/doctest.rst:1055 msgid "" "If *module_relative* is ``True`` (the default), then each filename in " "*paths* specifies an OS-independent module-relative path. By default, this " @@ -1442,14 +1459,14 @@ msgid "" "``)." msgstr "" -#: library/doctest.rst:1041 +#: library/doctest.rst:1063 msgid "" "If *module_relative* is ``False``, then each filename in *paths* specifies " "an OS-specific path. The path may be absolute or relative; relative paths " "are resolved with respect to the current working directory." msgstr "" -#: library/doctest.rst:1045 +#: library/doctest.rst:1067 msgid "" "Optional argument *package* is a Python package or the name of a Python " "package whose directory should be used as the base directory for module-" @@ -1459,7 +1476,7 @@ msgid "" "``False``." msgstr "" -#: library/doctest.rst:1052 +#: library/doctest.rst:1074 msgid "" "Optional argument *setUp* specifies a set-up function for the test suite. " "This is called before running the tests in each file. The *setUp* function " @@ -1467,7 +1484,7 @@ msgid "" "test globals as the *globs* attribute of the test passed." msgstr "" -#: library/doctest.rst:1057 +#: library/doctest.rst:1079 msgid "" "Optional argument *tearDown* specifies a tear-down function for the test " "suite. This is called after running the tests in each file. The *tearDown* " @@ -1475,14 +1492,14 @@ msgid "" "access the test globals as the *globs* attribute of the test passed." msgstr "" -#: library/doctest.rst:1096 +#: library/doctest.rst:1118 msgid "" "Optional argument *globs* is a dictionary containing the initial global " "variables for the tests. A new copy of this dictionary is created for each " "test. By default, *globs* is a new empty dictionary." msgstr "" -#: library/doctest.rst:1066 +#: library/doctest.rst:1088 msgid "" "Optional argument *optionflags* specifies the default doctest options for " "the tests, created by or-ing together individual option flags. See section :" @@ -1490,17 +1507,17 @@ msgid "" "for a better way to set reporting options." msgstr "" -#: library/doctest.rst:1078 +#: library/doctest.rst:1100 msgid "" "The global ``__file__`` is added to the globals provided to doctests loaded " "from a text file using :func:`DocFileSuite`." msgstr "" -#: library/doctest.rst:1084 +#: library/doctest.rst:1106 msgid "Convert doctest tests for a module to a :class:`unittest.TestSuite`." msgstr "" -#: library/doctest.rst:1086 +#: library/doctest.rst:1108 msgid "" "The returned :class:`unittest.TestSuite` is to be run by the unittest " "framework and runs each doctest in the module. If any of the doctests fail, " @@ -1509,42 +1526,42 @@ msgid "" "(sometimes approximate) line number." msgstr "" -#: library/doctest.rst:1092 +#: library/doctest.rst:1114 msgid "" "Optional argument *module* provides the module to be tested. It can be a " "module object or a (possibly dotted) module name. If not specified, the " "module calling this function is used." msgstr "" -#: library/doctest.rst:1100 +#: library/doctest.rst:1122 msgid "" "Optional argument *extraglobs* specifies an extra set of global variables, " "which is merged into *globs*. By default, no extra globals are used." msgstr "" -#: library/doctest.rst:1103 +#: library/doctest.rst:1125 msgid "" "Optional argument *test_finder* is the :class:`DocTestFinder` object (or a " "drop-in replacement) that is used to extract doctests from the module." msgstr "" -#: library/doctest.rst:1106 +#: library/doctest.rst:1128 msgid "" "Optional arguments *setUp*, *tearDown*, and *optionflags* are the same as " "for function :func:`DocFileSuite` above." msgstr "" -#: library/doctest.rst:1109 +#: library/doctest.rst:1131 msgid "This function uses the same search technique as :func:`testmod`." msgstr "" -#: library/doctest.rst:1111 +#: library/doctest.rst:1133 msgid "" ":func:`DocTestSuite` returns an empty :class:`unittest.TestSuite` if " "*module* contains no docstrings instead of raising :exc:`ValueError`." msgstr "" -#: library/doctest.rst:1117 +#: library/doctest.rst:1139 msgid "" "When doctests which have been converted to unit tests by :func:" "`DocFileSuite` or :func:`DocTestSuite` fail, this exception is raised " @@ -1552,7 +1569,7 @@ msgid "" "approximate) line number." msgstr "" -#: library/doctest.rst:1121 +#: library/doctest.rst:1143 msgid "" "Under the covers, :func:`DocTestSuite` creates a :class:`unittest.TestSuite` " "out of :class:`!doctest.DocTestCase` instances, and :class:`!DocTestCase` is " @@ -1561,14 +1578,14 @@ msgid "" "questions about the exact details of :mod:`unittest` integration." msgstr "" -#: library/doctest.rst:1127 +#: library/doctest.rst:1149 msgid "" "Similarly, :func:`DocFileSuite` creates a :class:`unittest.TestSuite` out " "of :class:`!doctest.DocFileCase` instances, and :class:`!DocFileCase` is a " "subclass of :class:`!DocTestCase`." msgstr "" -#: library/doctest.rst:1131 +#: library/doctest.rst:1153 msgid "" "So both ways of creating a :class:`unittest.TestSuite` run instances of :" "class:`!DocTestCase`. This is important for a subtle reason: when you run :" @@ -1581,23 +1598,23 @@ msgid "" "through :mod:`unittest` to :mod:`doctest` test runners." msgstr "" -#: library/doctest.rst:1141 +#: library/doctest.rst:1163 msgid "" "For this reason, :mod:`doctest` also supports a notion of :mod:`doctest` " "reporting flags specific to :mod:`unittest` support, via this function:" msgstr "" -#: library/doctest.rst:1147 +#: library/doctest.rst:1169 msgid "Set the :mod:`doctest` reporting flags to use." msgstr "" -#: library/doctest.rst:1149 +#: library/doctest.rst:1171 msgid "" "Argument *flags* takes the :ref:`bitwise OR ` of option flags. See " "section :ref:`doctest-options`. Only \"reporting flags\" can be used." msgstr "" -#: library/doctest.rst:1152 +#: library/doctest.rst:1174 msgid "" "This is a module-global setting, and affects all future doctests run by " "module :mod:`unittest`: the :meth:`!runTest` method of :class:`!" @@ -1611,17 +1628,17 @@ msgid "" "`!doctest`'s :mod:`unittest` reporting flags are ignored." msgstr "" -#: library/doctest.rst:1163 +#: library/doctest.rst:1185 msgid "" "The value of the :mod:`unittest` reporting flags in effect before the " "function was called is returned by the function." msgstr "" -#: library/doctest.rst:1170 +#: library/doctest.rst:1192 msgid "Advanced API" msgstr "" -#: library/doctest.rst:1172 +#: library/doctest.rst:1194 msgid "" "The basic API is a simple wrapper that's intended to make doctest easy to " "use. It is fairly flexible, and should meet most users' needs; however, if " @@ -1629,62 +1646,62 @@ msgid "" "doctest's capabilities, then you should use the advanced API." msgstr "" -#: library/doctest.rst:1177 +#: library/doctest.rst:1199 msgid "" "The advanced API revolves around two container classes, which are used to " "store the interactive examples extracted from doctest cases:" msgstr "" -#: library/doctest.rst:1180 +#: library/doctest.rst:1202 msgid "" ":class:`Example`: A single Python :term:`statement`, paired with its " "expected output." msgstr "" -#: library/doctest.rst:1183 +#: library/doctest.rst:1205 msgid "" ":class:`DocTest`: A collection of :class:`Example`\\ s, typically extracted " "from a single docstring or text file." msgstr "" -#: library/doctest.rst:1186 +#: library/doctest.rst:1208 msgid "" "Additional processing classes are defined to find, parse, and run, and check " "doctest examples:" msgstr "" -#: library/doctest.rst:1189 +#: library/doctest.rst:1211 msgid "" ":class:`DocTestFinder`: Finds all docstrings in a given module, and uses a :" "class:`DocTestParser` to create a :class:`DocTest` from every docstring that " "contains interactive examples." msgstr "" -#: library/doctest.rst:1193 +#: library/doctest.rst:1215 msgid "" ":class:`DocTestParser`: Creates a :class:`DocTest` object from a string " "(such as an object's docstring)." msgstr "" -#: library/doctest.rst:1196 +#: library/doctest.rst:1218 msgid "" ":class:`DocTestRunner`: Executes the examples in a :class:`DocTest`, and " "uses an :class:`OutputChecker` to verify their output." msgstr "" -#: library/doctest.rst:1199 +#: library/doctest.rst:1221 msgid "" ":class:`OutputChecker`: Compares the actual output from a doctest example " "with the expected output, and decides whether they match." msgstr "" -#: library/doctest.rst:1202 +#: library/doctest.rst:1224 msgid "" "The relationships among these processing classes are summarized in the " "following diagram::" msgstr "" -#: library/doctest.rst:1205 +#: library/doctest.rst:1227 msgid "" " list of:\n" "+------+ +---------+\n" @@ -1696,30 +1713,30 @@ msgid "" " +---------+" msgstr "" -#: library/doctest.rst:1218 +#: library/doctest.rst:1240 msgid "DocTest Objects" msgstr "" -#: library/doctest.rst:1223 +#: library/doctest.rst:1245 msgid "" "A collection of doctest examples that should be run in a single namespace. " "The constructor arguments are used to initialize the attributes of the same " "names." msgstr "" -#: library/doctest.rst:1227 +#: library/doctest.rst:1249 msgid "" ":class:`DocTest` defines the following attributes. They are initialized by " "the constructor, and should not be modified directly." msgstr "" -#: library/doctest.rst:1233 +#: library/doctest.rst:1255 msgid "" "A list of :class:`Example` objects encoding the individual interactive " "Python examples that should be run by this test." msgstr "" -#: library/doctest.rst:1239 +#: library/doctest.rst:1261 msgid "" "The namespace (aka globals) that the examples should be run in. This is a " "dictionary mapping names to values. Any changes to the namespace made by " @@ -1727,57 +1744,57 @@ msgid "" "`globs` after the test is run." msgstr "" -#: library/doctest.rst:1247 +#: library/doctest.rst:1269 msgid "" "A string name identifying the :class:`DocTest`. Typically, this is the name " "of the object or file that the test was extracted from." msgstr "" -#: library/doctest.rst:1253 +#: library/doctest.rst:1275 msgid "" "The name of the file that this :class:`DocTest` was extracted from; or " "``None`` if the filename is unknown, or if the :class:`DocTest` was not " "extracted from a file." msgstr "" -#: library/doctest.rst:1260 +#: library/doctest.rst:1282 msgid "" "The line number within :attr:`filename` where this :class:`DocTest` begins, " "or ``None`` if the line number is unavailable. This line number is zero-" "based with respect to the beginning of the file." msgstr "" -#: library/doctest.rst:1267 +#: library/doctest.rst:1289 msgid "" "The string that the test was extracted from, or ``None`` if the string is " "unavailable, or if the test was not extracted from a string." msgstr "" -#: library/doctest.rst:1274 +#: library/doctest.rst:1296 msgid "Example Objects" msgstr "" -#: library/doctest.rst:1279 +#: library/doctest.rst:1301 msgid "" "A single interactive example, consisting of a Python statement and its " "expected output. The constructor arguments are used to initialize the " "attributes of the same names." msgstr "" -#: library/doctest.rst:1284 +#: library/doctest.rst:1306 msgid "" ":class:`Example` defines the following attributes. They are initialized by " "the constructor, and should not be modified directly." msgstr "" -#: library/doctest.rst:1290 +#: library/doctest.rst:1312 msgid "" "A string containing the example's source code. This source code consists of " "a single Python statement, and always ends with a newline; the constructor " "adds a newline when necessary." msgstr "" -#: library/doctest.rst:1297 +#: library/doctest.rst:1319 msgid "" "The expected output from running the example's source code (either from " "stdout, or a traceback in case of exception). :attr:`want` ends with a " @@ -1785,7 +1802,7 @@ msgid "" "The constructor adds a newline when necessary." msgstr "" -#: library/doctest.rst:1305 +#: library/doctest.rst:1327 msgid "" "The exception message generated by the example, if the example is expected " "to generate an exception; or ``None`` if it is not expected to generate an " @@ -1794,20 +1811,20 @@ msgid "" "unless it's ``None``. The constructor adds a newline if needed." msgstr "" -#: library/doctest.rst:1314 +#: library/doctest.rst:1336 msgid "" "The line number within the string containing this example where the example " "begins. This line number is zero-based with respect to the beginning of the " "containing string." msgstr "" -#: library/doctest.rst:1321 +#: library/doctest.rst:1343 msgid "" "The example's indentation in the containing string, i.e., the number of " "space characters that precede the example's first prompt." msgstr "" -#: library/doctest.rst:1327 +#: library/doctest.rst:1349 msgid "" "A dictionary mapping from option flags to ``True`` or ``False``, which is " "used to override default options for this example. Any option flags not " @@ -1816,11 +1833,11 @@ msgid "" "default, no options are set." msgstr "" -#: library/doctest.rst:1337 +#: library/doctest.rst:1359 msgid "DocTestFinder objects" msgstr "" -#: library/doctest.rst:1342 +#: library/doctest.rst:1364 msgid "" "A processing class used to extract the :class:`DocTest`\\ s that are " "relevant to a given object, from its docstring and the docstrings of its " @@ -1828,48 +1845,48 @@ msgid "" "classes, functions, methods, staticmethods, classmethods, and properties." msgstr "" -#: library/doctest.rst:1347 +#: library/doctest.rst:1369 msgid "" "The optional argument *verbose* can be used to display the objects searched " "by the finder. It defaults to ``False`` (no output)." msgstr "" -#: library/doctest.rst:1350 +#: library/doctest.rst:1372 msgid "" "The optional argument *parser* specifies the :class:`DocTestParser` object " "(or a drop-in replacement) that is used to extract doctests from docstrings." msgstr "" -#: library/doctest.rst:1353 +#: library/doctest.rst:1375 msgid "" "If the optional argument *recurse* is false, then :meth:`DocTestFinder.find` " "will only examine the given object, and not any contained objects." msgstr "" -#: library/doctest.rst:1356 +#: library/doctest.rst:1378 msgid "" "If the optional argument *exclude_empty* is false, then :meth:`DocTestFinder." "find` will include tests for objects with empty docstrings." msgstr "" -#: library/doctest.rst:1360 +#: library/doctest.rst:1382 msgid ":class:`DocTestFinder` defines the following method:" msgstr "" -#: library/doctest.rst:1365 +#: library/doctest.rst:1387 msgid "" "Return a list of the :class:`DocTest`\\ s that are defined by *obj*'s " "docstring, or by any of its contained objects' docstrings." msgstr "" -#: library/doctest.rst:1368 +#: library/doctest.rst:1390 msgid "" "The optional argument *name* specifies the object's name; this name will be " "used to construct names for the returned :class:`DocTest`\\ s. If *name* is " "not specified, then ``obj.__name__`` is used." msgstr "" -#: library/doctest.rst:1372 +#: library/doctest.rst:1394 msgid "" "The optional parameter *module* is the module that contains the given " "object. If the module is not specified or is ``None``, then the test finder " @@ -1877,26 +1894,26 @@ msgid "" "module is used:" msgstr "" -#: library/doctest.rst:1376 +#: library/doctest.rst:1398 msgid "As a default namespace, if *globs* is not specified." msgstr "" -#: library/doctest.rst:1378 +#: library/doctest.rst:1400 msgid "" "To prevent the DocTestFinder from extracting DocTests from objects that are " "imported from other modules. (Contained objects with modules other than " "*module* are ignored.)" msgstr "" -#: library/doctest.rst:1382 +#: library/doctest.rst:1404 msgid "To find the name of the file containing the object." msgstr "" -#: library/doctest.rst:1384 +#: library/doctest.rst:1406 msgid "To help find the line number of the object within its file." msgstr "" -#: library/doctest.rst:1386 +#: library/doctest.rst:1408 msgid "" "If *module* is ``False``, no attempt to find the module will be made. This " "is obscure, of use mostly in testing doctest itself: if *module* is " @@ -1905,7 +1922,7 @@ msgid "" "contained objects will (recursively) be searched for doctests." msgstr "" -#: library/doctest.rst:1392 +#: library/doctest.rst:1414 msgid "" "The globals for each :class:`DocTest` is formed by combining *globs* and " "*extraglobs* (bindings in *extraglobs* override bindings in *globs*). A new " @@ -1915,34 +1932,34 @@ msgid "" "defaults to ``{}``." msgstr "" -#: library/doctest.rst:1403 +#: library/doctest.rst:1425 msgid "DocTestParser objects" msgstr "" -#: library/doctest.rst:1408 +#: library/doctest.rst:1430 msgid "" "A processing class used to extract interactive examples from a string, and " "use them to create a :class:`DocTest` object." msgstr "" -#: library/doctest.rst:1412 +#: library/doctest.rst:1434 msgid ":class:`DocTestParser` defines the following methods:" msgstr "" -#: library/doctest.rst:1417 +#: library/doctest.rst:1439 msgid "" "Extract all doctest examples from the given string, and collect them into a :" "class:`DocTest` object." msgstr "" -#: library/doctest.rst:1420 +#: library/doctest.rst:1442 msgid "" "*globs*, *name*, *filename*, and *lineno* are attributes for the new :class:" "`DocTest` object. See the documentation for :class:`DocTest` for more " "information." msgstr "" -#: library/doctest.rst:1427 +#: library/doctest.rst:1449 msgid "" "Extract all doctest examples from the given string, and return them as a " "list of :class:`Example` objects. Line numbers are 0-based. The optional " @@ -1950,7 +1967,7 @@ msgid "" "error messages." msgstr "" -#: library/doctest.rst:1434 +#: library/doctest.rst:1456 msgid "" "Divide the given string into examples and intervening text, and return them " "as a list of alternating :class:`Example`\\ s and strings. Line numbers for " @@ -1958,17 +1975,17 @@ msgid "" "name identifying this string, and is only used for error messages." msgstr "" -#: library/doctest.rst:1443 +#: library/doctest.rst:1465 msgid "DocTestRunner objects" msgstr "" -#: library/doctest.rst:1448 +#: library/doctest.rst:1470 msgid "" "A processing class used to execute and verify the interactive examples in a :" "class:`DocTest`." msgstr "" -#: library/doctest.rst:1451 +#: library/doctest.rst:1473 msgid "" "The comparison between expected outputs and actual outputs is done by an :" "class:`OutputChecker`. This comparison may be customized with a number of " @@ -1978,7 +1995,7 @@ msgid "" "constructor." msgstr "" -#: library/doctest.rst:1457 +#: library/doctest.rst:1479 msgid "" "The test runner's display output can be controlled in two ways. First, an " "output function can be passed to :meth:`run`; this function will be called " @@ -1989,14 +2006,14 @@ msgid "" "`report_unexpected_exception`, and :meth:`report_failure`." msgstr "" -#: library/doctest.rst:1465 +#: library/doctest.rst:1487 msgid "" "The optional keyword argument *checker* specifies the :class:`OutputChecker` " "object (or drop-in replacement) that should be used to compare the expected " "outputs to the actual outputs of doctest examples." msgstr "" -#: library/doctest.rst:1469 +#: library/doctest.rst:1491 msgid "" "The optional keyword argument *verbose* controls the :class:" "`DocTestRunner`'s verbosity. If *verbose* is ``True``, then information is " @@ -2005,60 +2022,60 @@ msgid "" "verbose output is used iff the command-line switch ``-v`` is used." msgstr "" -#: library/doctest.rst:1475 +#: library/doctest.rst:1497 msgid "" "The optional keyword argument *optionflags* can be used to control how the " "test runner compares expected output to actual output, and how it displays " "failures. For more information, see section :ref:`doctest-options`." msgstr "" -#: library/doctest.rst:1480 +#: library/doctest.rst:1502 msgid ":class:`DocTestRunner` defines the following methods:" msgstr "" -#: library/doctest.rst:1485 +#: library/doctest.rst:1507 msgid "" "Report that the test runner is about to process the given example. This " "method is provided to allow subclasses of :class:`DocTestRunner` to " "customize their output; it should not be called directly." msgstr "" -#: library/doctest.rst:1489 +#: library/doctest.rst:1511 msgid "" "*example* is the example about to be processed. *test* is the test " "*containing example*. *out* is the output function that was passed to :meth:" "`DocTestRunner.run`." msgstr "" -#: library/doctest.rst:1496 +#: library/doctest.rst:1518 msgid "" "Report that the given example ran successfully. This method is provided to " "allow subclasses of :class:`DocTestRunner` to customize their output; it " "should not be called directly." msgstr "" -#: library/doctest.rst:1511 +#: library/doctest.rst:1533 msgid "" "*example* is the example about to be processed. *got* is the actual output " "from the example. *test* is the test containing *example*. *out* is the " "output function that was passed to :meth:`DocTestRunner.run`." msgstr "" -#: library/doctest.rst:1507 +#: library/doctest.rst:1529 msgid "" "Report that the given example failed. This method is provided to allow " "subclasses of :class:`DocTestRunner` to customize their output; it should " "not be called directly." msgstr "" -#: library/doctest.rst:1518 +#: library/doctest.rst:1540 msgid "" "Report that the given example raised an unexpected exception. This method is " "provided to allow subclasses of :class:`DocTestRunner` to customize their " "output; it should not be called directly." msgstr "" -#: library/doctest.rst:1522 +#: library/doctest.rst:1544 msgid "" "*example* is the example about to be processed. *exc_info* is a tuple " "containing information about the unexpected exception (as returned by :func:" @@ -2066,13 +2083,13 @@ msgid "" "output function that was passed to :meth:`DocTestRunner.run`." msgstr "" -#: library/doctest.rst:1530 +#: library/doctest.rst:1552 msgid "" "Run the examples in *test* (a :class:`DocTest` object), and display the " "results using the writer function *out*." msgstr "" -#: library/doctest.rst:1533 +#: library/doctest.rst:1555 msgid "" "The examples are run in the namespace ``test.globs``. If *clear_globs* is " "true (the default), then this namespace will be cleared after the test runs, " @@ -2080,39 +2097,39 @@ msgid "" "after the test completes, then use *clear_globs=False*." msgstr "" -#: library/doctest.rst:1538 +#: library/doctest.rst:1560 msgid "" "*compileflags* gives the set of flags that should be used by the Python " "compiler when running the examples. If not specified, then it will default " "to the set of future-import flags that apply to *globs*." msgstr "" -#: library/doctest.rst:1542 +#: library/doctest.rst:1564 msgid "" "The output of each example is checked using the :class:`DocTestRunner`'s " "output checker, and the results are formatted by the :meth:`!DocTestRunner." "report_\\*` methods." msgstr "" -#: library/doctest.rst:1549 +#: library/doctest.rst:1571 msgid "" "Print a summary of all the test cases that have been run by this " "DocTestRunner, and return a :term:`named tuple` ``TestResults(failed, " "attempted)``." msgstr "" -#: library/doctest.rst:1552 +#: library/doctest.rst:1574 msgid "" "The optional *verbose* argument controls how detailed the summary is. If " "the verbosity is not specified, then the :class:`DocTestRunner`'s verbosity " "is used." msgstr "" -#: library/doctest.rst:1559 +#: library/doctest.rst:1581 msgid "OutputChecker objects" msgstr "" -#: library/doctest.rst:1564 +#: library/doctest.rst:1586 msgid "" "A class used to check the whether the actual output from a doctest example " "matches the expected output. :class:`OutputChecker` defines two methods: :" @@ -2121,11 +2138,11 @@ msgid "" "string describing the differences between two outputs." msgstr "" -#: library/doctest.rst:1571 +#: library/doctest.rst:1593 msgid ":class:`OutputChecker` defines the following methods:" msgstr "" -#: library/doctest.rst:1575 +#: library/doctest.rst:1597 msgid "" "Return ``True`` iff the actual output from an example (*got*) matches the " "expected output (*want*). These strings are always considered to match if " @@ -2134,28 +2151,28 @@ msgid "" "`doctest-options` for more information about option flags." msgstr "" -#: library/doctest.rst:1584 +#: library/doctest.rst:1606 msgid "" "Return a string describing the differences between the expected output for a " "given example (*example*) and the actual output (*got*). *optionflags* is " "the set of option flags used to compare *want* and *got*." msgstr "" -#: library/doctest.rst:1592 +#: library/doctest.rst:1614 msgid "Debugging" msgstr "" -#: library/doctest.rst:1594 +#: library/doctest.rst:1616 msgid "Doctest provides several mechanisms for debugging doctest examples:" msgstr "" -#: library/doctest.rst:1596 +#: library/doctest.rst:1618 msgid "" "Several functions convert doctests to executable Python programs, which can " "be run under the Python debugger, :mod:`pdb`." msgstr "" -#: library/doctest.rst:1599 +#: library/doctest.rst:1621 msgid "" "The :class:`DebugRunner` class is a subclass of :class:`DocTestRunner` that " "raises an exception for the first failing example, containing information " @@ -2163,13 +2180,13 @@ msgid "" "debugging on the example." msgstr "" -#: library/doctest.rst:1604 +#: library/doctest.rst:1626 msgid "" "The :mod:`unittest` cases generated by :func:`DocTestSuite` support the :" "meth:`debug` method defined by :class:`unittest.TestCase`." msgstr "" -#: library/doctest.rst:1607 +#: library/doctest.rst:1629 msgid "" "You can add a call to :func:`pdb.set_trace` in a doctest example, and you'll " "drop into the Python debugger when that line is executed. Then you can " @@ -2177,7 +2194,7 @@ msgid "" "`a.py` contains just this module docstring::" msgstr "" -#: library/doctest.rst:1612 +#: library/doctest.rst:1634 msgid "" "\"\"\"\n" ">>> def f(x):\n" @@ -2190,11 +2207,11 @@ msgid "" "\"\"\"" msgstr "" -#: library/doctest.rst:1622 +#: library/doctest.rst:1644 msgid "Then an interactive Python session may look like this::" msgstr "" -#: library/doctest.rst:1624 +#: library/doctest.rst:1646 msgid "" ">>> import a, doctest\n" ">>> doctest.testmod(a)\n" @@ -2227,17 +2244,17 @@ msgid "" ">>>" msgstr "" -#: library/doctest.rst:1655 +#: library/doctest.rst:1677 msgid "" "Functions that convert doctests to Python code, and possibly run the " "synthesized code under the debugger:" msgstr "" -#: library/doctest.rst:1661 +#: library/doctest.rst:1683 msgid "Convert text with examples to a script." msgstr "" -#: library/doctest.rst:1663 +#: library/doctest.rst:1685 msgid "" "Argument *s* is a string containing doctest examples. The string is " "converted to a Python script, where doctest examples in *s* are converted to " @@ -2245,7 +2262,7 @@ msgid "" "generated script is returned as a string. For example, ::" msgstr "" -#: library/doctest.rst:1668 +#: library/doctest.rst:1690 msgid "" "import doctest\n" "print(doctest.script_from_examples(r\"\"\"\n" @@ -2258,11 +2275,11 @@ msgid "" "\"\"\"))" msgstr "" -#: library/doctest.rst:1678 +#: library/doctest.rst:1700 msgid "displays::" msgstr "" -#: library/doctest.rst:1680 +#: library/doctest.rst:1702 msgid "" "# Set x and y to 1 and 2.\n" "x, y = 1, 2\n" @@ -2273,18 +2290,18 @@ msgid "" "## 3" msgstr "" -#: library/doctest.rst:1688 +#: library/doctest.rst:1710 msgid "" "This function is used internally by other functions (see below), but can " "also be useful when you want to transform an interactive Python session into " "a Python script." msgstr "" -#: library/doctest.rst:1695 +#: library/doctest.rst:1717 msgid "Convert the doctest for an object to a script." msgstr "" -#: library/doctest.rst:1697 +#: library/doctest.rst:1719 msgid "" "Argument *module* is a module object, or dotted name of a module, containing " "the object whose doctests are of interest. Argument *name* is the name " @@ -2294,23 +2311,23 @@ msgid "" "module :file:`a.py` contains a top-level function :func:`!f`, then ::" msgstr "" -#: library/doctest.rst:1704 +#: library/doctest.rst:1726 msgid "" "import a, doctest\n" "print(doctest.testsource(a, \"a.f\"))" msgstr "" -#: library/doctest.rst:1707 +#: library/doctest.rst:1729 msgid "" "prints a script version of function :func:`!f`'s docstring, with doctests " "converted to code, and the rest placed in comments." msgstr "" -#: library/doctest.rst:1713 +#: library/doctest.rst:1735 msgid "Debug the doctests for an object." msgstr "" -#: library/doctest.rst:1715 +#: library/doctest.rst:1737 msgid "" "The *module* and *name* arguments are the same as for function :func:" "`testsource` above. The synthesized Python script for the named object's " @@ -2318,13 +2335,13 @@ msgid "" "the control of the Python debugger, :mod:`pdb`." msgstr "" -#: library/doctest.rst:1720 +#: library/doctest.rst:1742 msgid "" "A shallow copy of ``module.__dict__`` is used for both local and global " "execution context." msgstr "" -#: library/doctest.rst:1723 +#: library/doctest.rst:1745 msgid "" "Optional argument *pm* controls whether post-mortem debugging is used. If " "*pm* has a true value, the script file is run directly, and the debugger " @@ -2336,30 +2353,30 @@ msgid "" "to :func:`pdb.run`." msgstr "" -#: library/doctest.rst:1734 +#: library/doctest.rst:1756 msgid "Debug the doctests in a string." msgstr "" -#: library/doctest.rst:1736 +#: library/doctest.rst:1758 msgid "" "This is like function :func:`debug` above, except that a string containing " "doctest examples is specified directly, via the *src* argument." msgstr "" -#: library/doctest.rst:1739 +#: library/doctest.rst:1761 msgid "" "Optional argument *pm* has the same meaning as in function :func:`debug` " "above." msgstr "" -#: library/doctest.rst:1741 +#: library/doctest.rst:1763 msgid "" "Optional argument *globs* gives a dictionary to use as both local and global " "execution context. If not specified, or ``None``, an empty dictionary is " "used. If specified, a shallow copy of the dictionary is used." msgstr "" -#: library/doctest.rst:1746 +#: library/doctest.rst:1768 msgid "" "The :class:`DebugRunner` class, and the special exceptions it may raise, are " "of most interest to testing framework authors, and will only be sketched " @@ -2367,7 +2384,7 @@ msgid "" "(which is a doctest!) for more details:" msgstr "" -#: library/doctest.rst:1754 +#: library/doctest.rst:1776 msgid "" "A subclass of :class:`DocTestRunner` that raises an exception as soon as a " "failure is encountered. If an unexpected exception occurs, an :exc:" @@ -2377,89 +2394,89 @@ msgid "" "the actual output." msgstr "" -#: library/doctest.rst:1761 +#: library/doctest.rst:1783 msgid "" "For information about the constructor parameters and methods, see the " "documentation for :class:`DocTestRunner` in section :ref:`doctest-advanced-" "api`." msgstr "" -#: library/doctest.rst:1764 +#: library/doctest.rst:1786 msgid "" "There are two exceptions that may be raised by :class:`DebugRunner` " "instances:" msgstr "" -#: library/doctest.rst:1769 +#: library/doctest.rst:1791 msgid "" "An exception raised by :class:`DocTestRunner` to signal that a doctest " "example's actual output did not match its expected output. The constructor " "arguments are used to initialize the attributes of the same names." msgstr "" -#: library/doctest.rst:1773 +#: library/doctest.rst:1795 msgid ":exc:`DocTestFailure` defines the following attributes:" msgstr "" -#: library/doctest.rst:1802 +#: library/doctest.rst:1824 msgid "The :class:`DocTest` object that was being run when the example failed." msgstr "" -#: library/doctest.rst:1807 +#: library/doctest.rst:1829 msgid "The :class:`Example` that failed." msgstr "" -#: library/doctest.rst:1788 +#: library/doctest.rst:1810 msgid "The example's actual output." msgstr "" -#: library/doctest.rst:1793 +#: library/doctest.rst:1815 msgid "" "An exception raised by :class:`DocTestRunner` to signal that a doctest " "example raised an unexpected exception. The constructor arguments are used " "to initialize the attributes of the same names." msgstr "" -#: library/doctest.rst:1797 +#: library/doctest.rst:1819 msgid ":exc:`UnexpectedException` defines the following attributes:" msgstr "" -#: library/doctest.rst:1812 +#: library/doctest.rst:1834 msgid "" "A tuple containing information about the unexpected exception, as returned " "by :func:`sys.exc_info`." msgstr "" -#: library/doctest.rst:1819 +#: library/doctest.rst:1841 msgid "Soapbox" msgstr "" -#: library/doctest.rst:1821 +#: library/doctest.rst:1843 msgid "" "As mentioned in the introduction, :mod:`doctest` has grown to have three " "primary uses:" msgstr "" -#: library/doctest.rst:1824 +#: library/doctest.rst:1846 msgid "Checking examples in docstrings." msgstr "" -#: library/doctest.rst:1826 +#: library/doctest.rst:1848 msgid "Regression testing." msgstr "" -#: library/doctest.rst:1828 +#: library/doctest.rst:1850 msgid "Executable documentation / literate testing." msgstr "" -#: library/doctest.rst:1830 +#: library/doctest.rst:1852 msgid "" "These uses have different requirements, and it is important to distinguish " "them. In particular, filling your docstrings with obscure test cases makes " "for bad documentation." msgstr "" -#: library/doctest.rst:1834 +#: library/doctest.rst:1856 msgid "" "When writing a docstring, choose docstring examples with care. There's an " "art to this that needs to be learned---it may not be natural at first. " @@ -2471,7 +2488,7 @@ msgid "" "\"harmless\" change." msgstr "" -#: library/doctest.rst:1842 +#: library/doctest.rst:1864 msgid "" "Doctest also makes an excellent tool for regression testing, especially if " "you don't skimp on explanatory text. By interleaving prose and examples, it " @@ -2492,13 +2509,13 @@ msgid "" "different results, blurring the distinction between testing and explaining." msgstr "" -#: library/doctest.rst:1860 +#: library/doctest.rst:1882 msgid "" "Regression testing is best confined to dedicated objects or files. There " "are several options for organizing tests:" msgstr "" -#: library/doctest.rst:1863 +#: library/doctest.rst:1885 msgid "" "Write text files containing test cases as interactive examples, and test the " "files using :func:`testfile` or :func:`DocFileSuite`. This is recommended, " @@ -2506,7 +2523,7 @@ msgid "" "doctest." msgstr "" -#: library/doctest.rst:1868 +#: library/doctest.rst:1890 msgid "" "Define functions named ``_regrtest_topic`` that consist of single " "docstrings, containing test cases for the named topics. These functions can " @@ -2514,13 +2531,13 @@ msgid "" "test file." msgstr "" -#: library/doctest.rst:1872 +#: library/doctest.rst:1894 msgid "" "Define a ``__test__`` dictionary mapping from regression test topics to " "docstrings containing test cases." msgstr "" -#: library/doctest.rst:1875 +#: library/doctest.rst:1897 msgid "" "When you have placed your tests in a module, the module can itself be the " "test runner. When a test fails, you can arrange for your test runner to re-" @@ -2528,7 +2545,7 @@ msgid "" "example of such a test runner::" msgstr "" -#: library/doctest.rst:1880 +#: library/doctest.rst:1902 msgid "" "if __name__ == '__main__':\n" " import doctest\n" @@ -2546,53 +2563,53 @@ msgid "" " print(\"{} failures out of {} tests\".format(fail, total))" msgstr "" -#: library/doctest.rst:1897 +#: library/doctest.rst:1919 msgid "Footnotes" msgstr "" -#: library/doctest.rst:1898 +#: library/doctest.rst:1920 msgid "" "Examples containing both expected output and an exception are not supported. " "Trying to guess where one ends and the other begins is too error-prone, and " "that also makes for a confusing test." msgstr "" -#: library/doctest.rst:339 +#: library/doctest.rst:369 msgid ">>>" msgstr "" -#: library/doctest.rst:339 +#: library/doctest.rst:369 msgid "interpreter prompt" msgstr "" -#: library/doctest.rst:577 +#: library/doctest.rst:604 msgid "..." msgstr "" -#: library/doctest.rst:505 +#: library/doctest.rst:535 msgid "^ (caret)" msgstr "" -#: library/doctest.rst:505 +#: library/doctest.rst:535 msgid "marker" msgstr "" -#: library/doctest.rst:557 +#: library/doctest.rst:584 msgid "" msgstr "" -#: library/doctest.rst:707 +#: library/doctest.rst:729 msgid "in doctests" msgstr "" -#: library/doctest.rst:707 +#: library/doctest.rst:729 msgid "# (hash)" msgstr "" -#: library/doctest.rst:707 +#: library/doctest.rst:729 msgid "+ (plus)" msgstr "" -#: library/doctest.rst:707 +#: library/doctest.rst:729 msgid "- (minus)" msgstr "" diff --git a/library/email.charset.po b/library/email.charset.po index 97146341..e0bc41eb 100644 --- a/library/email.charset.po +++ b/library/email.charset.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2025-01-27 01:00+0200\n" "Last-Translator: Marios Giannopoulos \n" "Language-Team: PyGreece \n" diff --git a/library/email.compat32-message.po b/library/email.compat32-message.po index fbe2d684..2eab10cb 100644 --- a/library/email.compat32-message.po +++ b/library/email.compat32-message.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/email.contentmanager.po b/library/email.contentmanager.po index 705aca92..56962309 100644 --- a/library/email.contentmanager.po +++ b/library/email.contentmanager.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/email.encoders.po b/library/email.encoders.po index 2f7bc9f7..6aa28977 100644 --- a/library/email.encoders.po +++ b/library/email.encoders.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/email.errors.po b/library/email.errors.po index cfa2879d..0d5d7571 100644 --- a/library/email.errors.po +++ b/library/email.errors.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-12-14 01:00+0200\n" "Last-Translator: Marios Giannopoulos \n" "Language-Team: PyGreece \n" @@ -79,41 +79,26 @@ msgstr "Έχει καταργηθεί και δεν χρησιμοποιείτα #: library/email.errors.rst:48 msgid "" -"Raised when a payload is added to a :class:`~email.message.Message` object " -"using :meth:`add_payload`, but the payload is already a scalar and the " -"message's :mailheader:`Content-Type` main type is not either :mimetype:" -"`multipart` or missing. :exc:`MultipartConversionError` multiply inherits " -"from :exc:`MessageError` and the built-in :exc:`TypeError`." +"Raised if the :meth:`~email.message.Message.attach` method is called on an " +"instance of a class derived from :class:`~email.mime.nonmultipart." +"MIMENonMultipart` (e.g. :class:`~email.mime.image.MIMEImage`). :exc:" +"`MultipartConversionError` multiply inherits from :exc:`MessageError` and " +"the built-in :exc:`TypeError`." msgstr "" -"Γίνεται raise όταν προστεθεί ένα payload σε ένα αντικείμενο :class:`~email." -"message.Message` χρησιμοποιώντας τη μέθοδο :meth:`add_payload`, αλλά το " -"payload είναι ήδη scalar και ο κύριος τύπος του :mailheader:`Content-Type` " -"μηνύματος δεν είναι ούτε :mimetype:`multipart` ούτε απών. Η :exc:" -"`MultipartConversionError` κληρονομεί ταυτόχρονα από την :exc:`MessageError` " -"και την ενσωματωμένη :exc:`TypeError`." +"Γίνεται raise εάν η μέθοδος :meth:`~email.message.Message.attach` καλείται " +"σε ένα στιγμιότυπο μιας κλάσης που προέρχεται από τη :class:`~email.mime." +"nonmultipart.MIMENonMultipart` (π.χ. :class:`~email.mime.image.MIMEImage`). " +"Η :exc:`MultipartConversionError` κληρονομεί ταυτόχρονα από την :exc:" +"`MessageError` και την ενσωματωμένη :exc:`TypeError`." -#: library/email.errors.rst:54 -msgid "" -"Since :meth:`Message.add_payload` is deprecated, this exception is rarely " -"raised in practice. However the exception may also be raised if the :meth:" -"`~email.message.Message.attach` method is called on an instance of a class " -"derived from :class:`~email.mime.nonmultipart.MIMENonMultipart` (e.g. :class:" -"`~email.mime.image.MIMEImage`)." -msgstr "" -"Επειδή η μέθοδος :meth:`Message.add_payload` έχει ξεπεραστεί, αυτή η " -"εξαίρεση σπάνια εμφανίζεται στην πράξη. Ωστόσο, η εξαίρεση μπορεί επίσης να " -"εμφανιστεί αν κληθεί η μέθοδος :meth:`~email.message.Message.attach` σε ένα " -"στιγμιότυπο μιας κλάσης που κληρονομεί από :class:`~email.mime.nonmultipart." -"MIMENonMultipart` (π.χ. :class:`~email.mime.image.MIMEImage`)." - -#: library/email.errors.rst:64 +#: library/email.errors.rst:58 msgid "" "Raised when an error occurs when the :mod:`~email.generator` outputs headers." msgstr "" "Γίνεται raise όταν παρουσιάζεται σφάλμα όταν το :mod:`~email.generator` " "εξάγει κεφαλίδες." -#: library/email.errors.rst:70 +#: library/email.errors.rst:64 msgid "" "This is the base class for all defects found when parsing email messages. It " "is derived from :exc:`ValueError`." @@ -121,7 +106,7 @@ msgstr "" "Αυτή είναι η βασική κλάση για όλα τα ελαττώματα που εντοπίζονται κατά την " "ανάλυση μηνυμάτων email. Είναι παράγωγη της :exc:`ValueError`." -#: library/email.errors.rst:75 +#: library/email.errors.rst:69 msgid "" "This is the base class for all defects found when parsing email headers. It " "is derived from :exc:`MessageDefect`." @@ -129,7 +114,7 @@ msgstr "" "Αυτή είναι η βασική κλάση για όλα τα ελαττώματα που εντοπίζονται κατά την " "ανάλυση των κεφαλίδων email. Είναι παράγωγο της :exc:`MessageDefect`." -#: library/email.errors.rst:78 +#: library/email.errors.rst:72 msgid "" "Here is the list of the defects that the :class:`~email.parser.FeedParser` " "can find while parsing messages. Note that the defects are added to the " @@ -145,128 +130,129 @@ msgstr "" "alternative` είχε μια παραμορφωμένη κεφαλίδα, αυτό το ένθετο αντικείμενο " "μηνύματος θα είχε ένα ελάττωμα, αλλά τα μηνύματα που το περιέχουν όχι." -#: library/email.errors.rst:84 +#: library/email.errors.rst:78 msgid "" "All defect classes are subclassed from :class:`email.errors.MessageDefect`." msgstr "" "Όλες οι κλάσεις ελαττωμάτων είναι υποκλάσεις της :class:`email.errors." "MessageDefect`." -#: library/email.errors.rst:86 +#: library/email.errors.rst:82 msgid "" -":class:`NoBoundaryInMultipartDefect` -- A message claimed to be a multipart, " -"but had no :mimetype:`boundary` parameter." +"A message claimed to be a multipart, but had no :mimetype:`boundary` " +"parameter." msgstr "" -":class:`NoBoundaryInMultipartDefect` -- Ένα μήνυμα δήλωσε ότι είναι " -"πολλαπλό, αλλά δεν είχε παράμετρο :mimetype:`boundary`." +"Ένα μήνυμα ισχυριζόταν ότι ήταν πολυμερές, αλλά δεν είχε παράμετρο :mimetype:" +"`boundary`." -#: library/email.errors.rst:89 +#: library/email.errors.rst:87 msgid "" -":class:`StartBoundaryNotFoundDefect` -- The start boundary claimed in the :" -"mailheader:`Content-Type` header was never found." +"The start boundary claimed in the :mailheader:`Content-Type` header was " +"never found." msgstr "" -":class:`StartBoundaryNotFoundDefect` -- Το όριο εκκίνησης που αναφέρεται " -"στην κεφαλίδα :mailheader:`Content-Type` δεν βρέθηκε ποτέ." +"Το όριο εκκίνησης που αναφέρεται στην κεφαλίδα :mailheader:`Content-Type` " +"δεν βρέθηκε ποτέ." #: library/email.errors.rst:92 msgid "" -":class:`CloseBoundaryNotFoundDefect` -- A start boundary was found, but no " -"corresponding close boundary was ever found." -msgstr "" -":class:`CloseBoundaryNotFoundDefect` -- Βρέθηκε ένα όριο εκκίνησης, αλλά δεν " -"βρέθηκε ποτέ αντίστοιχο όριο κλεισίματος." - -#: library/email.errors.rst:97 -msgid "" -":class:`FirstHeaderLineIsContinuationDefect` -- The message had a " -"continuation line as its first header line." +"A start boundary was found, but no corresponding close boundary was ever " +"found." msgstr "" -":class:`FirstHeaderLineIsContinuationDefect` -- Το μήνυμα είχε μια γραμμή " -"συνέχισης ως την πρώτη γραμμή κεφαλίδας." +"Βρέθηκε ένα όριο εκκίνησης, αλλά δεν βρέθηκε ποτέ αντίστοιχο όριο " +"κλεισίματος." -#: library/email.errors.rst:100 -msgid "" -":class:`MisplacedEnvelopeHeaderDefect` - A \"Unix From\" header was found in " -"the middle of a header block." -msgstr "" -":class:`MisplacedEnvelopeHeaderDefect` - Βρέθηκε μια κεφαλίδα \"Unix From\" " -"στη μέση ενός μπλοκ κεφαλίδων." +#: library/email.errors.rst:99 +msgid "The message had a continuation line as its first header line." +msgstr "Το μήνυμα είχε μια γραμμή συνέχισης ως την πρώτη γραμμή κεφαλίδας." #: library/email.errors.rst:103 +msgid "A \"Unix From\" header was found in the middle of a header block." +msgstr "Βρέθηκε μια κεφαλίδα \"Unix From\" στη μέση ενός μπλοκ κεφαλίδων." + +#: library/email.errors.rst:107 msgid "" -":class:`MissingHeaderBodySeparatorDefect` - A line was found while parsing " -"headers that had no leading white space but contained no ':'. Parsing " -"continues assuming that the line represents the first line of the body." +"A line was found while parsing headers that had no leading white space but " +"contained no ':'. Parsing continues assuming that the line represents the " +"first line of the body." msgstr "" -":class:`MissingHeaderBodySeparatorDefect` - Βρέθηκε μια γραμμή κατά την " -"ανάλυση των κεφαλίδων που δεν είχε αρχικό κενό αλλά δεν περιείχε ':'. Η " -"ανάλυση συνεχίζεται στην περίπτωση που η γραμμή αντιπροσωπεύει την πρώτη " -"γραμμή του σώματος." +"Βρέθηκε μια γραμμή κατά την ανάλυση των κεφαλίδων που δεν είχε αρχικό κενό " +"αλλά δεν περιείχε ':'. Η ανάλυση συνεχίζεται στην περίπτωση που η γραμμή " +"αντιπροσωπεύει την πρώτη γραμμή του σώματος." -#: library/email.errors.rst:109 +#: library/email.errors.rst:115 msgid "" -":class:`MalformedHeaderDefect` -- A header was found that was missing a " -"colon, or was otherwise malformed." +"A header was found that was missing a colon, or was otherwise malformed." msgstr "" -":class:`MalformedHeaderDefect` -- Βρέθηκε μια κεφαλίδα που της έλειπε μια " -"άνω τελεία, ή ήταν αλλιώς παραμορφωμένη." +"Βρέθηκε μια κεφαλίδα που της έλειπε μια άνω τελεία, ή ήταν αλλιώς " +"παραμορφωμένη." -#: library/email.errors.rst:112 +#: library/email.errors.rst:117 msgid "This defect has not been used for several Python versions." msgstr "" "Αυτό το σφάλμα δεν έχει χρησιμοποιηθεί εδώ και πολλές εκδόσεις της Python." -#: library/email.errors.rst:115 +#: library/email.errors.rst:122 msgid "" -":class:`MultipartInvariantViolationDefect` -- A message claimed to be a :" -"mimetype:`multipart`, but no subparts were found. Note that when a message " -"has this defect, its :meth:`~email.message.Message.is_multipart` method may " -"return ``False`` even though its content type claims to be :mimetype:" -"`multipart`." +"A message claimed to be a :mimetype:`multipart`, but no subparts were found. " +"Note that when a message has this defect, its :meth:`~email.message.Message." +"is_multipart` method may return ``False`` even though its content type " +"claims to be :mimetype:`multipart`." msgstr "" -":class:`MultipartInvariantViolationDefect` -- Ένα μήνυμα δήλωσε ότι είναι :" -"mimetype:`multipart`, αλλά δεν βρέθηκαν υπομέρη. Σημειώστε ότι όταν ένα " -"μήνυμα έχει αυτό το σφάλμα, η μέθοδος του :meth:`~email.message.Message." -"is_multipart` μπορεί να επιστρέψει ``False`` ακόμα κι αν ο τύπος " -"περιεχομένου του δηλώνει ότι είναι :mimetype:`multipart`." +"Ένα μήνυμα δήλωσε ότι είναι :mimetype:`multipart`, αλλά δεν βρέθηκαν " +"υπομέρη. Σημειώστε ότι όταν ένα μήνυμα έχει αυτό το σφάλμα, η μέθοδος του :" +"meth:`~email.message.Message.is_multipart` μπορεί να επιστρέψει ``False`` " +"ακόμα κι αν ο τύπος περιεχομένου του δηλώνει ότι είναι :mimetype:`multipart`." -#: library/email.errors.rst:120 +#: library/email.errors.rst:129 msgid "" -":class:`InvalidBase64PaddingDefect` -- When decoding a block of base64 " -"encoded bytes, the padding was not correct. Enough padding is added to " -"perform the decode, but the resulting decoded bytes may be invalid." +"When decoding a block of base64 encoded bytes, the padding was not correct. " +"Enough padding is added to perform the decode, but the resulting decoded " +"bytes may be invalid." msgstr "" -":class:`InvalidBase64PaddingDefect` -- Όταν αποκωδικοποιείται ένα μπλοκ από " -"base64 κωδικοποιημένα bytes, η προσθήκη padding δεν ήταν σωστή. Προστίθεται " -"αρκετό padding για να πραγματοποιηθεί η αποκωδικοποίηση, αλλά τα " -"αποκωδικοποιημένα bytes που προκύπτουν μπορεί να είναι άκυρα." +"Όταν αποκωδικοποιείται ένα μπλοκ από base64 κωδικοποιημένα bytes, η προσθήκη " +"padding δεν ήταν σωστή. Προστίθεται αρκετό padding για να πραγματοποιηθεί η " +"αποκωδικοποίηση, αλλά τα αποκωδικοποιημένα bytes που προκύπτουν μπορεί να " +"είναι άκυρα." -#: library/email.errors.rst:124 +#: library/email.errors.rst:135 msgid "" -":class:`InvalidBase64CharactersDefect` -- When decoding a block of base64 " -"encoded bytes, characters outside the base64 alphabet were encountered. The " -"characters are ignored, but the resulting decoded bytes may be invalid." +"When decoding a block of base64 encoded bytes, characters outside the base64 " +"alphabet were encountered. The characters are ignored, but the resulting " +"decoded bytes may be invalid." msgstr "" -":class:`InvalidBase64CharactersDefect` -- Όταν αποκωδικοποιείται ένα μπλοκ " -"από base64 κωδικοποιημένα bytes, συναντήθηκαν χαρακτήρες εκτός του αλφαβήτου " -"base64. Οι χαρακτήρες αγνοούνται, αλλά τα αποκωδικοποιημένα bytes που " -"προκύπτουν μπορεί να είναι άκυρα." +"Όταν αποκωδικοποιείται ένα μπλοκ από base64 κωδικοποιημένα bytes, " +"συναντήθηκαν χαρακτήρες εκτός του αλφαβήτου base64. Οι χαρακτήρες " +"αγνοούνται, αλλά τα αποκωδικοποιημένα bytes που προκύπτουν μπορεί να είναι " +"άκυρα." -#: library/email.errors.rst:128 +#: library/email.errors.rst:141 msgid "" -":class:`InvalidBase64LengthDefect` -- When decoding a block of base64 " -"encoded bytes, the number of non-padding base64 characters was invalid (1 " -"more than a multiple of 4). The encoded block was kept as-is." +"When decoding a block of base64 encoded bytes, the number of non-padding " +"base64 characters was invalid (1 more than a multiple of 4). The encoded " +"block was kept as-is." msgstr "" -":class:`InvalidBase64LengthDefect` -- Όταν αποκωδικοποιείται ένα μπλοκ από " -"base64 κωδικοποιημένα bytes, ο αριθμός των χαρακτήρων base64 χωρίς " -"συμπλήρωμα ήταν άκυρος (1 παραπάνω από ένα πολλαπλάσιο του 4). Το " -"κωδικοποιημένο μπλοκ διατηρήθηκε ως έχει." +"Όταν αποκωδικοποιείται ένα μπλοκ από base64 κωδικοποιημένα bytes, ο αριθμός " +"των χαρακτήρων base64 χωρίς συμπλήρωμα ήταν άκυρος (1 παραπάνω από ένα " +"πολλαπλάσιο του 4). Το κωδικοποιημένο μπλοκ διατηρήθηκε ως έχει." -#: library/email.errors.rst:132 +#: library/email.errors.rst:147 msgid "" -":class:`InvalidDateDefect` -- When decoding an invalid or unparsable date " -"field. The original value is kept as-is." +"When decoding an invalid or unparsable date field. The original value is " +"kept as-is." msgstr "" -":class:`InvalidDateDefect` -- Όταν αποκωδικοποιείται ένα άκυρο ή μη " -"αναγνώσιμο πεδίο ημερομηνίας. Η αρχική τιμή διατηρείται ως έχει." +"Όταν αποκωδικοποιείται ένα άκυρο ή μη αναγνώσιμο πεδίο ημερομηνίας. Η αρχική " +"τιμή διατηρείται ως έχει." + +#~ msgid "" +#~ "Since :meth:`Message.add_payload` is deprecated, this exception is rarely " +#~ "raised in practice. However the exception may also be raised if the :" +#~ "meth:`~email.message.Message.attach` method is called on an instance of a " +#~ "class derived from :class:`~email.mime.nonmultipart.MIMENonMultipart` (e." +#~ "g. :class:`~email.mime.image.MIMEImage`)." +#~ msgstr "" +#~ "Επειδή η μέθοδος :meth:`Message.add_payload` έχει ξεπεραστεί, αυτή η " +#~ "εξαίρεση σπάνια εμφανίζεται στην πράξη. Ωστόσο, η εξαίρεση μπορεί επίσης " +#~ "να εμφανιστεί αν κληθεί η μέθοδος :meth:`~email.message.Message.attach` " +#~ "σε ένα στιγμιότυπο μιας κλάσης που κληρονομεί από :class:`~email.mime." +#~ "nonmultipart.MIMENonMultipart` (π.χ. :class:`~email.mime.image." +#~ "MIMEImage`)." diff --git a/library/email.examples.po b/library/email.examples.po index 05e10d50..14978fbf 100644 --- a/library/email.examples.po +++ b/library/email.examples.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -339,7 +339,7 @@ msgid "" " recipie\n" " déjeuner.\n" "

\n" -" \n" +" \n" " \n" "\n" "\"\"\".format(asparagus_cid=asparagus_cid[1:-1]), subtype='html')\n" diff --git a/library/email.generator.po b/library/email.generator.po index 1db6c2ac..15ff342b 100644 --- a/library/email.generator.po +++ b/library/email.generator.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/email.header.po b/library/email.header.po index f1bcbe4c..76f6c5a6 100644 --- a/library/email.header.po +++ b/library/email.header.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/email.headerregistry.po b/library/email.headerregistry.po index 9dd982a7..c242c1df 100644 --- a/library/email.headerregistry.po +++ b/library/email.headerregistry.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/email.iterators.po b/library/email.iterators.po index 0c0257b3..216abc20 100644 --- a/library/email.iterators.po +++ b/library/email.iterators.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/email.message.po b/library/email.message.po index ea4d4552..87580566 100644 --- a/library/email.message.po +++ b/library/email.message.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/email.mime.po b/library/email.mime.po index ad852299..670b7dd1 100644 --- a/library/email.mime.po +++ b/library/email.mime.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/email.parser.po b/library/email.parser.po index e9ed80ee..91619075 100644 --- a/library/email.parser.po +++ b/library/email.parser.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -327,7 +327,7 @@ msgstr "" #: library/email.parser.rst:286 msgid "" ">>> import email\n" -">>> msg = email.message_from_bytes(myBytes) " +">>> msg = email.message_from_bytes(myBytes)" msgstr "" #: library/email.parser.rst:291 diff --git a/library/email.po b/library/email.po index 23e369dc..0f553394 100644 --- a/library/email.po +++ b/library/email.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/email.policy.po b/library/email.policy.po index 57331bb8..edf4d97e 100644 --- a/library/email.policy.po +++ b/library/email.policy.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/email.utils.po b/library/email.utils.po index 4d817436..b3081dc3 100644 --- a/library/email.utils.po +++ b/library/email.utils.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/ensurepip.po b/library/ensurepip.po index a4f2517b..71713e8e 100644 --- a/library/ensurepip.po +++ b/library/ensurepip.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -80,20 +80,20 @@ msgstr "" msgid "Command line interface" msgstr "" -#: library/ensurepip.rst:46 +#: library/ensurepip.rst:48 msgid "" "The command line interface is invoked using the interpreter's ``-m`` switch." msgstr "" -#: library/ensurepip.rst:48 +#: library/ensurepip.rst:50 msgid "The simplest possible invocation is::" msgstr "" -#: library/ensurepip.rst:50 +#: library/ensurepip.rst:52 msgid "python -m ensurepip" msgstr "" -#: library/ensurepip.rst:52 +#: library/ensurepip.rst:54 msgid "" "This invocation will install ``pip`` if it is not already installed, but " "otherwise does nothing. To ensure the installed version of ``pip`` is at " @@ -101,11 +101,11 @@ msgid "" "upgrade`` option::" msgstr "" -#: library/ensurepip.rst:57 +#: library/ensurepip.rst:59 msgid "python -m ensurepip --upgrade" msgstr "" -#: library/ensurepip.rst:59 +#: library/ensurepip.rst:61 msgid "" "By default, ``pip`` is installed into the current virtual environment (if " "one is active) or into the system site packages (if there is no active " @@ -113,122 +113,122 @@ msgid "" "two additional command line options:" msgstr "" -#: library/ensurepip.rst:64 +#: library/ensurepip.rst:68 msgid "" -":samp:`--root {dir}`: Installs ``pip`` relative to the given root directory " -"rather than the root of the currently active virtual environment (if any) or " -"the default root for the current Python installation." +"Installs ``pip`` relative to the given root directory rather than the root " +"of the currently active virtual environment (if any) or the default root for " +"the current Python installation." msgstr "" -#: library/ensurepip.rst:67 +#: library/ensurepip.rst:74 msgid "" -"``--user``: Installs ``pip`` into the user site packages directory rather " -"than globally for the current Python installation (this option is not " -"permitted inside an active virtual environment)." +"Installs ``pip`` into the user site packages directory rather than globally " +"for the current Python installation (this option is not permitted inside an " +"active virtual environment)." msgstr "" -#: library/ensurepip.rst:71 +#: library/ensurepip.rst:78 msgid "" "By default, the scripts ``pipX`` and ``pipX.Y`` will be installed (where X.Y " "stands for the version of Python used to invoke ``ensurepip``). The scripts " "installed can be controlled through two additional command line options:" msgstr "" -#: library/ensurepip.rst:76 +#: library/ensurepip.rst:85 msgid "" -"``--altinstall``: if an alternate installation is requested, the ``pipX`` " -"script will *not* be installed." +"If an alternate installation is requested, the ``pipX`` script will *not* be " +"installed." msgstr "" -#: library/ensurepip.rst:79 +#: library/ensurepip.rst:90 msgid "" -"``--default-pip``: if a \"default pip\" installation is requested, the " -"``pip`` script will be installed in addition to the two regular scripts." +"If a \"default pip\" installation is requested, the ``pip`` script will be " +"installed in addition to the two regular scripts." msgstr "" -#: library/ensurepip.rst:82 +#: library/ensurepip.rst:93 msgid "" "Providing both of the script selection options will trigger an exception." msgstr "" -#: library/ensurepip.rst:86 +#: library/ensurepip.rst:96 msgid "Module API" msgstr "" -#: library/ensurepip.rst:88 +#: library/ensurepip.rst:98 msgid ":mod:`ensurepip` exposes two functions for programmatic use:" msgstr "" -#: library/ensurepip.rst:92 +#: library/ensurepip.rst:102 msgid "" "Returns a string specifying the available version of pip that will be " "installed when bootstrapping an environment." msgstr "" -#: library/ensurepip.rst:99 +#: library/ensurepip.rst:109 msgid "Bootstraps ``pip`` into the current or designated environment." msgstr "" -#: library/ensurepip.rst:101 +#: library/ensurepip.rst:111 msgid "" "*root* specifies an alternative root directory to install relative to. If " "*root* is ``None``, then installation uses the default install location for " "the current environment." msgstr "" -#: library/ensurepip.rst:105 +#: library/ensurepip.rst:115 msgid "" "*upgrade* indicates whether or not to upgrade an existing installation of an " "earlier version of ``pip`` to the available version." msgstr "" -#: library/ensurepip.rst:108 +#: library/ensurepip.rst:118 msgid "" "*user* indicates whether to use the user scheme rather than installing " "globally." msgstr "" -#: library/ensurepip.rst:111 +#: library/ensurepip.rst:121 msgid "" "By default, the scripts ``pipX`` and ``pipX.Y`` will be installed (where X.Y " "stands for the current version of Python)." msgstr "" -#: library/ensurepip.rst:114 +#: library/ensurepip.rst:124 msgid "If *altinstall* is set, then ``pipX`` will *not* be installed." msgstr "" -#: library/ensurepip.rst:116 +#: library/ensurepip.rst:126 msgid "" "If *default_pip* is set, then ``pip`` will be installed in addition to the " "two regular scripts." msgstr "" -#: library/ensurepip.rst:119 +#: library/ensurepip.rst:129 msgid "" "Setting both *altinstall* and *default_pip* will trigger :exc:`ValueError`." msgstr "" -#: library/ensurepip.rst:122 +#: library/ensurepip.rst:132 msgid "" "*verbosity* controls the level of output to :data:`sys.stdout` from the " "bootstrapping operation." msgstr "" -#: library/ensurepip.rst:125 +#: library/ensurepip.rst:135 msgid "" "Raises an :ref:`auditing event ` ``ensurepip.bootstrap`` with " "argument ``root``." msgstr "" -#: library/ensurepip.rst:129 +#: library/ensurepip.rst:139 msgid "" "The bootstrapping process has side effects on both ``sys.path`` and ``os." "environ``. Invoking the command line interface in a subprocess instead " "allows these side effects to be avoided." msgstr "" -#: library/ensurepip.rst:135 +#: library/ensurepip.rst:145 msgid "" "The bootstrapping process may install additional modules required by " "``pip``, but other software should not assume those dependencies will always " diff --git a/library/enum.po b/library/enum.po index f1d19214..05dad115 100644 --- a/library/enum.po +++ b/library/enum.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/errno.po b/library/errno.po index ee2719f5..79160f7e 100644 --- a/library/errno.po +++ b/library/errno.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/exceptions.po b/library/exceptions.po index e963f20f..f259d47c 100644 --- a/library/exceptions.po +++ b/library/exceptions.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -390,19 +390,19 @@ msgstr "" #: library/exceptions.rst:338 msgid "" -"``NotImplementedError`` and :data:`NotImplemented` are not interchangeable, " -"even though they have similar names and purposes. See :data:`!" -"NotImplemented` for details on when to use it." +":exc:`!NotImplementedError` and :data:`!NotImplemented` are not " +"interchangeable. This exception should only be used as described above; see :" +"data:`NotImplemented` for details on correct usage of the built-in constant." msgstr "" -#: library/exceptions.rst:347 +#: library/exceptions.rst:349 msgid "" "This exception is raised when a system function returns a system-related " "error, including I/O failures such as \"file not found\" or \"disk " "full\" (not for illegal argument types or other incidental errors)." msgstr "" -#: library/exceptions.rst:351 +#: library/exceptions.rst:353 msgid "" "The second form of the constructor sets the corresponding attributes, " "described below. The attributes default to :const:`None` if not specified. " @@ -411,7 +411,7 @@ msgid "" "constructor arguments." msgstr "" -#: library/exceptions.rst:357 +#: library/exceptions.rst:359 msgid "" "The constructor often actually returns a subclass of :exc:`OSError`, as " "described in `OS exceptions`_ below. The particular subclass depends on the " @@ -420,18 +420,18 @@ msgid "" "subclassing." msgstr "" -#: library/exceptions.rst:365 +#: library/exceptions.rst:367 msgid "A numeric error code from the C variable :c:data:`errno`." msgstr "" -#: library/exceptions.rst:369 +#: library/exceptions.rst:371 msgid "" "Under Windows, this gives you the native Windows error code. The :attr:`." "errno` attribute is then an approximate translation, in POSIX terms, of that " "native error code." msgstr "" -#: library/exceptions.rst:373 +#: library/exceptions.rst:375 msgid "" "Under Windows, if the *winerror* constructor argument is an integer, the :" "attr:`.errno` attribute is determined from the Windows error code, and the " @@ -439,14 +439,14 @@ msgid "" "ignored, and the :attr:`winerror` attribute does not exist." msgstr "" -#: library/exceptions.rst:381 +#: library/exceptions.rst:383 msgid "" "The corresponding error message, as provided by the operating system. It is " "formatted by the C functions :c:func:`perror` under POSIX, and :c:func:" "`FormatMessage` under Windows." msgstr "" -#: library/exceptions.rst:389 +#: library/exceptions.rst:391 msgid "" "For exceptions that involve a file system path (such as :func:`open` or :" "func:`os.unlink`), :attr:`filename` is the file name passed to the function. " @@ -455,14 +455,14 @@ msgid "" "the function." msgstr "" -#: library/exceptions.rst:396 +#: library/exceptions.rst:398 msgid "" ":exc:`EnvironmentError`, :exc:`IOError`, :exc:`WindowsError`, :exc:`socket." "error`, :exc:`select.error` and :exc:`mmap.error` have been merged into :exc:" "`OSError`, and the constructor may return a subclass." msgstr "" -#: library/exceptions.rst:402 +#: library/exceptions.rst:404 msgid "" "The :attr:`filename` attribute is now the original file name passed to the " "function, instead of the name encoded to or decoded from the :term:" @@ -470,7 +470,7 @@ msgid "" "argument and attribute was added." msgstr "" -#: library/exceptions.rst:411 +#: library/exceptions.rst:413 msgid "" "Raised when the result of an arithmetic operation is too large to be " "represented. This cannot occur for integers (which would rather raise :exc:" @@ -480,18 +480,18 @@ msgid "" "in C, most floating-point operations are not checked." msgstr "" -#: library/exceptions.rst:421 +#: library/exceptions.rst:423 msgid "" "This exception is derived from :exc:`RuntimeError`. It is raised when the " "interpreter detects that the maximum recursion depth (see :func:`sys." "getrecursionlimit`) is exceeded." msgstr "" -#: library/exceptions.rst:425 +#: library/exceptions.rst:427 msgid "Previously, a plain :exc:`RuntimeError` was raised." msgstr "" -#: library/exceptions.rst:431 +#: library/exceptions.rst:433 msgid "" "This exception is raised when a weak reference proxy, created by the :func:" "`weakref.proxy` function, is used to access an attribute of the referent " @@ -499,66 +499,66 @@ msgid "" "references, see the :mod:`weakref` module." msgstr "" -#: library/exceptions.rst:439 +#: library/exceptions.rst:441 msgid "" "Raised when an error is detected that doesn't fall in any of the other " "categories. The associated value is a string indicating what precisely went " "wrong." msgstr "" -#: library/exceptions.rst:446 +#: library/exceptions.rst:448 msgid "" "Raised by built-in function :func:`next` and an :term:`iterator`\\'s :meth:" "`~iterator.__next__` method to signal that there are no further items " "produced by the iterator." msgstr "" -#: library/exceptions.rst:452 +#: library/exceptions.rst:454 msgid "" "The exception object has a single attribute :attr:`!value`, which is given " "as an argument when constructing the exception, and defaults to :const:" "`None`." msgstr "" -#: library/exceptions.rst:456 +#: library/exceptions.rst:458 msgid "" "When a :term:`generator` or :term:`coroutine` function returns, a new :exc:" "`StopIteration` instance is raised, and the value returned by the function " "is used as the :attr:`value` parameter to the constructor of the exception." msgstr "" -#: library/exceptions.rst:461 +#: library/exceptions.rst:463 msgid "" "If a generator code directly or indirectly raises :exc:`StopIteration`, it " "is converted into a :exc:`RuntimeError` (retaining the :exc:`StopIteration` " "as the new exception's cause)." msgstr "" -#: library/exceptions.rst:465 +#: library/exceptions.rst:467 msgid "" "Added ``value`` attribute and the ability for generator functions to use it " "to return a value." msgstr "" -#: library/exceptions.rst:469 +#: library/exceptions.rst:471 msgid "" "Introduced the RuntimeError transformation via ``from __future__ import " "generator_stop``, see :pep:`479`." msgstr "" -#: library/exceptions.rst:473 +#: library/exceptions.rst:475 msgid "" "Enable :pep:`479` for all code by default: a :exc:`StopIteration` error " "raised in a generator is transformed into a :exc:`RuntimeError`." msgstr "" -#: library/exceptions.rst:479 +#: library/exceptions.rst:481 msgid "" "Must be raised by :meth:`~object.__anext__` method of an :term:`asynchronous " "iterator` object to stop the iteration." msgstr "" -#: library/exceptions.rst:486 +#: library/exceptions.rst:488 msgid "" "Raised when the parser encounters a syntax error. This may occur in an :" "keyword:`import` statement, in a call to the built-in functions :func:" @@ -566,45 +566,45 @@ msgid "" "or standard input (also interactively)." msgstr "" -#: library/exceptions.rst:492 +#: library/exceptions.rst:494 msgid "" "The :func:`str` of the exception instance returns only the error message. " "Details is a tuple whose members are also available as separate attributes." msgstr "" -#: library/exceptions.rst:497 +#: library/exceptions.rst:499 msgid "The name of the file the syntax error occurred in." msgstr "" -#: library/exceptions.rst:501 +#: library/exceptions.rst:503 msgid "" "Which line number in the file the error occurred in. This is 1-indexed: the " "first line in the file has a ``lineno`` of 1." msgstr "" -#: library/exceptions.rst:506 +#: library/exceptions.rst:508 msgid "" "The column in the line where the error occurred. This is 1-indexed: the " "first character in the line has an ``offset`` of 1." msgstr "" -#: library/exceptions.rst:511 +#: library/exceptions.rst:513 msgid "The source code text involved in the error." msgstr "" -#: library/exceptions.rst:515 +#: library/exceptions.rst:517 msgid "" "Which line number in the file the error occurred ends in. This is 1-indexed: " "the first line in the file has a ``lineno`` of 1." msgstr "" -#: library/exceptions.rst:520 +#: library/exceptions.rst:522 msgid "" "The column in the end line where the error occurred finishes. This is 1-" "indexed: the first character in the line has an ``offset`` of 1." msgstr "" -#: library/exceptions.rst:523 +#: library/exceptions.rst:525 msgid "" "For errors in f-string fields, the message is prefixed by \"f-string: \" and " "the offsets are offsets in a text constructed from the replacement " @@ -612,23 +612,23 @@ msgid "" "attribute: ('f-string: ...', ('', 1, 2, '(a b)\\n', 1, 5))." msgstr "" -#: library/exceptions.rst:528 +#: library/exceptions.rst:530 msgid "Added the :attr:`end_lineno` and :attr:`end_offset` attributes." msgstr "" -#: library/exceptions.rst:533 +#: library/exceptions.rst:535 msgid "" "Base class for syntax errors related to incorrect indentation. This is a " "subclass of :exc:`SyntaxError`." msgstr "" -#: library/exceptions.rst:539 +#: library/exceptions.rst:541 msgid "" "Raised when indentation contains an inconsistent use of tabs and spaces. " "This is a subclass of :exc:`IndentationError`." msgstr "" -#: library/exceptions.rst:545 +#: library/exceptions.rst:547 msgid "" "Raised when the interpreter finds an internal error, but the situation does " "not look so serious to cause it to abandon all hope. The associated value is " @@ -637,7 +637,7 @@ msgid "" "returning a ``NULL`` value without an exception set." msgstr "" -#: library/exceptions.rst:551 +#: library/exceptions.rst:553 msgid "" "If you're confident that this exception wasn't your fault, or the fault of a " "package you're using, you should report this to the author or maintainer of " @@ -648,7 +648,7 @@ msgid "" "the error." msgstr "" -#: library/exceptions.rst:562 +#: library/exceptions.rst:564 msgid "" "This exception is raised by the :func:`sys.exit` function. It inherits " "from :exc:`BaseException` instead of :exc:`Exception` so that it is not " @@ -662,7 +662,7 @@ msgid "" "printed and the exit status is one." msgstr "" -#: library/exceptions.rst:573 +#: library/exceptions.rst:575 msgid "" "A call to :func:`sys.exit` is translated into an exception so that clean-up " "handlers (:keyword:`finally` clauses of :keyword:`try` statements) can be " @@ -672,20 +672,20 @@ msgid "" "child process after a call to :func:`os.fork`)." msgstr "" -#: library/exceptions.rst:582 +#: library/exceptions.rst:584 msgid "" "The exit status or error message that is passed to the constructor. " "(Defaults to ``None``.)" msgstr "" -#: library/exceptions.rst:588 +#: library/exceptions.rst:590 msgid "" "Raised when an operation or function is applied to an object of " "inappropriate type. The associated value is a string giving details about " "the type mismatch." msgstr "" -#: library/exceptions.rst:591 +#: library/exceptions.rst:593 msgid "" "This exception may be raised by user code to indicate that an attempted " "operation on an object is not supported, and is not meant to be. If an " @@ -693,7 +693,7 @@ msgid "" "implementation, :exc:`NotImplementedError` is the proper exception to raise." msgstr "" -#: library/exceptions.rst:596 +#: library/exceptions.rst:598 msgid "" "Passing arguments of the wrong type (e.g. passing a :class:`list` when an :" "class:`int` is expected) should result in a :exc:`TypeError`, but passing " @@ -701,99 +701,99 @@ msgid "" "should result in a :exc:`ValueError`." msgstr "" -#: library/exceptions.rst:603 +#: library/exceptions.rst:605 msgid "" "Raised when a reference is made to a local variable in a function or method, " "but no value has been bound to that variable. This is a subclass of :exc:" "`NameError`." msgstr "" -#: library/exceptions.rst:610 +#: library/exceptions.rst:612 msgid "" "Raised when a Unicode-related encoding or decoding error occurs. It is a " "subclass of :exc:`ValueError`." msgstr "" -#: library/exceptions.rst:613 +#: library/exceptions.rst:615 msgid "" ":exc:`UnicodeError` has attributes that describe the encoding or decoding " "error. For example, ``err.object[err.start:err.end]`` gives the particular " "invalid input that the codec failed on." msgstr "" -#: library/exceptions.rst:619 +#: library/exceptions.rst:621 msgid "The name of the encoding that raised the error." msgstr "" -#: library/exceptions.rst:623 +#: library/exceptions.rst:625 msgid "A string describing the specific codec error." msgstr "" -#: library/exceptions.rst:627 +#: library/exceptions.rst:629 msgid "The object the codec was attempting to encode or decode." msgstr "" -#: library/exceptions.rst:631 +#: library/exceptions.rst:633 msgid "The first index of invalid data in :attr:`object`." msgstr "" -#: library/exceptions.rst:635 +#: library/exceptions.rst:637 msgid "The index after the last invalid data in :attr:`object`." msgstr "" -#: library/exceptions.rst:640 +#: library/exceptions.rst:642 msgid "" "Raised when a Unicode-related error occurs during encoding. It is a " "subclass of :exc:`UnicodeError`." msgstr "" -#: library/exceptions.rst:646 +#: library/exceptions.rst:648 msgid "" "Raised when a Unicode-related error occurs during decoding. It is a " "subclass of :exc:`UnicodeError`." msgstr "" -#: library/exceptions.rst:652 +#: library/exceptions.rst:654 msgid "" "Raised when a Unicode-related error occurs during translating. It is a " "subclass of :exc:`UnicodeError`." msgstr "" -#: library/exceptions.rst:658 +#: library/exceptions.rst:660 msgid "" "Raised when an operation or function receives an argument that has the right " "type but an inappropriate value, and the situation is not described by a " "more precise exception such as :exc:`IndexError`." msgstr "" -#: library/exceptions.rst:665 +#: library/exceptions.rst:667 msgid "" "Raised when the second argument of a division or modulo operation is zero. " "The associated value is a string indicating the type of the operands and the " "operation." msgstr "" -#: library/exceptions.rst:670 +#: library/exceptions.rst:672 msgid "" "The following exceptions are kept for compatibility with previous versions; " "starting from Python 3.3, they are aliases of :exc:`OSError`." msgstr "" -#: library/exceptions.rst:679 +#: library/exceptions.rst:681 msgid "Only available on Windows." msgstr "" -#: library/exceptions.rst:683 +#: library/exceptions.rst:685 msgid "OS exceptions" msgstr "" -#: library/exceptions.rst:685 +#: library/exceptions.rst:687 msgid "" "The following exceptions are subclasses of :exc:`OSError`, they get raised " "depending on the system error code." msgstr "" -#: library/exceptions.rst:690 +#: library/exceptions.rst:692 msgid "" "Raised when an operation would block on an object (e.g. socket) set for non-" "blocking operation. Corresponds to :c:data:`errno` :py:const:`~errno." @@ -801,36 +801,36 @@ msgid "" "const:`~errno.EINPROGRESS`." msgstr "" -#: library/exceptions.rst:695 +#: library/exceptions.rst:697 msgid "" "In addition to those of :exc:`OSError`, :exc:`BlockingIOError` can have one " "more attribute:" msgstr "" -#: library/exceptions.rst:700 +#: library/exceptions.rst:702 msgid "" "An integer containing the number of characters written to the stream before " "it blocked. This attribute is available when using the buffered I/O classes " "from the :mod:`io` module." msgstr "" -#: library/exceptions.rst:706 +#: library/exceptions.rst:708 msgid "" "Raised when an operation on a child process failed. Corresponds to :c:data:" "`errno` :py:const:`~errno.ECHILD`." msgstr "" -#: library/exceptions.rst:711 +#: library/exceptions.rst:713 msgid "A base class for connection-related issues." msgstr "" -#: library/exceptions.rst:713 +#: library/exceptions.rst:715 msgid "" "Subclasses are :exc:`BrokenPipeError`, :exc:`ConnectionAbortedError`, :exc:" "`ConnectionRefusedError` and :exc:`ConnectionResetError`." msgstr "" -#: library/exceptions.rst:718 +#: library/exceptions.rst:720 msgid "" "A subclass of :exc:`ConnectionError`, raised when trying to write on a pipe " "while the other end has been closed, or trying to write on a socket which " @@ -838,58 +838,58 @@ msgid "" "`~errno.EPIPE` and :py:const:`~errno.ESHUTDOWN`." msgstr "" -#: library/exceptions.rst:725 +#: library/exceptions.rst:727 msgid "" "A subclass of :exc:`ConnectionError`, raised when a connection attempt is " "aborted by the peer. Corresponds to :c:data:`errno` :py:const:`~errno." "ECONNABORTED`." msgstr "" -#: library/exceptions.rst:731 +#: library/exceptions.rst:733 msgid "" "A subclass of :exc:`ConnectionError`, raised when a connection attempt is " "refused by the peer. Corresponds to :c:data:`errno` :py:const:`~errno." "ECONNREFUSED`." msgstr "" -#: library/exceptions.rst:737 +#: library/exceptions.rst:739 msgid "" "A subclass of :exc:`ConnectionError`, raised when a connection is reset by " "the peer. Corresponds to :c:data:`errno` :py:const:`~errno.ECONNRESET`." msgstr "" -#: library/exceptions.rst:743 +#: library/exceptions.rst:745 msgid "" "Raised when trying to create a file or directory which already exists. " "Corresponds to :c:data:`errno` :py:const:`~errno.EEXIST`." msgstr "" -#: library/exceptions.rst:748 +#: library/exceptions.rst:750 msgid "" "Raised when a file or directory is requested but doesn't exist. Corresponds " "to :c:data:`errno` :py:const:`~errno.ENOENT`." msgstr "" -#: library/exceptions.rst:753 +#: library/exceptions.rst:755 msgid "" "Raised when a system call is interrupted by an incoming signal. Corresponds " "to :c:data:`errno` :py:const:`~errno.EINTR`." msgstr "" -#: library/exceptions.rst:756 +#: library/exceptions.rst:758 msgid "" "Python now retries system calls when a syscall is interrupted by a signal, " "except if the signal handler raises an exception (see :pep:`475` for the " "rationale), instead of raising :exc:`InterruptedError`." msgstr "" -#: library/exceptions.rst:763 +#: library/exceptions.rst:765 msgid "" "Raised when a file operation (such as :func:`os.remove`) is requested on a " "directory. Corresponds to :c:data:`errno` :py:const:`~errno.EISDIR`." msgstr "" -#: library/exceptions.rst:769 +#: library/exceptions.rst:771 msgid "" "Raised when a directory operation (such as :func:`os.listdir`) is requested " "on something which is not a directory. On most POSIX platforms, it may also " @@ -898,7 +898,7 @@ msgid "" "ENOTDIR`." msgstr "" -#: library/exceptions.rst:777 +#: library/exceptions.rst:779 msgid "" "Raised when trying to run an operation without the adequate access rights - " "for example filesystem permissions. Corresponds to :c:data:`errno` :py:const:" @@ -906,130 +906,130 @@ msgid "" "ENOTCAPABLE`." msgstr "" -#: library/exceptions.rst:782 +#: library/exceptions.rst:784 msgid "" "WASI's :py:const:`~errno.ENOTCAPABLE` is now mapped to :exc:" "`PermissionError`." msgstr "" -#: library/exceptions.rst:788 +#: library/exceptions.rst:790 msgid "" "Raised when a given process doesn't exist. Corresponds to :c:data:`errno` :" "py:const:`~errno.ESRCH`." msgstr "" -#: library/exceptions.rst:793 +#: library/exceptions.rst:795 msgid "" "Raised when a system function timed out at the system level. Corresponds to :" "c:data:`errno` :py:const:`~errno.ETIMEDOUT`." msgstr "" -#: library/exceptions.rst:796 +#: library/exceptions.rst:798 msgid "All the above :exc:`OSError` subclasses were added." msgstr "" -#: library/exceptions.rst:802 +#: library/exceptions.rst:804 msgid ":pep:`3151` - Reworking the OS and IO exception hierarchy" msgstr "" -#: library/exceptions.rst:808 +#: library/exceptions.rst:810 msgid "Warnings" msgstr "" -#: library/exceptions.rst:810 +#: library/exceptions.rst:812 msgid "" "The following exceptions are used as warning categories; see the :ref:" "`warning-categories` documentation for more details." msgstr "" -#: library/exceptions.rst:815 +#: library/exceptions.rst:817 msgid "Base class for warning categories." msgstr "" -#: library/exceptions.rst:820 +#: library/exceptions.rst:822 msgid "Base class for warnings generated by user code." msgstr "" -#: library/exceptions.rst:825 +#: library/exceptions.rst:827 msgid "" "Base class for warnings about deprecated features when those warnings are " "intended for other Python developers." msgstr "" -#: library/exceptions.rst:828 +#: library/exceptions.rst:830 msgid "" "Ignored by the default warning filters, except in the ``__main__`` module (:" "pep:`565`). Enabling the :ref:`Python Development Mode ` shows this " "warning." msgstr "" -#: library/exceptions.rst:848 +#: library/exceptions.rst:850 msgid "The deprecation policy is described in :pep:`387`." msgstr "" -#: library/exceptions.rst:837 +#: library/exceptions.rst:839 msgid "" "Base class for warnings about features which are obsolete and expected to be " "deprecated in the future, but are not deprecated at the moment." msgstr "" -#: library/exceptions.rst:841 +#: library/exceptions.rst:843 msgid "" "This class is rarely used as emitting a warning about a possible upcoming " "deprecation is unusual, and :exc:`DeprecationWarning` is preferred for " "already active deprecations." msgstr "" -#: library/exceptions.rst:871 library/exceptions.rst:898 +#: library/exceptions.rst:873 library/exceptions.rst:900 msgid "" "Ignored by the default warning filters. Enabling the :ref:`Python " "Development Mode ` shows this warning." msgstr "" -#: library/exceptions.rst:853 +#: library/exceptions.rst:855 msgid "Base class for warnings about dubious syntax." msgstr "" -#: library/exceptions.rst:858 +#: library/exceptions.rst:860 msgid "Base class for warnings about dubious runtime behavior." msgstr "" -#: library/exceptions.rst:863 +#: library/exceptions.rst:865 msgid "" "Base class for warnings about deprecated features when those warnings are " "intended for end users of applications that are written in Python." msgstr "" -#: library/exceptions.rst:869 +#: library/exceptions.rst:871 msgid "Base class for warnings about probable mistakes in module imports." msgstr "" -#: library/exceptions.rst:877 +#: library/exceptions.rst:879 msgid "Base class for warnings related to Unicode." msgstr "" -#: library/exceptions.rst:882 +#: library/exceptions.rst:884 msgid "Base class for warnings related to encodings." msgstr "" -#: library/exceptions.rst:884 +#: library/exceptions.rst:886 msgid "See :ref:`io-encoding-warning` for details." msgstr "" -#: library/exceptions.rst:891 +#: library/exceptions.rst:893 msgid "" "Base class for warnings related to :class:`bytes` and :class:`bytearray`." msgstr "" -#: library/exceptions.rst:896 +#: library/exceptions.rst:898 msgid "Base class for warnings related to resource usage." msgstr "" -#: library/exceptions.rst:907 +#: library/exceptions.rst:909 msgid "Exception groups" msgstr "" -#: library/exceptions.rst:909 +#: library/exceptions.rst:911 msgid "" "The following are used when it is necessary to raise multiple unrelated " "exceptions. They are part of the exception hierarchy so they can be handled " @@ -1038,7 +1038,7 @@ msgid "" "based on the types of the contained exceptions." msgstr "" -#: library/exceptions.rst:918 +#: library/exceptions.rst:920 msgid "" "Both of these exception types wrap the exceptions in the sequence ``excs``. " "The ``msg`` parameter must be a string. The difference between the two " @@ -1049,7 +1049,7 @@ msgid "" "exc:`BaseExceptionGroup`." msgstr "" -#: library/exceptions.rst:926 +#: library/exceptions.rst:928 msgid "" "The :exc:`BaseExceptionGroup` constructor returns an :exc:`ExceptionGroup` " "rather than a :exc:`BaseExceptionGroup` if all contained exceptions are :exc:" @@ -1058,23 +1058,23 @@ msgid "" "`TypeError` if any contained exception is not an :exc:`Exception` subclass." msgstr "" -#: library/exceptions.rst:935 +#: library/exceptions.rst:937 msgid "The ``msg`` argument to the constructor. This is a read-only attribute." msgstr "" -#: library/exceptions.rst:939 +#: library/exceptions.rst:941 msgid "" "A tuple of the exceptions in the ``excs`` sequence given to the constructor. " "This is a read-only attribute." msgstr "" -#: library/exceptions.rst:944 +#: library/exceptions.rst:946 msgid "" "Returns an exception group that contains only the exceptions from the " "current group that match *condition*, or ``None`` if the result is empty." msgstr "" -#: library/exceptions.rst:947 +#: library/exceptions.rst:949 msgid "" "The condition can be either a function that accepts an exception and returns " "true for those that should be in the subgroup, or it can be an exception " @@ -1082,7 +1082,7 @@ msgid "" "the same check that is used in an ``except`` clause." msgstr "" -#: library/exceptions.rst:952 +#: library/exceptions.rst:954 msgid "" "The nesting structure of the current exception is preserved in the result, " "as are the values of its :attr:`message`, :attr:`~BaseException." @@ -1091,27 +1091,27 @@ msgid "" "groups are omitted from the result." msgstr "" -#: library/exceptions.rst:959 +#: library/exceptions.rst:961 msgid "" "The condition is checked for all exceptions in the nested exception group, " "including the top-level and any nested exception groups. If the condition is " "true for such an exception group, it is included in the result in full." msgstr "" -#: library/exceptions.rst:965 +#: library/exceptions.rst:967 msgid "" "Like :meth:`subgroup`, but returns the pair ``(match, rest)`` where " "``match`` is ``subgroup(condition)`` and ``rest`` is the remaining non-" "matching part." msgstr "" -#: library/exceptions.rst:971 +#: library/exceptions.rst:973 msgid "" "Returns an exception group with the same :attr:`message`, but which wraps " "the exceptions in ``excs``." msgstr "" -#: library/exceptions.rst:974 +#: library/exceptions.rst:976 msgid "" "This method is used by :meth:`subgroup` and :meth:`split`, which are used in " "various contexts to break up an exception group. A subclass needs to " @@ -1119,7 +1119,7 @@ msgid "" "instances of the subclass rather than :exc:`ExceptionGroup`." msgstr "" -#: library/exceptions.rst:980 +#: library/exceptions.rst:982 msgid "" ":meth:`subgroup` and :meth:`split` copy the :attr:`~BaseException." "__traceback__`, :attr:`~BaseException.__cause__`, :attr:`~BaseException." @@ -1128,7 +1128,7 @@ msgid "" "not need to be updated by :meth:`derive`." msgstr "" -#: library/exceptions.rst:987 +#: library/exceptions.rst:989 msgid "" ">>> class MyGroup(ExceptionGroup):\n" "... def derive(self, excs):\n" @@ -1157,7 +1157,7 @@ msgid "" "True" msgstr "" -#: library/exceptions.rst:1013 +#: library/exceptions.rst:1015 msgid "" "Note that :exc:`BaseExceptionGroup` defines :meth:`~object.__new__`, so " "subclasses that need a different constructor signature need to override that " @@ -1166,7 +1166,7 @@ msgid "" "group's message from it. ::" msgstr "" -#: library/exceptions.rst:1019 +#: library/exceptions.rst:1021 msgid "" "class Errors(ExceptionGroup):\n" " def __new__(cls, errors, exit_code):\n" @@ -1178,22 +1178,22 @@ msgid "" " return Errors(excs, self.exit_code)" msgstr "" -#: library/exceptions.rst:1028 +#: library/exceptions.rst:1030 msgid "" "Like :exc:`ExceptionGroup`, any subclass of :exc:`BaseExceptionGroup` which " "is also a subclass of :exc:`Exception` can only wrap instances of :exc:" "`Exception`." msgstr "" -#: library/exceptions.rst:1036 +#: library/exceptions.rst:1038 msgid "Exception hierarchy" msgstr "" -#: library/exceptions.rst:1038 +#: library/exceptions.rst:1040 msgid "The class hierarchy for built-in exceptions is:" msgstr "" -#: library/exceptions.rst:1040 +#: library/exceptions.rst:1042 msgid "" "BaseException\n" " ├── BaseExceptionGroup\n" @@ -1304,10 +1304,10 @@ msgstr "" msgid "assert" msgstr "" -#: library/exceptions.rst:345 +#: library/exceptions.rst:347 msgid "module" msgstr "" -#: library/exceptions.rst:345 +#: library/exceptions.rst:347 msgid "errno" msgstr "" diff --git a/library/faulthandler.po b/library/faulthandler.po index 4e121464..331d4072 100644 --- a/library/faulthandler.po +++ b/library/faulthandler.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/fcntl.po b/library/fcntl.po index 10f6e5fb..ddd3563c 100644 --- a/library/fcntl.po +++ b/library/fcntl.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/filecmp.po b/library/filecmp.po index 513f9b37..80a9da26 100644 --- a/library/filecmp.po +++ b/library/filecmp.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -246,6 +246,6 @@ msgid "" "... for sub_dcmp in dcmp.subdirs.values():\n" "... print_diff_files(sub_dcmp)\n" "...\n" -">>> dcmp = dircmp('dir1', 'dir2') \n" -">>> print_diff_files(dcmp) " +">>> dcmp = dircmp('dir1', 'dir2')\n" +">>> print_diff_files(dcmp)" msgstr "" diff --git a/library/fileformats.po b/library/fileformats.po index f3d100ba..97e14b71 100644 --- a/library/fileformats.po +++ b/library/fileformats.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/fileinput.po b/library/fileinput.po index 649a1507..8d413efc 100644 --- a/library/fileinput.po +++ b/library/fileinput.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/filesys.po b/library/filesys.po index 2e02a746..7b7f954e 100644 --- a/library/filesys.po +++ b/library/filesys.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/fnmatch.po b/library/fnmatch.po index ac189730..1be5a674 100644 --- a/library/fnmatch.po +++ b/library/fnmatch.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/fractions.po b/library/fractions.po index 079df120..c5a3f27f 100644 --- a/library/fractions.po +++ b/library/fractions.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/frameworks.po b/library/frameworks.po index 8ee55958..bedf6be7 100644 --- a/library/frameworks.po +++ b/library/frameworks.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/ftplib.po b/library/ftplib.po index 971acc54..6fe46892 100644 --- a/library/ftplib.po +++ b/library/ftplib.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/functional.po b/library/functional.po index f0ca6b9e..27bbdd4c 100644 --- a/library/functional.po +++ b/library/functional.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/functions.po b/library/functions.po index d6f3428a..b3bcd621 100644 --- a/library/functions.po +++ b/library/functions.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" -"PO-Revision-Date: 2024-09-07 18:18+0300\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" +"PO-Revision-Date: 2024-05-03 00:08+0300\n" "Last-Translator: Panagiotis Skias \n" "Language-Team: PyGreece \n" "Language: el\n" @@ -1930,14 +1930,14 @@ msgstr "" #: library/functions.rst:952 msgid "" -">>> s = input('--> ') \n" +">>> s = input('--> ')\n" "--> Monty Python's Flying Circus\n" -">>> s \n" +">>> s\n" "\"Monty Python's Flying Circus\"" msgstr "" -">>> s = input('--> ') \n" +">>> s = input('--> ')\n" "--> Monty Python's Flying Circus\n" -">>> s \n" +">>> s\n" "\"Monty Python's Flying Circus\"" #: library/functions.rst:957 diff --git a/library/functools.po b/library/functools.po index cb7c2df5..2d2f3c4e 100644 --- a/library/functools.po +++ b/library/functools.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/gc.po b/library/gc.po index 898ca64f..c7c2160a 100644 --- a/library/gc.po +++ b/library/gc.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/getopt.po b/library/getopt.po index db7aef38..22371b4a 100644 --- a/library/getopt.po +++ b/library/getopt.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/getpass.po b/library/getpass.po index da6028c9..202e9b55 100644 --- a/library/getpass.po +++ b/library/getpass.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/gettext.po b/library/gettext.po index d78dc005..95e1cae8 100644 --- a/library/gettext.po +++ b/library/gettext.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/glob.po b/library/glob.po index f97f1e81..08614e15 100644 --- a/library/glob.po +++ b/library/glob.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/graphlib.po b/library/graphlib.po index 72283937..2b4510bb 100644 --- a/library/graphlib.po +++ b/library/graphlib.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/grp.po b/library/grp.po index 12bcd5e9..89a35fd1 100644 --- a/library/grp.po +++ b/library/grp.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/gzip.po b/library/gzip.po index 3c1f83b4..e9aaeab8 100644 --- a/library/gzip.po +++ b/library/gzip.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2025-02-27 12:39+0200\n" "Last-Translator: Marios Giannopoulos \n" "Language-Team: PyGreece \n" diff --git a/library/hashlib.po b/library/hashlib.po index af53358f..476a0984 100644 --- a/library/hashlib.po +++ b/library/hashlib.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/heapq.po b/library/heapq.po index 6423ed8d..a39e55e4 100644 --- a/library/heapq.po +++ b/library/heapq.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/hmac.po b/library/hmac.po index ba6128be..60e845e2 100644 --- a/library/hmac.po +++ b/library/hmac.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/html.entities.po b/library/html.entities.po index 454edc0f..7dd1c128 100644 --- a/library/html.entities.po +++ b/library/html.entities.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/html.parser.po b/library/html.parser.po index 5c6c1155..fdb53048 100644 --- a/library/html.parser.po +++ b/library/html.parser.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/html.po b/library/html.po index 4250c22c..529f70ad 100644 --- a/library/html.po +++ b/library/html.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/http.client.po b/library/http.client.po index b5d7b6ae..db4e04dc 100644 --- a/library/http.client.po +++ b/library/http.client.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/http.cookiejar.po b/library/http.cookiejar.po index d3937b9f..ab0d230d 100644 --- a/library/http.cookiejar.po +++ b/library/http.cookiejar.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/http.cookies.po b/library/http.cookies.po index 0616bc5d..58053d0c 100644 --- a/library/http.cookies.po +++ b/library/http.cookies.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/http.po b/library/http.po index 9b604e5a..ad0e4e3d 100644 --- a/library/http.po +++ b/library/http.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/http.server.po b/library/http.server.po index 1559b7ed..e4a88de0 100644 --- a/library/http.server.po +++ b/library/http.server.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -526,162 +526,158 @@ msgid "" "attribute :attr:`index_pages`." msgstr "" -#: library/http.server.rst:423 +#: library/http.server.rst:424 msgid "" -":mod:`http.server` can also be invoked directly using the :option:`-m` " -"switch of the interpreter. Similar to the previous example, this serves " -"files relative to the current directory::" -msgstr "" - -#: library/http.server.rst:427 -msgid "python -m http.server" +"This class is used to serve either files or output of CGI scripts from the " +"current directory and below. Note that mapping HTTP hierarchic structure to " +"local directory structure is exactly as in :class:`SimpleHTTPRequestHandler`." msgstr "" -#: library/http.server.rst:429 +#: library/http.server.rst:430 msgid "" -"The server listens to port 8000 by default. The default can be overridden by " -"passing the desired port number as an argument::" +"CGI scripts run by the :class:`CGIHTTPRequestHandler` class cannot execute " +"redirects (HTTP code 302), because code 200 (script output follows) is sent " +"prior to execution of the CGI script. This pre-empts the status code." msgstr "" -#: library/http.server.rst:432 -msgid "python -m http.server 9000" +#: library/http.server.rst:435 +msgid "" +"The class will however, run the CGI script, instead of serving it as a file, " +"if it guesses it to be a CGI script. Only directory-based CGI are used --- " +"the other common server configuration is to treat special extensions as " +"denoting CGI scripts." msgstr "" -#: library/http.server.rst:434 +#: library/http.server.rst:440 msgid "" -"By default, the server binds itself to all interfaces. The option ``-b/--" -"bind`` specifies a specific address to which it should bind. Both IPv4 and " -"IPv6 addresses are supported. For example, the following command causes the " -"server to bind to localhost only::" +"The :func:`do_GET` and :func:`do_HEAD` functions are modified to run CGI " +"scripts and serve the output, instead of serving files, if the request leads " +"to somewhere below the ``cgi_directories`` path." msgstr "" -#: library/http.server.rst:439 -msgid "python -m http.server --bind 127.0.0.1" +#: library/http.server.rst:444 +msgid "The :class:`CGIHTTPRequestHandler` defines the following data member:" msgstr "" -#: library/http.server.rst:441 -msgid "Added the ``--bind`` option." +#: library/http.server.rst:448 +msgid "" +"This defaults to ``['/cgi-bin', '/htbin']`` and describes directories to " +"treat as containing CGI scripts." msgstr "" -#: library/http.server.rst:444 -msgid "Support IPv6 in the ``--bind`` option." +#: library/http.server.rst:451 +msgid "The :class:`CGIHTTPRequestHandler` defines the following method:" msgstr "" -#: library/http.server.rst:447 +#: library/http.server.rst:455 msgid "" -"By default, the server uses the current directory. The option ``-d/--" -"directory`` specifies a directory to which it should serve the files. For " -"example, the following command uses a specific directory::" +"This method serves the ``'POST'`` request type, only allowed for CGI " +"scripts. Error 501, \"Can only POST to CGI scripts\", is output when trying " +"to POST to a non-CGI url." msgstr "" -#: library/http.server.rst:451 -msgid "python -m http.server --directory /tmp/" +#: library/http.server.rst:459 +msgid "" +"Note that CGI scripts will be run with UID of user nobody, for security " +"reasons. Problems with the CGI script will be translated to error 403." msgstr "" -#: library/http.server.rst:453 -msgid "Added the ``--directory`` option." +#: library/http.server.rst:466 +msgid "Command-line interface" msgstr "" -#: library/http.server.rst:456 +#: library/http.server.rst:468 msgid "" -"By default, the server is conformant to HTTP/1.0. The option ``-p/--" -"protocol`` specifies the HTTP version to which the server is conformant. For " -"example, the following command runs an HTTP/1.1 conformant server::" +":mod:`http.server` can also be invoked directly using the :option:`-m` " +"switch of the interpreter. The following example illustrates how to serve " +"files relative to the current directory::" msgstr "" -#: library/http.server.rst:460 -msgid "python -m http.server --protocol HTTP/1.1" +#: library/http.server.rst:472 +msgid "python -m http.server [OPTIONS] [port]" msgstr "" -#: library/http.server.rst:462 -msgid "Added the ``--protocol`` option." +#: library/http.server.rst:474 +msgid "The following options are accepted:" msgstr "" -#: library/http.server.rst:467 +#: library/http.server.rst:480 msgid "" -"This class is used to serve either files or output of CGI scripts from the " -"current directory and below. Note that mapping HTTP hierarchic structure to " -"local directory structure is exactly as in :class:`SimpleHTTPRequestHandler`." +"The server listens to port 8000 by default. The default can be overridden by " +"passing the desired port number as an argument::" msgstr "" -#: library/http.server.rst:473 -msgid "" -"CGI scripts run by the :class:`CGIHTTPRequestHandler` class cannot execute " -"redirects (HTTP code 302), because code 200 (script output follows) is sent " -"prior to execution of the CGI script. This pre-empts the status code." +#: library/http.server.rst:483 +msgid "python -m http.server 9000" msgstr "" -#: library/http.server.rst:478 +#: library/http.server.rst:487 msgid "" -"The class will however, run the CGI script, instead of serving it as a file, " -"if it guesses it to be a CGI script. Only directory-based CGI are used --- " -"the other common server configuration is to treat special extensions as " -"denoting CGI scripts." +"Specifies a specific address to which it should bind. Both IPv4 and IPv6 " +"addresses are supported. By default, the server binds itself to all " +"interfaces. For example, the following command causes the server to bind to " +"localhost only::" msgstr "" -#: library/http.server.rst:483 -msgid "" -"The :func:`do_GET` and :func:`do_HEAD` functions are modified to run CGI " -"scripts and serve the output, instead of serving files, if the request leads " -"to somewhere below the ``cgi_directories`` path." +#: library/http.server.rst:492 +msgid "python -m http.server --bind 127.0.0.1" msgstr "" -#: library/http.server.rst:487 -msgid "The :class:`CGIHTTPRequestHandler` defines the following data member:" +#: library/http.server.rst:496 +msgid "Support IPv6 in the ``--bind`` option." msgstr "" -#: library/http.server.rst:491 +#: library/http.server.rst:501 msgid "" -"This defaults to ``['/cgi-bin', '/htbin']`` and describes directories to " -"treat as containing CGI scripts." +"Specifies a directory to which it should serve the files. By default, the " +"server uses the current directory. For example, the following command uses a " +"specific directory::" msgstr "" -#: library/http.server.rst:494 -msgid "The :class:`CGIHTTPRequestHandler` defines the following method:" +#: library/http.server.rst:505 +msgid "python -m http.server --directory /tmp/" msgstr "" -#: library/http.server.rst:498 +#: library/http.server.rst:511 msgid "" -"This method serves the ``'POST'`` request type, only allowed for CGI " -"scripts. Error 501, \"Can only POST to CGI scripts\", is output when trying " -"to POST to a non-CGI url." +"Specifies the HTTP version to which the server is conformant. By default, " +"the server is conformant to HTTP/1.0. For example, the following command " +"runs an HTTP/1.1 conformant server::" msgstr "" -#: library/http.server.rst:502 -msgid "" -"Note that CGI scripts will be run with UID of user nobody, for security " -"reasons. Problems with the CGI script will be translated to error 403." +#: library/http.server.rst:515 +msgid "python -m http.server --protocol HTTP/1.1" msgstr "" -#: library/http.server.rst:505 +#: library/http.server.rst:521 msgid "" ":class:`CGIHTTPRequestHandler` can be enabled in the command line by passing " "the ``--cgi`` option::" msgstr "" -#: library/http.server.rst:508 +#: library/http.server.rst:524 msgid "python -m http.server --cgi" msgstr "" -#: library/http.server.rst:512 +#: library/http.server.rst:528 msgid "" -":class:`CGIHTTPRequestHandler` and the ``--cgi`` command line option are not " +":class:`CGIHTTPRequestHandler` and the ``--cgi`` command-line option are not " "intended for use by untrusted clients and may be vulnerable to exploitation. " "Always use within a secure environment." msgstr "" -#: library/http.server.rst:519 -msgid "Security Considerations" +#: library/http.server.rst:536 +msgid "Security considerations" msgstr "" -#: library/http.server.rst:523 +#: library/http.server.rst:540 msgid "" ":class:`SimpleHTTPRequestHandler` will follow symbolic links when handling " "requests, this makes it possible for files outside of the specified " "directory to be served." msgstr "" -#: library/http.server.rst:527 +#: library/http.server.rst:544 msgid "" "Earlier versions of Python did not scrub control characters from the log " "messages emitted to stderr from ``python -m http.server`` or the default :" @@ -690,7 +686,7 @@ msgid "" "codes to your terminal." msgstr "" -#: library/http.server.rst:533 +#: library/http.server.rst:550 msgid "Control characters are scrubbed in stderr logs." msgstr "" @@ -718,10 +714,10 @@ msgstr "" msgid "httpd" msgstr "" -#: library/http.server.rst:521 +#: library/http.server.rst:538 msgid "http.server" msgstr "" -#: library/http.server.rst:521 +#: library/http.server.rst:538 msgid "security" msgstr "" diff --git a/library/i18n.po b/library/i18n.po index 3607af2c..4a1e8ff7 100644 --- a/library/i18n.po +++ b/library/i18n.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/idle.po b/library/idle.po index ad7e6f81..699469e8 100644 --- a/library/idle.po +++ b/library/idle.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -1161,45 +1161,86 @@ msgstr "" msgid "Command line usage" msgstr "" -#: library/idle.rst:663 +#: library/idle.rst:665 msgid "" -"idle.py [-c command] [-d] [-e] [-h] [-i] [-r file] [-s] [-t title] [-] " -"[arg] ...\n" -"\n" -"-c command run command in the shell window\n" -"-d enable debugger and open shell window\n" -"-e open editor window\n" -"-h print help message with legal combinations and exit\n" -"-i open shell window\n" -"-r file run file in shell window\n" -"-s run $IDLESTARTUP or $PYTHONSTARTUP first, in shell window\n" -"-t title set title of shell window\n" -"- run stdin in shell (- must be last option before args)" +"IDLE can be invoked from the command line with various options. The general " +"syntax is:" msgstr "" -#: library/idle.rst:677 -msgid "If there are arguments:" +#: library/idle.rst:667 +msgid "python -m idlelib [options] [file ...]" msgstr "" -#: library/idle.rst:679 +#: library/idle.rst:671 +msgid "The following options are available:" +msgstr "" + +#: library/idle.rst:675 msgid "" -"If ``-``, ``-c``, or ``r`` is used, all arguments are placed in ``sys." -"argv[1:...]`` and ``sys.argv[0]`` is set to ``''``, ``'-c'``, or ``'-r'``. " -"No editor window is opened, even if that is the default set in the Options " -"dialog." +"Run the specified Python command in the shell window. For example, pass ``-c " +"\"print('Hello, World!')\"``. On Windows, the outer quotes must be double " +"quotes as shown." +msgstr "" + +#: library/idle.rst:681 +msgid "Enable the debugger and open the shell window." +msgstr "" + +#: library/idle.rst:685 +msgid "Open an editor window." msgstr "" -#: library/idle.rst:684 +#: library/idle.rst:689 +msgid "Print a help message with legal combinations of options and exit." +msgstr "" + +#: library/idle.rst:693 +msgid "Open a shell window." +msgstr "" + +#: library/idle.rst:697 +msgid "Run the specified file in the shell window." +msgstr "" + +#: library/idle.rst:701 +msgid "" +"Run the startup file (as defined by the environment variables :envvar:" +"`IDLESTARTUP` or :envvar:`PYTHONSTARTUP`) before opening the shell window." +msgstr "" + +#: library/idle.rst:705 +msgid "Set the title of the shell window." +msgstr "" + +#: library/idle.rst:709 msgid "" -"Otherwise, arguments are files opened for editing and ``sys.argv`` reflects " -"the arguments passed to IDLE itself." +"Read and execute standard input in the shell window. This option must be the " +"last one before any arguments." msgstr "" -#: library/idle.rst:688 +#: library/idle.rst:711 +msgid "If arguments are provided:" +msgstr "" + +#: library/idle.rst:713 +msgid "" +"If ``-``, ``-c``, or ``-r`` is used, all arguments are placed in ``sys." +"argv[1:]``, and ``sys.argv[0]`` is set to ``''``, ``'-c'``, or ``'-r'`` " +"respectively. No editor window is opened, even if that is the default set in " +"the *Options* dialog." +msgstr "" + +#: library/idle.rst:716 +msgid "" +"Otherwise, arguments are treated as files to be opened for editing, and " +"``sys.argv`` reflects the arguments passed to IDLE itself." +msgstr "" + +#: library/idle.rst:720 msgid "Startup failure" msgstr "" -#: library/idle.rst:690 +#: library/idle.rst:722 msgid "" "IDLE uses a socket to communicate between the IDLE GUI process and the user " "code execution process. A connection must be established whenever the Shell " @@ -1209,7 +1250,7 @@ msgid "" "directs the user here. It then exits." msgstr "" -#: library/idle.rst:697 +#: library/idle.rst:729 msgid "" "One specific connection failure on Unix systems results from misconfigured " "masquerading rules somewhere in a system's network setup. When IDLE is " @@ -1219,7 +1260,7 @@ msgid "" "``tcplisten `` in another." msgstr "" -#: library/idle.rst:705 +#: library/idle.rst:737 msgid "" "A common cause of failure is a user-written file with the same name as a " "standard library module, such as *random.py* and *tkinter.py*. When such a " @@ -1228,7 +1269,7 @@ msgid "" "file." msgstr "" -#: library/idle.rst:711 +#: library/idle.rst:743 msgid "" "Though less common than in the past, an antivirus or firewall program may " "stop the connection. If the program cannot be taught to allow the " @@ -1238,7 +1279,7 @@ msgid "" "connections." msgstr "" -#: library/idle.rst:718 +#: library/idle.rst:750 msgid "" "Python installation issues occasionally stop IDLE: multiple versions can " "clash, or a single installation might need admin access. If one undo the " @@ -1246,7 +1287,7 @@ msgid "" "completely remove Python and start over." msgstr "" -#: library/idle.rst:723 +#: library/idle.rst:755 msgid "" "A zombie pythonw.exe process could be a problem. On Windows, use Task " "Manager to check for one and stop it if there is. Sometimes a restart " @@ -1255,7 +1296,7 @@ msgid "" "may fix a temporary problem." msgstr "" -#: library/idle.rst:729 +#: library/idle.rst:761 msgid "" "When IDLE first starts, it attempts to read user configuration files in ``~/." "idlerc/`` (~ is one's home directory). If there is a problem, an error " @@ -1266,14 +1307,14 @@ msgid "" "with the settings dialog." msgstr "" -#: library/idle.rst:737 +#: library/idle.rst:769 msgid "" "If IDLE quits with no message, and it was not started from a console, try " "starting it from a console or terminal (``python -m idlelib``) and see if " "this results in an error message." msgstr "" -#: library/idle.rst:741 +#: library/idle.rst:773 msgid "" "On Unix-based systems with tcl/tk older than ``8.6.11`` (see ``About IDLE``) " "certain characters of certain fonts can cause a tk failure with a message to " @@ -1282,11 +1323,11 @@ msgid "" "upgrade tcl/tk, then re-configure IDLE to use a font that works better." msgstr "" -#: library/idle.rst:749 +#: library/idle.rst:781 msgid "Running user code" msgstr "" -#: library/idle.rst:751 +#: library/idle.rst:783 msgid "" "With rare exceptions, the result of executing Python code with IDLE is " "intended to be the same as executing the same code by the default method, " @@ -1296,7 +1337,7 @@ msgid "" "``threading.active_count()`` returns 2 instead of 1." msgstr "" -#: library/idle.rst:758 +#: library/idle.rst:790 msgid "" "By default, IDLE runs user code in a separate OS process rather than in the " "user interface process that runs the shell and editor. In the execution " @@ -1306,7 +1347,7 @@ msgid "" "__stderr__`` are not touched, but may be ``None``." msgstr "" -#: library/idle.rst:765 +#: library/idle.rst:797 msgid "" "Sending print output from one process to a text widget in another is slower " "than printing to a system terminal in the same process. This has the most " @@ -1318,7 +1359,7 @@ msgid "" "fields and lines." msgstr "" -#: library/idle.rst:774 +#: library/idle.rst:806 msgid "" "IDLE's standard stream replacements are not inherited by subprocesses " "created in the execution process, whether directly by user code or by " @@ -1329,14 +1370,14 @@ msgid "" "attached to that window for input and output." msgstr "" -#: library/idle.rst:783 +#: library/idle.rst:815 msgid "" "If ``sys`` is reset by user code, such as with ``importlib.reload(sys)``, " "IDLE's changes are lost and input from the keyboard and output to the screen " "will not work correctly." msgstr "" -#: library/idle.rst:787 +#: library/idle.rst:819 msgid "" "When Shell has the focus, it controls the keyboard and screen. This is " "normally transparent, but functions that directly access the keyboard and " @@ -1344,7 +1385,7 @@ msgid "" "determine whether a key has been pressed and if so, which." msgstr "" -#: library/idle.rst:792 +#: library/idle.rst:824 msgid "" "The IDLE code running in the execution process adds frames to the call stack " "that would not be there otherwise. IDLE wraps ``sys.getrecursionlimit`` and " @@ -1352,17 +1393,17 @@ msgid "" "frames." msgstr "" -#: library/idle.rst:797 +#: library/idle.rst:829 msgid "" "When user code raises SystemExit either directly or by calling sys.exit, " "IDLE returns to a Shell prompt instead of exiting." msgstr "" -#: library/idle.rst:801 +#: library/idle.rst:833 msgid "User output in Shell" msgstr "" -#: library/idle.rst:803 +#: library/idle.rst:835 msgid "" "When a program outputs text, the result is determined by the corresponding " "output device. When IDLE executes user code, ``sys.stdout`` and ``sys." @@ -1372,7 +1413,7 @@ msgid "" "rather than production runs." msgstr "" -#: library/idle.rst:810 +#: library/idle.rst:842 msgid "" "For instance, Shell never throws away output. A program that sends " "unlimited output to Shell will eventually fill memory, resulting in a memory " @@ -1381,7 +1422,7 @@ msgid "" "lines, with 300 the default." msgstr "" -#: library/idle.rst:816 +#: library/idle.rst:848 msgid "" "A Tk Text widget, and hence IDLE's Shell, displays characters (codepoints) " "in the BMP (Basic Multilingual Plane) subset of Unicode. Which characters " @@ -1395,7 +1436,7 @@ msgid "" "spacing behavior.) ::" msgstr "" -#: library/idle.rst:826 +#: library/idle.rst:858 msgid "" ">>> s = 'a\\tb\\a<\\x02><\\r>\\bc\\nd' # Enter 22 chars.\n" ">>> len(s)\n" @@ -1406,7 +1447,7 @@ msgid "" "# Result varies by OS and font. Try it." msgstr "" -#: library/idle.rst:834 +#: library/idle.rst:866 msgid "" "The ``repr`` function is used for interactive echo of expression values. It " "returns an altered version of the input string in which control codes, some " @@ -1415,13 +1456,13 @@ msgid "" "regardless of how they are displayed." msgstr "" -#: library/idle.rst:840 +#: library/idle.rst:872 msgid "" "Normal and error output are generally kept separate (on separate lines) from " "code input and each other. They each get different highlight colors." msgstr "" -#: library/idle.rst:843 +#: library/idle.rst:875 msgid "" "For SyntaxError tracebacks, the normal '^' marking where the error was " "detected is replaced by coloring the text with an error highlight. When code " @@ -1430,7 +1471,7 @@ msgid "" "opened if necessary." msgstr "" -#: library/idle.rst:849 +#: library/idle.rst:881 msgid "" "Shell has a special facility for squeezing output lines down to a 'Squeezed " "text' label. This is done automatically for output over N lines (N = 50 by " @@ -1439,18 +1480,18 @@ msgid "" "on the output. This can be useful lines long enough to slow down scrolling." msgstr "" -#: library/idle.rst:857 +#: library/idle.rst:889 msgid "" "Squeezed output is expanded in place by double-clicking the label. It can " "also be sent to the clipboard or a separate view window by right-clicking " "the label." msgstr "" -#: library/idle.rst:862 +#: library/idle.rst:894 msgid "Developing tkinter applications" msgstr "" -#: library/idle.rst:864 +#: library/idle.rst:896 msgid "" "IDLE is intentionally different from standard Python in order to facilitate " "development of tkinter programs. Enter ``import tkinter as tk; root = tk." @@ -1462,7 +1503,7 @@ msgid "" "changes in standard Python until one enters ``root.update()``." msgstr "" -#: library/idle.rst:873 +#: library/idle.rst:905 msgid "" "Most tkinter programs run ``root.mainloop()``, which usually does not return " "until the tk app is destroyed. If the program is run with ``python -i`` or " @@ -1470,7 +1511,7 @@ msgid "" "``mainloop()`` returns, at which time there is nothing left to interact with." msgstr "" -#: library/idle.rst:879 +#: library/idle.rst:911 msgid "" "When running a tkinter program from an IDLE editor, one can comment out the " "mainloop call. One then gets a shell prompt immediately and can interact " @@ -1478,11 +1519,11 @@ msgid "" "mainloop call when running in standard Python." msgstr "" -#: library/idle.rst:885 +#: library/idle.rst:917 msgid "Running without a subprocess" msgstr "" -#: library/idle.rst:887 +#: library/idle.rst:919 msgid "" "By default, IDLE executes user code in a separate subprocess via a socket, " "which uses the internal loopback interface. This connection is not " @@ -1490,7 +1531,7 @@ msgid "" "firewall software complains anyway, you can ignore it." msgstr "" -#: library/idle.rst:892 +#: library/idle.rst:924 msgid "" "If the attempt to make the socket connection fails, Idle will notify you. " "Such failures are sometimes transient, but if persistent, the problem may be " @@ -1499,7 +1540,7 @@ msgid "" "command line switch." msgstr "" -#: library/idle.rst:898 +#: library/idle.rst:930 msgid "" "If IDLE is started with the -n command line switch it will run in a single " "process and will not create the subprocess which runs the RPC Python " @@ -1513,15 +1554,15 @@ msgid "" "at all possible." msgstr "" -#: library/idle.rst:913 +#: library/idle.rst:945 msgid "Help and Preferences" msgstr "" -#: library/idle.rst:918 +#: library/idle.rst:950 msgid "Help sources" msgstr "" -#: library/idle.rst:920 +#: library/idle.rst:952 msgid "" "Help menu entry \"IDLE Help\" displays a formatted html version of the IDLE " "chapter of the Library Reference. The result, in a read-only tkinter text " @@ -1531,7 +1572,7 @@ msgid "" "the opened box." msgstr "" -#: library/idle.rst:928 +#: library/idle.rst:960 msgid "" "Help menu entry \"Python Docs\" opens the extensive sources of help, " "including tutorials, available at ``docs.python.org/x.y``, where 'x.y' is " @@ -1540,17 +1581,17 @@ msgid "" "instead." msgstr "" -#: library/idle.rst:934 +#: library/idle.rst:966 msgid "" "Selected URLs can be added or removed from the help menu at any time using " "the General tab of the Configure IDLE dialog." msgstr "" -#: library/idle.rst:940 +#: library/idle.rst:972 msgid "Setting preferences" msgstr "" -#: library/idle.rst:942 +#: library/idle.rst:974 msgid "" "The font preferences, highlighting, keys, and general preferences can be " "changed via Configure IDLE on the Option menu. Non-default user settings are " @@ -1559,7 +1600,7 @@ msgid "" "or more of the files in ``.idlerc``." msgstr "" -#: library/idle.rst:948 +#: library/idle.rst:980 msgid "" "On the Font tab, see the text sample for the effect of font face and size on " "multiple characters in multiple languages. Edit the sample to add other " @@ -1568,7 +1609,7 @@ msgid "" "them to the top of the sample and try changing first size and then font." msgstr "" -#: library/idle.rst:955 +#: library/idle.rst:987 msgid "" "On the Highlights and Keys tab, select a built-in or custom color theme and " "key set. To use a newer built-in color theme or key set with older IDLEs, " @@ -1576,22 +1617,22 @@ msgid "" "IDLEs." msgstr "" -#: library/idle.rst:961 +#: library/idle.rst:993 msgid "IDLE on macOS" msgstr "" -#: library/idle.rst:963 +#: library/idle.rst:995 msgid "" "Under System Preferences: Dock, one can set \"Prefer tabs when opening " "documents\" to \"Always\". This setting is not compatible with the tk/" "tkinter GUI framework used by IDLE, and it breaks a few IDLE features." msgstr "" -#: library/idle.rst:968 +#: library/idle.rst:1000 msgid "Extensions" msgstr "" -#: library/idle.rst:970 +#: library/idle.rst:1002 msgid "" "IDLE contains an extension facility. Preferences for extensions can be " "changed with the Extensions tab of the preferences dialog. See the beginning " @@ -1600,21 +1641,21 @@ msgid "" "testing." msgstr "" -#: library/idle.rst:978 +#: library/idle.rst:1010 msgid "idlelib --- implementation of IDLE application" msgstr "" -#: library/idle.rst:983 +#: library/idle.rst:1015 msgid "**Source code:** :source:`Lib/idlelib`" msgstr "" -#: library/idle.rst:987 +#: library/idle.rst:1019 msgid "" "The Lib/idlelib package implements the IDLE application. See the rest of " "this page for how to use IDLE." msgstr "" -#: library/idle.rst:990 +#: library/idle.rst:1022 msgid "" "The files in idlelib are described in idlelib/README.txt. Access it either " "in idlelib or click Help => About IDLE on the IDLE menu. This file also " diff --git a/library/imaplib.po b/library/imaplib.po index da4cb092..a6c220ab 100644 --- a/library/imaplib.po +++ b/library/imaplib.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/imghdr.po b/library/imghdr.po index 4efb8f10..94addb32 100644 --- a/library/imghdr.po +++ b/library/imghdr.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/imp.po b/library/imp.po index 60d349d1..5607fca6 100644 --- a/library/imp.po +++ b/library/imp.po @@ -8,10 +8,11 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/library/importlib.metadata.po b/library/importlib.metadata.po index 288f6f46..d4a12a96 100644 --- a/library/importlib.metadata.po +++ b/library/importlib.metadata.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -111,8 +111,8 @@ msgstr "" #: library/importlib.metadata.rst:82 msgid "" "(example) $ python\n" -">>> from importlib.metadata import version \n" -">>> version('wheel') \n" +">>> from importlib.metadata import version\n" +">>> version('wheel')\n" "'0.32.3'" msgstr "" @@ -130,7 +130,7 @@ msgstr "" #: library/importlib.metadata.rst:95 msgid "" -">>> list(metadata('wheel')) \n" +">>> list(metadata('wheel'))\n" "['Metadata-Version', 'Name', 'Version', 'Summary', 'Home-page', 'Author', " "'Author-email', 'Maintainer', 'Maintainer-email', 'License', 'Project-URL', " "'Project-URL', 'Project-URL', 'Keywords', 'Platform', 'Classifier', " @@ -211,7 +211,7 @@ msgid "Query all entry points::" msgstr "" #: library/importlib.metadata.rst:152 -msgid ">>> eps = entry_points() " +msgid ">>> eps = entry_points()" msgstr "" #: library/importlib.metadata.rst:154 @@ -223,7 +223,7 @@ msgstr "" #: library/importlib.metadata.rst:158 msgid "" -">>> sorted(eps.groups) \n" +">>> sorted(eps.groups)\n" "['console_scripts', 'distutils.commands', 'distutils.setup_keywords', " "'egg_info.writers', 'setuptools.installation']" msgstr "" @@ -236,7 +236,7 @@ msgid "" msgstr "" #: library/importlib.metadata.rst:165 -msgid ">>> scripts = eps.select(group='console_scripts') " +msgid ">>> scripts = eps.select(group='console_scripts')" msgstr "" #: library/importlib.metadata.rst:167 @@ -246,7 +246,7 @@ msgid "" msgstr "" #: library/importlib.metadata.rst:170 -msgid ">>> scripts = entry_points(group='console_scripts') " +msgid ">>> scripts = entry_points(group='console_scripts')" msgstr "" #: library/importlib.metadata.rst:172 @@ -256,9 +256,9 @@ msgstr "" #: library/importlib.metadata.rst:174 msgid "" -">>> 'wheel' in scripts.names \n" +">>> 'wheel' in scripts.names\n" "True\n" -">>> wheel = scripts['wheel'] " +">>> wheel = scripts['wheel']" msgstr "" #: library/importlib.metadata.rst:178 @@ -267,8 +267,8 @@ msgstr "" #: library/importlib.metadata.rst:180 msgid "" -">>> (wheel,) = entry_points(group='console_scripts', name='wheel') \n" -">>> (wheel,) = entry_points().select(group='console_scripts', name='wheel') " +">>> (wheel,) = entry_points(group='console_scripts', name='wheel')\n" +">>> (wheel,) = entry_points().select(group='console_scripts', name='wheel')" msgstr "" #: library/importlib.metadata.rst:183 @@ -277,16 +277,16 @@ msgstr "" #: library/importlib.metadata.rst:185 msgid "" -">>> wheel \n" +">>> wheel\n" "EntryPoint(name='wheel', value='wheel.cli:main', group='console_scripts')\n" -">>> wheel.module \n" +">>> wheel.module\n" "'wheel.cli'\n" -">>> wheel.attr \n" +">>> wheel.attr\n" "'main'\n" -">>> wheel.extras \n" +">>> wheel.extras\n" "[]\n" -">>> main = wheel.load() \n" -">>> main \n" +">>> main = wheel.load()\n" +">>> main\n" "" msgstr "" @@ -323,9 +323,9 @@ msgid "" "package as a :class:`PackageMetadata` instance." msgstr "" -#: library/importlib.metadata.rst:224 library/importlib.metadata.rst:272 -#: library/importlib.metadata.rst:293 library/importlib.metadata.rst:356 -#: library/importlib.metadata.rst:407 +#: library/importlib.metadata.rst:224 library/importlib.metadata.rst:273 +#: library/importlib.metadata.rst:294 library/importlib.metadata.rst:357 +#: library/importlib.metadata.rst:408 msgid "" "Raises :exc:`PackageNotFoundError` if the named distribution package is not " "installed in the current Python environment." @@ -352,7 +352,7 @@ msgid "" msgstr "" #: library/importlib.metadata.rst:238 -msgid ">>> wheel_metadata = metadata('wheel') " +msgid ">>> wheel_metadata = metadata('wheel')" msgstr "" #: library/importlib.metadata.rst:240 @@ -363,7 +363,7 @@ msgstr "" #: library/importlib.metadata.rst:243 msgid "" -">>> wheel_metadata['Requires-Python'] \n" +">>> wheel_metadata['Requires-Python']\n" "'>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*'" msgstr "" @@ -379,7 +379,7 @@ msgid "" "'>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*'" msgstr "" -#: library/importlib.metadata.rst:252 library/importlib.metadata.rst:444 +#: library/importlib.metadata.rst:252 library/importlib.metadata.rst:445 msgid "" "The full set of available metadata is not described here. See the PyPA `Core " "metadata specification `__ for the named " +"distribution package." msgstr "" -#: library/importlib.metadata.rst:275 +#: library/importlib.metadata.rst:276 msgid "" "The :func:`!version` function is the quickest way to get a `Distribution " "Package `_'s version number, as a string::" msgstr "" -#: library/importlib.metadata.rst:279 +#: library/importlib.metadata.rst:280 msgid "" -">>> version('wheel') \n" +">>> version('wheel')\n" "'0.32.3'" msgstr "" -#: library/importlib.metadata.rst:286 +#: library/importlib.metadata.rst:287 msgid "Distribution files" msgstr "" -#: library/importlib.metadata.rst:290 +#: library/importlib.metadata.rst:291 msgid "" "Return the full set of files contained within the named distribution package." msgstr "" -#: library/importlib.metadata.rst:296 +#: library/importlib.metadata.rst:297 msgid "" "Returns :const:`None` if the distribution is found but the installation " "database records reporting the files associated with the distribuion package " "are missing." msgstr "" -#: library/importlib.metadata.rst:302 +#: library/importlib.metadata.rst:303 msgid "" "A :class:`pathlib.PurePath` derived object with additional ``dist``, " "``size``, and ``hash`` properties corresponding to the distribution " "package's installation metadata for that file." msgstr "" -#: library/importlib.metadata.rst:306 +#: library/importlib.metadata.rst:307 msgid "" "The :func:`!files` function takes a `Distribution Package `_ name and returns " @@ -450,26 +451,26 @@ msgid "" "class:`PackagePath` instance. For example::" msgstr "" -#: library/importlib.metadata.rst:311 +#: library/importlib.metadata.rst:312 msgid "" -">>> util = [p for p in files('wheel') if 'util.py' in str(p)][0] \n" -">>> util \n" +">>> util = [p for p in files('wheel') if 'util.py' in str(p)][0]\n" +">>> util\n" "PackagePath('wheel/util.py')\n" -">>> util.size \n" +">>> util.size\n" "859\n" -">>> util.dist \n" +">>> util.dist\n" "\n" -">>> util.hash \n" +">>> util.hash\n" "" msgstr "" -#: library/importlib.metadata.rst:321 +#: library/importlib.metadata.rst:322 msgid "Once you have the file, you can also read its contents::" msgstr "" -#: library/importlib.metadata.rst:323 +#: library/importlib.metadata.rst:324 msgid "" -">>> print(util.read_text()) \n" +">>> print(util.read_text())\n" "import base64\n" "import sys\n" "...\n" @@ -479,19 +480,19 @@ msgid "" " return s" msgstr "" -#: library/importlib.metadata.rst:332 +#: library/importlib.metadata.rst:333 msgid "" "You can also use the :meth:`!locate` method to get the absolute path to the " "file::" msgstr "" -#: library/importlib.metadata.rst:335 +#: library/importlib.metadata.rst:336 msgid "" -">>> util.locate() \n" +">>> util.locate()\n" "PosixPath('/home/gustav/example/lib/site-packages/wheel/util.py')" msgstr "" -#: library/importlib.metadata.rst:338 +#: library/importlib.metadata.rst:339 msgid "" "In the case where the metadata file listing files (``RECORD`` or ``SOURCES." "txt``) is missing, :func:`!files` will return :const:`None`. The caller may " @@ -501,47 +502,47 @@ msgid "" "distribution is not known to have the metadata present." msgstr "" -#: library/importlib.metadata.rst:349 +#: library/importlib.metadata.rst:350 msgid "Distribution requirements" msgstr "" -#: library/importlib.metadata.rst:353 +#: library/importlib.metadata.rst:354 msgid "" "Return the declared dependency specifiers for the named distribution package." msgstr "" -#: library/importlib.metadata.rst:359 +#: library/importlib.metadata.rst:360 msgid "" "To get the full set of requirements for a `Distribution Package `_, use " "the :func:`!requires` function::" msgstr "" -#: library/importlib.metadata.rst:363 +#: library/importlib.metadata.rst:364 msgid "" -">>> requires('wheel') \n" +">>> requires('wheel')\n" "[\"pytest (>=3.0.0) ; extra == 'test'\", \"pytest-cov ; extra == 'test'\"]" msgstr "" -#: library/importlib.metadata.rst:371 +#: library/importlib.metadata.rst:372 msgid "Mapping import to distribution packages" msgstr "" -#: library/importlib.metadata.rst:375 +#: library/importlib.metadata.rst:376 msgid "" "Return a mapping from the top level module and import package names found " "via :data:`sys.meta_path` to the names of the distribution packages (if any) " "that provide the corresponding files." msgstr "" -#: library/importlib.metadata.rst:379 +#: library/importlib.metadata.rst:380 msgid "" "To allow for namespace packages (which may have members provided by multiple " "distribution packages), each top level import name maps to a list of " "distribution names rather than mapping directly to a single name." msgstr "" -#: library/importlib.metadata.rst:383 +#: library/importlib.metadata.rst:384 msgid "" "A convenience method to resolve the `Distribution Package `_ name (or names, " @@ -550,91 +551,91 @@ msgid "" "glossary/#term-Import-Package>`_::" msgstr "" -#: library/importlib.metadata.rst:388 +#: library/importlib.metadata.rst:389 msgid "" ">>> packages_distributions()\n" "{'importlib_metadata': ['importlib-metadata'], 'yaml': ['PyYAML'], 'jaraco': " "['jaraco.classes', 'jaraco.functools'], ...}" msgstr "" -#: library/importlib.metadata.rst:391 +#: library/importlib.metadata.rst:392 msgid "" "Some editable installs, `do not supply top-level names `_, and thus this function is not " "reliable with such installs." msgstr "" -#: library/importlib.metadata.rst:400 +#: library/importlib.metadata.rst:401 msgid "Distributions" msgstr "" -#: library/importlib.metadata.rst:404 +#: library/importlib.metadata.rst:405 msgid "" "Return a :class:`Distribution` instance describing the named distribution " "package." msgstr "" -#: library/importlib.metadata.rst:412 +#: library/importlib.metadata.rst:413 msgid "Details of an installed distribution package." msgstr "" -#: library/importlib.metadata.rst:414 +#: library/importlib.metadata.rst:415 msgid "" "Note: different :class:`!Distribution` instances do not currently compare " "equal, even if they relate to the same installed distribution and " "accordingly have the same attributes." msgstr "" -#: library/importlib.metadata.rst:418 +#: library/importlib.metadata.rst:419 msgid "" "While the module level API described above is the most common and convenient " "usage, you can get all of that information from the :class:`!Distribution` " "class. :class:`!Distribution` is an abstract object that represents the " "metadata for a Python `Distribution Package `_. You can get the concreate :" +"latest/glossary/#term-Distribution-Package>`_. You can get the concrete :" "class:`!Distribution` subclass instance for an installed distribution " "package by calling the :func:`distribution` function::" msgstr "" -#: library/importlib.metadata.rst:425 +#: library/importlib.metadata.rst:426 msgid "" -">>> from importlib.metadata import distribution \n" -">>> dist = distribution('wheel') \n" -">>> type(dist) \n" +">>> from importlib.metadata import distribution\n" +">>> dist = distribution('wheel')\n" +">>> type(dist)\n" "" msgstr "" -#: library/importlib.metadata.rst:430 +#: library/importlib.metadata.rst:431 msgid "" "Thus, an alternative way to get the version number is through the :class:`!" "Distribution` instance::" msgstr "" -#: library/importlib.metadata.rst:433 +#: library/importlib.metadata.rst:434 msgid "" -">>> dist.version \n" +">>> dist.version\n" "'0.32.3'" msgstr "" -#: library/importlib.metadata.rst:436 +#: library/importlib.metadata.rst:437 msgid "" "There are all kinds of additional metadata available on :class:`!" "Distribution` instances::" msgstr "" -#: library/importlib.metadata.rst:439 +#: library/importlib.metadata.rst:440 msgid "" -">>> dist.metadata['Requires-Python'] \n" +">>> dist.metadata['Requires-Python']\n" "'>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*'\n" -">>> dist.metadata['License'] \n" +">>> dist.metadata['License']\n" "'MIT'" msgstr "" -#: library/importlib.metadata.rst:449 +#: library/importlib.metadata.rst:450 msgid "Distribution Discovery" msgstr "" -#: library/importlib.metadata.rst:451 +#: library/importlib.metadata.rst:452 msgid "" "By default, this package provides built-in support for discovery of metadata " "for file system and zip file `Distribution Package `_ metadata is not available through :" @@ -669,14 +670,14 @@ msgid "" "on :data:`sys.meta_path`." msgstr "" -#: library/importlib.metadata.rst:470 +#: library/importlib.metadata.rst:471 msgid "" "By default ``importlib.metadata`` installs a finder for distribution " "packages found on the file system. This finder doesn't actually find any " "*distributions*, but it can find their metadata." msgstr "" -#: library/importlib.metadata.rst:475 +#: library/importlib.metadata.rst:476 msgid "" "The abstract class :py:class:`importlib.abc.MetaPathFinder` defines the " "interface expected of finders by Python's import system. ``importlib." @@ -686,7 +687,7 @@ msgid "" "base class, which defines this abstract method::" msgstr "" -#: library/importlib.metadata.rst:483 +#: library/importlib.metadata.rst:484 msgid "" "@abc.abstractmethod\n" "def find_distributions(context=DistributionFinder.Context()):\n" @@ -695,14 +696,14 @@ msgid "" " \"\"\"" msgstr "" -#: library/importlib.metadata.rst:489 +#: library/importlib.metadata.rst:490 msgid "" "The ``DistributionFinder.Context`` object provides ``.path`` and ``.name`` " "properties indicating the path to search and name to match and may supply " "other relevant context." msgstr "" -#: library/importlib.metadata.rst:493 +#: library/importlib.metadata.rst:494 msgid "" "What this means in practice is that to support finding distribution package " "metadata in locations other than the file system, subclass ``Distribution`` " diff --git a/library/importlib.po b/library/importlib.po index 9ad82b96..2b01dd5e 100644 --- a/library/importlib.po +++ b/library/importlib.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -557,7 +557,7 @@ msgid "" "implemented." msgstr "" -#: library/importlib.rst:631 +#: library/importlib.rst:636 msgid "*Superseded by TraversableResources*" msgstr "" @@ -573,7 +573,7 @@ msgid "" "class:`importlib.resources.abc.TraversableResources`." msgstr "" -#: library/importlib.rst:395 +#: library/importlib.rst:396 msgid "" "An abstract method to return the bytes for the data located at *path*. " "Loaders that have a file-like storage back-end that allows storing arbitrary " @@ -583,34 +583,34 @@ msgid "" "__file__` attribute or an item from a package's :attr:`~module.__path__`." msgstr "" -#: library/importlib.rst:404 +#: library/importlib.rst:405 msgid "Raises :exc:`OSError` instead of :exc:`NotImplementedError`." msgstr "" -#: library/importlib.rst:410 +#: library/importlib.rst:411 msgid "" "An abstract base class for a :term:`loader` which implements the optional :" "pep:`302` protocol for loaders that inspect modules." msgstr "" -#: library/importlib.rst:415 +#: library/importlib.rst:416 msgid "" "Return the code object for a module, or ``None`` if the module does not have " "a code object (as would be the case, for example, for a built-in module). " "Raise an :exc:`ImportError` if loader cannot find the requested module." msgstr "" -#: library/importlib.rst:421 +#: library/importlib.rst:422 msgid "" "While the method has a default implementation, it is suggested that it be " "overridden if possible for performance." msgstr "" -#: library/importlib.rst:427 +#: library/importlib.rst:428 msgid "No longer abstract and a concrete implementation is provided." msgstr "" -#: library/importlib.rst:432 +#: library/importlib.rst:434 msgid "" "An abstract method to return the source of a module. It is returned as a " "text string using :term:`universal newlines`, translating all recognized " @@ -619,22 +619,22 @@ msgid "" "cannot find the module specified." msgstr "" -#: library/importlib.rst:447 library/importlib.rst:497 +#: library/importlib.rst:449 library/importlib.rst:500 msgid "Raises :exc:`ImportError` instead of :exc:`NotImplementedError`." msgstr "" -#: library/importlib.rst:443 +#: library/importlib.rst:445 msgid "" "An optional method to return a true value if the module is a package, a " "false value otherwise. :exc:`ImportError` is raised if the :term:`loader` " "cannot find the module." msgstr "" -#: library/importlib.rst:452 +#: library/importlib.rst:454 msgid "Create a code object from Python source." msgstr "" -#: library/importlib.rst:454 +#: library/importlib.rst:456 msgid "" "The *data* argument can be whatever the :func:`compile` function supports (i." "e. string or bytes). The *path* argument should be the \"path\" to where the " @@ -642,107 +642,107 @@ msgid "" "in a zip file)." msgstr "" -#: library/importlib.rst:459 +#: library/importlib.rst:461 msgid "" "With the subsequent code object one can execute it in a module by running " "``exec(code, module.__dict__)``." msgstr "" -#: library/importlib.rst:464 +#: library/importlib.rst:466 msgid "Made the method static." msgstr "" -#: library/importlib.rst:469 +#: library/importlib.rst:471 msgid "Implementation of :meth:`Loader.exec_module`." msgstr "" -#: library/importlib.rst:475 +#: library/importlib.rst:477 msgid "Implementation of :meth:`Loader.load_module`." msgstr "" -#: library/importlib.rst:477 +#: library/importlib.rst:479 msgid "use :meth:`exec_module` instead." msgstr "" -#: library/importlib.rst:483 +#: library/importlib.rst:485 msgid "" "An abstract base class which inherits from :class:`InspectLoader` that, when " "implemented, helps a module to be executed as a script. The ABC represents " "an optional :pep:`302` protocol." msgstr "" -#: library/importlib.rst:489 +#: library/importlib.rst:492 msgid "" "An abstract method that is to return the value of :attr:`~module.__file__` " "for the specified module. If no path is available, :exc:`ImportError` is " "raised." msgstr "" -#: library/importlib.rst:493 +#: library/importlib.rst:496 msgid "" "If source code is available, then the method should return the path to the " "source file, regardless of whether a bytecode was used to load the module." msgstr "" -#: library/importlib.rst:503 +#: library/importlib.rst:506 msgid "" "An abstract base class which inherits from :class:`ResourceLoader` and :" "class:`ExecutionLoader`, providing concrete implementations of :meth:" "`ResourceLoader.get_data` and :meth:`ExecutionLoader.get_filename`." msgstr "" -#: library/importlib.rst:507 +#: library/importlib.rst:510 msgid "" "The *fullname* argument is a fully resolved name of the module the loader is " "to handle. The *path* argument is the path to the file for the module." msgstr "" -#: library/importlib.rst:514 +#: library/importlib.rst:517 msgid "The name of the module the loader can handle." msgstr "" -#: library/importlib.rst:518 +#: library/importlib.rst:521 msgid "Path to the file of the module." msgstr "" -#: library/importlib.rst:522 +#: library/importlib.rst:525 msgid "Calls super's ``load_module()``." msgstr "" -#: library/importlib.rst:524 +#: library/importlib.rst:527 msgid "Use :meth:`Loader.exec_module` instead." msgstr "" -#: library/importlib.rst:1124 +#: library/importlib.rst:1140 msgid "Returns :attr:`path`." msgstr "" -#: library/importlib.rst:533 +#: library/importlib.rst:538 msgid "Reads *path* as a binary file and returns the bytes from it." msgstr "" -#: library/importlib.rst:538 +#: library/importlib.rst:543 msgid "" "An abstract base class for implementing source (and optionally bytecode) " "file loading. The class inherits from both :class:`ResourceLoader` and :" "class:`ExecutionLoader`, requiring the implementation of:" msgstr "" -#: library/importlib.rst:542 +#: library/importlib.rst:547 msgid ":meth:`ResourceLoader.get_data`" msgstr "" -#: library/importlib.rst:543 +#: library/importlib.rst:548 msgid ":meth:`ExecutionLoader.get_filename`" msgstr "" -#: library/importlib.rst:544 +#: library/importlib.rst:549 msgid "" "Should only return the path to the source file; sourceless loading is not " "supported." msgstr "" -#: library/importlib.rst:547 +#: library/importlib.rst:552 msgid "" "The abstract methods defined by this class are to add optional bytecode file " "support. Not implementing these optional methods (or causing them to raise :" @@ -754,83 +754,83 @@ msgid "" "bytecode-specific API is exposed." msgstr "" -#: library/importlib.rst:558 +#: library/importlib.rst:563 msgid "" "Optional abstract method which returns a :class:`dict` containing metadata " "about the specified path. Supported dictionary keys are:" msgstr "" -#: library/importlib.rst:561 +#: library/importlib.rst:566 msgid "" "``'mtime'`` (mandatory): an integer or floating-point number representing " "the modification time of the source code;" msgstr "" -#: library/importlib.rst:563 +#: library/importlib.rst:568 msgid "``'size'`` (optional): the size in bytes of the source code." msgstr "" -#: library/importlib.rst:565 +#: library/importlib.rst:570 msgid "" "Any other keys in the dictionary are ignored, to allow for future " "extensions. If the path cannot be handled, :exc:`OSError` is raised." msgstr "" -#: library/importlib.rst:583 +#: library/importlib.rst:588 msgid "Raise :exc:`OSError` instead of :exc:`NotImplementedError`." msgstr "" -#: library/importlib.rst:575 +#: library/importlib.rst:580 msgid "" "Optional abstract method which returns the modification time for the " "specified path." msgstr "" -#: library/importlib.rst:578 +#: library/importlib.rst:583 msgid "" "This method is deprecated in favour of :meth:`path_stats`. You don't have " "to implement it, but it is still available for compatibility purposes. " "Raise :exc:`OSError` if the path cannot be handled." msgstr "" -#: library/importlib.rst:588 +#: library/importlib.rst:593 msgid "" "Optional abstract method which writes the specified bytes to a file path. " "Any intermediate directories which do not exist are to be created " "automatically." msgstr "" -#: library/importlib.rst:592 +#: library/importlib.rst:597 msgid "" "When writing to the path fails because the path is read-only (:const:`errno." "EACCES`/:exc:`PermissionError`), do not propagate the exception." msgstr "" -#: library/importlib.rst:596 +#: library/importlib.rst:601 msgid "No longer raises :exc:`NotImplementedError` when called." msgstr "" -#: library/importlib.rst:601 +#: library/importlib.rst:606 msgid "Concrete implementation of :meth:`InspectLoader.get_code`." msgstr "" -#: library/importlib.rst:605 +#: library/importlib.rst:610 msgid "Concrete implementation of :meth:`Loader.exec_module`." msgstr "" -#: library/importlib.rst:611 +#: library/importlib.rst:616 msgid "Concrete implementation of :meth:`Loader.load_module`." msgstr "" -#: library/importlib.rst:613 +#: library/importlib.rst:618 msgid "Use :meth:`exec_module` instead." msgstr "" -#: library/importlib.rst:618 +#: library/importlib.rst:623 msgid "Concrete implementation of :meth:`InspectLoader.get_source`." msgstr "" -#: library/importlib.rst:622 +#: library/importlib.rst:627 msgid "" "Concrete implementation of :meth:`InspectLoader.is_package`. A module is " "determined to be a package if its file path (as provided by :meth:" @@ -839,12 +839,12 @@ msgid "" "``__init__``." msgstr "" -#: library/importlib.rst:633 +#: library/importlib.rst:638 msgid "" "An :term:`abstract base class` to provide the ability to read *resources*." msgstr "" -#: library/importlib.rst:636 +#: library/importlib.rst:641 msgid "" "From the perspective of this ABC, a *resource* is a binary artifact that is " "shipped within a package. Typically this is something like a data file that " @@ -854,7 +854,7 @@ msgid "" "file versus on the file system." msgstr "" -#: library/importlib.rst:644 +#: library/importlib.rst:649 msgid "" "For any of methods of this class, a *resource* argument is expected to be a :" "term:`path-like object` which represents conceptually just a file name. This " @@ -866,7 +866,7 @@ msgid "" "potentially representing multiple packages or a module)." msgstr "" -#: library/importlib.rst:655 +#: library/importlib.rst:660 msgid "" "Loaders that wish to support resource reading are expected to provide a " "method called ``get_resource_reader(fullname)`` which returns an object " @@ -875,37 +875,37 @@ msgid "" "with this ABC should only be returned when the specified module is a package." msgstr "" -#: library/importlib.rst:774 +#: library/importlib.rst:789 msgid "Use :class:`importlib.resources.abc.TraversableResources` instead." msgstr "" -#: library/importlib.rst:669 +#: library/importlib.rst:675 msgid "" "Returns an opened, :term:`file-like object` for binary reading of the " "*resource*." msgstr "" -#: library/importlib.rst:672 +#: library/importlib.rst:678 msgid "If the resource cannot be found, :exc:`FileNotFoundError` is raised." msgstr "" -#: library/importlib.rst:677 +#: library/importlib.rst:684 msgid "Returns the file system path to the *resource*." msgstr "" -#: library/importlib.rst:679 +#: library/importlib.rst:686 msgid "" "If the resource does not concretely exist on the file system, raise :exc:" "`FileNotFoundError`." msgstr "" -#: library/importlib.rst:684 +#: library/importlib.rst:692 msgid "" "Returns ``True`` if the named *name* is considered a resource. :exc:" "`FileNotFoundError` is raised if *name* does not exist." msgstr "" -#: library/importlib.rst:689 +#: library/importlib.rst:698 msgid "" "Returns an :term:`iterable` of strings over the contents of the package. Do " "note that it is not required that all names returned by the iterator be " @@ -913,7 +913,7 @@ msgid "" "`is_resource` would be false." msgstr "" -#: library/importlib.rst:695 +#: library/importlib.rst:704 msgid "" "Allowing non-resource names to be returned is to allow for situations where " "how a package and its resources are stored are known a priori and the non-" @@ -922,71 +922,71 @@ msgid "" "stored on the file system then those subdirectory names can be used directly." msgstr "" -#: library/importlib.rst:703 +#: library/importlib.rst:712 msgid "The abstract method returns an iterable of no items." msgstr "" -#: library/importlib.rst:708 +#: library/importlib.rst:717 msgid "" "An object with a subset of :class:`pathlib.Path` methods suitable for " "traversing directories and opening files." msgstr "" -#: library/importlib.rst:711 +#: library/importlib.rst:720 msgid "" "For a representation of the object on the file-system, use :meth:`importlib." "resources.as_file`." msgstr "" -#: library/importlib.rst:716 +#: library/importlib.rst:725 msgid "Use :class:`importlib.resources.abc.Traversable` instead." msgstr "" -#: library/importlib.rst:721 +#: library/importlib.rst:730 msgid "Abstract. The base name of this object without any parent references." msgstr "" -#: library/importlib.rst:725 +#: library/importlib.rst:735 msgid "Yield ``Traversable`` objects in ``self``." msgstr "" -#: library/importlib.rst:729 +#: library/importlib.rst:740 msgid "Return ``True`` if ``self`` is a directory." msgstr "" -#: library/importlib.rst:733 +#: library/importlib.rst:745 msgid "Return ``True`` if ``self`` is a file." msgstr "" -#: library/importlib.rst:737 +#: library/importlib.rst:750 msgid "Return Traversable child in ``self``." msgstr "" -#: library/importlib.rst:741 +#: library/importlib.rst:755 msgid "Return ``Traversable`` child in ``self``." msgstr "" -#: library/importlib.rst:745 +#: library/importlib.rst:760 msgid "" "*mode* may be 'r' or 'rb' to open as text or binary. Return a handle " "suitable for reading (same as :attr:`pathlib.Path.open`)." msgstr "" -#: library/importlib.rst:748 +#: library/importlib.rst:763 msgid "" "When opening as text, accepts encoding parameters such as those accepted by :" "class:`io.TextIOWrapper`." msgstr "" -#: library/importlib.rst:753 +#: library/importlib.rst:768 msgid "Read contents of ``self`` as bytes." msgstr "" -#: library/importlib.rst:757 +#: library/importlib.rst:772 msgid "Read contents of ``self`` as text." msgstr "" -#: library/importlib.rst:762 +#: library/importlib.rst:777 msgid "" "An abstract base class for resource readers capable of serving the :meth:" "`importlib.resources.files` interface. Subclasses :class:`importlib." @@ -996,71 +996,71 @@ msgid "" "also supplies ResourceReader." msgstr "" -#: library/importlib.rst:769 +#: library/importlib.rst:784 msgid "" "Loaders that wish to support resource reading are expected to implement this " "interface." msgstr "" -#: library/importlib.rst:779 +#: library/importlib.rst:795 msgid "" "Returns a :class:`importlib.resources.abc.Traversable` object for the loaded " "package." msgstr "" -#: library/importlib.rst:785 +#: library/importlib.rst:801 msgid ":mod:`importlib.machinery` -- Importers and path hooks" msgstr "" -#: library/importlib.rst:790 +#: library/importlib.rst:806 msgid "**Source code:** :source:`Lib/importlib/machinery.py`" msgstr "" -#: library/importlib.rst:794 +#: library/importlib.rst:810 msgid "" "This module contains the various objects that help :keyword:`import` find " "and load modules." msgstr "" -#: library/importlib.rst:799 +#: library/importlib.rst:815 msgid "" "A list of strings representing the recognized file suffixes for source " "modules." msgstr "" -#: library/importlib.rst:806 +#: library/importlib.rst:822 msgid "" "A list of strings representing the file suffixes for non-optimized bytecode " "modules." msgstr "" -#: library/importlib.rst:821 +#: library/importlib.rst:837 msgid "Use :const:`BYTECODE_SUFFIXES` instead." msgstr "" -#: library/importlib.rst:816 +#: library/importlib.rst:832 msgid "" "A list of strings representing the file suffixes for optimized bytecode " "modules." msgstr "" -#: library/importlib.rst:826 +#: library/importlib.rst:842 msgid "" "A list of strings representing the recognized file suffixes for bytecode " "modules (including the leading dot)." msgstr "" -#: library/importlib.rst:831 +#: library/importlib.rst:847 msgid "The value is no longer dependent on ``__debug__``." msgstr "" -#: library/importlib.rst:836 +#: library/importlib.rst:852 msgid "" "A list of strings representing the recognized file suffixes for extension " "modules." msgstr "" -#: library/importlib.rst:843 +#: library/importlib.rst:859 msgid "" "Returns a combined list of strings representing all file suffixes for " "modules recognized by the standard import machinery. This is a helper for " @@ -1069,56 +1069,56 @@ msgid "" "`inspect.getmodulename`)." msgstr "" -#: library/importlib.rst:854 +#: library/importlib.rst:870 msgid "" "An :term:`importer` for built-in modules. All known built-in modules are " "listed in :data:`sys.builtin_module_names`. This class implements the :class:" "`importlib.abc.MetaPathFinder` and :class:`importlib.abc.InspectLoader` ABCs." msgstr "" -#: library/importlib.rst:873 library/importlib.rst:901 +#: library/importlib.rst:889 library/importlib.rst:917 msgid "" "Only class methods are defined by this class to alleviate the need for " "instantiation." msgstr "" -#: library/importlib.rst:862 +#: library/importlib.rst:878 msgid "" "As part of :pep:`489`, the builtin importer now implements :meth:`Loader." "create_module` and :meth:`Loader.exec_module`" msgstr "" -#: library/importlib.rst:869 +#: library/importlib.rst:885 msgid "" "An :term:`importer` for frozen modules. This class implements the :class:" "`importlib.abc.MetaPathFinder` and :class:`importlib.abc.InspectLoader` ABCs." msgstr "" -#: library/importlib.rst:876 +#: library/importlib.rst:892 msgid "" "Gained :meth:`~Loader.create_module` and :meth:`~Loader.exec_module` methods." msgstr "" -#: library/importlib.rst:883 +#: library/importlib.rst:899 msgid "" ":term:`Finder ` for modules declared in the Windows registry. This " "class implements the :class:`importlib.abc.MetaPathFinder` ABC." msgstr "" -#: library/importlib.rst:891 +#: library/importlib.rst:907 msgid "" "Use :mod:`site` configuration instead. Future versions of Python may not " "enable this finder by default." msgstr "" -#: library/importlib.rst:898 +#: library/importlib.rst:914 msgid "" "A :term:`Finder ` for :data:`sys.path` and package ``__path__`` " "attributes. This class implements the :class:`importlib.abc.MetaPathFinder` " "ABC." msgstr "" -#: library/importlib.rst:906 +#: library/importlib.rst:922 msgid "" "Class method that attempts to find a :term:`spec ` for the " "module specified by *fullname* on :data:`sys.path` or, if defined, on " @@ -1132,43 +1132,43 @@ msgid "" "cache and returned." msgstr "" -#: library/importlib.rst:920 +#: library/importlib.rst:936 msgid "" "If the current working directory -- represented by an empty string -- is no " "longer valid then ``None`` is returned but no value is cached in :data:`sys." "path_importer_cache`." msgstr "" -#: library/importlib.rst:927 +#: library/importlib.rst:943 msgid "" "Calls :meth:`importlib.abc.PathEntryFinder.invalidate_caches` on all finders " "stored in :data:`sys.path_importer_cache` that define the method. Otherwise " "entries in :data:`sys.path_importer_cache` set to ``None`` are deleted." msgstr "" -#: library/importlib.rst:932 +#: library/importlib.rst:948 msgid "Entries of ``None`` in :data:`sys.path_importer_cache` are deleted." msgstr "" -#: library/importlib.rst:935 +#: library/importlib.rst:951 msgid "" "Calls objects in :data:`sys.path_hooks` with the current working directory " "for ``''`` (i.e. the empty string)." msgstr "" -#: library/importlib.rst:942 +#: library/importlib.rst:958 msgid "" "A concrete implementation of :class:`importlib.abc.PathEntryFinder` which " "caches results from the file system." msgstr "" -#: library/importlib.rst:945 +#: library/importlib.rst:961 msgid "" "The *path* argument is the directory for which the finder is in charge of " "searching." msgstr "" -#: library/importlib.rst:948 +#: library/importlib.rst:964 msgid "" "The *loader_details* argument is a variable number of 2-item tuples each " "containing a loader and a sequence of file suffixes the loader recognizes. " @@ -1176,7 +1176,7 @@ msgid "" "module's name and the path to the file found." msgstr "" -#: library/importlib.rst:953 +#: library/importlib.rst:969 msgid "" "The finder will cache the directory contents as necessary, making stat calls " "for each module search to verify the cache is not outdated. Because cache " @@ -1189,166 +1189,166 @@ msgid "" "to call :func:`importlib.invalidate_caches`." msgstr "" -#: library/importlib.rst:967 +#: library/importlib.rst:983 msgid "The path the finder will search in." msgstr "" -#: library/importlib.rst:971 +#: library/importlib.rst:987 msgid "Attempt to find the spec to handle *fullname* within :attr:`path`." msgstr "" -#: library/importlib.rst:977 +#: library/importlib.rst:993 msgid "Clear out the internal cache." msgstr "" -#: library/importlib.rst:981 +#: library/importlib.rst:997 msgid "" "A class method which returns a closure for use on :data:`sys.path_hooks`. An " "instance of :class:`FileFinder` is returned by the closure using the path " "argument given to the closure directly and *loader_details* indirectly." msgstr "" -#: library/importlib.rst:986 +#: library/importlib.rst:1002 msgid "" "If the argument to the closure is not an existing directory, :exc:" "`ImportError` is raised." msgstr "" -#: library/importlib.rst:992 +#: library/importlib.rst:1008 msgid "" "A concrete implementation of :class:`importlib.abc.SourceLoader` by " "subclassing :class:`importlib.abc.FileLoader` and providing some concrete " "implementations of other methods." msgstr "" -#: library/importlib.rst:1000 +#: library/importlib.rst:1016 msgid "The name of the module that this loader will handle." msgstr "" -#: library/importlib.rst:1004 +#: library/importlib.rst:1020 msgid "The path to the source file." msgstr "" -#: library/importlib.rst:1008 +#: library/importlib.rst:1024 msgid "Return ``True`` if :attr:`path` appears to be for a package." msgstr "" -#: library/importlib.rst:1012 +#: library/importlib.rst:1028 msgid "" "Concrete implementation of :meth:`importlib.abc.SourceLoader.path_stats`." msgstr "" -#: library/importlib.rst:1016 +#: library/importlib.rst:1032 msgid "Concrete implementation of :meth:`importlib.abc.SourceLoader.set_data`." msgstr "" -#: library/importlib.rst:1063 +#: library/importlib.rst:1079 msgid "" "Concrete implementation of :meth:`importlib.abc.Loader.load_module` where " "specifying the name of the module to load is optional." msgstr "" -#: library/importlib.rst:1068 +#: library/importlib.rst:1084 msgid "Use :meth:`importlib.abc.Loader.exec_module` instead." msgstr "" -#: library/importlib.rst:1030 +#: library/importlib.rst:1046 msgid "" "A concrete implementation of :class:`importlib.abc.FileLoader` which can " "import bytecode files (i.e. no source code files exist)." msgstr "" -#: library/importlib.rst:1033 +#: library/importlib.rst:1049 msgid "" "Please note that direct use of bytecode files (and thus not source code " "files) inhibits your modules from being usable by all Python implementations " "or new versions of Python which change the bytecode format." msgstr "" -#: library/importlib.rst:1042 +#: library/importlib.rst:1058 msgid "The name of the module the loader will handle." msgstr "" -#: library/importlib.rst:1046 +#: library/importlib.rst:1062 msgid "The path to the bytecode file." msgstr "" -#: library/importlib.rst:1050 +#: library/importlib.rst:1066 msgid "Determines if the module is a package based on :attr:`path`." msgstr "" -#: library/importlib.rst:1054 +#: library/importlib.rst:1070 msgid "Returns the code object for :attr:`name` created from :attr:`path`." msgstr "" -#: library/importlib.rst:1058 +#: library/importlib.rst:1074 msgid "" "Returns ``None`` as bytecode files have no source when this loader is used." msgstr "" -#: library/importlib.rst:1073 +#: library/importlib.rst:1089 msgid "" "A concrete implementation of :class:`importlib.abc.ExecutionLoader` for " "extension modules." msgstr "" -#: library/importlib.rst:1076 +#: library/importlib.rst:1092 msgid "" "The *fullname* argument specifies the name of the module the loader is to " "support. The *path* argument is the path to the extension module's file." msgstr "" -#: library/importlib.rst:1079 +#: library/importlib.rst:1095 msgid "" "Note that, by default, importing an extension module will fail in " "subinterpreters if it doesn't implement multi-phase init (see :pep:`489`), " "even if it would otherwise import successfully." msgstr "" -#: library/importlib.rst:1085 +#: library/importlib.rst:1101 msgid "Multi-phase init is now required for use in subinterpreters." msgstr "" -#: library/importlib.rst:1090 +#: library/importlib.rst:1106 msgid "Name of the module the loader supports." msgstr "" -#: library/importlib.rst:1094 +#: library/importlib.rst:1110 msgid "Path to the extension module." msgstr "" -#: library/importlib.rst:1098 +#: library/importlib.rst:1114 msgid "" "Creates the module object from the given specification in accordance with :" "pep:`489`." msgstr "" -#: library/importlib.rst:1105 +#: library/importlib.rst:1121 msgid "Initializes the given module object in accordance with :pep:`489`." msgstr "" -#: library/importlib.rst:1111 +#: library/importlib.rst:1127 msgid "" "Returns ``True`` if the file path points to a package's ``__init__`` module " "based on :const:`EXTENSION_SUFFIXES`." msgstr "" -#: library/importlib.rst:1116 +#: library/importlib.rst:1132 msgid "Returns ``None`` as extension modules lack a code object." msgstr "" -#: library/importlib.rst:1120 +#: library/importlib.rst:1136 msgid "Returns ``None`` as extension modules do not have source code." msgstr "" -#: library/importlib.rst:1131 +#: library/importlib.rst:1147 msgid "" "A concrete implementation of :class:`importlib.abc.InspectLoader` for " "namespace packages. This is an alias for a private class and is only made " "public for introspecting the ``__loader__`` attribute on namespace packages::" msgstr "" -#: library/importlib.rst:1136 +#: library/importlib.rst:1152 msgid "" ">>> from importlib.machinery import NamespaceLoader\n" ">>> import my_namespace\n" @@ -1359,7 +1359,7 @@ msgid "" "True" msgstr "" -#: library/importlib.rst:1149 +#: library/importlib.rst:1165 msgid "" "A specification for a module's import-system-related state. This is " "typically exposed as the module's :attr:`~module.__spec__` attribute. Many " @@ -1372,19 +1372,19 @@ msgid "" "origin>`, and vice versa." msgstr "" -#: library/importlib.rst:1163 +#: library/importlib.rst:1179 msgid "" "The module's fully qualified name (see :attr:`module.__name__`). The :term:" "`finder` should always set this attribute to a non-empty string." msgstr "" -#: library/importlib.rst:1168 +#: library/importlib.rst:1184 msgid "" "The :term:`loader` used to load the module (see :attr:`module.__loader__`). " "The :term:`finder` should always set this attribute." msgstr "" -#: library/importlib.rst:1173 +#: library/importlib.rst:1189 msgid "" "The location the :term:`loader` should use to load the module (see :attr:" "`module.__file__`). For example, for modules loaded from a ``.py`` file this " @@ -1393,14 +1393,14 @@ msgid "" "there is not one (like for namespace packages), it should be set to ``None``." msgstr "" -#: library/importlib.rst:1182 +#: library/importlib.rst:1198 msgid "" "A (possibly empty) :term:`sequence` of strings enumerating the locations in " "which a package's submodules will be found (see :attr:`module.__path__`). " "Most of the time there will only be a single directory in this list." msgstr "" -#: library/importlib.rst:1187 +#: library/importlib.rst:1203 msgid "" "The :term:`finder` should set this attribute to a sequence, even an empty " "one, to indicate to the import system that the module is a package. It " @@ -1408,55 +1408,55 @@ msgid "" "later to a special object for namespace packages." msgstr "" -#: library/importlib.rst:1195 +#: library/importlib.rst:1211 msgid "" "The :term:`finder` may set this attribute to an object containing " "additional, module-specific data to use when loading the module. Otherwise " "it should be set to ``None``." msgstr "" -#: library/importlib.rst:1201 +#: library/importlib.rst:1217 msgid "" "The filename of a compiled version of the module's code (see :attr:`module." "__cached__`). The :term:`finder` should always set this attribute but it may " "be ``None`` for modules that do not need compiled code stored." msgstr "" -#: library/importlib.rst:1208 +#: library/importlib.rst:1224 msgid "" "(Read-only) The fully qualified name of the package the module is in (or the " "empty string for a top-level module). See :attr:`module.__package__`. If the " "module is a package then this is the same as :attr:`name`." msgstr "" -#: library/importlib.rst:1215 +#: library/importlib.rst:1231 msgid "" "``True`` if the spec's :attr:`origin` refers to a loadable location, " "``False`` otherwise. This value impacts how :attr:`!origin` is interpreted " "and how the module's :attr:`~module.__file__` is populated." msgstr "" -#: library/importlib.rst:1221 +#: library/importlib.rst:1237 msgid ":mod:`importlib.util` -- Utility code for importers" msgstr "" -#: library/importlib.rst:1227 +#: library/importlib.rst:1243 msgid "**Source code:** :source:`Lib/importlib/util.py`" msgstr "" -#: library/importlib.rst:1231 +#: library/importlib.rst:1247 msgid "" "This module contains the various objects that help in the construction of " "an :term:`importer`." msgstr "" -#: library/importlib.rst:1236 +#: library/importlib.rst:1252 msgid "" "The bytes which represent the bytecode version number. If you need help with " "loading/writing bytecode then consider :class:`importlib.abc.SourceLoader`." msgstr "" -#: library/importlib.rst:1243 +#: library/importlib.rst:1259 msgid "" "Return the :pep:`3147`/:pep:`488` path to the byte-compiled file associated " "with the source *path*. For example, if *path* is ``/foo/bar/baz.py`` the " @@ -1466,7 +1466,7 @@ msgid "" "`NotImplementedError` will be raised)." msgstr "" -#: library/importlib.rst:1250 +#: library/importlib.rst:1266 msgid "" "The *optimization* parameter is used to specify the optimization level of " "the bytecode file. An empty string represents no optimization, so ``/foo/bar/" @@ -1479,7 +1479,7 @@ msgid "" "be alphanumeric, else :exc:`ValueError` is raised." msgstr "" -#: library/importlib.rst:1260 +#: library/importlib.rst:1276 msgid "" "The *debug_override* parameter is deprecated and can be used to override the " "system's value for ``__debug__``. A ``True`` value is the equivalent of " @@ -1488,17 +1488,17 @@ msgid "" "are not ``None`` then :exc:`TypeError` is raised." msgstr "" -#: library/importlib.rst:1268 +#: library/importlib.rst:1284 msgid "" "The *optimization* parameter was added and the *debug_override* parameter " "was deprecated." msgstr "" -#: library/importlib.rst:1288 library/importlib.rst:1377 +#: library/importlib.rst:1304 library/importlib.rst:1393 msgid "Accepts a :term:`path-like object`." msgstr "" -#: library/importlib.rst:1278 +#: library/importlib.rst:1294 msgid "" "Given the *path* to a :pep:`3147` file name, return the associated source " "code file path. For example, if *path* is ``/foo/bar/__pycache__/baz." @@ -1508,25 +1508,25 @@ msgid "" "cache_tag` is not defined, :exc:`NotImplementedError` is raised." msgstr "" -#: library/importlib.rst:1293 +#: library/importlib.rst:1309 msgid "" "Decode the given bytes representing source code and return it as a string " "with universal newlines (as required by :meth:`importlib.abc.InspectLoader." "get_source`)." msgstr "" -#: library/importlib.rst:1301 +#: library/importlib.rst:1317 msgid "Resolve a relative module name to an absolute one." msgstr "" -#: library/importlib.rst:1303 +#: library/importlib.rst:1319 msgid "" "If **name** has no leading dots, then **name** is simply returned. This " "allows for usage such as ``importlib.util.resolve_name('sys', __spec__." "parent)`` without doing a check to see if the **package** argument is needed." msgstr "" -#: library/importlib.rst:1308 +#: library/importlib.rst:1324 msgid "" ":exc:`ImportError` is raised if **name** is a relative module name but " "**package** is a false value (e.g. ``None`` or the empty string). :exc:" @@ -1534,13 +1534,13 @@ msgid "" "package (e.g. requesting ``..bacon`` from within the ``spam`` package)." msgstr "" -#: library/importlib.rst:1316 +#: library/importlib.rst:1332 msgid "" "To improve consistency with import statements, raise :exc:`ImportError` " "instead of :exc:`ValueError` for invalid relative import attempts." msgstr "" -#: library/importlib.rst:1323 +#: library/importlib.rst:1339 msgid "" "Find the :term:`spec ` for a module, optionally relative to the " "specified **package** name. If the module is in :data:`sys.modules`, then " @@ -1550,30 +1550,30 @@ msgid "" "if no spec is found." msgstr "" -#: library/importlib.rst:1330 +#: library/importlib.rst:1346 msgid "" "If **name** is for a submodule (contains a dot), the parent module is " "automatically imported." msgstr "" -#: library/importlib.rst:1333 +#: library/importlib.rst:1349 msgid "**name** and **package** work the same as for :func:`import_module`." msgstr "" -#: library/importlib.rst:1337 +#: library/importlib.rst:1353 msgid "" "Raises :exc:`ModuleNotFoundError` instead of :exc:`AttributeError` if " "**package** is in fact not a package (i.e. lacks a :attr:`~module.__path__` " "attribute)." msgstr "" -#: library/importlib.rst:1344 +#: library/importlib.rst:1360 msgid "" "Create a new module based on **spec** and :meth:`spec.loader.create_module " "`." msgstr "" -#: library/importlib.rst:1347 +#: library/importlib.rst:1363 msgid "" "If :meth:`spec.loader.create_module ` " "does not return ``None``, then any pre-existing attributes will not be " @@ -1581,14 +1581,14 @@ msgid "" "accessing **spec** or setting an attribute on the module." msgstr "" -#: library/importlib.rst:1352 +#: library/importlib.rst:1368 msgid "" "This function is preferred over using :class:`types.ModuleType` to create a " "new module as **spec** is used to set as many import-controlled attributes " "on the module as possible." msgstr "" -#: library/importlib.rst:1360 +#: library/importlib.rst:1376 msgid "" "A factory function for creating a :class:`~importlib.machinery.ModuleSpec` " "instance based on a loader. The parameters have the same meaning as they do " @@ -1597,7 +1597,7 @@ msgid "" "spec." msgstr "" -#: library/importlib.rst:1370 +#: library/importlib.rst:1386 msgid "" "A factory function for creating a :class:`~importlib.machinery.ModuleSpec` " "instance based on the path to a file. Missing information will be filled in " @@ -1605,14 +1605,14 @@ msgid "" "module will be file-based." msgstr "" -#: library/importlib.rst:1382 +#: library/importlib.rst:1398 msgid "" "Return the hash of *source_bytes* as bytes. A hash-based ``.pyc`` file " "embeds the :func:`source_hash` of the corresponding source file's contents " "in its header." msgstr "" -#: library/importlib.rst:1390 +#: library/importlib.rst:1406 msgid "" "A context manager that can temporarily skip the compatibility check for " "extension modules. By default the check is enabled and will fail when a " @@ -1621,33 +1621,33 @@ msgid "" "interpreter GIL, when imported in an interpreter with its own GIL." msgstr "" -#: library/importlib.rst:1397 +#: library/importlib.rst:1413 msgid "" "Note that this function is meant to accommodate an unusual case; one which " "is likely to eventually go away. There's is a pretty good chance this is " "not what you were looking for." msgstr "" -#: library/importlib.rst:1401 +#: library/importlib.rst:1417 msgid "" "You can get the same effect as this function by implementing the basic " "interface of multi-phase init (:pep:`489`) and lying about support for " "multiple interpreters (or per-interpreter GIL)." msgstr "" -#: library/importlib.rst:1406 +#: library/importlib.rst:1422 msgid "" "Using this function to disable the check can lead to unexpected behavior and " "even crashes. It should only be used during extension module development." msgstr "" -#: library/importlib.rst:1414 +#: library/importlib.rst:1430 msgid "" "A class which postpones the execution of the loader of a module until the " "module has an attribute accessed." msgstr "" -#: library/importlib.rst:1417 +#: library/importlib.rst:1433 msgid "" "This class **only** works with loaders that define :meth:`~importlib.abc." "Loader.exec_module` as control over what module type is used for the module " @@ -1660,7 +1660,7 @@ msgid "" "raised if such a substitution is detected." msgstr "" -#: library/importlib.rst:1428 +#: library/importlib.rst:1444 msgid "" "For projects where startup time is critical, this class allows for " "potentially minimizing the cost of loading a module if it is never used. For " @@ -1669,21 +1669,21 @@ msgid "" "postponed and thus occurring out of context." msgstr "" -#: library/importlib.rst:1436 +#: library/importlib.rst:1452 msgid "" "Began calling :meth:`~importlib.abc.Loader.create_module`, removing the " "compatibility warning for :class:`importlib.machinery.BuiltinImporter` and :" "class:`importlib.machinery.ExtensionFileLoader`." msgstr "" -#: library/importlib.rst:1443 +#: library/importlib.rst:1459 msgid "" "A class method which returns a callable that creates a lazy loader. This is " "meant to be used in situations where the loader is passed by class instead " "of by instance. ::" msgstr "" -#: library/importlib.rst:1448 +#: library/importlib.rst:1464 msgid "" "suffixes = importlib.machinery.SOURCE_SUFFIXES\n" "loader = importlib.machinery.SourceFileLoader\n" @@ -1691,43 +1691,43 @@ msgid "" "finder = importlib.machinery.FileFinder(path, (lazy_loader, suffixes))" msgstr "" -#: library/importlib.rst:1456 +#: library/importlib.rst:1472 msgid "Examples" msgstr "" -#: library/importlib.rst:1459 +#: library/importlib.rst:1475 msgid "Importing programmatically" msgstr "" -#: library/importlib.rst:1461 +#: library/importlib.rst:1477 msgid "" "To programmatically import a module, use :func:`importlib.import_module`. ::" msgstr "" -#: library/importlib.rst:1464 +#: library/importlib.rst:1480 msgid "" "import importlib\n" "\n" "itertools = importlib.import_module('itertools')" msgstr "" -#: library/importlib.rst:1470 +#: library/importlib.rst:1486 msgid "Checking if a module can be imported" msgstr "" -#: library/importlib.rst:1472 +#: library/importlib.rst:1488 msgid "" "If you need to find out if a module can be imported without actually doing " "the import, then you should use :func:`importlib.util.find_spec`." msgstr "" -#: library/importlib.rst:1475 +#: library/importlib.rst:1491 msgid "" "Note that if ``name`` is a submodule (contains a dot), :func:`importlib.util." "find_spec` will import the parent module. ::" msgstr "" -#: library/importlib.rst:1479 +#: library/importlib.rst:1495 msgid "" "import importlib.util\n" "import sys\n" @@ -1747,11 +1747,11 @@ msgid "" " print(f\"can't find the {name!r} module\")" msgstr "" -#: library/importlib.rst:1498 +#: library/importlib.rst:1514 msgid "Importing a source file directly" msgstr "" -#: library/importlib.rst:1500 +#: library/importlib.rst:1516 msgid "" "This recipe should be used with caution: it is an approximation of an import " "statement where the file path is specified directly, rather than :data:`sys." @@ -1761,13 +1761,13 @@ msgid "" "file is appropriate." msgstr "" -#: library/importlib.rst:1507 +#: library/importlib.rst:1523 msgid "" "To import a Python source file directly from a path, use the following " "recipe::" msgstr "" -#: library/importlib.rst:1509 +#: library/importlib.rst:1525 msgid "" "import importlib.util\n" "import sys\n" @@ -1790,15 +1790,15 @@ msgid "" "json = import_from_path(module_name, file_path)" msgstr "" -#: library/importlib.rst:1531 +#: library/importlib.rst:1547 msgid "Implementing lazy imports" msgstr "" -#: library/importlib.rst:1533 +#: library/importlib.rst:1549 msgid "The example below shows how to implement lazy imports::" msgstr "" -#: library/importlib.rst:1535 +#: library/importlib.rst:1551 msgid "" ">>> import importlib.util\n" ">>> import sys\n" @@ -1818,11 +1818,11 @@ msgid "" "False" msgstr "" -#: library/importlib.rst:1554 +#: library/importlib.rst:1570 msgid "Setting up an importer" msgstr "" -#: library/importlib.rst:1556 +#: library/importlib.rst:1572 msgid "" "For deep customizations of import, you typically want to implement an :term:" "`importer`. This means managing both the :term:`finder` and :term:`loader` " @@ -1836,7 +1836,7 @@ msgid "" "for the appropriate classes defined within this package)::" msgstr "" -#: library/importlib.rst:1567 +#: library/importlib.rst:1583 msgid "" "import importlib.machinery\n" "import sys\n" @@ -1860,11 +1860,11 @@ msgid "" "sys.path_hooks.append(SpamPathEntryFinder.path_hook(loader_details))" msgstr "" -#: library/importlib.rst:1588 +#: library/importlib.rst:1604 msgid "Approximating :func:`importlib.import_module`" msgstr "" -#: library/importlib.rst:1590 +#: library/importlib.rst:1606 msgid "" "Import itself is implemented in Python code, making it possible to expose " "most of the import machinery through importlib. The following helps " @@ -1872,7 +1872,7 @@ msgid "" "approximate implementation of :func:`importlib.import_module`::" msgstr "" -#: library/importlib.rst:1596 +#: library/importlib.rst:1612 msgid "" "import importlib.util\n" "import sys\n" @@ -1905,10 +1905,10 @@ msgid "" " return module" msgstr "" -#: library/importlib.rst:424 +#: library/importlib.rst:425 msgid "universal newlines" msgstr "" -#: library/importlib.rst:424 +#: library/importlib.rst:425 msgid "importlib.abc.InspectLoader.get_source method" msgstr "" diff --git a/library/importlib.resources.abc.po b/library/importlib.resources.abc.po index abea221d..f45b4575 100644 --- a/library/importlib.resources.abc.po +++ b/library/importlib.resources.abc.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -69,33 +69,33 @@ msgstr "" msgid "Use :class:`importlib.resources.abc.TraversableResources` instead." msgstr "" -#: library/importlib.resources.abc.rst:51 +#: library/importlib.resources.abc.rst:52 msgid "" "Returns an opened, :term:`file-like object` for binary reading of the " "*resource*." msgstr "" -#: library/importlib.resources.abc.rst:54 +#: library/importlib.resources.abc.rst:55 msgid "If the resource cannot be found, :exc:`FileNotFoundError` is raised." msgstr "" -#: library/importlib.resources.abc.rst:59 +#: library/importlib.resources.abc.rst:61 msgid "Returns the file system path to the *resource*." msgstr "" -#: library/importlib.resources.abc.rst:61 +#: library/importlib.resources.abc.rst:63 msgid "" "If the resource does not concretely exist on the file system, raise :exc:" "`FileNotFoundError`." msgstr "" -#: library/importlib.resources.abc.rst:66 +#: library/importlib.resources.abc.rst:69 msgid "" "Returns ``True`` if the named *name* is considered a resource. :exc:" "`FileNotFoundError` is raised if *name* does not exist." msgstr "" -#: library/importlib.resources.abc.rst:71 +#: library/importlib.resources.abc.rst:75 msgid "" "Returns an :term:`iterable` of strings over the contents of the package. Do " "note that it is not required that all names returned by the iterator be " @@ -103,7 +103,7 @@ msgid "" "`is_resource` would be false." msgstr "" -#: library/importlib.resources.abc.rst:77 +#: library/importlib.resources.abc.rst:81 msgid "" "Allowing non-resource names to be returned is to allow for situations where " "how a package and its resources are stored are known a priori and the non-" @@ -112,58 +112,58 @@ msgid "" "stored on the file system then those subdirectory names can be used directly." msgstr "" -#: library/importlib.resources.abc.rst:85 +#: library/importlib.resources.abc.rst:89 msgid "The abstract method returns an iterable of no items." msgstr "" -#: library/importlib.resources.abc.rst:90 +#: library/importlib.resources.abc.rst:94 msgid "" "An object with a subset of :class:`pathlib.Path` methods suitable for " "traversing directories and opening files." msgstr "" -#: library/importlib.resources.abc.rst:93 +#: library/importlib.resources.abc.rst:97 msgid "" "For a representation of the object on the file-system, use :meth:`importlib." "resources.as_file`." msgstr "" -#: library/importlib.resources.abc.rst:98 +#: library/importlib.resources.abc.rst:102 msgid "Abstract. The base name of this object without any parent references." msgstr "" -#: library/importlib.resources.abc.rst:102 +#: library/importlib.resources.abc.rst:107 msgid "Yield Traversable objects in self." msgstr "" -#: library/importlib.resources.abc.rst:106 +#: library/importlib.resources.abc.rst:112 msgid "Return ``True`` if self is a directory." msgstr "" -#: library/importlib.resources.abc.rst:110 +#: library/importlib.resources.abc.rst:117 msgid "Return ``True`` if self is a file." msgstr "" -#: library/importlib.resources.abc.rst:114 +#: library/importlib.resources.abc.rst:122 msgid "" "Traverse directories according to *pathsegments* and return the result as :" "class:`!Traversable`." msgstr "" -#: library/importlib.resources.abc.rst:117 +#: library/importlib.resources.abc.rst:125 msgid "" "Each *pathsegments* argument may contain multiple names separated by forward " "slashes (``/``, ``posixpath.sep`` ). For example, the following are " "equivalent::" msgstr "" -#: library/importlib.resources.abc.rst:121 +#: library/importlib.resources.abc.rst:129 msgid "" "files.joinpath('subdir', 'subsuddir', 'file.txt')\n" "files.joinpath('subdir/subsuddir/file.txt')" msgstr "" -#: library/importlib.resources.abc.rst:124 +#: library/importlib.resources.abc.rst:132 msgid "" "Note that some :class:`!Traversable` implementations might not be updated to " "the latest version of the protocol. For compatibility with such " @@ -171,42 +171,42 @@ msgid "" "call to ``joinpath``. For example::" msgstr "" -#: library/importlib.resources.abc.rst:129 +#: library/importlib.resources.abc.rst:137 msgid "files.joinpath('subdir').joinpath('subsubdir').joinpath('file.txt')" msgstr "" -#: library/importlib.resources.abc.rst:133 +#: library/importlib.resources.abc.rst:141 msgid "" "``joinpath`` accepts multiple *pathsegments*, and these segments may contain " "forward slashes as path separators. Previously, only a single *child* " "argument was accepted." msgstr "" -#: library/importlib.resources.abc.rst:139 +#: library/importlib.resources.abc.rst:148 msgid "Return Traversable child in self. Equivalent to ``joinpath(child)``." msgstr "" -#: library/importlib.resources.abc.rst:144 +#: library/importlib.resources.abc.rst:154 msgid "" "*mode* may be 'r' or 'rb' to open as text or binary. Return a handle " "suitable for reading (same as :attr:`pathlib.Path.open`)." msgstr "" -#: library/importlib.resources.abc.rst:147 +#: library/importlib.resources.abc.rst:157 msgid "" "When opening as text, accepts encoding parameters such as those accepted by :" "class:`io.TextIOWrapper`." msgstr "" -#: library/importlib.resources.abc.rst:152 +#: library/importlib.resources.abc.rst:162 msgid "Read contents of self as bytes." msgstr "" -#: library/importlib.resources.abc.rst:156 +#: library/importlib.resources.abc.rst:166 msgid "Read contents of self as text." msgstr "" -#: library/importlib.resources.abc.rst:161 +#: library/importlib.resources.abc.rst:171 msgid "" "An abstract base class for resource readers capable of serving the :meth:" "`importlib.resources.files` interface. Subclasses :class:`ResourceReader` " @@ -215,13 +215,13 @@ msgid "" "TraversableResources` also supplies :class:`!ResourceReader`." msgstr "" -#: library/importlib.resources.abc.rst:168 +#: library/importlib.resources.abc.rst:178 msgid "" "Loaders that wish to support resource reading are expected to implement this " "interface." msgstr "" -#: library/importlib.resources.abc.rst:173 +#: library/importlib.resources.abc.rst:184 msgid "" "Returns a :class:`importlib.resources.abc.Traversable` object for the loaded " "package." diff --git a/library/importlib.resources.po b/library/importlib.resources.po index b172d0d4..29c0f5d7 100644 --- a/library/importlib.resources.po +++ b/library/importlib.resources.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" -"PO-Revision-Date: 2025-04-04 11:06+0300\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" +"PO-Revision-Date: 2025-05-03 00:09+0300\n" "Last-Translator: Marios Giannopoulos \n" "Language-Team: PyGreece \n" "Language: \n" @@ -202,23 +202,21 @@ msgstr "" "Προστέθηκε υποστήριξη για *traversable* που αντιπροσωπεύει έναν κατάλογο." #: library/importlib.resources.rst:103 -msgid "Deprecated functions" -msgstr "Απαρχαιωμένες συναρτήσεις" +msgid "Functional API" +msgstr "Λειτουργικό API" #: library/importlib.resources.rst:105 msgid "" -"An older, deprecated set of functions is still available, but is scheduled " -"for removal in a future version of Python. The main drawback of these " -"functions is that they do not support directories: they assume all resources " -"are located directly within a *package*." +"An older, previously deprecated set of functions is still available. The " +"main drawback of these functions is that they do not support directories: " +"they assume all resources are located directly within a *package*." msgstr "" "Μια παλαιότερη, απαρχαιωμένη σειρά συναρτήσεων εξακολουθεί να είναι " -"διαθέσιμη, αλλά προγραμματίστηκε για αφαίρεση σε μελλοντική έκδοση της " -"Python. Το κύριο μειονέκτημα αυτών των συναρτήσεων είναι ότι δεν " +"διαθέσιμη. Το κύριο μειονέκτημα αυτών των συναρτήσεων είναι ότι δεν " "υποστηρίζουν καταλόγους: υποθέτουν ότι όλοι οι πόροι βρίσκονται απευθείας " "μέσα σε ένα *package*." -#: library/importlib.resources.rst:112 +#: library/importlib.resources.rst:111 msgid "" "Whenever a function accepts a ``Package`` argument, you can pass in either " "a :class:`module object ` or a module name as a string. " @@ -230,11 +228,11 @@ msgstr "" "συμβολοσειρά. Μπορείτε να περάσετε μόνο αντικείμενα module των οποίων το " "``__spec__.submodule_search_locations`` δεν είναι ``None``." -#: library/importlib.resources.rst:117 +#: library/importlib.resources.rst:116 msgid "The ``Package`` type is defined as ``Union[str, ModuleType]``." msgstr "Ο τύπος ``Package`` ορίζεται ως ``Union[str, ModuleType]``." -#: library/importlib.resources.rst:124 +#: library/importlib.resources.rst:121 msgid "" "For *resource* arguments of the functions below, you can pass in the name of " "a resource as a string or a :class:`path-like object `." @@ -243,15 +241,15 @@ msgstr "" "το όνομα ενός πόρου ως συμβολοσειρά ή ένα :class:`path-like object `." -#: library/importlib.resources.rst:128 +#: library/importlib.resources.rst:125 msgid "The ``Resource`` type is defined as ``Union[str, os.PathLike]``." msgstr "Ο τύπος ``Resource`` ορίζεται ως ``Union[str, os.PathLike]``." -#: library/importlib.resources.rst:133 +#: library/importlib.resources.rst:130 msgid "Open for binary reading the *resource* within *package*." msgstr "Ανοίγει για δυαδική ανάγνωση το *resource* μέσα στο *package*." -#: library/importlib.resources.rst:135 +#: library/importlib.resources.rst:132 msgid "" "*package* is either a name or a module object which conforms to the " "``Package`` requirements. *resource* is the name of the resource to open " @@ -267,17 +265,17 @@ msgstr "" "BinaryIO``, δηλαδή ένα δυαδικό ρεύμα εισόδου (binary I/O stream) ανοιχτό για " "ανάγνωση." -#: library/importlib.resources.rst:143 library/importlib.resources.rst:164 -#: library/importlib.resources.rst:182 library/importlib.resources.rst:201 -#: library/importlib.resources.rst:237 library/importlib.resources.rst:253 -msgid "Calls to this function can be replaced by::" -msgstr "Οι κλήσεις σε αυτή τη συνάρτηση μπορούν να αντικατασταθούν με::" +#: library/importlib.resources.rst:138 library/importlib.resources.rst:157 +#: library/importlib.resources.rst:173 library/importlib.resources.rst:190 +#: library/importlib.resources.rst:222 library/importlib.resources.rst:236 +msgid "This function is roughly equivalent to::" +msgstr "Αυτή η συνάρτηση είναι περίπου ισοδύναμη με::" -#: library/importlib.resources.rst:145 +#: library/importlib.resources.rst:140 msgid "files(package).joinpath(resource).open('rb')" msgstr "files(package).joinpath(resource).open('rb')" -#: library/importlib.resources.rst:150 +#: library/importlib.resources.rst:145 msgid "" "Open for text reading the *resource* within *package*. By default, the " "resource is opened for reading as UTF-8." @@ -285,7 +283,7 @@ msgstr "" "Ανοίγει για ανάγνωση κειμένου το *resource* μέσα στο *package*. Από " "προεπιλογή, ο πόρος ανοίγει για ανάγνωση ως UTF-8." -#: library/importlib.resources.rst:153 +#: library/importlib.resources.rst:148 msgid "" "*package* is either a name or a module object which conforms to the " "``Package`` requirements. *resource* is the name of the resource to open " @@ -300,7 +298,7 @@ msgstr "" "δεν μπορεί να είναι κατάλογος). Οι παράμετροι *encoding* και *errors* έχουν " "την ίδια σημασία όπως στην ενσωματωμένη :func:`open`." -#: library/importlib.resources.rst:159 +#: library/importlib.resources.rst:154 msgid "" "This function returns a ``typing.TextIO`` instance, a text I/O stream open " "for reading." @@ -308,18 +306,18 @@ msgstr "" "Αυτή η συνάρτηση επιστρέφει ένα στιγμιότυπο ``typing.TextIO``, δηλαδή ένα " "ρεύμα εισόδου κειμένου (text I/O stream) ανοιχτό για ανάγνωση." -#: library/importlib.resources.rst:166 +#: library/importlib.resources.rst:159 msgid "files(package).joinpath(resource).open('r', encoding=encoding)" msgstr "files(package).joinpath(resource).open('r', encoding=encoding)" -#: library/importlib.resources.rst:171 +#: library/importlib.resources.rst:164 msgid "" "Read and return the contents of the *resource* within *package* as ``bytes``." msgstr "" "Διαβάζει και επιστρέφει τα περιεχόμενα του *resource* μέσα στο *package* ως " "``bytes``." -#: library/importlib.resources.rst:174 +#: library/importlib.resources.rst:167 msgid "" "*package* is either a name or a module object which conforms to the " "``Package`` requirements. *resource* is the name of the resource to open " @@ -334,11 +332,11 @@ msgstr "" "κατάλογος). Αυτή η συνάρτηση επιστρέφει τα περιεχόμενα του πόρου ως :class:" "`bytes`." -#: library/importlib.resources.rst:184 +#: library/importlib.resources.rst:175 msgid "files(package).joinpath(resource).read_bytes()" msgstr "files(package).joinpath(resource).read_bytes()" -#: library/importlib.resources.rst:189 +#: library/importlib.resources.rst:180 msgid "" "Read and return the contents of *resource* within *package* as a ``str``. By " "default, the contents are read as strict UTF-8." @@ -346,7 +344,7 @@ msgstr "" "Διαβάζει και επιστρέφει τα περιεχόμενα του *resource* μέσα στο *package* ως " "``str``. Από προεπιλογή, τα περιεχόμενα διαβάζονται ως αυστηρό UTF-8." -#: library/importlib.resources.rst:192 +#: library/importlib.resources.rst:183 msgid "" "*package* is either a name or a module object which conforms to the " "``Package`` requirements. *resource* is the name of the resource to open " @@ -363,11 +361,11 @@ msgstr "" "ενσωματωμένη :func:`open`. Αυτή η συνάρτηση επιστρέφει τα περιεχόμενα του " "πόρου ως :class:`str`." -#: library/importlib.resources.rst:203 +#: library/importlib.resources.rst:192 msgid "files(package).joinpath(resource).read_text(encoding=encoding)" msgstr "files(package).joinpath(resource).read_text(encoding=encoding)" -#: library/importlib.resources.rst:208 +#: library/importlib.resources.rst:197 msgid "" "Return the path to the *resource* as an actual file system path. This " "function returns a context manager for use in a :keyword:`with` statement. " @@ -378,7 +376,7 @@ msgstr "" "keyword:`with` πρόταση. Ο context manager παρέχει ένα αντικείμενο :class:" "`pathlib.Path`." -#: library/importlib.resources.rst:212 +#: library/importlib.resources.rst:201 msgid "" "Exiting the context manager cleans up any temporary file created when the " "resource needs to be extracted from e.g. a zip file." @@ -386,7 +384,7 @@ msgstr "" "Η έξοδος από τον context manager καθαρίζει οποιοδήποτε προσωρινό αρχείο " "δημιουργήθηκε όταν ο πόρος χρειάστηκε να εξαχθεί, π.χ. από αρχείο zip." -#: library/importlib.resources.rst:215 +#: library/importlib.resources.rst:204 msgid "" "*package* is either a name or a module object which conforms to the " "``Package`` requirements. *resource* is the name of the resource to open " @@ -399,17 +397,15 @@ msgstr "" "διαδρομών και δεν μπορεί να έχει υπο-πόρους (δηλαδή δεν μπορεί να είναι " "κατάλογος)." -#: library/importlib.resources.rst:222 -msgid "Calls to this function can be replaced using :func:`as_file`::" -msgstr "" -"Οι κλήσεις σε αυτή τη συνάρτηση μπορούν να αντικατασταθούν χρησιμοποιώντας :" -"func:`as_file`::" +#: library/importlib.resources.rst:209 +msgid "This function is roughly equivalent to ::" +msgstr "Αυτή η συνάρτηση είναι περίπου ισοδύναμη με ::" -#: library/importlib.resources.rst:224 +#: library/importlib.resources.rst:211 msgid "as_file(files(package).joinpath(resource))" msgstr "as_file(files(package).joinpath(resource))" -#: library/importlib.resources.rst:229 +#: library/importlib.resources.rst:216 msgid "" "Return ``True`` if there is a resource named *name* in the package, " "otherwise ``False``. This function does not consider directories to be " @@ -421,11 +417,11 @@ msgstr "" "είναι είτε όνομα είτε αντικείμενο module που πληροί τις απαιτήσεις " "``Package``." -#: library/importlib.resources.rst:239 +#: library/importlib.resources.rst:224 msgid "files(package).joinpath(resource).is_file()" msgstr "files(package).joinpath(resource).is_file()" -#: library/importlib.resources.rst:244 +#: library/importlib.resources.rst:229 msgid "" "Return an iterable over the named items within the package. The iterable " "returns :class:`str` resources (e.g. files) and non-resources (e.g. " @@ -435,7 +431,7 @@ msgstr "" "iterable επιστρέφει πόρους :class:`str` (π.χ. αρχεία) και μη-πόρους (π.χ. " "καταλόγους). Το iterable δεν επαναλαμβάνεται σε υποκαταλόγους." -#: library/importlib.resources.rst:248 +#: library/importlib.resources.rst:233 msgid "" "*package* is either a name or a module object which conforms to the " "``Package`` requirements." @@ -443,10 +439,21 @@ msgstr "" "Το *package* είναι είτε ένα όνομα είτε ένα αντικείμενο module που " "συμμορφώνεται με τις απαιτήσεις της κλάσης ``Package``." -#: library/importlib.resources.rst:255 +#: library/importlib.resources.rst:238 msgid "" "(resource.name for resource in files(package).iterdir() if resource." "is_file())" msgstr "" "(resource.name for resource in files(package).iterdir() if resource." "is_file())" + +#~ msgid "Deprecated functions" +#~ msgstr "Απαρχαιωμένες συναρτήσεις" + +#~ msgid "Calls to this function can be replaced by::" +#~ msgstr "Οι κλήσεις σε αυτή τη συνάρτηση μπορούν να αντικατασταθούν με::" + +#~ msgid "Calls to this function can be replaced using :func:`as_file`::" +#~ msgstr "" +#~ "Οι κλήσεις σε αυτή τη συνάρτηση μπορούν να αντικατασταθούν " +#~ "χρησιμοποιώντας :func:`as_file`::" diff --git a/library/index.po b/library/index.po index 116ac967..16dbc9a8 100644 --- a/library/index.po +++ b/library/index.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/inspect.po b/library/inspect.po index 1b6a9d16..ad238a4c 100644 --- a/library/inspect.po +++ b/library/inspect.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/internet.po b/library/internet.po index 9fba9584..d30e0af9 100644 --- a/library/internet.po +++ b/library/internet.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-12-15 13:44+0000\n" "Last-Translator: Artemis Leonardou \n" "Language-Team: PyGreece \n" diff --git a/library/intro.po b/library/intro.po index 656761a8..15924252 100644 --- a/library/intro.po +++ b/library/intro.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/io.po b/library/io.po index 971e9ba8..62d0cdd0 100644 --- a/library/io.po +++ b/library/io.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/ipaddress.po b/library/ipaddress.po index 75155537..0b5ecbe2 100644 --- a/library/ipaddress.po +++ b/library/ipaddress.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/ipc.po b/library/ipc.po index 22b420d4..a4687b3e 100644 --- a/library/ipc.po +++ b/library/ipc.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/itertools.po b/library/itertools.po index 1dd53da6..07f49dfb 100644 --- a/library/itertools.po +++ b/library/itertools.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -1311,6 +1311,11 @@ msgid "" " \"Returns the sequence elements n times.\"\n" " return chain.from_iterable(repeat(tuple(iterable), n))\n" "\n" +"def loops(n):\n" +" \"Loop n times. Like range(n) but without creating integers.\"\n" +" # for _ in loops(100): ...\n" +" return repeat(None, n)\n" +"\n" "def tail(n, iterable):\n" " \"Return an iterator over the last n items.\"\n" " # tail(3, 'ABCDEFG') → E F G\n" @@ -1454,11 +1459,11 @@ msgid "" " yield func()" msgstr "" -#: library/itertools.rst:969 +#: library/itertools.rst:974 msgid "The following recipes have a more mathematical flavor:" msgstr "" -#: library/itertools.rst:971 +#: library/itertools.rst:976 msgid "" "def powerset(iterable):\n" " \"powerset([1,2,3]) → () (1,) (2,) (3,) (1,2) (1,3) (2,3) (1,2,3)\"\n" @@ -1550,6 +1555,11 @@ msgid "" " data[p*p : n : p+p] = bytes(len(range(p*p, n, p+p)))\n" " yield from iter_index(data, 1, start=3)\n" "\n" +"def is_prime(n):\n" +" \"Return True if n is prime.\"\n" +" # is_prime(1_000_000_000_000_403) → True\n" +" return n > 1 and all(n % p for p in sieve(math.isqrt(n) + 1))\n" +"\n" "def factor(n):\n" " \"Prime factors of n.\"\n" " # factor(99) → 3 3 11\n" diff --git a/library/json.po b/library/json.po index fb1b903c..6ecf1c20 100644 --- a/library/json.po +++ b/library/json.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -641,7 +641,8 @@ msgstr "" msgid "" "If *skipkeys* is false (the default), a :exc:`TypeError` will be raised when " "trying to encode keys that are not :class:`str`, :class:`int`, :class:" -"`float` or ``None``. If *skipkeys* is true, such items are simply skipped." +"`float`, :class:`bool` or ``None``. If *skipkeys* is true, such items are " +"simply skipped." msgstr "" #: library/json.rst:481 diff --git a/library/keyword.po b/library/keyword.po index ebb6fc87..1f822c48 100644 --- a/library/keyword.po +++ b/library/keyword.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/language.po b/library/language.po index 6ca240cb..86f4319f 100644 --- a/library/language.po +++ b/library/language.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/linecache.po b/library/linecache.po index 00d0c63e..4939e233 100644 --- a/library/linecache.po +++ b/library/linecache.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/locale.po b/library/locale.po index 4bb16581..12d48ced 100644 --- a/library/locale.po +++ b/library/locale.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/logging.config.po b/library/logging.config.po index 0276c2b4..12c050fd 100644 --- a/library/logging.config.po +++ b/library/logging.config.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/logging.handlers.po b/library/logging.handlers.po index 9870e0e8..699eae8f 100644 --- a/library/logging.handlers.po +++ b/library/logging.handlers.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/logging.po b/library/logging.po index 8a588f9f..7f6f125d 100644 --- a/library/logging.po +++ b/library/logging.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -748,18 +748,20 @@ msgid "" msgstr "" #: library/logging.rst:565 -msgid "Sets the :class:`Formatter` for this handler to *fmt*." +msgid "" +"Sets the formatter for this handler to *fmt*. The *fmt* argument must be a :" +"class:`Formatter` instance or ``None``." msgstr "" -#: library/logging.rst:570 +#: library/logging.rst:571 msgid "Adds the specified filter *filter* to this handler." msgstr "" -#: library/logging.rst:575 +#: library/logging.rst:576 msgid "Removes the specified filter *filter* from this handler." msgstr "" -#: library/logging.rst:580 +#: library/logging.rst:581 msgid "" "Apply this handler's filters to the record and return ``True`` if the record " "is to be processed. The filters are consulted in turn, until one of them " @@ -768,33 +770,33 @@ msgid "" "record." msgstr "" -#: library/logging.rst:589 +#: library/logging.rst:590 msgid "" "Ensure all logging output has been flushed. This version does nothing and is " "intended to be implemented by subclasses." msgstr "" -#: library/logging.rst:595 +#: library/logging.rst:596 msgid "" "Tidy up any resources used by the handler. This version does no output but " "removes the handler from an internal map of handlers, which is used for " "handler lookup by name." msgstr "" -#: library/logging.rst:599 +#: library/logging.rst:600 msgid "" "Subclasses should ensure that this gets called from overridden :meth:`close` " "methods." msgstr "" -#: library/logging.rst:605 +#: library/logging.rst:606 msgid "" "Conditionally emits the specified logging record, depending on filters which " "may have been added to the handler. Wraps the actual emission of the record " "with acquisition/release of the I/O thread lock." msgstr "" -#: library/logging.rst:612 +#: library/logging.rst:613 msgid "" "This method should be called from handlers when an exception is encountered " "during an :meth:`emit` call. If the module-level attribute :data:" @@ -807,20 +809,20 @@ msgid "" "is more useful during development)." msgstr "" -#: library/logging.rst:625 +#: library/logging.rst:626 msgid "" "Do formatting for a record - if a formatter is set, use it. Otherwise, use " "the default formatter for the module." msgstr "" -#: library/logging.rst:631 +#: library/logging.rst:632 msgid "" "Do whatever it takes to actually log the specified logging record. This " "version is intended to be implemented by subclasses and so raises a :exc:" "`NotImplementedError`." msgstr "" -#: library/logging.rst:635 +#: library/logging.rst:636 msgid "" "This method is called after a handler-level lock is acquired, which is " "released after this method returns. When you override this method, note that " @@ -829,13 +831,13 @@ msgid "" "Specifically:" msgstr "" -#: library/logging.rst:641 +#: library/logging.rst:642 msgid "" "Logging configuration APIs acquire the module-level lock, and then " "individual handler-level locks as those handlers are configured." msgstr "" -#: library/logging.rst:644 +#: library/logging.rst:645 msgid "" "Many logging APIs lock the module-level lock. If such an API is called from " "this method, it could cause a deadlock if a configuration call is made on " @@ -845,16 +847,16 @@ msgid "" "method, the handler-level lock has already been acquired)." msgstr "" -#: library/logging.rst:651 +#: library/logging.rst:652 msgid "" "For a list of handlers included as standard, see :mod:`logging.handlers`." msgstr "" -#: library/logging.rst:656 +#: library/logging.rst:657 msgid "Formatter Objects" msgstr "" -#: library/logging.rst:662 +#: library/logging.rst:663 msgid "" "Responsible for converting a :class:`LogRecord` to an output string to be " "interpreted by a human or external system." @@ -864,7 +866,7 @@ msgstr "" msgid "Parameters" msgstr "" -#: library/logging.rst:665 +#: library/logging.rst:666 msgid "" "A format string in the given *style* for the logged output as a whole. The " "possible mapping keys are drawn from the :class:`LogRecord` object's :ref:" @@ -872,14 +874,14 @@ msgid "" "is just the logged message." msgstr "" -#: library/logging.rst:673 +#: library/logging.rst:674 msgid "" "A format string in the given *style* for the date/time portion of the logged " "output. If not specified, the default described in :meth:`formatTime` is " "used." msgstr "" -#: library/logging.rst:678 +#: library/logging.rst:679 msgid "" "Can be one of ``'%'``, ``'{'`` or ``'$'`` and determines how the format " "string will be merged with its data: using one of :ref:`old-string-" @@ -890,32 +892,32 @@ msgid "" "use ``{``- and ``$``-formatting for log messages." msgstr "" -#: library/logging.rst:688 +#: library/logging.rst:689 msgid "" "If ``True`` (the default), incorrect or mismatched *fmt* and *style* will " "raise a :exc:`ValueError`; for example, ``logging.Formatter('%(asctime)s - " "%(message)s', style='{')``." msgstr "" -#: library/logging.rst:693 +#: library/logging.rst:694 msgid "" "A dictionary with default values to use in custom fields. For example, " "``logging.Formatter('%(ip)s %(message)s', defaults={\"ip\": None})``" msgstr "" -#: library/logging.rst:698 +#: library/logging.rst:699 msgid "Added the *style* parameter." msgstr "" -#: library/logging.rst:701 +#: library/logging.rst:702 msgid "Added the *validate* parameter." msgstr "" -#: library/logging.rst:704 +#: library/logging.rst:705 msgid "Added the *defaults* parameter." msgstr "" -#: library/logging.rst:710 +#: library/logging.rst:711 msgid "" "The record's attribute dictionary is used as the operand to a string " "formatting operation. Returns the resulting string. Before formatting the " @@ -934,13 +936,13 @@ msgid "" "recalculates it afresh." msgstr "" -#: library/logging.rst:726 +#: library/logging.rst:727 msgid "" "If stack information is available, it's appended after the exception " "information, using :meth:`formatStack` to transform it if necessary." msgstr "" -#: library/logging.rst:732 +#: library/logging.rst:733 msgid "" "This method should be called from :meth:`format` by a formatter which wants " "to make use of a formatted time. This method can be overridden in formatters " @@ -953,7 +955,7 @@ msgid "" "resulting string is returned." msgstr "" -#: library/logging.rst:742 +#: library/logging.rst:743 msgid "" "This function uses a user-configurable function to convert the creation time " "to a tuple. By default, :func:`time.localtime` is used; to change this for a " @@ -963,7 +965,7 @@ msgid "" "be shown in GMT, set the ``converter`` attribute in the ``Formatter`` class." msgstr "" -#: library/logging.rst:750 +#: library/logging.rst:751 msgid "" "Previously, the default format was hard-coded as in this example: " "``2010-09-06 22:38:15,292`` where the part before the comma is handled by a " @@ -978,11 +980,11 @@ msgid "" "the millisecond value)." msgstr "" -#: library/logging.rst:763 +#: library/logging.rst:764 msgid "The ``default_msec_format`` can be ``None``." msgstr "" -#: library/logging.rst:768 +#: library/logging.rst:769 msgid "" "Formats the specified exception information (a standard exception tuple as " "returned by :func:`sys.exc_info`) as a string. This default implementation " @@ -990,14 +992,14 @@ msgid "" "returned." msgstr "" -#: library/logging.rst:775 +#: library/logging.rst:776 msgid "" "Formats the specified stack information (a string as returned by :func:" "`traceback.print_stack`, but with the last newline removed) as a string. " "This default implementation just returns the input value." msgstr "" -#: library/logging.rst:781 +#: library/logging.rst:782 msgid "" "A base formatter class suitable for subclassing when you want to format a " "number of records. You can pass a :class:`Formatter` instance which you want " @@ -1006,7 +1008,7 @@ msgid "" "used as the line formatter." msgstr "" -#: library/logging.rst:789 +#: library/logging.rst:790 msgid "" "Return a header for a list of *records*. The base implementation just " "returns the empty string. You will need to override this method if you want " @@ -1014,14 +1016,14 @@ msgid "" "separator line." msgstr "" -#: library/logging.rst:796 +#: library/logging.rst:797 msgid "" "Return a footer for a list of *records*. The base implementation just " "returns the empty string. You will need to override this method if you want " "specific behaviour, e.g. to show the count of records or a separator line." msgstr "" -#: library/logging.rst:803 +#: library/logging.rst:804 msgid "" "Return formatted text for a list of *records*. The base implementation just " "returns the empty string if there are no records; otherwise, it returns the " @@ -1029,11 +1031,11 @@ msgid "" "and the footer." msgstr "" -#: library/logging.rst:811 +#: library/logging.rst:812 msgid "Filter Objects" msgstr "" -#: library/logging.rst:813 +#: library/logging.rst:814 msgid "" "``Filters`` can be used by ``Handlers`` and ``Loggers`` for more " "sophisticated filtering than is provided by levels. The base filter class " @@ -1043,7 +1045,7 @@ msgid "" "If initialized with the empty string, all events are passed." msgstr "" -#: library/logging.rst:823 +#: library/logging.rst:824 msgid "" "Returns an instance of the :class:`Filter` class. If *name* is specified, it " "names a logger which, together with its children, will have its events " @@ -1051,7 +1053,7 @@ msgid "" "event." msgstr "" -#: library/logging.rst:830 +#: library/logging.rst:831 msgid "" "Is the specified record to be logged? Returns false for no, true for yes. " "Filters can either modify log records in-place or return a completely " @@ -1059,7 +1061,7 @@ msgid "" "future processing of the event." msgstr "" -#: library/logging.rst:835 +#: library/logging.rst:836 msgid "" "Note that filters attached to handlers are consulted before an event is " "emitted by the handler, whereas filters attached to loggers are consulted " @@ -1069,13 +1071,13 @@ msgid "" "setting, unless the filter has also been applied to those descendant loggers." msgstr "" -#: library/logging.rst:842 +#: library/logging.rst:843 msgid "" "You don't actually need to subclass ``Filter``: you can pass any instance " "which has a ``filter`` method with the same semantics." msgstr "" -#: library/logging.rst:845 +#: library/logging.rst:846 msgid "" "You don't need to create specialized ``Filter`` classes, or use other " "classes with a ``filter`` method: you can use a function (or other callable) " @@ -1086,7 +1088,7 @@ msgid "" "value should conform to that returned by :meth:`~Filter.filter`." msgstr "" -#: library/logging.rst:855 +#: library/logging.rst:856 msgid "" "You can now return a :class:`LogRecord` instance from filters to replace the " "log record rather than modifying it in place. This allows filters attached " @@ -1094,7 +1096,7 @@ msgid "" "having side effects on other handlers." msgstr "" -#: library/logging.rst:861 +#: library/logging.rst:862 msgid "" "Although filters are used primarily to filter records based on more " "sophisticated criteria than levels, they get to see every record which is " @@ -1106,11 +1108,11 @@ msgid "" "contextual information into logs (see :ref:`filters-contextual`)." msgstr "" -#: library/logging.rst:874 +#: library/logging.rst:875 msgid "LogRecord Objects" msgstr "" -#: library/logging.rst:876 +#: library/logging.rst:877 msgid "" ":class:`LogRecord` instances are created automatically by the :class:" "`Logger` every time something is logged, and can be created manually via :" @@ -1118,17 +1120,17 @@ msgid "" "wire)." msgstr "" -#: library/logging.rst:884 +#: library/logging.rst:885 msgid "Contains all the information pertinent to the event being logged." msgstr "" -#: library/logging.rst:886 +#: library/logging.rst:887 msgid "" "The primary information is passed in *msg* and *args*, which are combined " "using ``msg % args`` to create the :attr:`!message` attribute of the record." msgstr "" -#: library/logging.rst:890 +#: library/logging.rst:891 msgid "" "The name of the logger used to log the event represented by this :class:`!" "LogRecord`. Note that the logger name in the :class:`!LogRecord` will always " @@ -1136,7 +1138,7 @@ msgid "" "different (ancestor) logger." msgstr "" -#: library/logging.rst:898 +#: library/logging.rst:899 msgid "" "The :ref:`numeric level ` of the logging event (such as ``10`` for " "``DEBUG``, ``20`` for ``INFO``, etc). Note that this is converted to *two* " @@ -1144,46 +1146,46 @@ msgid "" "attr:`!levelname` for the corresponding level name." msgstr "" -#: library/logging.rst:905 +#: library/logging.rst:906 msgid "" "The full string path of the source file where the logging call was made." msgstr "" -#: library/logging.rst:909 +#: library/logging.rst:910 msgid "The line number in the source file where the logging call was made." msgstr "" -#: library/logging.rst:913 +#: library/logging.rst:914 msgid "" "The event description message, which can be a %-format string with " "placeholders for variable data, or an arbitrary object (see :ref:`arbitrary-" "object-messages`)." msgstr "" -#: library/logging.rst:918 +#: library/logging.rst:919 msgid "" "Variable data to merge into the *msg* argument to obtain the event " "description." msgstr "" -#: library/logging.rst:922 +#: library/logging.rst:923 msgid "" "An exception tuple with the current exception information, as returned by :" "func:`sys.exc_info`, or ``None`` if no exception information is available." msgstr "" -#: library/logging.rst:927 +#: library/logging.rst:928 msgid "" "The name of the function or method from which the logging call was invoked." msgstr "" -#: library/logging.rst:931 +#: library/logging.rst:932 msgid "" "A text string representing stack information from the base of the stack in " "the current thread, up to the logging call." msgstr "" -#: library/logging.rst:938 +#: library/logging.rst:939 msgid "" "Returns the message for this :class:`LogRecord` instance after merging any " "user-supplied arguments with the message. If the user-supplied message " @@ -1192,7 +1194,7 @@ msgid "" "whose ``__str__`` method can return the actual format string to be used." msgstr "" -#: library/logging.rst:945 +#: library/logging.rst:946 msgid "" "The creation of a :class:`LogRecord` has been made more configurable by " "providing a factory which is used to create the record. The factory can be " @@ -1200,13 +1202,13 @@ msgid "" "this for the factory's signature)." msgstr "" -#: library/logging.rst:951 +#: library/logging.rst:952 msgid "" "This functionality can be used to inject your own values into a :class:" "`LogRecord` at creation time. You can use the following pattern::" msgstr "" -#: library/logging.rst:954 +#: library/logging.rst:955 msgid "" "old_factory = logging.getLogRecordFactory()\n" "\n" @@ -1218,18 +1220,18 @@ msgid "" "logging.setLogRecordFactory(record_factory)" msgstr "" -#: library/logging.rst:963 +#: library/logging.rst:964 msgid "" "With this pattern, multiple factories could be chained, and as long as they " "don't overwrite each other's attributes or unintentionally overwrite the " "standard attributes listed above, there should be no surprises." msgstr "" -#: library/logging.rst:972 +#: library/logging.rst:973 msgid "LogRecord attributes" msgstr "" -#: library/logging.rst:974 +#: library/logging.rst:975 msgid "" "The LogRecord has a number of attributes, most of which are derived from the " "parameters to the constructor. (Note that the names do not always correspond " @@ -1240,7 +1242,7 @@ msgid "" "style format string." msgstr "" -#: library/logging.rst:982 +#: library/logging.rst:983 msgid "" "If you are using {}-formatting (:func:`str.format`), you can use ``{attrname}" "`` as the placeholder in the format string. If you are using $-formatting (:" @@ -1248,7 +1250,7 @@ msgid "" "course, replace ``attrname`` with the actual attribute name you want to use." msgstr "" -#: library/logging.rst:988 +#: library/logging.rst:989 msgid "" "In the case of {}-formatting, you can specify formatting flags by placing " "them after the attribute name, separated from it with a colon. For example: " @@ -1257,323 +1259,323 @@ msgid "" "on the options available to you." msgstr "" -#: library/logging.rst:995 +#: library/logging.rst:996 msgid "Attribute name" msgstr "" -#: library/logging.rst:1357 +#: library/logging.rst:1358 msgid "Format" msgstr "" -#: library/logging.rst:1357 +#: library/logging.rst:1358 msgid "Description" msgstr "" -#: library/logging.rst:997 +#: library/logging.rst:998 msgid "args" msgstr "" -#: library/logging.rst:1011 library/logging.rst:1057 +#: library/logging.rst:1012 library/logging.rst:1058 msgid "You shouldn't need to format this yourself." msgstr "" -#: library/logging.rst:997 +#: library/logging.rst:998 msgid "" "The tuple of arguments merged into ``msg`` to produce ``message``, or a dict " "whose values are used for the merge (when there is only one argument, and it " "is a dictionary)." msgstr "" -#: library/logging.rst:1002 +#: library/logging.rst:1003 msgid "asctime" msgstr "" -#: library/logging.rst:1002 +#: library/logging.rst:1003 msgid "``%(asctime)s``" msgstr "" -#: library/logging.rst:1002 +#: library/logging.rst:1003 msgid "" "Human-readable time when the :class:`LogRecord` was created. By default " "this is of the form '2003-07-08 16:49:45,896' (the numbers after the comma " "are millisecond portion of the time)." msgstr "" -#: library/logging.rst:1008 +#: library/logging.rst:1009 msgid "created" msgstr "" -#: library/logging.rst:1008 +#: library/logging.rst:1009 msgid "``%(created)f``" msgstr "" -#: library/logging.rst:1008 +#: library/logging.rst:1009 msgid "" "Time when the :class:`LogRecord` was created (as returned by :func:`time." "time`)." msgstr "" -#: library/logging.rst:1011 +#: library/logging.rst:1012 msgid "exc_info" msgstr "" -#: library/logging.rst:1011 +#: library/logging.rst:1012 msgid "" "Exception tuple (à la ``sys.exc_info``) or, if no exception has occurred, " "``None``." msgstr "" -#: library/logging.rst:1014 +#: library/logging.rst:1015 msgid "filename" msgstr "" -#: library/logging.rst:1014 +#: library/logging.rst:1015 msgid "``%(filename)s``" msgstr "" -#: library/logging.rst:1014 +#: library/logging.rst:1015 msgid "Filename portion of ``pathname``." msgstr "" -#: library/logging.rst:1016 +#: library/logging.rst:1017 msgid "funcName" msgstr "" -#: library/logging.rst:1016 +#: library/logging.rst:1017 msgid "``%(funcName)s``" msgstr "" -#: library/logging.rst:1016 +#: library/logging.rst:1017 msgid "Name of function containing the logging call." msgstr "" -#: library/logging.rst:1018 +#: library/logging.rst:1019 msgid "levelname" msgstr "" -#: library/logging.rst:1018 +#: library/logging.rst:1019 msgid "``%(levelname)s``" msgstr "" -#: library/logging.rst:1018 +#: library/logging.rst:1019 msgid "" "Text logging level for the message (``'DEBUG'``, ``'INFO'``, ``'WARNING'``, " "``'ERROR'``, ``'CRITICAL'``)." msgstr "" -#: library/logging.rst:1022 +#: library/logging.rst:1023 msgid "levelno" msgstr "" -#: library/logging.rst:1022 +#: library/logging.rst:1023 msgid "``%(levelno)s``" msgstr "" -#: library/logging.rst:1022 +#: library/logging.rst:1023 msgid "" "Numeric logging level for the message (:const:`DEBUG`, :const:`INFO`, :const:" "`WARNING`, :const:`ERROR`, :const:`CRITICAL`)." msgstr "" -#: library/logging.rst:1027 +#: library/logging.rst:1028 msgid "lineno" msgstr "" -#: library/logging.rst:1027 +#: library/logging.rst:1028 msgid "``%(lineno)d``" msgstr "" -#: library/logging.rst:1027 +#: library/logging.rst:1028 msgid "Source line number where the logging call was issued (if available)." msgstr "" -#: library/logging.rst:1030 +#: library/logging.rst:1031 msgid "message" msgstr "" -#: library/logging.rst:1030 +#: library/logging.rst:1031 msgid "``%(message)s``" msgstr "" -#: library/logging.rst:1030 +#: library/logging.rst:1031 msgid "" "The logged message, computed as ``msg % args``. This is set when :meth:" "`Formatter.format` is invoked." msgstr "" -#: library/logging.rst:1034 +#: library/logging.rst:1035 msgid "module" msgstr "" -#: library/logging.rst:1034 +#: library/logging.rst:1035 msgid "``%(module)s``" msgstr "" -#: library/logging.rst:1034 +#: library/logging.rst:1035 msgid "Module (name portion of ``filename``)." msgstr "" -#: library/logging.rst:1036 +#: library/logging.rst:1037 msgid "msecs" msgstr "" -#: library/logging.rst:1036 +#: library/logging.rst:1037 msgid "``%(msecs)d``" msgstr "" -#: library/logging.rst:1036 +#: library/logging.rst:1037 msgid "" "Millisecond portion of the time when the :class:`LogRecord` was created." msgstr "" -#: library/logging.rst:1039 +#: library/logging.rst:1040 msgid "msg" msgstr "" -#: library/logging.rst:1039 +#: library/logging.rst:1040 msgid "" "The format string passed in the original logging call. Merged with ``args`` " "to produce ``message``, or an arbitrary object (see :ref:`arbitrary-object-" "messages`)." msgstr "" -#: library/logging.rst:1044 +#: library/logging.rst:1045 msgid "name" msgstr "" -#: library/logging.rst:1044 +#: library/logging.rst:1045 msgid "``%(name)s``" msgstr "" -#: library/logging.rst:1044 +#: library/logging.rst:1045 msgid "Name of the logger used to log the call." msgstr "" -#: library/logging.rst:1046 +#: library/logging.rst:1047 msgid "pathname" msgstr "" -#: library/logging.rst:1046 +#: library/logging.rst:1047 msgid "``%(pathname)s``" msgstr "" -#: library/logging.rst:1046 +#: library/logging.rst:1047 msgid "" "Full pathname of the source file where the logging call was issued (if " "available)." msgstr "" -#: library/logging.rst:1049 +#: library/logging.rst:1050 msgid "process" msgstr "" -#: library/logging.rst:1049 +#: library/logging.rst:1050 msgid "``%(process)d``" msgstr "" -#: library/logging.rst:1049 +#: library/logging.rst:1050 msgid "Process ID (if available)." msgstr "" -#: library/logging.rst:1051 +#: library/logging.rst:1052 msgid "processName" msgstr "" -#: library/logging.rst:1051 +#: library/logging.rst:1052 msgid "``%(processName)s``" msgstr "" -#: library/logging.rst:1051 +#: library/logging.rst:1052 msgid "Process name (if available)." msgstr "" -#: library/logging.rst:1053 +#: library/logging.rst:1054 msgid "relativeCreated" msgstr "" -#: library/logging.rst:1053 +#: library/logging.rst:1054 msgid "``%(relativeCreated)d``" msgstr "" -#: library/logging.rst:1053 +#: library/logging.rst:1054 msgid "" "Time in milliseconds when the LogRecord was created, relative to the time " "the logging module was loaded." msgstr "" -#: library/logging.rst:1057 +#: library/logging.rst:1058 msgid "stack_info" msgstr "" -#: library/logging.rst:1057 +#: library/logging.rst:1058 msgid "" "Stack frame information (where available) from the bottom of the stack in " "the current thread, up to and including the stack frame of the logging call " "which resulted in the creation of this record." msgstr "" -#: library/logging.rst:1063 +#: library/logging.rst:1064 msgid "thread" msgstr "" -#: library/logging.rst:1063 +#: library/logging.rst:1064 msgid "``%(thread)d``" msgstr "" -#: library/logging.rst:1063 +#: library/logging.rst:1064 msgid "Thread ID (if available)." msgstr "" -#: library/logging.rst:1065 +#: library/logging.rst:1066 msgid "threadName" msgstr "" -#: library/logging.rst:1065 +#: library/logging.rst:1066 msgid "``%(threadName)s``" msgstr "" -#: library/logging.rst:1065 +#: library/logging.rst:1066 msgid "Thread name (if available)." msgstr "" -#: library/logging.rst:1067 +#: library/logging.rst:1068 msgid "taskName" msgstr "" -#: library/logging.rst:1067 +#: library/logging.rst:1068 msgid "``%(taskName)s``" msgstr "" -#: library/logging.rst:1067 +#: library/logging.rst:1068 msgid ":class:`asyncio.Task` name (if available)." msgstr "" -#: library/logging.rst:1070 +#: library/logging.rst:1071 msgid "*processName* was added." msgstr "" -#: library/logging.rst:1073 +#: library/logging.rst:1074 msgid "*taskName* was added." msgstr "" -#: library/logging.rst:1079 +#: library/logging.rst:1080 msgid "LoggerAdapter Objects" msgstr "" -#: library/logging.rst:1081 +#: library/logging.rst:1082 msgid "" ":class:`LoggerAdapter` instances are used to conveniently pass contextual " "information into logging calls. For a usage example, see the section on :ref:" "`adding contextual information to your logging output `." msgstr "" -#: library/logging.rst:1087 +#: library/logging.rst:1088 msgid "" "Returns an instance of :class:`LoggerAdapter` initialized with an " "underlying :class:`Logger` instance and a dict-like object." msgstr "" -#: library/logging.rst:1092 +#: library/logging.rst:1093 msgid "" "Modifies the message and/or keyword arguments passed to a logging call in " "order to insert contextual information. This implementation takes the object " @@ -1582,15 +1584,15 @@ msgid "" "(possibly modified) versions of the arguments passed in." msgstr "" -#: library/logging.rst:1100 +#: library/logging.rst:1101 msgid "Delegates to the underlying :attr:`!manager` on *logger*." msgstr "" -#: library/logging.rst:1104 +#: library/logging.rst:1105 msgid "Delegates to the underlying :meth:`!_log` method on *logger*." msgstr "" -#: library/logging.rst:1106 +#: library/logging.rst:1107 msgid "" "In addition to the above, :class:`LoggerAdapter` supports the following " "methods of :class:`Logger`: :meth:`~Logger.debug`, :meth:`~Logger.info`, :" @@ -1602,24 +1604,24 @@ msgid "" "interchangeably." msgstr "" -#: library/logging.rst:1117 +#: library/logging.rst:1118 msgid "" "The :meth:`~Logger.isEnabledFor`, :meth:`~Logger.getEffectiveLevel`, :meth:" "`~Logger.setLevel` and :meth:`~Logger.hasHandlers` methods were added to :" "class:`LoggerAdapter`. These methods delegate to the underlying logger." msgstr "" -#: library/logging.rst:1123 +#: library/logging.rst:1124 msgid "" "Attribute :attr:`!manager` and method :meth:`!_log` were added, which " "delegate to the underlying logger and allow adapters to be nested." msgstr "" -#: library/logging.rst:1128 +#: library/logging.rst:1129 msgid "Thread Safety" msgstr "" -#: library/logging.rst:1130 +#: library/logging.rst:1131 msgid "" "The logging module is intended to be thread-safe without any special work " "needing to be done by its clients. It achieves this though using threading " @@ -1628,7 +1630,7 @@ msgid "" "O." msgstr "" -#: library/logging.rst:1135 +#: library/logging.rst:1136 msgid "" "If you are implementing asynchronous signal handlers using the :mod:`signal` " "module, you may not be able to use logging from within such handlers. This " @@ -1636,17 +1638,17 @@ msgid "" "always re-entrant, and so cannot be invoked from such signal handlers." msgstr "" -#: library/logging.rst:1142 +#: library/logging.rst:1143 msgid "Module-Level Functions" msgstr "" -#: library/logging.rst:1144 +#: library/logging.rst:1145 msgid "" "In addition to the classes described above, there are a number of module-" "level functions." msgstr "" -#: library/logging.rst:1150 +#: library/logging.rst:1151 msgid "" "Return a logger with the specified name or, if name is ``None``, return the " "root logger of the hierarchy. If specified, the name is typically a dot-" @@ -1656,14 +1658,14 @@ msgid "" "for not doing that, as mentioned in :ref:`logger`." msgstr "" -#: library/logging.rst:1157 +#: library/logging.rst:1158 msgid "" "All calls to this function with a given name return the same logger " "instance. This means that logger instances never need to be passed between " "different parts of an application." msgstr "" -#: library/logging.rst:1164 +#: library/logging.rst:1165 msgid "" "Return either the standard :class:`Logger` class, or the last class passed " "to :func:`setLoggerClass`. This function may be called from within a new " @@ -1672,43 +1674,43 @@ msgid "" "example::" msgstr "" -#: library/logging.rst:1169 +#: library/logging.rst:1170 msgid "" "class MyLogger(logging.getLoggerClass()):\n" " # ... override behaviour here" msgstr "" -#: library/logging.rst:1175 +#: library/logging.rst:1176 msgid "Return a callable which is used to create a :class:`LogRecord`." msgstr "" -#: library/logging.rst:1177 +#: library/logging.rst:1178 msgid "" "This function has been provided, along with :func:`setLogRecordFactory`, to " "allow developers more control over how the :class:`LogRecord` representing a " "logging event is constructed." msgstr "" -#: library/logging.rst:1182 +#: library/logging.rst:1183 msgid "" "See :func:`setLogRecordFactory` for more information about the how the " "factory is called." msgstr "" -#: library/logging.rst:1187 +#: library/logging.rst:1188 msgid "" "This is a convenience function that calls :meth:`Logger.debug`, on the root " "logger. The handling of the arguments is in every way identical to what is " "described in that method." msgstr "" -#: library/logging.rst:1191 +#: library/logging.rst:1192 msgid "" "The only difference is that if the root logger has no handlers, then :func:" "`basicConfig` is called, prior to calling ``debug`` on the root logger." msgstr "" -#: library/logging.rst:1194 +#: library/logging.rst:1195 msgid "" "For very short scripts or quick demonstrations of ``logging`` facilities, " "``debug`` and the other module-level functions may be convenient. However, " @@ -1718,38 +1720,38 @@ msgid "" "described at the beginnning of this documentation." msgstr "" -#: library/logging.rst:1204 +#: library/logging.rst:1205 msgid "" "Logs a message with level :const:`INFO` on the root logger. The arguments " "and behavior are otherwise the same as for :func:`debug`." msgstr "" -#: library/logging.rst:1210 +#: library/logging.rst:1211 msgid "" "Logs a message with level :const:`WARNING` on the root logger. The arguments " "and behavior are otherwise the same as for :func:`debug`." msgstr "" -#: library/logging.rst:1213 +#: library/logging.rst:1214 msgid "" "There is an obsolete function ``warn`` which is functionally identical to " "``warning``. As ``warn`` is deprecated, please do not use it - use " "``warning`` instead." msgstr "" -#: library/logging.rst:1220 +#: library/logging.rst:1221 msgid "" "Logs a message with level :const:`ERROR` on the root logger. The arguments " "and behavior are otherwise the same as for :func:`debug`." msgstr "" -#: library/logging.rst:1226 +#: library/logging.rst:1227 msgid "" "Logs a message with level :const:`CRITICAL` on the root logger. The " "arguments and behavior are otherwise the same as for :func:`debug`." msgstr "" -#: library/logging.rst:1232 +#: library/logging.rst:1233 msgid "" "Logs a message with level :const:`ERROR` on the root logger. The arguments " "and behavior are otherwise the same as for :func:`debug`. Exception info is " @@ -1757,13 +1759,13 @@ msgid "" "exception handler." msgstr "" -#: library/logging.rst:1238 +#: library/logging.rst:1239 msgid "" "Logs a message with level *level* on the root logger. The arguments and " "behavior are otherwise the same as for :func:`debug`." msgstr "" -#: library/logging.rst:1243 +#: library/logging.rst:1244 msgid "" "Provides an overriding level *level* for all loggers which takes precedence " "over the logger's own level. When the need arises to temporarily throttle " @@ -1777,7 +1779,7 @@ msgid "" "individual loggers." msgstr "" -#: library/logging.rst:1254 +#: library/logging.rst:1255 msgid "" "Note that if you have defined any custom logging level higher than " "``CRITICAL`` (this is not recommended), you won't be able to rely on the " @@ -1785,13 +1787,13 @@ msgid "" "a suitable value." msgstr "" -#: library/logging.rst:1259 +#: library/logging.rst:1260 msgid "" "The *level* parameter was defaulted to level ``CRITICAL``. See :issue:" "`28524` for more information about this change." msgstr "" -#: library/logging.rst:1265 +#: library/logging.rst:1266 msgid "" "Associates level *level* with text *levelName* in an internal dictionary, " "which is used to map numeric levels to a textual representation, for example " @@ -1801,24 +1803,24 @@ msgid "" "and they should increase in increasing order of severity." msgstr "" -#: library/logging.rst:1272 +#: library/logging.rst:1273 msgid "" "If you are thinking of defining your own levels, please see the section on :" "ref:`custom-levels`." msgstr "" -#: library/logging.rst:1277 +#: library/logging.rst:1278 msgid "" "Returns a mapping from level names to their corresponding logging levels. " "For example, the string \"CRITICAL\" maps to :const:`CRITICAL`. The returned " "mapping is copied from an internal mapping on each call to this function." msgstr "" -#: library/logging.rst:1285 +#: library/logging.rst:1286 msgid "Returns the textual or numeric representation of logging level *level*." msgstr "" -#: library/logging.rst:1287 +#: library/logging.rst:1288 msgid "" "If *level* is one of the predefined levels :const:`CRITICAL`, :const:" "`ERROR`, :const:`WARNING`, :const:`INFO` or :const:`DEBUG` then you get the " @@ -1828,20 +1830,20 @@ msgid "" "the corresponding string representation is returned." msgstr "" -#: library/logging.rst:1294 +#: library/logging.rst:1295 msgid "" "The *level* parameter also accepts a string representation of the level such " "as 'INFO'. In such cases, this functions returns the corresponding numeric " "value of the level." msgstr "" -#: library/logging.rst:1298 +#: library/logging.rst:1299 msgid "" "If no matching numeric or string value is passed in, the string 'Level %s' % " "level is returned." msgstr "" -#: library/logging.rst:1301 +#: library/logging.rst:1302 msgid "" "Levels are internally integers (as they need to be compared in the logging " "logic). This function is used to convert between an integer level and the " @@ -1850,7 +1852,7 @@ msgid "" "vice versa." msgstr "" -#: library/logging.rst:1307 +#: library/logging.rst:1308 msgid "" "In Python versions earlier than 3.4, this function could also be passed a " "text level, and would return the corresponding numeric value of the level. " @@ -1858,17 +1860,17 @@ msgid "" "Python 3.4, but reinstated in 3.4.2 due to retain backward compatibility." msgstr "" -#: library/logging.rst:1315 +#: library/logging.rst:1316 msgid "" "Returns a handler with the specified *name*, or ``None`` if there is no " "handler with that name." msgstr "" -#: library/logging.rst:1322 +#: library/logging.rst:1323 msgid "Returns an immutable set of all known handler names." msgstr "" -#: library/logging.rst:1328 +#: library/logging.rst:1329 msgid "" "Creates and returns a new :class:`LogRecord` instance whose attributes are " "defined by *attrdict*. This function is useful for taking a pickled :class:" @@ -1876,7 +1878,7 @@ msgid "" "as a :class:`LogRecord` instance at the receiving end." msgstr "" -#: library/logging.rst:1336 +#: library/logging.rst:1337 msgid "" "Does basic configuration for the logging system by creating a :class:" "`StreamHandler` with a default :class:`Formatter` and adding it to the root " @@ -1885,13 +1887,13 @@ msgid "" "no handlers are defined for the root logger." msgstr "" -#: library/logging.rst:1342 +#: library/logging.rst:1343 msgid "" "This function does nothing if the root logger already has handlers " "configured, unless the keyword argument *force* is set to ``True``." msgstr "" -#: library/logging.rst:1345 +#: library/logging.rst:1346 msgid "" "This function should be called from the main thread before other threads are " "started. In versions of Python prior to 2.7.1 and 3.2, if this function is " @@ -1900,54 +1902,54 @@ msgid "" "unexpected results such as messages being duplicated in the log." msgstr "" -#: library/logging.rst:1352 +#: library/logging.rst:1353 msgid "The following keyword arguments are supported." msgstr "" -#: library/logging.rst:1359 +#: library/logging.rst:1360 msgid "*filename*" msgstr "" -#: library/logging.rst:1359 +#: library/logging.rst:1360 msgid "" "Specifies that a :class:`FileHandler` be created, using the specified " "filename, rather than a :class:`StreamHandler`." msgstr "" -#: library/logging.rst:1363 +#: library/logging.rst:1364 msgid "*filemode*" msgstr "" -#: library/logging.rst:1363 +#: library/logging.rst:1364 msgid "" "If *filename* is specified, open the file in this :ref:`mode `. " "Defaults to ``'a'``." msgstr "" -#: library/logging.rst:1367 +#: library/logging.rst:1368 msgid "*format*" msgstr "" -#: library/logging.rst:1367 +#: library/logging.rst:1368 msgid "" "Use the specified format string for the handler. Defaults to attributes " "``levelname``, ``name`` and ``message`` separated by colons." msgstr "" -#: library/logging.rst:1372 +#: library/logging.rst:1373 msgid "*datefmt*" msgstr "" -#: library/logging.rst:1372 +#: library/logging.rst:1373 msgid "" "Use the specified date/time format, as accepted by :func:`time.strftime`." msgstr "" -#: library/logging.rst:1375 +#: library/logging.rst:1376 msgid "*style*" msgstr "" -#: library/logging.rst:1375 +#: library/logging.rst:1376 msgid "" "If *format* is specified, use this style for the format string. One of " "``'%'``, ``'{'`` or ``'$'`` for :ref:`printf-style `." msgstr "" -#: library/logging.rst:1386 +#: library/logging.rst:1387 msgid "*stream*" msgstr "" -#: library/logging.rst:1386 +#: library/logging.rst:1387 msgid "" "Use the specified stream to initialize the :class:`StreamHandler`. Note that " "this argument is incompatible with *filename* - if both are present, a " "``ValueError`` is raised." msgstr "" -#: library/logging.rst:1392 +#: library/logging.rst:1393 msgid "*handlers*" msgstr "" -#: library/logging.rst:1392 +#: library/logging.rst:1393 msgid "" "If specified, this should be an iterable of already created handlers to add " "to the root logger. Any handlers which don't already have a formatter set " @@ -1987,33 +1989,33 @@ msgid "" "present, a ``ValueError`` is raised." msgstr "" -#: library/logging.rst:1401 +#: library/logging.rst:1402 msgid "*force*" msgstr "" -#: library/logging.rst:1401 +#: library/logging.rst:1402 msgid "" "If this keyword argument is specified as true, any existing handlers " "attached to the root logger are removed and closed, before carrying out the " "configuration as specified by the other arguments." msgstr "" -#: library/logging.rst:1407 +#: library/logging.rst:1408 msgid "*encoding*" msgstr "" -#: library/logging.rst:1407 +#: library/logging.rst:1408 msgid "" "If this keyword argument is specified along with *filename*, its value is " "used when the :class:`FileHandler` is created, and thus used when opening " "the output file." msgstr "" -#: library/logging.rst:1412 +#: library/logging.rst:1413 msgid "*errors*" msgstr "" -#: library/logging.rst:1412 +#: library/logging.rst:1413 msgid "" "If this keyword argument is specified along with *filename*, its value is " "used when the :class:`FileHandler` is created, and thus used when opening " @@ -2022,39 +2024,39 @@ msgid "" "`open`, which means that it will be treated the same as passing 'errors'." msgstr "" -#: library/logging.rst:1423 +#: library/logging.rst:1424 msgid "The *style* argument was added." msgstr "" -#: library/logging.rst:1426 +#: library/logging.rst:1427 msgid "" "The *handlers* argument was added. Additional checks were added to catch " "situations where incompatible arguments are specified (e.g. *handlers* " "together with *stream* or *filename*, or *stream* together with *filename*)." msgstr "" -#: library/logging.rst:1432 +#: library/logging.rst:1433 msgid "The *force* argument was added." msgstr "" -#: library/logging.rst:1435 +#: library/logging.rst:1436 msgid "The *encoding* and *errors* arguments were added." msgstr "" -#: library/logging.rst:1440 +#: library/logging.rst:1441 msgid "" "Informs the logging system to perform an orderly shutdown by flushing and " "closing all handlers. This should be called at application exit and no " "further use of the logging system should be made after this call." msgstr "" -#: library/logging.rst:1444 +#: library/logging.rst:1445 msgid "" "When the logging module is imported, it registers this function as an exit " "handler (see :mod:`atexit`), so normally there's no need to do that manually." msgstr "" -#: library/logging.rst:1451 +#: library/logging.rst:1452 msgid "" "Tells the logging system to use the class *klass* when instantiating a " "logger. The class should define :meth:`!__init__` such that only a name " @@ -2066,32 +2068,32 @@ msgid "" "loggers." msgstr "" -#: library/logging.rst:1462 +#: library/logging.rst:1463 msgid "Set a callable which is used to create a :class:`LogRecord`." msgstr "" -#: library/logging.rst:1464 +#: library/logging.rst:1465 msgid "The factory callable to be used to instantiate a log record." msgstr "" -#: library/logging.rst:1466 +#: library/logging.rst:1467 msgid "" "This function has been provided, along with :func:`getLogRecordFactory`, to " "allow developers more control over how the :class:`LogRecord` representing a " "logging event is constructed." msgstr "" -#: library/logging.rst:1471 +#: library/logging.rst:1472 msgid "The factory has the following signature:" msgstr "" -#: library/logging.rst:1473 +#: library/logging.rst:1474 msgid "" "``factory(name, level, fn, lno, msg, args, exc_info, func=None, sinfo=None, " "**kwargs)``" msgstr "" -#: library/logging.rst:1475 +#: library/logging.rst:1476 msgid "The logger name." msgstr "" @@ -2099,7 +2101,7 @@ msgstr "" msgid "level" msgstr "" -#: library/logging.rst:1476 +#: library/logging.rst:1477 msgid "The logging level (numeric)." msgstr "" @@ -2107,7 +2109,7 @@ msgstr "" msgid "fn" msgstr "" -#: library/logging.rst:1477 +#: library/logging.rst:1478 msgid "The full pathname of the file where the logging call was made." msgstr "" @@ -2115,19 +2117,19 @@ msgstr "" msgid "lno" msgstr "" -#: library/logging.rst:1478 +#: library/logging.rst:1479 msgid "The line number in the file where the logging call was made." msgstr "" -#: library/logging.rst:1479 +#: library/logging.rst:1480 msgid "The logging message." msgstr "" -#: library/logging.rst:1480 +#: library/logging.rst:1481 msgid "The arguments for the logging message." msgstr "" -#: library/logging.rst:1481 +#: library/logging.rst:1482 msgid "An exception tuple, or ``None``." msgstr "" @@ -2135,7 +2137,7 @@ msgstr "" msgid "func" msgstr "" -#: library/logging.rst:1482 +#: library/logging.rst:1483 msgid "The name of the function or method which invoked the logging call." msgstr "" @@ -2143,7 +2145,7 @@ msgstr "" msgid "sinfo" msgstr "" -#: library/logging.rst:1484 +#: library/logging.rst:1485 msgid "" "A stack traceback such as is provided by :func:`traceback.print_stack`, " "showing the call hierarchy." @@ -2153,15 +2155,15 @@ msgstr "" msgid "kwargs" msgstr "" -#: library/logging.rst:1486 +#: library/logging.rst:1487 msgid "Additional keyword arguments." msgstr "" -#: library/logging.rst:1490 +#: library/logging.rst:1491 msgid "Module-Level Attributes" msgstr "" -#: library/logging.rst:1494 +#: library/logging.rst:1495 msgid "" "A \"handler of last resort\" is available through this attribute. This is a :" "class:`StreamHandler` writing to ``sys.stderr`` with a level of ``WARNING``, " @@ -2172,15 +2174,15 @@ msgid "" "reason, ``lastResort`` can be set to ``None``." msgstr "" -#: library/logging.rst:1506 +#: library/logging.rst:1507 msgid "Used to see if exceptions during handling should be propagated." msgstr "" -#: library/logging.rst:1508 +#: library/logging.rst:1509 msgid "Default: ``True``." msgstr "" -#: library/logging.rst:1510 +#: library/logging.rst:1511 msgid "" "If :data:`raiseExceptions` is ``False``, exceptions get silently ignored. " "This is what is mostly wanted for a logging system - most users will not " @@ -2188,22 +2190,22 @@ msgid "" "application errors." msgstr "" -#: library/logging.rst:1517 +#: library/logging.rst:1518 msgid "Integration with the warnings module" msgstr "" -#: library/logging.rst:1519 +#: library/logging.rst:1520 msgid "" "The :func:`captureWarnings` function can be used to integrate :mod:`logging` " "with the :mod:`warnings` module." msgstr "" -#: library/logging.rst:1524 +#: library/logging.rst:1525 msgid "" "This function is used to turn the capture of warnings by logging on and off." msgstr "" -#: library/logging.rst:1527 +#: library/logging.rst:1528 msgid "" "If *capture* is ``True``, warnings issued by the :mod:`warnings` module will " "be redirected to the logging system. Specifically, a warning will be " @@ -2212,46 +2214,46 @@ msgid "" "`WARNING`." msgstr "" -#: library/logging.rst:1532 +#: library/logging.rst:1533 msgid "" "If *capture* is ``False``, the redirection of warnings to the logging system " "will stop, and warnings will be redirected to their original destinations (i." "e. those in effect before ``captureWarnings(True)`` was called)." msgstr "" -#: library/logging.rst:1539 +#: library/logging.rst:1540 msgid "Module :mod:`logging.config`" msgstr "" -#: library/logging.rst:1540 +#: library/logging.rst:1541 msgid "Configuration API for the logging module." msgstr "" -#: library/logging.rst:1542 +#: library/logging.rst:1543 msgid "Module :mod:`logging.handlers`" msgstr "" -#: library/logging.rst:1543 +#: library/logging.rst:1544 msgid "Useful handlers included with the logging module." msgstr "" -#: library/logging.rst:1545 +#: library/logging.rst:1546 msgid ":pep:`282` - A Logging System" msgstr "" -#: library/logging.rst:1546 +#: library/logging.rst:1547 msgid "" "The proposal which described this feature for inclusion in the Python " "standard library." msgstr "" -#: library/logging.rst:1549 +#: library/logging.rst:1550 msgid "" "`Original Python logging package `_" msgstr "" -#: library/logging.rst:1550 +#: library/logging.rst:1551 msgid "" "This is the original source for the :mod:`logging` package. The version of " "the package available from this site is suitable for use with Python 1.5.2, " diff --git a/library/lzma.po b/library/lzma.po index f11f08c5..7ac028e6 100644 --- a/library/lzma.po +++ b/library/lzma.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/mailbox.po b/library/mailbox.po index 963e347c..ee60eb19 100644 --- a/library/mailbox.po +++ b/library/mailbox.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -420,7 +420,7 @@ msgid "" "addition to the following:" msgstr "" -#: library/mailbox.rst:545 +#: library/mailbox.rst:560 msgid "Return a list of the names of all folders." msgstr "" @@ -437,7 +437,7 @@ msgid "" "instance representing it." msgstr "" -#: library/mailbox.rst:563 +#: library/mailbox.rst:578 msgid "" "Delete the folder whose name is *folder*. If the folder contains any " "messages, a :exc:`NotEmptyError` exception will be raised and the folder " @@ -550,54 +550,61 @@ msgid "" "remarks:" msgstr "" -#: library/mailbox.rst:487 +#: library/mailbox.rst:497 library/mailbox.rst:762 library/mailbox.rst:772 +msgid "" +"Note: This method has an extra parameter (*from_*) compared with other " +"classes. The first line of an mbox file entry is the Unix \"From \" line. If " +"*from_* is False, the first line of the file is dropped." +msgstr "" + +#: library/mailbox.rst:493 msgid "" "Using the file after calling :meth:`~Mailbox.flush` or :meth:`~Mailbox." "close` on the :class:`!mbox` instance may yield unpredictable results or " "raise an exception." msgstr "" -#: library/mailbox.rst:704 library/mailbox.rst:755 +#: library/mailbox.rst:719 library/mailbox.rst:780 msgid "" "Three locking mechanisms are used---dot locking and, if available, the :c:" "func:`!flock` and :c:func:`!lockf` system calls." msgstr "" -#: library/mailbox.rst:501 +#: library/mailbox.rst:516 msgid "" "`mbox man page from tin `_" msgstr "" -#: library/mailbox.rst:502 +#: library/mailbox.rst:517 msgid "A specification of the format, with details on locking." msgstr "" -#: library/mailbox.rst:504 +#: library/mailbox.rst:519 msgid "" "`Configuring Netscape Mail on Unix: Why The Content-Length Format is Bad " "`_" msgstr "" -#: library/mailbox.rst:505 +#: library/mailbox.rst:520 msgid "An argument for using the original mbox format rather than a variation." msgstr "" -#: library/mailbox.rst:507 +#: library/mailbox.rst:522 msgid "" "`\"mbox\" is a family of several mutually incompatible mailbox formats " "`_" msgstr "" -#: library/mailbox.rst:508 +#: library/mailbox.rst:523 msgid "A history of mbox variations." msgstr "" -#: library/mailbox.rst:514 +#: library/mailbox.rst:529 msgid ":class:`!MH` objects" msgstr "" -#: library/mailbox.rst:519 +#: library/mailbox.rst:534 msgid "" "A subclass of :class:`Mailbox` for mailboxes in MH format. Parameter " "*factory* is a callable object that accepts a file-like message " @@ -607,7 +614,7 @@ msgid "" "is created if it does not exist." msgstr "" -#: library/mailbox.rst:526 +#: library/mailbox.rst:541 msgid "" "MH is a directory-based mailbox format invented for the MH Message Handling " "System, a mail user agent. Each message in an MH mailbox resides in its own " @@ -618,7 +625,7 @@ msgid "" "called :file:`.mh_sequences` in each folder." msgstr "" -#: library/mailbox.rst:534 +#: library/mailbox.rst:549 msgid "" "The :class:`!MH` class manipulates MH mailboxes, but it does not attempt to " "emulate all of :program:`mh`'s behaviors. In particular, it does not modify " @@ -626,63 +633,63 @@ msgid "" "are used by :program:`mh` to store its state and configuration." msgstr "" -#: library/mailbox.rst:539 +#: library/mailbox.rst:554 msgid "" ":class:`!MH` instances have all of the methods of :class:`Mailbox` in " "addition to the following:" msgstr "" -#: library/mailbox.rst:550 +#: library/mailbox.rst:565 msgid "" "Return an :class:`!MH` instance representing the folder whose name is " "*folder*. A :exc:`NoSuchMailboxError` exception is raised if the folder does " "not exist." msgstr "" -#: library/mailbox.rst:557 +#: library/mailbox.rst:572 msgid "" "Create a folder whose name is *folder* and return an :class:`!MH` instance " "representing it." msgstr "" -#: library/mailbox.rst:570 +#: library/mailbox.rst:585 msgid "" "Return a dictionary of sequence names mapped to key lists. If there are no " "sequences, the empty dictionary is returned." msgstr "" -#: library/mailbox.rst:576 +#: library/mailbox.rst:591 msgid "" "Re-define the sequences that exist in the mailbox based upon *sequences*, a " "dictionary of names mapped to key lists, like returned by :meth:" "`get_sequences`." msgstr "" -#: library/mailbox.rst:583 +#: library/mailbox.rst:598 msgid "" "Rename messages in the mailbox as necessary to eliminate gaps in numbering. " "Entries in the sequences list are updated correspondingly." msgstr "" -#: library/mailbox.rst:588 +#: library/mailbox.rst:603 msgid "" "Already-issued keys are invalidated by this operation and should not be " "subsequently used." msgstr "" -#: library/mailbox.rst:591 +#: library/mailbox.rst:606 msgid "" "Some :class:`Mailbox` methods implemented by :class:`!MH` deserve special " "remarks:" msgstr "" -#: library/mailbox.rst:599 +#: library/mailbox.rst:614 msgid "" "These methods immediately delete the message. The MH convention of marking a " "message for deletion by prepending a comma to its name is not used." msgstr "" -#: library/mailbox.rst:606 +#: library/mailbox.rst:621 msgid "" "Three locking mechanisms are used---dot locking and, if available, the :c:" "func:`!flock` and :c:func:`!lockf` system calls. For MH mailboxes, locking " @@ -691,51 +698,51 @@ msgid "" "files." msgstr "" -#: library/mailbox.rst:615 +#: library/mailbox.rst:630 msgid "" "Depending upon the host platform, it may not be possible to remove the " "underlying message while the returned file remains open." msgstr "" -#: library/mailbox.rst:621 +#: library/mailbox.rst:636 msgid "" "All changes to MH mailboxes are immediately applied, so this method does " "nothing." msgstr "" -#: library/mailbox.rst:627 +#: library/mailbox.rst:642 msgid "" ":class:`!MH` instances do not keep any open files, so this method is " "equivalent to :meth:`unlock`." msgstr "" -#: library/mailbox.rst:633 +#: library/mailbox.rst:648 msgid "`nmh - Message Handling System `_" msgstr "" -#: library/mailbox.rst:634 +#: library/mailbox.rst:649 msgid "" "Home page of :program:`nmh`, an updated version of the original :program:" "`mh`." msgstr "" -#: library/mailbox.rst:636 +#: library/mailbox.rst:651 msgid "" "`MH & nmh: Email for Users & Programmers `_" msgstr "" -#: library/mailbox.rst:637 +#: library/mailbox.rst:652 msgid "" "A GPL-licensed book on :program:`mh` and :program:`nmh`, with some " "information on the mailbox format." msgstr "" -#: library/mailbox.rst:644 +#: library/mailbox.rst:659 msgid ":class:`!Babyl` objects" msgstr "" -#: library/mailbox.rst:649 +#: library/mailbox.rst:664 msgid "" "A subclass of :class:`Mailbox` for mailboxes in Babyl format. Parameter " "*factory* is a callable object that accepts a file-like message " @@ -745,7 +752,7 @@ msgid "" "mailbox is created if it does not exist." msgstr "" -#: library/mailbox.rst:656 +#: library/mailbox.rst:671 msgid "" "Babyl is a single-file mailbox format used by the Rmail mail user agent " "included with Emacs. The beginning of a message is indicated by a line " @@ -755,7 +762,7 @@ msgid "" "Underscore (``'\\037'``) character." msgstr "" -#: library/mailbox.rst:663 +#: library/mailbox.rst:678 msgid "" "Messages in a Babyl mailbox have two sets of headers, original headers and " "so-called visible headers. Visible headers are typically a subset of the " @@ -766,31 +773,31 @@ msgid "" "in the Babyl options section." msgstr "" -#: library/mailbox.rst:671 +#: library/mailbox.rst:686 msgid "" ":class:`!Babyl` instances have all of the methods of :class:`Mailbox` in " "addition to the following:" msgstr "" -#: library/mailbox.rst:677 +#: library/mailbox.rst:692 msgid "" "Return a list of the names of all user-defined labels used in the mailbox." msgstr "" -#: library/mailbox.rst:681 +#: library/mailbox.rst:696 msgid "" "The actual messages are inspected to determine which labels exist in the " "mailbox rather than consulting the list of labels in the Babyl options " "section, but the Babyl section is updated whenever the mailbox is modified." msgstr "" -#: library/mailbox.rst:686 +#: library/mailbox.rst:701 msgid "" "Some :class:`Mailbox` methods implemented by :class:`!Babyl` deserve special " "remarks:" msgstr "" -#: library/mailbox.rst:692 +#: library/mailbox.rst:707 msgid "" "In Babyl mailboxes, the headers of a message are not stored contiguously " "with the body of the message. To generate a file-like representation, the " @@ -800,30 +807,30 @@ msgid "" "memory compared to a string representation." msgstr "" -#: library/mailbox.rst:710 +#: library/mailbox.rst:725 msgid "" "`Format of Version 5 Babyl Files `_" msgstr "" -#: library/mailbox.rst:711 +#: library/mailbox.rst:726 msgid "A specification of the Babyl format." msgstr "" -#: library/mailbox.rst:713 +#: library/mailbox.rst:728 msgid "" "`Reading Mail with Rmail `_" msgstr "" -#: library/mailbox.rst:714 +#: library/mailbox.rst:729 msgid "The Rmail manual, with some information on Babyl semantics." msgstr "" -#: library/mailbox.rst:720 +#: library/mailbox.rst:735 msgid ":class:`!MMDF` objects" msgstr "" -#: library/mailbox.rst:725 +#: library/mailbox.rst:740 msgid "" "A subclass of :class:`Mailbox` for mailboxes in MMDF format. Parameter " "*factory* is a callable object that accepts a file-like message " @@ -833,7 +840,7 @@ msgid "" "mailbox is created if it does not exist." msgstr "" -#: library/mailbox.rst:732 +#: library/mailbox.rst:747 msgid "" "MMDF is a single-file mailbox format invented for the Multichannel " "Memorandum Distribution Facility, a mail transfer agent. Each message is in " @@ -846,52 +853,52 @@ msgid "" "subsequent messages." msgstr "" -#: library/mailbox.rst:741 +#: library/mailbox.rst:756 msgid "" "Some :class:`Mailbox` methods implemented by :class:`!MMDF` deserve special " "remarks:" msgstr "" -#: library/mailbox.rst:747 +#: library/mailbox.rst:768 msgid "" "Using the file after calling :meth:`~Mailbox.flush` or :meth:`~Mailbox." "close` on the :class:`!MMDF` instance may yield unpredictable results or " "raise an exception." msgstr "" -#: library/mailbox.rst:761 +#: library/mailbox.rst:786 msgid "" "`mmdf man page from tin `_" msgstr "" -#: library/mailbox.rst:762 +#: library/mailbox.rst:787 msgid "" "A specification of MMDF format from the documentation of tin, a newsreader." msgstr "" -#: library/mailbox.rst:764 +#: library/mailbox.rst:789 msgid "`MMDF `_" msgstr "" -#: library/mailbox.rst:765 +#: library/mailbox.rst:790 msgid "" "A Wikipedia article describing the Multichannel Memorandum Distribution " "Facility." msgstr "" -#: library/mailbox.rst:772 +#: library/mailbox.rst:797 msgid ":class:`!Message` objects" msgstr "" -#: library/mailbox.rst:777 +#: library/mailbox.rst:802 msgid "" "A subclass of the :mod:`email.message` module's :class:`~email.message." "Message`. Subclasses of :class:`!mailbox.Message` add mailbox-format-" "specific state and behavior." msgstr "" -#: library/mailbox.rst:781 +#: library/mailbox.rst:806 msgid "" "If *message* is omitted, the new instance is created in a default, empty " "state. If *message* is an :class:`email.message.Message` instance, its " @@ -903,7 +910,7 @@ msgid "" "compatibility." msgstr "" -#: library/mailbox.rst:790 +#: library/mailbox.rst:815 msgid "" "The format-specific state and behaviors offered by subclasses vary, but in " "general it is only the properties that are not specific to a particular " @@ -915,7 +922,7 @@ msgid "" "important is retained, because it applies to the message itself." msgstr "" -#: library/mailbox.rst:799 +#: library/mailbox.rst:824 msgid "" "There is no requirement that :class:`!Message` instances be used to " "represent messages retrieved using :class:`Mailbox` instances. In some " @@ -926,17 +933,17 @@ msgid "" "initialized." msgstr "" -#: library/mailbox.rst:810 +#: library/mailbox.rst:835 msgid ":class:`!MaildirMessage` objects" msgstr "" -#: library/mailbox.rst:815 +#: library/mailbox.rst:840 msgid "" "A message with Maildir-specific behaviors. Parameter *message* has the same " "meaning as with the :class:`Message` constructor." msgstr "" -#: library/mailbox.rst:818 +#: library/mailbox.rst:843 msgid "" "Typically, a mail user agent application moves all of the messages in the :" "file:`new` subdirectory to the :file:`cur` subdirectory after the first time " @@ -950,115 +957,115 @@ msgid "" "flags for Maildir messages are as follows:" msgstr "" -#: library/mailbox.rst:997 library/mailbox.rst:1368 +#: library/mailbox.rst:1022 library/mailbox.rst:1393 msgid "Flag" msgstr "" -#: library/mailbox.rst:997 library/mailbox.rst:1368 +#: library/mailbox.rst:1022 library/mailbox.rst:1393 msgid "Meaning" msgstr "" -#: library/mailbox.rst:997 library/mailbox.rst:1235 library/mailbox.rst:1368 +#: library/mailbox.rst:1022 library/mailbox.rst:1260 library/mailbox.rst:1393 msgid "Explanation" msgstr "" -#: library/mailbox.rst:1003 library/mailbox.rst:1374 +#: library/mailbox.rst:1028 library/mailbox.rst:1399 msgid "D" msgstr "" -#: library/mailbox.rst:832 +#: library/mailbox.rst:857 msgid "Draft" msgstr "" -#: library/mailbox.rst:832 +#: library/mailbox.rst:857 msgid "Under composition" msgstr "" -#: library/mailbox.rst:1005 library/mailbox.rst:1376 +#: library/mailbox.rst:1030 library/mailbox.rst:1401 msgid "F" msgstr "" -#: library/mailbox.rst:1005 library/mailbox.rst:1376 +#: library/mailbox.rst:1030 library/mailbox.rst:1401 msgid "Flagged" msgstr "" -#: library/mailbox.rst:1005 library/mailbox.rst:1376 +#: library/mailbox.rst:1030 library/mailbox.rst:1401 msgid "Marked as important" msgstr "" -#: library/mailbox.rst:836 +#: library/mailbox.rst:861 msgid "P" msgstr "" -#: library/mailbox.rst:836 +#: library/mailbox.rst:861 msgid "Passed" msgstr "" -#: library/mailbox.rst:836 +#: library/mailbox.rst:861 msgid "Forwarded, resent, or bounced" msgstr "" -#: library/mailbox.rst:999 library/mailbox.rst:1370 +#: library/mailbox.rst:1024 library/mailbox.rst:1395 msgid "R" msgstr "" -#: library/mailbox.rst:838 +#: library/mailbox.rst:863 msgid "Replied" msgstr "" -#: library/mailbox.rst:1007 library/mailbox.rst:1243 library/mailbox.rst:1378 +#: library/mailbox.rst:1032 library/mailbox.rst:1268 library/mailbox.rst:1403 msgid "Replied to" msgstr "" -#: library/mailbox.rst:840 +#: library/mailbox.rst:865 msgid "S" msgstr "" -#: library/mailbox.rst:840 +#: library/mailbox.rst:865 msgid "Seen" msgstr "" -#: library/mailbox.rst:999 library/mailbox.rst:1370 +#: library/mailbox.rst:1024 library/mailbox.rst:1395 msgid "Read" msgstr "" -#: library/mailbox.rst:842 +#: library/mailbox.rst:867 msgid "T" msgstr "" -#: library/mailbox.rst:842 +#: library/mailbox.rst:867 msgid "Trashed" msgstr "" -#: library/mailbox.rst:1003 library/mailbox.rst:1374 +#: library/mailbox.rst:1028 library/mailbox.rst:1399 msgid "Marked for subsequent deletion" msgstr "" -#: library/mailbox.rst:845 +#: library/mailbox.rst:870 msgid ":class:`!MaildirMessage` instances offer the following methods:" msgstr "" -#: library/mailbox.rst:850 +#: library/mailbox.rst:875 msgid "" "Return either \"new\" (if the message should be stored in the :file:`new` " "subdirectory) or \"cur\" (if the message should be stored in the :file:`cur` " "subdirectory)." msgstr "" -#: library/mailbox.rst:856 +#: library/mailbox.rst:881 msgid "" "A message is typically moved from :file:`new` to :file:`cur` after its " "mailbox has been accessed, whether or not the message is has been read. A " "message ``msg`` has been read if ``\"S\" in msg.get_flags()`` is ``True``." msgstr "" -#: library/mailbox.rst:864 +#: library/mailbox.rst:889 msgid "" "Set the subdirectory the message should be stored in. Parameter *subdir* " "must be either \"new\" or \"cur\"." msgstr "" -#: library/mailbox.rst:870 +#: library/mailbox.rst:895 msgid "" "Return a string specifying the flags that are currently set. If the message " "complies with the standard Maildir format, the result is the concatenation " @@ -1067,11 +1074,11 @@ msgid "" "flags are set or if \"info\" contains experimental semantics." msgstr "" -#: library/mailbox.rst:880 +#: library/mailbox.rst:905 msgid "Set the flags specified by *flags* and unset all others." msgstr "" -#: library/mailbox.rst:885 +#: library/mailbox.rst:910 msgid "" "Set the flag(s) specified by *flag* without changing other flags. To add " "more than one flag at a time, *flag* may be a string of more than one " @@ -1079,7 +1086,7 @@ msgid "" "experimental information rather than flags." msgstr "" -#: library/mailbox.rst:893 +#: library/mailbox.rst:918 msgid "" "Unset the flag(s) specified by *flag* without changing other flags. To " "remove more than one flag at a time, *flag* maybe a string of more than one " @@ -1087,30 +1094,30 @@ msgid "" "the current \"info\" is not modified." msgstr "" -#: library/mailbox.rst:901 +#: library/mailbox.rst:926 msgid "" "Return the delivery date of the message as a floating-point number " "representing seconds since the epoch." msgstr "" -#: library/mailbox.rst:907 +#: library/mailbox.rst:932 msgid "" "Set the delivery date of the message to *date*, a floating-point number " "representing seconds since the epoch." msgstr "" -#: library/mailbox.rst:913 +#: library/mailbox.rst:938 msgid "" "Return a string containing the \"info\" for a message. This is useful for " "accessing and modifying \"info\" that is experimental (i.e., not a list of " "flags)." msgstr "" -#: library/mailbox.rst:920 +#: library/mailbox.rst:945 msgid "Set \"info\" to *info*, which should be a string." msgstr "" -#: library/mailbox.rst:922 +#: library/mailbox.rst:947 msgid "" "When a :class:`!MaildirMessage` instance is created based upon an :class:" "`mboxMessage` or :class:`MMDFMessage` instance, the :mailheader:`Status` " @@ -1118,132 +1125,132 @@ msgid "" "take place:" msgstr "" -#: library/mailbox.rst:946 library/mailbox.rst:1068 library/mailbox.rst:1100 -#: library/mailbox.rst:1183 library/mailbox.rst:1212 library/mailbox.rst:1326 -#: library/mailbox.rst:1440 library/mailbox.rst:1472 library/mailbox.rst:1488 +#: library/mailbox.rst:971 library/mailbox.rst:1093 library/mailbox.rst:1125 +#: library/mailbox.rst:1208 library/mailbox.rst:1237 library/mailbox.rst:1351 +#: library/mailbox.rst:1465 library/mailbox.rst:1497 library/mailbox.rst:1513 msgid "Resulting state" msgstr "" -#: library/mailbox.rst:1198 library/mailbox.rst:1326 +#: library/mailbox.rst:1223 library/mailbox.rst:1351 msgid ":class:`mboxMessage` or :class:`MMDFMessage` state" msgstr "" -#: library/mailbox.rst:948 library/mailbox.rst:1072 library/mailbox.rst:1444 +#: library/mailbox.rst:973 library/mailbox.rst:1097 library/mailbox.rst:1469 msgid "\"cur\" subdirectory" msgstr "" -#: library/mailbox.rst:1072 library/mailbox.rst:1104 library/mailbox.rst:1444 -#: library/mailbox.rst:1476 library/mailbox.rst:1492 +#: library/mailbox.rst:1097 library/mailbox.rst:1129 library/mailbox.rst:1469 +#: library/mailbox.rst:1501 library/mailbox.rst:1517 msgid "O flag" msgstr "" -#: library/mailbox.rst:952 library/mailbox.rst:1091 library/mailbox.rst:1189 -#: library/mailbox.rst:1448 library/mailbox.rst:1496 +#: library/mailbox.rst:977 library/mailbox.rst:1116 library/mailbox.rst:1214 +#: library/mailbox.rst:1473 library/mailbox.rst:1521 msgid "F flag" msgstr "" -#: library/mailbox.rst:937 library/mailbox.rst:969 library/mailbox.rst:1078 -#: library/mailbox.rst:1187 library/mailbox.rst:1442 library/mailbox.rst:1490 +#: library/mailbox.rst:962 library/mailbox.rst:994 library/mailbox.rst:1103 +#: library/mailbox.rst:1212 library/mailbox.rst:1467 library/mailbox.rst:1515 msgid "R flag" msgstr "" -#: library/mailbox.rst:1078 library/mailbox.rst:1108 library/mailbox.rst:1203 -#: library/mailbox.rst:1450 library/mailbox.rst:1480 library/mailbox.rst:1498 +#: library/mailbox.rst:1103 library/mailbox.rst:1133 library/mailbox.rst:1228 +#: library/mailbox.rst:1475 library/mailbox.rst:1505 library/mailbox.rst:1523 msgid "A flag" msgstr "" -#: library/mailbox.rst:1070 library/mailbox.rst:1442 +#: library/mailbox.rst:1095 library/mailbox.rst:1467 msgid "S flag" msgstr "" -#: library/mailbox.rst:971 library/mailbox.rst:1313 library/mailbox.rst:1446 +#: library/mailbox.rst:996 library/mailbox.rst:1338 library/mailbox.rst:1471 msgid "T flag" msgstr "" -#: library/mailbox.rst:1074 library/mailbox.rst:1122 library/mailbox.rst:1446 -#: library/mailbox.rst:1494 +#: library/mailbox.rst:1099 library/mailbox.rst:1147 library/mailbox.rst:1471 +#: library/mailbox.rst:1519 msgid "D flag" msgstr "" -#: library/mailbox.rst:942 +#: library/mailbox.rst:967 msgid "" "When a :class:`!MaildirMessage` instance is created based upon an :class:" "`MHMessage` instance, the following conversions take place:" msgstr "" -#: library/mailbox.rst:1085 library/mailbox.rst:1457 +#: library/mailbox.rst:1110 library/mailbox.rst:1482 msgid ":class:`MHMessage` state" msgstr "" -#: library/mailbox.rst:1089 library/mailbox.rst:1201 library/mailbox.rst:1342 -#: library/mailbox.rst:1461 +#: library/mailbox.rst:1114 library/mailbox.rst:1226 library/mailbox.rst:1367 +#: library/mailbox.rst:1486 msgid "\"unseen\" sequence" msgstr "" -#: library/mailbox.rst:965 +#: library/mailbox.rst:990 msgid "\"cur\" subdirectory and S flag" msgstr "" -#: library/mailbox.rst:1087 library/mailbox.rst:1459 +#: library/mailbox.rst:1112 library/mailbox.rst:1484 msgid "no \"unseen\" sequence" msgstr "" -#: library/mailbox.rst:1091 library/mailbox.rst:1205 library/mailbox.rst:1463 +#: library/mailbox.rst:1116 library/mailbox.rst:1230 library/mailbox.rst:1488 msgid "\"flagged\" sequence" msgstr "" -#: library/mailbox.rst:1093 library/mailbox.rst:1203 library/mailbox.rst:1344 -#: library/mailbox.rst:1465 +#: library/mailbox.rst:1118 library/mailbox.rst:1228 library/mailbox.rst:1369 +#: library/mailbox.rst:1490 msgid "\"replied\" sequence" msgstr "" -#: library/mailbox.rst:957 +#: library/mailbox.rst:982 msgid "" "When a :class:`!MaildirMessage` instance is created based upon a :class:" "`BabylMessage` instance, the following conversions take place:" msgstr "" -#: library/mailbox.rst:1100 library/mailbox.rst:1472 +#: library/mailbox.rst:1125 library/mailbox.rst:1497 msgid ":class:`BabylMessage` state" msgstr "" -#: library/mailbox.rst:1104 library/mailbox.rst:1311 library/mailbox.rst:1342 -#: library/mailbox.rst:1476 +#: library/mailbox.rst:1129 library/mailbox.rst:1336 library/mailbox.rst:1367 +#: library/mailbox.rst:1501 msgid "\"unseen\" label" msgstr "" -#: library/mailbox.rst:1102 library/mailbox.rst:1474 +#: library/mailbox.rst:1127 library/mailbox.rst:1499 msgid "no \"unseen\" label" msgstr "" -#: library/mailbox.rst:1317 +#: library/mailbox.rst:1342 msgid "P flag" msgstr "" -#: library/mailbox.rst:967 +#: library/mailbox.rst:992 msgid "\"forwarded\" or \"resent\" label" msgstr "" -#: library/mailbox.rst:1108 library/mailbox.rst:1315 library/mailbox.rst:1344 -#: library/mailbox.rst:1480 +#: library/mailbox.rst:1133 library/mailbox.rst:1340 library/mailbox.rst:1369 +#: library/mailbox.rst:1505 msgid "\"answered\" label" msgstr "" -#: library/mailbox.rst:1106 library/mailbox.rst:1331 library/mailbox.rst:1478 +#: library/mailbox.rst:1131 library/mailbox.rst:1356 library/mailbox.rst:1503 msgid "\"deleted\" label" msgstr "" -#: library/mailbox.rst:978 +#: library/mailbox.rst:1003 msgid ":class:`!mboxMessage` objects" msgstr "" -#: library/mailbox.rst:983 +#: library/mailbox.rst:1008 msgid "" "A message with mbox-specific behaviors. Parameter *message* has the same " "meaning as with the :class:`Message` constructor." msgstr "" -#: library/mailbox.rst:986 +#: library/mailbox.rst:1011 msgid "" "Messages in an mbox mailbox are stored together in a single file. The " "sender's envelope address and the time of delivery are typically stored in a " @@ -1254,53 +1261,53 @@ msgid "" "typically stored in :mailheader:`Status` and :mailheader:`X-Status` headers." msgstr "" -#: library/mailbox.rst:994 +#: library/mailbox.rst:1019 msgid "Conventional flags for mbox messages are as follows:" msgstr "" -#: library/mailbox.rst:1372 +#: library/mailbox.rst:1397 msgid "O" msgstr "" -#: library/mailbox.rst:1372 +#: library/mailbox.rst:1397 msgid "Old" msgstr "" -#: library/mailbox.rst:1372 +#: library/mailbox.rst:1397 msgid "Previously detected by MUA" msgstr "" -#: library/mailbox.rst:1374 +#: library/mailbox.rst:1399 msgid "Deleted" msgstr "" -#: library/mailbox.rst:1378 +#: library/mailbox.rst:1403 msgid "A" msgstr "" -#: library/mailbox.rst:1378 +#: library/mailbox.rst:1403 msgid "Answered" msgstr "" -#: library/mailbox.rst:1381 +#: library/mailbox.rst:1406 msgid "" "The \"R\" and \"O\" flags are stored in the :mailheader:`Status` header, and " "the \"D\", \"F\", and \"A\" flags are stored in the :mailheader:`X-Status` " "header. The flags and headers typically appear in the order mentioned." msgstr "" -#: library/mailbox.rst:1014 +#: library/mailbox.rst:1039 msgid ":class:`!mboxMessage` instances offer the following methods:" msgstr "" -#: library/mailbox.rst:1391 +#: library/mailbox.rst:1416 msgid "" "Return a string representing the \"From \" line that marks the start of the " "message in an mbox mailbox. The leading \"From \" and the trailing newline " "are excluded." msgstr "" -#: library/mailbox.rst:1398 +#: library/mailbox.rst:1423 msgid "" "Set the \"From \" line to *from_*, which should be specified without a " "leading \"From \" or trailing newline. For convenience, *time_* may be " @@ -1310,7 +1317,7 @@ msgid "" "func:`time.gmtime`)." msgstr "" -#: library/mailbox.rst:1408 +#: library/mailbox.rst:1433 msgid "" "Return a string specifying the flags that are currently set. If the message " "complies with the conventional format, the result is the concatenation in " @@ -1318,28 +1325,28 @@ msgid "" "``'D'``, ``'F'``, and ``'A'``." msgstr "" -#: library/mailbox.rst:1416 +#: library/mailbox.rst:1441 msgid "" "Set the flags specified by *flags* and unset all others. Parameter *flags* " "should be the concatenation in any order of zero or more occurrences of each " "of ``'R'``, ``'O'``, ``'D'``, ``'F'``, and ``'A'``." msgstr "" -#: library/mailbox.rst:1423 +#: library/mailbox.rst:1448 msgid "" "Set the flag(s) specified by *flag* without changing other flags. To add " "more than one flag at a time, *flag* may be a string of more than one " "character." msgstr "" -#: library/mailbox.rst:1430 +#: library/mailbox.rst:1455 msgid "" "Unset the flag(s) specified by *flag* without changing other flags. To " "remove more than one flag at a time, *flag* maybe a string of more than one " "character." msgstr "" -#: library/mailbox.rst:1062 +#: library/mailbox.rst:1087 msgid "" "When an :class:`!mboxMessage` instance is created based upon a :class:" "`MaildirMessage` instance, a \"From \" line is generated based upon the :" @@ -1347,48 +1354,48 @@ msgid "" "conversions take place:" msgstr "" -#: library/mailbox.rst:1183 library/mailbox.rst:1440 +#: library/mailbox.rst:1208 library/mailbox.rst:1465 msgid ":class:`MaildirMessage` state" msgstr "" -#: library/mailbox.rst:1081 +#: library/mailbox.rst:1106 msgid "" "When an :class:`!mboxMessage` instance is created based upon an :class:" "`MHMessage` instance, the following conversions take place:" msgstr "" -#: library/mailbox.rst:1102 library/mailbox.rst:1474 +#: library/mailbox.rst:1127 library/mailbox.rst:1499 msgid "R flag and O flag" msgstr "" -#: library/mailbox.rst:1096 +#: library/mailbox.rst:1121 msgid "" "When an :class:`!mboxMessage` instance is created based upon a :class:" "`BabylMessage` instance, the following conversions take place:" msgstr "" -#: library/mailbox.rst:1111 +#: library/mailbox.rst:1136 msgid "" "When a :class:`!mboxMessage` instance is created based upon an :class:" "`MMDFMessage` instance, the \"From \" line is copied and all flags directly " "correspond:" msgstr "" -#: library/mailbox.rst:1116 +#: library/mailbox.rst:1141 msgid ":class:`MMDFMessage` state" msgstr "" -#: library/mailbox.rst:1133 +#: library/mailbox.rst:1158 msgid ":class:`!MHMessage` objects" msgstr "" -#: library/mailbox.rst:1138 +#: library/mailbox.rst:1163 msgid "" "A message with MH-specific behaviors. Parameter *message* has the same " "meaning as with the :class:`Message` constructor." msgstr "" -#: library/mailbox.rst:1141 +#: library/mailbox.rst:1166 msgid "" "MH messages do not support marks or flags in the traditional sense, but they " "do support sequences, which are logical groupings of arbitrary messages. " @@ -1397,57 +1404,57 @@ msgid "" "formats, as follows:" msgstr "" -#: library/mailbox.rst:1148 +#: library/mailbox.rst:1173 msgid "Sequence" msgstr "" -#: library/mailbox.rst:1237 +#: library/mailbox.rst:1262 msgid "unseen" msgstr "" -#: library/mailbox.rst:1237 +#: library/mailbox.rst:1262 msgid "Not read, but previously detected by MUA" msgstr "" -#: library/mailbox.rst:1152 +#: library/mailbox.rst:1177 msgid "replied" msgstr "" -#: library/mailbox.rst:1154 +#: library/mailbox.rst:1179 msgid "flagged" msgstr "" -#: library/mailbox.rst:1157 +#: library/mailbox.rst:1182 msgid ":class:`!MHMessage` instances offer the following methods:" msgstr "" -#: library/mailbox.rst:1162 +#: library/mailbox.rst:1187 msgid "Return a list of the names of sequences that include this message." msgstr "" -#: library/mailbox.rst:1167 +#: library/mailbox.rst:1192 msgid "Set the list of sequences that include this message." msgstr "" -#: library/mailbox.rst:1172 +#: library/mailbox.rst:1197 msgid "Add *sequence* to the list of sequences that include this message." msgstr "" -#: library/mailbox.rst:1177 +#: library/mailbox.rst:1202 msgid "Remove *sequence* from the list of sequences that include this message." msgstr "" -#: library/mailbox.rst:1179 +#: library/mailbox.rst:1204 msgid "" "When an :class:`!MHMessage` instance is created based upon a :class:" "`MaildirMessage` instance, the following conversions take place:" msgstr "" -#: library/mailbox.rst:1311 +#: library/mailbox.rst:1336 msgid "no S flag" msgstr "" -#: library/mailbox.rst:1192 +#: library/mailbox.rst:1217 msgid "" "When an :class:`!MHMessage` instance is created based upon an :class:" "`mboxMessage` or :class:`MMDFMessage` instance, the :mailheader:`Status` " @@ -1455,110 +1462,110 @@ msgid "" "take place:" msgstr "" -#: library/mailbox.rst:1329 +#: library/mailbox.rst:1354 msgid "no R flag" msgstr "" -#: library/mailbox.rst:1208 +#: library/mailbox.rst:1233 msgid "" "When an :class:`!MHMessage` instance is created based upon a :class:" "`BabylMessage` instance, the following conversions take place:" msgstr "" -#: library/mailbox.rst:1223 +#: library/mailbox.rst:1248 msgid ":class:`!BabylMessage` objects" msgstr "" -#: library/mailbox.rst:1228 +#: library/mailbox.rst:1253 msgid "" "A message with Babyl-specific behaviors. Parameter *message* has the same " "meaning as with the :class:`Message` constructor." msgstr "" -#: library/mailbox.rst:1231 +#: library/mailbox.rst:1256 msgid "" "Certain message labels, called :dfn:`attributes`, are defined by convention " "to have special meanings. The attributes are as follows:" msgstr "" -#: library/mailbox.rst:1235 +#: library/mailbox.rst:1260 msgid "Label" msgstr "" -#: library/mailbox.rst:1239 +#: library/mailbox.rst:1264 msgid "deleted" msgstr "" -#: library/mailbox.rst:1241 +#: library/mailbox.rst:1266 msgid "filed" msgstr "" -#: library/mailbox.rst:1241 +#: library/mailbox.rst:1266 msgid "Copied to another file or mailbox" msgstr "" -#: library/mailbox.rst:1243 +#: library/mailbox.rst:1268 msgid "answered" msgstr "" -#: library/mailbox.rst:1245 +#: library/mailbox.rst:1270 msgid "forwarded" msgstr "" -#: library/mailbox.rst:1245 +#: library/mailbox.rst:1270 msgid "Forwarded" msgstr "" -#: library/mailbox.rst:1247 +#: library/mailbox.rst:1272 msgid "edited" msgstr "" -#: library/mailbox.rst:1247 +#: library/mailbox.rst:1272 msgid "Modified by the user" msgstr "" -#: library/mailbox.rst:1249 +#: library/mailbox.rst:1274 msgid "resent" msgstr "" -#: library/mailbox.rst:1249 +#: library/mailbox.rst:1274 msgid "Resent" msgstr "" -#: library/mailbox.rst:1252 +#: library/mailbox.rst:1277 msgid "" "By default, Rmail displays only visible headers. The :class:`!BabylMessage` " "class, though, uses the original headers because they are more complete. " "Visible headers may be accessed explicitly if desired." msgstr "" -#: library/mailbox.rst:1256 +#: library/mailbox.rst:1281 msgid ":class:`!BabylMessage` instances offer the following methods:" msgstr "" -#: library/mailbox.rst:1261 +#: library/mailbox.rst:1286 msgid "Return a list of labels on the message." msgstr "" -#: library/mailbox.rst:1266 +#: library/mailbox.rst:1291 msgid "Set the list of labels on the message to *labels*." msgstr "" -#: library/mailbox.rst:1271 +#: library/mailbox.rst:1296 msgid "Add *label* to the list of labels on the message." msgstr "" -#: library/mailbox.rst:1276 +#: library/mailbox.rst:1301 msgid "Remove *label* from the list of labels on the message." msgstr "" -#: library/mailbox.rst:1281 +#: library/mailbox.rst:1306 msgid "" "Return a :class:`Message` instance whose headers are the message's visible " "headers and whose body is empty." msgstr "" -#: library/mailbox.rst:1287 +#: library/mailbox.rst:1312 msgid "" "Set the message's visible headers to be the same as the headers in " "*message*. Parameter *visible* should be a :class:`Message` instance, an :" @@ -1566,7 +1573,7 @@ msgid "" "(which should be open in text mode)." msgstr "" -#: library/mailbox.rst:1295 +#: library/mailbox.rst:1320 msgid "" "When a :class:`!BabylMessage` instance's original headers are modified, the " "visible headers are not automatically modified to correspond. This method " @@ -1579,17 +1586,17 @@ msgid "" "visible headers." msgstr "" -#: library/mailbox.rst:1305 +#: library/mailbox.rst:1330 msgid "" "When a :class:`!BabylMessage` instance is created based upon a :class:" "`MaildirMessage` instance, the following conversions take place:" msgstr "" -#: library/mailbox.rst:1317 +#: library/mailbox.rst:1342 msgid "\"forwarded\" label" msgstr "" -#: library/mailbox.rst:1320 +#: library/mailbox.rst:1345 msgid "" "When a :class:`!BabylMessage` instance is created based upon an :class:" "`mboxMessage` or :class:`MMDFMessage` instance, the :mailheader:`Status` " @@ -1597,23 +1604,23 @@ msgid "" "take place:" msgstr "" -#: library/mailbox.rst:1336 +#: library/mailbox.rst:1361 msgid "" "When a :class:`!BabylMessage` instance is created based upon an :class:" "`MHMessage` instance, the following conversions take place:" msgstr "" -#: library/mailbox.rst:1351 +#: library/mailbox.rst:1376 msgid ":class:`!MMDFMessage` objects" msgstr "" -#: library/mailbox.rst:1356 +#: library/mailbox.rst:1381 msgid "" "A message with MMDF-specific behaviors. Parameter *message* has the same " "meaning as with the :class:`Message` constructor." msgstr "" -#: library/mailbox.rst:1359 +#: library/mailbox.rst:1384 msgid "" "As with message in an mbox mailbox, MMDF messages are stored with the " "sender's address and the delivery date in an initial line beginning with " @@ -1621,19 +1628,19 @@ msgid "" "typically stored in :mailheader:`Status` and :mailheader:`X-Status` headers." msgstr "" -#: library/mailbox.rst:1364 +#: library/mailbox.rst:1389 msgid "" "Conventional flags for MMDF messages are identical to those of mbox message " "and are as follows:" msgstr "" -#: library/mailbox.rst:1385 +#: library/mailbox.rst:1410 msgid "" ":class:`!MMDFMessage` instances offer the following methods, which are " "identical to those offered by :class:`mboxMessage`:" msgstr "" -#: library/mailbox.rst:1434 +#: library/mailbox.rst:1459 msgid "" "When an :class:`!MMDFMessage` instance is created based upon a :class:" "`MaildirMessage` instance, a \"From \" line is generated based upon the :" @@ -1641,43 +1648,43 @@ msgid "" "conversions take place:" msgstr "" -#: library/mailbox.rst:1453 +#: library/mailbox.rst:1478 msgid "" "When an :class:`!MMDFMessage` instance is created based upon an :class:" "`MHMessage` instance, the following conversions take place:" msgstr "" -#: library/mailbox.rst:1468 +#: library/mailbox.rst:1493 msgid "" "When an :class:`!MMDFMessage` instance is created based upon a :class:" "`BabylMessage` instance, the following conversions take place:" msgstr "" -#: library/mailbox.rst:1483 +#: library/mailbox.rst:1508 msgid "" "When an :class:`!MMDFMessage` instance is created based upon an :class:" "`mboxMessage` instance, the \"From \" line is copied and all flags directly " "correspond:" msgstr "" -#: library/mailbox.rst:1488 +#: library/mailbox.rst:1513 msgid ":class:`mboxMessage` state" msgstr "" -#: library/mailbox.rst:1503 +#: library/mailbox.rst:1528 msgid "Exceptions" msgstr "" -#: library/mailbox.rst:1505 +#: library/mailbox.rst:1530 msgid "" "The following exception classes are defined in the :mod:`!mailbox` module:" msgstr "" -#: library/mailbox.rst:1510 +#: library/mailbox.rst:1535 msgid "The based class for all other module-specific exceptions." msgstr "" -#: library/mailbox.rst:1515 +#: library/mailbox.rst:1540 msgid "" "Raised when a mailbox is expected but is not found, such as when " "instantiating a :class:`Mailbox` subclass with a path that does not exist " @@ -1685,13 +1692,13 @@ msgid "" "that does not exist." msgstr "" -#: library/mailbox.rst:1522 +#: library/mailbox.rst:1547 msgid "" "Raised when a mailbox is not empty but is expected to be, such as when " "deleting a folder that contains messages." msgstr "" -#: library/mailbox.rst:1528 +#: library/mailbox.rst:1553 msgid "" "Raised when some mailbox-related condition beyond the control of the program " "causes it to be unable to proceed, such as when failing to acquire a lock " @@ -1699,23 +1706,23 @@ msgid "" "name already exists." msgstr "" -#: library/mailbox.rst:1536 +#: library/mailbox.rst:1561 msgid "" "Raised when the data in a file cannot be parsed, such as when an :class:`MH` " "instance attempts to read a corrupted :file:`.mh_sequences` file." msgstr "" -#: library/mailbox.rst:1543 +#: library/mailbox.rst:1568 msgid "Examples" msgstr "" -#: library/mailbox.rst:1545 +#: library/mailbox.rst:1570 msgid "" "A simple example of printing the subjects of all messages in a mailbox that " "seem interesting::" msgstr "" -#: library/mailbox.rst:1548 +#: library/mailbox.rst:1573 msgid "" "import mailbox\n" "for message in mailbox.mbox('~/mbox'):\n" @@ -1724,13 +1731,13 @@ msgid "" " print(subject)" msgstr "" -#: library/mailbox.rst:1554 +#: library/mailbox.rst:1579 msgid "" "To copy all mail from a Babyl mailbox to an MH mailbox, converting all of " "the format-specific information that can be converted::" msgstr "" -#: library/mailbox.rst:1557 +#: library/mailbox.rst:1582 msgid "" "import mailbox\n" "destination = mailbox.MH('~/Mail')\n" @@ -1741,7 +1748,7 @@ msgid "" "destination.unlock()" msgstr "" -#: library/mailbox.rst:1565 +#: library/mailbox.rst:1590 msgid "" "This example sorts mail from several mailing lists into different mailboxes, " "being careful to avoid mail corruption due to concurrent modification by " @@ -1749,7 +1756,7 @@ msgid "" "termination due to malformed messages in the mailbox::" msgstr "" -#: library/mailbox.rst:1570 +#: library/mailbox.rst:1595 msgid "" "import mailbox\n" "import email.errors\n" diff --git a/library/mailcap.po b/library/mailcap.po index 6e79ec4a..5f75badb 100644 --- a/library/mailcap.po +++ b/library/mailcap.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/markup.po b/library/markup.po index 49adb54a..6b9b7f1a 100644 --- a/library/markup.po +++ b/library/markup.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/marshal.po b/library/marshal.po index d8afb1ee..8fdd650f 100644 --- a/library/marshal.po +++ b/library/marshal.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/math.po b/library/math.po index ce82a09b..327ed307 100644 --- a/library/math.po +++ b/library/math.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -197,9 +197,9 @@ msgstr "" msgid "" "*abs_tol* is the absolute tolerance; it defaults to ``0.0`` and it must be " "nonnegative. When comparing ``x`` to ``0.0``, ``isclose(x, 0)`` is computed " -"as ``abs(x) <= rel_tol * abs(x)``, which is ``False`` for any ``x`` and " -"rel_tol less than ``1.0``. So add an appropriate positive abs_tol argument " -"to the call." +"as ``abs(x) <= rel_tol * abs(x)``, which is ``False`` for any nonzero ``x`` " +"and *rel_tol* less than ``1.0``. So add an appropriate positive *abs_tol* " +"argument to the call." msgstr "" #: library/math.rst:162 diff --git a/library/mimetypes.po b/library/mimetypes.po index 9d2ed23b..c0e8b0f8 100644 --- a/library/mimetypes.po +++ b/library/mimetypes.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/mm.po b/library/mm.po index af3887e0..c5e680a8 100644 --- a/library/mm.po +++ b/library/mm.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/mmap.po b/library/mmap.po index 2f865778..afe680b2 100644 --- a/library/mmap.po +++ b/library/mmap.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/modulefinder.po b/library/modulefinder.po index d6ce3185..aee5f0fa 100644 --- a/library/modulefinder.po +++ b/library/modulefinder.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/modules.po b/library/modules.po index c663550d..0f70fdd1 100644 --- a/library/modules.po +++ b/library/modules.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/msilib.po b/library/msilib.po index 8f761029..15479267 100644 --- a/library/msilib.po +++ b/library/msilib.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/msvcrt.po b/library/msvcrt.po index 100a7fb5..3ff7c7b3 100644 --- a/library/msvcrt.po +++ b/library/msvcrt.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/multiprocessing.po b/library/multiprocessing.po index d0ca76ca..5dfdb731 100644 --- a/library/multiprocessing.po +++ b/library/multiprocessing.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/multiprocessing.shared_memory.po b/library/multiprocessing.shared_memory.po index a0db28f6..2f4d93f7 100644 --- a/library/multiprocessing.shared_memory.po +++ b/library/multiprocessing.shared_memory.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/netdata.po b/library/netdata.po index 8dea6064..b7c38a6f 100644 --- a/library/netdata.po +++ b/library/netdata.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/netrc.po b/library/netrc.po index 3afb7018..eb776615 100644 --- a/library/netrc.po +++ b/library/netrc.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/nis.po b/library/nis.po index 12e012e5..cb66a94e 100644 --- a/library/nis.po +++ b/library/nis.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/nntplib.po b/library/nntplib.po index 199108ae..9033b118 100644 --- a/library/nntplib.po +++ b/library/nntplib.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/numbers.po b/library/numbers.po index ff81b949..00f10ed5 100644 --- a/library/numbers.po +++ b/library/numbers.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -60,50 +60,50 @@ msgstr "" msgid "Abstract. Retrieves the imaginary component of this number." msgstr "" -#: library/numbers.rst:43 +#: library/numbers.rst:44 msgid "" "Abstract. Returns the complex conjugate. For example, ``(1+3j).conjugate() " "== (1-3j)``." msgstr "" -#: library/numbers.rst:48 +#: library/numbers.rst:49 msgid "" "To :class:`Complex`, :class:`!Real` adds the operations that work on real " "numbers." msgstr "" -#: library/numbers.rst:51 +#: library/numbers.rst:52 msgid "" "In short, those are: a conversion to :class:`float`, :func:`math.trunc`, :" "func:`round`, :func:`math.floor`, :func:`math.ceil`, :func:`divmod`, ``//``, " "``%``, ``<``, ``<=``, ``>``, and ``>=``." msgstr "" -#: library/numbers.rst:55 +#: library/numbers.rst:56 msgid "" "Real also provides defaults for :func:`complex`, :attr:`~Complex.real`, :" "attr:`~Complex.imag`, and :meth:`~Complex.conjugate`." msgstr "" -#: library/numbers.rst:61 +#: library/numbers.rst:62 msgid "" "Subtypes :class:`Real` and adds :attr:`~Rational.numerator` and :attr:" "`~Rational.denominator` properties. It also provides a default for :func:" "`float`." msgstr "" -#: library/numbers.rst:65 +#: library/numbers.rst:66 msgid "" "The :attr:`~Rational.numerator` and :attr:`~Rational.denominator` values " "should be instances of :class:`Integral` and should be in lowest terms with :" "attr:`~Rational.denominator` positive." msgstr "" -#: library/numbers.rst:75 +#: library/numbers.rst:76 msgid "Abstract." msgstr "" -#: library/numbers.rst:80 +#: library/numbers.rst:81 msgid "" "Subtypes :class:`Rational` and adds a conversion to :class:`int`. Provides " "defaults for :func:`float`, :attr:`~Rational.numerator`, and :attr:" @@ -111,11 +111,11 @@ msgid "" "and bit-string operations: ``<<``, ``>>``, ``&``, ``^``, ``|``, ``~``." msgstr "" -#: library/numbers.rst:88 +#: library/numbers.rst:89 msgid "Notes for type implementers" msgstr "" -#: library/numbers.rst:90 +#: library/numbers.rst:91 msgid "" "Implementers should be careful to make equal numbers equal and hash them to " "the same values. This may be subtle if there are two different extensions of " @@ -123,7 +123,7 @@ msgid "" "`hash` as follows::" msgstr "" -#: library/numbers.rst:95 +#: library/numbers.rst:96 msgid "" "def __hash__(self):\n" " if self.denominator == 1:\n" @@ -138,28 +138,28 @@ msgid "" " return hash((self.numerator, self.denominator))" msgstr "" -#: library/numbers.rst:109 +#: library/numbers.rst:110 msgid "Adding More Numeric ABCs" msgstr "" -#: library/numbers.rst:111 +#: library/numbers.rst:112 msgid "" "There are, of course, more possible ABCs for numbers, and this would be a " "poor hierarchy if it precluded the possibility of adding those. You can add " "``MyFoo`` between :class:`Complex` and :class:`Real` with::" msgstr "" -#: library/numbers.rst:116 +#: library/numbers.rst:117 msgid "" "class MyFoo(Complex): ...\n" "MyFoo.register(Real)" msgstr "" -#: library/numbers.rst:123 +#: library/numbers.rst:124 msgid "Implementing the arithmetic operations" msgstr "" -#: library/numbers.rst:125 +#: library/numbers.rst:126 msgid "" "We want to implement the arithmetic operations so that mixed-mode operations " "either call an implementation whose author knew about the types of both " @@ -168,7 +168,7 @@ msgid "" "__add__` and :meth:`~object.__radd__` should be defined as::" msgstr "" -#: library/numbers.rst:132 +#: library/numbers.rst:133 msgid "" "class MyIntegral(Integral):\n" "\n" @@ -195,7 +195,7 @@ msgid "" " return NotImplemented" msgstr "" -#: library/numbers.rst:157 +#: library/numbers.rst:158 msgid "" "There are 5 different cases for a mixed-type operation on subclasses of :" "class:`Complex`. I'll refer to all of the above code that doesn't refer to " @@ -204,12 +204,12 @@ msgid "" "Complex``), and ``b : B <: Complex``. I'll consider ``a + b``:" msgstr "" -#: library/numbers.rst:164 +#: library/numbers.rst:165 msgid "" "If ``A`` defines an :meth:`~object.__add__` which accepts ``b``, all is well." msgstr "" -#: library/numbers.rst:166 +#: library/numbers.rst:167 msgid "" "If ``A`` falls back to the boilerplate code, and it were to return a value " "from :meth:`~object.__add__`, we'd miss the possibility that ``B`` defines a " @@ -218,26 +218,26 @@ msgid "" "meth:`!__add__` at all.)" msgstr "" -#: library/numbers.rst:172 +#: library/numbers.rst:173 msgid "" "Then ``B``'s :meth:`~object.__radd__` gets a chance. If it accepts ``a``, " "all is well." msgstr "" -#: library/numbers.rst:174 +#: library/numbers.rst:175 msgid "" "If it falls back to the boilerplate, there are no more possible methods to " "try, so this is where the default implementation should live." msgstr "" -#: library/numbers.rst:177 +#: library/numbers.rst:178 msgid "" "If ``B <: A``, Python tries ``B.__radd__`` before ``A.__add__``. This is ok, " "because it was implemented with knowledge of ``A``, so it can handle those " "instances before delegating to :class:`Complex`." msgstr "" -#: library/numbers.rst:182 +#: library/numbers.rst:183 msgid "" "If ``A <: Complex`` and ``B <: Real`` without sharing any other knowledge, " "then the appropriate shared operation is the one involving the built in :" @@ -245,7 +245,7 @@ msgid "" "b+a``." msgstr "" -#: library/numbers.rst:187 +#: library/numbers.rst:188 msgid "" "Because most of the operations on any given type will be very similar, it " "can be useful to define a helper function which generates the forward and " @@ -253,7 +253,7 @@ msgid "" "Fraction` uses::" msgstr "" -#: library/numbers.rst:192 +#: library/numbers.rst:193 msgid "" "def _operator_fallbacks(monomorphic_operator, fallback_operator):\n" " def forward(a, b):\n" diff --git a/library/numeric.po b/library/numeric.po index 61d3b2f2..f6276b69 100644 --- a/library/numeric.po +++ b/library/numeric.po @@ -8,10 +8,11 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Loukas Sakellaridis \n" "Language-Team: PyGreece \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/library/operator.po b/library/operator.po index c75ec85c..a3a92c3c 100644 --- a/library/operator.po +++ b/library/operator.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/optparse.po b/library/optparse.po index 608839f8..16f3e68b 100644 --- a/library/optparse.po +++ b/library/optparse.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/os.path.po b/library/os.path.po index b0880393..7696cdcc 100644 --- a/library/os.path.po +++ b/library/os.path.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/os.po b/library/os.po index 7e28733a..fd783dd6 100644 --- a/library/os.po +++ b/library/os.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -283,34 +283,34 @@ msgid "" "Return the filename corresponding to the controlling terminal of the process." msgstr "" -#: library/os.rst:322 library/os.rst:358 library/os.rst:376 library/os.rst:398 -#: library/os.rst:434 library/os.rst:462 library/os.rst:491 library/os.rst:512 -#: library/os.rst:533 library/os.rst:579 library/os.rst:593 library/os.rst:639 -#: library/os.rst:661 library/os.rst:687 library/os.rst:703 library/os.rst:719 -#: library/os.rst:735 library/os.rst:826 library/os.rst:974 library/os.rst:1004 -#: library/os.rst:1030 library/os.rst:1074 library/os.rst:1097 -#: library/os.rst:1138 library/os.rst:1161 library/os.rst:1345 -#: library/os.rst:1371 library/os.rst:1396 library/os.rst:1424 -#: library/os.rst:1467 library/os.rst:1493 library/os.rst:1532 -#: library/os.rst:1556 library/os.rst:1628 library/os.rst:1649 -#: library/os.rst:1708 library/os.rst:1726 library/os.rst:1770 -#: library/os.rst:1849 library/os.rst:2021 library/os.rst:2110 -#: library/os.rst:2150 library/os.rst:2181 library/os.rst:2260 -#: library/os.rst:2304 library/os.rst:2462 library/os.rst:2518 -#: library/os.rst:3248 library/os.rst:3405 library/os.rst:3639 -#: library/os.rst:3689 library/os.rst:3752 library/os.rst:3769 -#: library/os.rst:3787 library/os.rst:4001 library/os.rst:4044 -#: library/os.rst:4058 library/os.rst:4072 library/os.rst:4086 -#: library/os.rst:4102 library/os.rst:4116 library/os.rst:4133 -#: library/os.rst:4148 library/os.rst:4204 library/os.rst:4254 -#: library/os.rst:4277 library/os.rst:4298 library/os.rst:4339 -#: library/os.rst:4450 library/os.rst:4552 library/os.rst:4582 -#: library/os.rst:4639 library/os.rst:4699 library/os.rst:4754 -#: library/os.rst:4815 library/os.rst:4846 library/os.rst:4872 -#: library/os.rst:4897 library/os.rst:4916 library/os.rst:4964 -#: library/os.rst:4991 library/os.rst:5010 library/os.rst:5028 -#: library/os.rst:5046 library/os.rst:5205 library/os.rst:5236 -#: library/os.rst:5368 +#: library/os.rst:323 library/os.rst:359 library/os.rst:377 library/os.rst:399 +#: library/os.rst:435 library/os.rst:463 library/os.rst:492 library/os.rst:513 +#: library/os.rst:534 library/os.rst:580 library/os.rst:594 library/os.rst:640 +#: library/os.rst:662 library/os.rst:688 library/os.rst:704 library/os.rst:720 +#: library/os.rst:736 library/os.rst:827 library/os.rst:975 library/os.rst:1005 +#: library/os.rst:1031 library/os.rst:1075 library/os.rst:1098 +#: library/os.rst:1139 library/os.rst:1162 library/os.rst:1346 +#: library/os.rst:1372 library/os.rst:1397 library/os.rst:1425 +#: library/os.rst:1468 library/os.rst:1494 library/os.rst:1533 +#: library/os.rst:1557 library/os.rst:1629 library/os.rst:1650 +#: library/os.rst:1709 library/os.rst:1727 library/os.rst:1771 +#: library/os.rst:1850 library/os.rst:2022 library/os.rst:2111 +#: library/os.rst:2151 library/os.rst:2182 library/os.rst:2261 +#: library/os.rst:2305 library/os.rst:2463 library/os.rst:2519 +#: library/os.rst:3249 library/os.rst:3406 library/os.rst:3640 +#: library/os.rst:3690 library/os.rst:3753 library/os.rst:3770 +#: library/os.rst:3788 library/os.rst:4002 library/os.rst:4045 +#: library/os.rst:4059 library/os.rst:4073 library/os.rst:4087 +#: library/os.rst:4103 library/os.rst:4117 library/os.rst:4134 +#: library/os.rst:4149 library/os.rst:4205 library/os.rst:4255 +#: library/os.rst:4278 library/os.rst:4299 library/os.rst:4340 +#: library/os.rst:4451 library/os.rst:4553 library/os.rst:4583 +#: library/os.rst:4640 library/os.rst:4700 library/os.rst:4755 +#: library/os.rst:4816 library/os.rst:4847 library/os.rst:4873 +#: library/os.rst:4898 library/os.rst:4917 library/os.rst:4965 +#: library/os.rst:4992 library/os.rst:5011 library/os.rst:5029 +#: library/os.rst:5047 library/os.rst:5206 library/os.rst:5237 +#: library/os.rst:5369 msgid "Availability" msgstr "" @@ -439,17 +439,17 @@ msgid "" "e.g. :class:`pathlib.PurePath`." msgstr "" -#: library/os.rst:304 +#: library/os.rst:305 msgid "Return the file system path representation of the object." msgstr "" -#: library/os.rst:306 +#: library/os.rst:307 msgid "" "The method should only return a :class:`str` or :class:`bytes` object, with " "the preference being for :class:`str`." msgstr "" -#: library/os.rst:312 +#: library/os.rst:313 msgid "" "Return the value of the environment variable *key* as a string if it exists, " "or *default* if it doesn't. *key* is a string. Note that since :func:" @@ -458,14 +458,14 @@ msgid "" "changes." msgstr "" -#: library/os.rst:318 +#: library/os.rst:319 msgid "" "On Unix, keys and values are decoded with :func:`sys.getfilesystemencoding` " "and ``'surrogateescape'`` error handler. Use :func:`os.getenvb` if you would " "like to use a different encoding." msgstr "" -#: library/os.rst:327 +#: library/os.rst:328 msgid "" "Return the value of the environment variable *key* as bytes if it exists, or " "*default* if it doesn't. *key* must be bytes. Note that since :func:" @@ -474,13 +474,13 @@ msgid "" "environment changes." msgstr "" -#: library/os.rst:334 +#: library/os.rst:335 msgid "" ":func:`getenvb` is only available if :const:`supports_bytes_environ` is " "``True``." msgstr "" -#: library/os.rst:344 +#: library/os.rst:345 msgid "" "Returns the list of directories that will be searched for a named " "executable, similar to a shell, when launching a process. *env*, when " @@ -488,27 +488,27 @@ msgid "" "in. By default, when *env* is ``None``, :data:`environ` is used." msgstr "" -#: library/os.rst:355 +#: library/os.rst:356 msgid "" "Return the effective group id of the current process. This corresponds to " "the \"set id\" bit on the file being executed in the current process." msgstr "" -#: library/os.rst:365 +#: library/os.rst:366 msgid "Return the current process's effective user id." msgstr "" -#: library/os.rst:374 +#: library/os.rst:375 msgid "Return the real group id of the current process." msgstr "" -#: library/os.rst:451 library/os.rst:758 +#: library/os.rst:452 library/os.rst:759 msgid "" "The function is a stub on Emscripten and WASI, see :ref:`wasm-availability` " "for more information." msgstr "" -#: library/os.rst:384 +#: library/os.rst:385 msgid "" "Return list of group ids that *user* belongs to. If *group* is not in the " "list, it is included; typically, *group* is specified as the group ID field " @@ -516,12 +516,12 @@ msgid "" "potentially omitted." msgstr "" -#: library/os.rst:396 +#: library/os.rst:397 msgid "" "Return list of supplemental group ids associated with the current process." msgstr "" -#: library/os.rst:402 +#: library/os.rst:403 msgid "" "On macOS, :func:`getgroups` behavior differs somewhat from other Unix " "platforms. If the Python interpreter was built with a deployment target of " @@ -538,7 +538,7 @@ msgid "" "get_config_var`." msgstr "" -#: library/os.rst:419 +#: library/os.rst:420 msgid "" "Return the name of the user logged in on the controlling terminal of the " "process. For most purposes, it is more useful to use :func:`getpass." @@ -547,32 +547,32 @@ msgid "" "getpwuid(os.getuid())[0]`` to get the login name of the current real user id." msgstr "" -#: library/os.rst:431 +#: library/os.rst:432 msgid "" "Return the process group id of the process with process id *pid*. If *pid* " "is 0, the process group id of the current process is returned." msgstr "" -#: library/os.rst:440 +#: library/os.rst:441 msgid "Return the id of the current process group." msgstr "" -#: library/os.rst:449 +#: library/os.rst:450 msgid "Return the current process id." msgstr "" -#: library/os.rst:458 +#: library/os.rst:459 msgid "" "Return the parent's process id. When the parent process has exited, on Unix " "the id returned is the one of the init process (1), on Windows it is still " "the same id, which may be already reused by another process." msgstr "" -#: library/os.rst:464 +#: library/os.rst:465 msgid "Added support for Windows." msgstr "" -#: library/os.rst:472 +#: library/os.rst:473 msgid "" "Get program scheduling priority. The value *which* is one of :const:" "`PRIO_PROCESS`, :const:`PRIO_PGRP`, or :const:`PRIO_USER`, and *who* is " @@ -583,42 +583,42 @@ msgid "" "user ID of the calling process." msgstr "" -#: library/os.rst:501 +#: library/os.rst:502 msgid "" "Parameters for the :func:`getpriority` and :func:`setpriority` functions." msgstr "" -#: library/os.rst:509 +#: library/os.rst:510 msgid "" "Return a tuple (ruid, euid, suid) denoting the current process's real, " "effective, and saved user ids." msgstr "" -#: library/os.rst:519 +#: library/os.rst:520 msgid "" "Return a tuple (rgid, egid, sgid) denoting the current process's real, " "effective, and saved group ids." msgstr "" -#: library/os.rst:531 +#: library/os.rst:532 msgid "Return the current process's real user id." msgstr "" -#: library/os.rst:541 +#: library/os.rst:542 msgid "" "Call the system initgroups() to initialize the group access list with all of " "the groups of which the specified username is a member, plus the specified " "group id." msgstr "" -#: library/os.rst:554 +#: library/os.rst:555 msgid "" "Set the environment variable named *key* to the string *value*. Such " "changes to the environment affect subprocesses started with :func:`os." "system`, :func:`popen` or :func:`fork` and :func:`execv`." msgstr "" -#: library/os.rst:558 +#: library/os.rst:559 msgid "" "Assignments to items in :data:`os.environ` are automatically translated into " "corresponding calls to :func:`putenv`; however, calls to :func:`putenv` " @@ -628,35 +628,35 @@ msgid "" "in their implementations." msgstr "" -#: library/os.rst:566 +#: library/os.rst:567 msgid "" "On some platforms, including FreeBSD and macOS, setting ``environ`` may " "cause memory leaks. Refer to the system documentation for :c:func:`!putenv`." msgstr "" -#: library/os.rst:569 +#: library/os.rst:570 msgid "" "Raises an :ref:`auditing event ` ``os.putenv`` with arguments " "``key``, ``value``." msgstr "" -#: library/os.rst:571 +#: library/os.rst:572 msgid "The function is now always available." msgstr "" -#: library/os.rst:577 +#: library/os.rst:578 msgid "Set the current process's effective group id." msgstr "" -#: library/os.rst:584 +#: library/os.rst:585 msgid "Set the current process's effective user id." msgstr "" -#: library/os.rst:591 +#: library/os.rst:592 msgid "Set the current process' group id." msgstr "" -#: library/os.rst:598 +#: library/os.rst:599 msgid "" "Set the list of supplemental group ids associated with the current process " "to *groups*. *groups* must be a sequence, and each element must be an " @@ -664,7 +664,7 @@ msgid "" "the superuser." msgstr "" -#: library/os.rst:604 +#: library/os.rst:605 msgid "" "On macOS, the length of *groups* may not exceed the system-defined maximum " "number of effective group ids, typically 16. See the documentation for :func:" @@ -672,13 +672,13 @@ msgid "" "calling setgroups()." msgstr "" -#: library/os.rst:611 +#: library/os.rst:612 msgid "" "Reassociate the current thread with a Linux namespace. See the :manpage:" "`setns(2)` and :manpage:`namespaces(7)` man pages for more details." msgstr "" -#: library/os.rst:615 +#: library/os.rst:616 msgid "" "If *fd* refers to a :file:`/proc/{pid}/ns/` link, ``setns()`` reassociates " "the calling thread with the namespace associated with that link, and " @@ -687,7 +687,7 @@ msgid "" "constraints)." msgstr "" -#: library/os.rst:622 +#: library/os.rst:623 msgid "" "Since Linux 5.8, *fd* may refer to a PID file descriptor obtained from :func:" "`~os.pidfd_open`. In this case, ``setns()`` reassociates the calling thread " @@ -698,44 +698,44 @@ msgid "" "memberships in unspecified namespaces are left unchanged." msgstr "" -#: library/os.rst:631 +#: library/os.rst:632 msgid "" "*fd* can be any object with a :meth:`~io.IOBase.fileno` method, or a raw " "file descriptor." msgstr "" -#: library/os.rst:633 +#: library/os.rst:634 msgid "" "This example reassociates the thread with the ``init`` process's network " "namespace::" msgstr "" -#: library/os.rst:635 +#: library/os.rst:636 msgid "" "fd = os.open(\"/proc/1/ns/net\", os.O_RDONLY)\n" "os.setns(fd, os.CLONE_NEWNET)\n" "os.close(fd)" msgstr "" -#: library/os.rst:645 +#: library/os.rst:646 msgid "The :func:`~os.unshare` function." msgstr "" -#: library/os.rst:649 +#: library/os.rst:650 msgid "" "Call the system call :c:func:`!setpgrp` or ``setpgrp(0, 0)`` depending on " "which version is implemented (if any). See the Unix manual for the " "semantics." msgstr "" -#: library/os.rst:657 +#: library/os.rst:658 msgid "" "Call the system call :c:func:`!setpgid` to set the process group id of the " "process with id *pid* to the process group with id *pgrp*. See the Unix " "manual for the semantics." msgstr "" -#: library/os.rst:668 +#: library/os.rst:669 msgid "" "Set program scheduling priority. The value *which* is one of :const:" "`PRIO_PROCESS`, :const:`PRIO_PGRP`, or :const:`PRIO_USER`, and *who* is " @@ -748,109 +748,109 @@ msgid "" "scheduling." msgstr "" -#: library/os.rst:685 +#: library/os.rst:686 msgid "Set the current process's real and effective group ids." msgstr "" -#: library/os.rst:692 +#: library/os.rst:693 msgid "Set the current process's real, effective, and saved group ids." msgstr "" -#: library/os.rst:701 +#: library/os.rst:702 msgid "Set the current process's real, effective, and saved user ids." msgstr "" -#: library/os.rst:710 +#: library/os.rst:711 msgid "Set the current process's real and effective user ids." msgstr "" -#: library/os.rst:717 +#: library/os.rst:718 msgid "" "Call the system call :c:func:`!getsid`. See the Unix manual for the " "semantics." msgstr "" -#: library/os.rst:724 +#: library/os.rst:725 msgid "" "Call the system call :c:func:`!setsid`. See the Unix manual for the " "semantics." msgstr "" -#: library/os.rst:733 +#: library/os.rst:734 msgid "Set the current process's user id." msgstr "" -#: library/os.rst:741 +#: library/os.rst:742 msgid "" "Return the error message corresponding to the error code in *code*. On " "platforms where :c:func:`!strerror` returns ``NULL`` when given an unknown " "error number, :exc:`ValueError` is raised." msgstr "" -#: library/os.rst:748 +#: library/os.rst:749 msgid "" "``True`` if the native OS type of the environment is bytes (eg. ``False`` on " "Windows)." msgstr "" -#: library/os.rst:756 +#: library/os.rst:757 msgid "Set the current numeric umask and return the previous umask." msgstr "" -#: library/os.rst:768 +#: library/os.rst:769 msgid "" "Returns information identifying the current operating system. The return " "value is an object with five attributes:" msgstr "" -#: library/os.rst:771 +#: library/os.rst:772 msgid ":attr:`sysname` - operating system name" msgstr "" -#: library/os.rst:772 +#: library/os.rst:773 msgid ":attr:`nodename` - name of machine on network (implementation-defined)" msgstr "" -#: library/os.rst:773 +#: library/os.rst:774 msgid ":attr:`release` - operating system release" msgstr "" -#: library/os.rst:774 +#: library/os.rst:775 msgid ":attr:`version` - operating system version" msgstr "" -#: library/os.rst:775 +#: library/os.rst:776 msgid ":attr:`machine` - hardware identifier" msgstr "" -#: library/os.rst:777 +#: library/os.rst:778 msgid "" "For backwards compatibility, this object is also iterable, behaving like a " "five-tuple containing :attr:`sysname`, :attr:`nodename`, :attr:`release`, :" "attr:`version`, and :attr:`machine` in that order." msgstr "" -#: library/os.rst:782 +#: library/os.rst:783 msgid "" "Some systems truncate :attr:`nodename` to 8 characters or to the leading " "component; a better way to get the hostname is :func:`socket.gethostname` " "or even ``socket.gethostbyaddr(socket.gethostname())``." msgstr "" -#: library/os.rst:4701 +#: library/os.rst:4702 msgid "" "Return type changed from a tuple to a tuple-like object with named " "attributes." msgstr "" -#: library/os.rst:798 +#: library/os.rst:799 msgid "" "Unset (delete) the environment variable named *key*. Such changes to the " "environment affect subprocesses started with :func:`os.system`, :func:" "`popen` or :func:`fork` and :func:`execv`." msgstr "" -#: library/os.rst:802 +#: library/os.rst:803 msgid "" "Deletion of items in :data:`os.environ` is automatically translated into a " "corresponding call to :func:`unsetenv`; however, calls to :func:`unsetenv` " @@ -858,17 +858,17 @@ msgid "" "items of :data:`os.environ`." msgstr "" -#: library/os.rst:807 +#: library/os.rst:808 msgid "" "Raises an :ref:`auditing event ` ``os.unsetenv`` with argument " "``key``." msgstr "" -#: library/os.rst:809 +#: library/os.rst:810 msgid "The function is now always available and is also available on Windows." msgstr "" -#: library/os.rst:815 +#: library/os.rst:816 msgid "" "Disassociate parts of the process execution context, and move them into a " "newly created namespace. See the :manpage:`unshare(2)` man page for more " @@ -879,28 +879,28 @@ msgid "" "are made to the calling process's execution context." msgstr "" -#: library/os.rst:832 +#: library/os.rst:833 msgid "The :func:`~os.setns` function." msgstr "" -#: library/os.rst:836 +#: library/os.rst:837 msgid "" "Flags to the :func:`unshare` function, if the implementation supports them. " "See :manpage:`unshare(2)` in the Linux manual for their exact effect and " "availability." msgstr "" -#: library/os.rst:859 +#: library/os.rst:860 msgid "File Object Creation" msgstr "" -#: library/os.rst:861 +#: library/os.rst:862 msgid "" "These functions create new :term:`file objects `. (See also :" "func:`~os.open` for opening file descriptors.)" msgstr "" -#: library/os.rst:867 +#: library/os.rst:868 msgid "" "Return an open file object connected to the file descriptor *fd*. This is " "an alias of the :func:`open` built-in function and accepts the same " @@ -908,16 +908,16 @@ msgid "" "must always be an integer." msgstr "" -#: library/os.rst:876 +#: library/os.rst:877 msgid "File Descriptor Operations" msgstr "" -#: library/os.rst:878 +#: library/os.rst:879 msgid "" "These functions operate on I/O streams referenced using file descriptors." msgstr "" -#: library/os.rst:880 +#: library/os.rst:881 msgid "" "File descriptors are small integers corresponding to a file that has been " "opened by the current process. For example, standard input is usually file " @@ -927,7 +927,7 @@ msgid "" "pipes are also referenced by file descriptors." msgstr "" -#: library/os.rst:887 +#: library/os.rst:888 msgid "" "The :meth:`~io.IOBase.fileno` method can be used to obtain the file " "descriptor associated with a :term:`file object` when required. Note that " @@ -935,11 +935,11 @@ msgid "" "ignoring aspects such as internal buffering of data." msgstr "" -#: library/os.rst:895 +#: library/os.rst:896 msgid "Close file descriptor *fd*." msgstr "" -#: library/os.rst:899 +#: library/os.rst:900 msgid "" "This function is intended for low-level I/O and must be applied to a file " "descriptor as returned by :func:`os.open` or :func:`pipe`. To close a " @@ -947,13 +947,13 @@ msgid "" "`popen` or :func:`fdopen`, use its :meth:`~io.IOBase.close` method." msgstr "" -#: library/os.rst:907 +#: library/os.rst:908 msgid "" "Close all file descriptors from *fd_low* (inclusive) to *fd_high* " "(exclusive), ignoring errors. Equivalent to (but much faster than)::" msgstr "" -#: library/os.rst:910 +#: library/os.rst:911 msgid "" "for fd in range(fd_low, fd_high):\n" " try:\n" @@ -962,7 +962,7 @@ msgid "" " pass" msgstr "" -#: library/os.rst:919 +#: library/os.rst:920 msgid "" "Copy *count* bytes from file descriptor *src*, starting from offset " "*offset_src*, to file descriptor *dst*, starting from offset *offset_dst*. " @@ -970,14 +970,14 @@ msgid "" "respectively for *offset_dst*." msgstr "" -#: library/os.rst:924 +#: library/os.rst:925 msgid "" "In Linux kernel older than 5.3, the files pointed to by *src* and *dst* must " "reside in the same filesystem, otherwise an :exc:`OSError` is raised with :" "attr:`~OSError.errno` set to :const:`errno.EXDEV`." msgstr "" -#: library/os.rst:928 +#: library/os.rst:929 msgid "" "This copy is done without the additional cost of transferring data from the " "kernel to user space and then back into the kernel. Additionally, some " @@ -987,19 +987,19 @@ msgid "" "(in the case of NFS)." msgstr "" -#: library/os.rst:935 +#: library/os.rst:936 msgid "" "The function copies bytes between two file descriptors. Text options, like " "the encoding and the line ending, are ignored." msgstr "" -#: library/os.rst:938 +#: library/os.rst:939 msgid "" "The return value is the amount of bytes copied. This could be less than the " "amount requested." msgstr "" -#: library/os.rst:943 +#: library/os.rst:944 msgid "" "On Linux, :func:`os.copy_file_range` should not be used for copying a range " "of a pseudo file from a special filesystem like procfs and sysfs. It will " @@ -1007,39 +1007,39 @@ msgid "" "known Linux kernel issue." msgstr "" -#: library/os.rst:955 +#: library/os.rst:956 msgid "" "Return a string describing the encoding of the device associated with *fd* " "if it is connected to a terminal; else return :const:`None`." msgstr "" -#: library/os.rst:958 +#: library/os.rst:959 msgid "" "On Unix, if the :ref:`Python UTF-8 Mode ` is enabled, return " "``'UTF-8'`` rather than the device encoding." msgstr "" -#: library/os.rst:961 +#: library/os.rst:962 msgid "On Unix, the function now implements the Python UTF-8 Mode." msgstr "" -#: library/os.rst:967 +#: library/os.rst:968 msgid "" "Return a duplicate of file descriptor *fd*. The new file descriptor is :ref:" "`non-inheritable `." msgstr "" -#: library/os.rst:970 +#: library/os.rst:971 msgid "" "On Windows, when duplicating a standard stream (0: stdin, 1: stdout, 2: " "stderr), the new file descriptor is :ref:`inheritable `." msgstr "" -#: library/os.rst:1244 +#: library/os.rst:1245 msgid "The new file descriptor is now non-inheritable." msgstr "" -#: library/os.rst:982 +#: library/os.rst:983 msgid "" "Duplicate file descriptor *fd* to *fd2*, closing the latter first if " "necessary. Return *fd2*. The new file descriptor is :ref:`inheritable " @@ -1047,58 +1047,58 @@ msgid "" "``False``." msgstr "" -#: library/os.rst:989 +#: library/os.rst:990 msgid "Add the optional *inheritable* parameter." msgstr "" -#: library/os.rst:992 +#: library/os.rst:993 msgid "Return *fd2* on success. Previously, ``None`` was always returned." msgstr "" -#: library/os.rst:998 +#: library/os.rst:999 msgid "" "Change the mode of the file given by *fd* to the numeric *mode*. See the " "docs for :func:`chmod` for possible values of *mode*. As of Python 3.3, " "this is equivalent to ``os.chmod(fd, mode)``." msgstr "" -#: library/os.rst:2069 library/os.rst:2166 +#: library/os.rst:2070 library/os.rst:2167 msgid "" "Raises an :ref:`auditing event ` ``os.chmod`` with arguments " "``path``, ``mode``, ``dir_fd``." msgstr "" -#: library/os.rst:1021 library/os.rst:1651 library/os.rst:2095 -#: library/os.rst:3384 +#: library/os.rst:1022 library/os.rst:1652 library/os.rst:2096 +#: library/os.rst:3385 msgid "" "The function is limited on Emscripten and WASI, see :ref:`wasm-availability` " "for more information." msgstr "" -#: library/os.rst:1012 +#: library/os.rst:1013 msgid "" "Change the owner and group id of the file given by *fd* to the numeric *uid* " "and *gid*. To leave one of the ids unchanged, set it to -1. See :func:" "`chown`. As of Python 3.3, this is equivalent to ``os.chown(fd, uid, gid)``." msgstr "" -#: library/os.rst:2091 library/os.rst:2179 +#: library/os.rst:2092 library/os.rst:2180 msgid "" "Raises an :ref:`auditing event ` ``os.chown`` with arguments " "``path``, ``uid``, ``gid``, ``dir_fd``." msgstr "" -#: library/os.rst:1027 +#: library/os.rst:1028 msgid "" "Force write of file with filedescriptor *fd* to disk. Does not force update " "of metadata." msgstr "" -#: library/os.rst:1033 +#: library/os.rst:1034 msgid "This function is not available on MacOS." msgstr "" -#: library/os.rst:1038 +#: library/os.rst:1039 msgid "" "Return system configuration information relevant to an open file. *name* " "specifies the configuration value to retrieve; it may be a string which is " @@ -1109,7 +1109,7 @@ msgid "" "included in that mapping, passing an integer for *name* is also accepted." msgstr "" -#: library/os.rst:2498 +#: library/os.rst:2499 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 " @@ -1117,87 +1117,87 @@ msgid "" "`errno.EINVAL` for the error number." msgstr "" -#: library/os.rst:1051 +#: library/os.rst:1052 msgid "As of Python 3.3, this is equivalent to ``os.pathconf(fd, name)``." msgstr "" -#: library/os.rst:1058 +#: library/os.rst:1059 msgid "" "Get the status of the file descriptor *fd*. Return a :class:`stat_result` " "object." msgstr "" -#: library/os.rst:1061 +#: library/os.rst:1062 msgid "As of Python 3.3, this is equivalent to ``os.stat(fd)``." msgstr "" -#: library/os.rst:2326 +#: library/os.rst:2327 msgid "The :func:`.stat` function." msgstr "" -#: library/os.rst:1070 +#: library/os.rst:1071 msgid "" "Return information about the filesystem containing the file associated with " "file descriptor *fd*, like :func:`statvfs`. As of Python 3.3, this is " "equivalent to ``os.statvfs(fd)``." msgstr "" -#: library/os.rst:1079 +#: library/os.rst:1080 msgid "" "Force write of file with filedescriptor *fd* to disk. On Unix, this calls " "the native :c:func:`!fsync` function; on Windows, the MS :c:func:`!_commit` " "function." msgstr "" -#: library/os.rst:1082 +#: library/os.rst:1083 msgid "" "If you're starting with a buffered Python :term:`file object` *f*, first do " "``f.flush()``, and then do ``os.fsync(f.fileno())``, to ensure that all " "internal buffers associated with *f* are written to disk." msgstr "" -#: library/os.rst:1091 +#: library/os.rst:1092 msgid "" "Truncate the file corresponding to file descriptor *fd*, so that it is at " "most *length* bytes in size. As of Python 3.3, this is equivalent to ``os." "truncate(fd, length)``." msgstr "" -#: library/os.rst:1095 +#: library/os.rst:1096 msgid "" "Raises an :ref:`auditing event ` ``os.truncate`` with arguments " "``fd``, ``length``." msgstr "" -#: library/os.rst:3423 +#: library/os.rst:3424 msgid "Added support for Windows" msgstr "" -#: library/os.rst:1105 +#: library/os.rst:1106 msgid "" "Get the blocking mode of the file descriptor: ``False`` if the :data:" "`O_NONBLOCK` flag is set, ``True`` if the flag is cleared." msgstr "" -#: library/os.rst:1108 +#: library/os.rst:1109 msgid "See also :func:`set_blocking` and :meth:`socket.socket.setblocking`." msgstr "" -#: library/os.rst:1654 +#: library/os.rst:1655 msgid "On Windows, this function is limited to pipes." msgstr "" -#: library/os.rst:1658 +#: library/os.rst:1659 msgid "Added support for pipes on Windows." msgstr "" -#: library/os.rst:1124 +#: library/os.rst:1125 msgid "" "Return ``True`` if the file descriptor *fd* is open and connected to a tty(-" "like) device, else ``False``." msgstr "" -#: library/os.rst:1130 +#: library/os.rst:1131 msgid "" "Apply, test or remove a POSIX lock on an open file descriptor. *fd* is an " "open file descriptor. *cmd* specifies the command to use - one of :data:" @@ -1205,125 +1205,125 @@ msgid "" "specifies the section of the file to lock." msgstr "" -#: library/os.rst:1136 +#: library/os.rst:1137 msgid "" "Raises an :ref:`auditing event ` ``os.lockf`` with arguments " "``fd``, ``cmd``, ``len``." msgstr "" -#: library/os.rst:1148 +#: library/os.rst:1149 msgid "Flags that specify what action :func:`lockf` will take." msgstr "" -#: library/os.rst:1157 +#: library/os.rst:1158 msgid "" "Prepare the tty of which fd is a file descriptor for a new login session. " "Make the calling process a session leader; make the tty the controlling tty, " "the stdin, the stdout, and the stderr of the calling process; close fd." msgstr "" -#: library/os.rst:1168 +#: library/os.rst:1169 msgid "" "Set the current position of file descriptor *fd* to position *pos*, modified " "by *whence*, and return the new position in bytes relative to the start of " "the file. Valid values for *whence* are:" msgstr "" -#: library/os.rst:1173 +#: library/os.rst:1174 msgid "" ":const:`SEEK_SET` or ``0`` -- set *pos* relative to the beginning of the file" msgstr "" -#: library/os.rst:1174 +#: library/os.rst:1175 msgid "" ":const:`SEEK_CUR` or ``1`` -- set *pos* relative to the current file position" msgstr "" -#: library/os.rst:1175 +#: library/os.rst:1176 msgid ":const:`SEEK_END` or ``2`` -- set *pos* relative to the end of the file" msgstr "" -#: library/os.rst:1176 +#: library/os.rst:1177 msgid "" ":const:`SEEK_HOLE` -- set *pos* to the next data location, relative to *pos*" msgstr "" -#: library/os.rst:1177 +#: library/os.rst:1178 msgid "" ":const:`SEEK_DATA` -- set *pos* to the next data hole, relative to *pos*" msgstr "" -#: library/os.rst:1181 +#: library/os.rst:1182 msgid "Add support for :const:`!SEEK_HOLE` and :const:`!SEEK_DATA`." msgstr "" -#: library/os.rst:1188 +#: library/os.rst:1189 msgid "" "Parameters to the :func:`lseek` function and the :meth:`~io.IOBase.seek` " "method on :term:`file-like objects `, for whence to adjust the " "file position indicator." msgstr "" -#: library/os.rst:1192 +#: library/os.rst:1193 msgid ":const:`SEEK_SET`" msgstr "" -#: library/os.rst:1193 +#: library/os.rst:1194 msgid "Adjust the file position relative to the beginning of the file." msgstr "" -#: library/os.rst:1194 +#: library/os.rst:1195 msgid ":const:`SEEK_CUR`" msgstr "" -#: library/os.rst:1195 +#: library/os.rst:1196 msgid "Adjust the file position relative to the current file position." msgstr "" -#: library/os.rst:1196 +#: library/os.rst:1197 msgid ":const:`SEEK_END`" msgstr "" -#: library/os.rst:1197 +#: library/os.rst:1198 msgid "Adjust the file position relative to the end of the file." msgstr "" -#: library/os.rst:1199 +#: library/os.rst:1200 msgid "Their values are 0, 1, and 2, respectively." msgstr "" -#: library/os.rst:1205 +#: library/os.rst:1206 msgid "" "Parameters to the :func:`lseek` function and the :meth:`~io.IOBase.seek` " "method on :term:`file-like objects `, for seeking file data and " "holes on sparsely allocated files." msgstr "" -#: library/os.rst:1209 +#: library/os.rst:1210 msgid ":data:`!SEEK_DATA`" msgstr "" -#: library/os.rst:1210 +#: library/os.rst:1211 msgid "" "Adjust the file offset to the next location containing data, relative to the " "seek position." msgstr "" -#: library/os.rst:1213 +#: library/os.rst:1214 msgid ":data:`!SEEK_HOLE`" msgstr "" -#: library/os.rst:1214 +#: library/os.rst:1215 msgid "" "Adjust the file offset to the next location containing a hole, relative to " "the seek position. A hole is defined as a sequence of zeros." msgstr "" -#: library/os.rst:1220 +#: library/os.rst:1221 msgid "These operations only make sense for filesystems that support them." msgstr "" -#: library/os.rst:1229 +#: library/os.rst:1230 msgid "" "Open the file *path* and set various flags according to *flags* and possibly " "its mode according to *mode*. When computing *mode*, the current umask " @@ -1331,7 +1331,7 @@ msgid "" "file. The new file descriptor is :ref:`non-inheritable `." msgstr "" -#: library/os.rst:1234 +#: library/os.rst:1235 msgid "" "For a description of the flag and mode values, see the C run-time " "documentation; flag constants (like :const:`O_RDONLY` and :const:`O_WRONLY`) " @@ -1339,19 +1339,19 @@ msgid "" "const:`O_BINARY` is needed to open files in binary mode." msgstr "" -#: library/os.rst:1239 +#: library/os.rst:1240 msgid "" "This function can support :ref:`paths relative to directory descriptors " "` with the *dir_fd* parameter." msgstr "" -#: library/os.rst:1242 +#: library/os.rst:1243 msgid "" "Raises an :ref:`auditing event ` ``open`` with arguments ``path``, " "``mode``, ``flags``." msgstr "" -#: library/os.rst:1249 +#: library/os.rst:1250 msgid "" "This function is intended for low-level I/O. For normal usage, use the " "built-in function :func:`open`, which returns a :term:`file object` with :" @@ -1359,27 +1359,27 @@ msgid "" "a file descriptor in a file object, use :func:`fdopen`." msgstr "" -#: library/os.rst:2331 library/os.rst:2442 library/os.rst:2545 -#: library/os.rst:2682 library/os.rst:3439 +#: library/os.rst:2332 library/os.rst:2443 library/os.rst:2546 +#: library/os.rst:2683 library/os.rst:3440 msgid "Added the *dir_fd* parameter." msgstr "" -#: library/os.rst:1576 library/os.rst:4797 +#: library/os.rst:1577 library/os.rst:4798 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 an :" "exc:`InterruptedError` exception (see :pep:`475` for the rationale)." msgstr "" -#: library/os.rst:1963 library/os.rst:2026 library/os.rst:2112 -#: library/os.rst:2170 library/os.rst:2242 library/os.rst:2374 -#: library/os.rst:2445 library/os.rst:2508 library/os.rst:2597 -#: library/os.rst:2975 library/os.rst:3426 library/os.rst:3482 -#: library/os.rst:3643 library/os.rst:4007 library/os.rst:4559 +#: library/os.rst:1964 library/os.rst:2027 library/os.rst:2113 +#: library/os.rst:2171 library/os.rst:2243 library/os.rst:2375 +#: library/os.rst:2446 library/os.rst:2509 library/os.rst:2598 +#: library/os.rst:2976 library/os.rst:3427 library/os.rst:3483 +#: library/os.rst:3644 library/os.rst:4008 library/os.rst:4560 msgid "Accepts a :term:`path-like object`." msgstr "" -#: library/os.rst:1265 +#: library/os.rst:1266 msgid "" "The following constants are options for the *flags* parameter to the :func:" "`~os.open` function. They can be combined using the bitwise OR operator ``|" @@ -1389,45 +1389,45 @@ msgid "" "on Windows." msgstr "" -#: library/os.rst:1280 +#: library/os.rst:1281 msgid "The above constants are available on Unix and Windows." msgstr "" -#: library/os.rst:1291 +#: library/os.rst:1292 msgid "The above constants are only available on Unix." msgstr "" -#: library/os.rst:1293 +#: library/os.rst:1294 msgid "Add :data:`O_CLOEXEC` constant." msgstr "" -#: library/os.rst:1304 +#: library/os.rst:1305 msgid "The above constants are only available on Windows." msgstr "" -#: library/os.rst:1311 +#: library/os.rst:1312 msgid "The above constants are only available on macOS." msgstr "" -#: library/os.rst:1313 +#: library/os.rst:1314 msgid "" "Add :data:`O_EVTONLY`, :data:`O_FSYNC`, :data:`O_SYMLINK` and :data:" "`O_NOFOLLOW_ANY` constants." msgstr "" -#: library/os.rst:1327 +#: library/os.rst:1328 msgid "" "The above constants are extensions and not present if they are not defined " "by the C library." msgstr "" -#: library/os.rst:1330 +#: library/os.rst:1331 msgid "" "Add :data:`O_PATH` on systems that support it. Add :data:`O_TMPFILE`, only " "available on Linux Kernel 3.11 or newer." msgstr "" -#: library/os.rst:1340 +#: library/os.rst:1341 msgid "" "Open a new pseudo-terminal pair. Return a pair of file descriptors " "``(master, slave)`` for the pty and the tty, respectively. The new file " @@ -1435,18 +1435,18 @@ msgid "" "more portable approach, use the :mod:`pty` module." msgstr "" -#: library/os.rst:1359 +#: library/os.rst:1360 msgid "The new file descriptors are now non-inheritable." msgstr "" -#: library/os.rst:1353 +#: library/os.rst:1354 msgid "" "Create a pipe. Return a pair of file descriptors ``(r, w)`` usable for " "reading and writing, respectively. The new file descriptor is :ref:`non-" "inheritable `." msgstr "" -#: library/os.rst:1365 +#: library/os.rst:1366 msgid "" "Create a pipe with *flags* set atomically. *flags* can be constructed by " "ORing together one or more of these values: :data:`O_NONBLOCK`, :data:" @@ -1454,13 +1454,13 @@ msgid "" "and writing, respectively." msgstr "" -#: library/os.rst:1378 +#: library/os.rst:1379 msgid "" "Ensures that enough disk space is allocated for the file specified by *fd* " "starting from *offset* and continuing for *len* bytes." msgstr "" -#: library/os.rst:1388 +#: library/os.rst:1389 msgid "" "Announces an intention to access data in a specific pattern thus allowing " "the kernel to make optimizations. The advice applies to the region of the " @@ -1471,25 +1471,25 @@ msgid "" "`POSIX_FADV_DONTNEED`." msgstr "" -#: library/os.rst:1408 +#: library/os.rst:1409 msgid "" "Flags that can be used in *advice* in :func:`posix_fadvise` that specify the " "access pattern that is likely to be used." msgstr "" -#: library/os.rst:1418 +#: library/os.rst:1419 msgid "" "Read at most *n* bytes from file descriptor *fd* at a position of *offset*, " "leaving the file offset unchanged." msgstr "" -#: library/os.rst:1565 +#: library/os.rst:1566 msgid "" "Return a bytestring containing the bytes read. If the end of the file " "referred to by *fd* has been reached, an empty bytes object is returned." msgstr "" -#: library/os.rst:1431 +#: library/os.rst:1432 msgid "" "Read from a file descriptor *fd* at a position of *offset* into mutable :" "term:`bytes-like objects ` *buffers*, leaving the file " @@ -1497,77 +1497,77 @@ msgid "" "move on to the next buffer in the sequence to hold the rest of the data." msgstr "" -#: library/os.rst:1506 +#: library/os.rst:1507 msgid "" "The flags argument contains a bitwise OR of zero or more of the following " "flags:" msgstr "" -#: library/os.rst:1439 +#: library/os.rst:1440 msgid ":data:`RWF_HIPRI`" msgstr "" -#: library/os.rst:1440 +#: library/os.rst:1441 msgid ":data:`RWF_NOWAIT`" msgstr "" -#: library/os.rst:1702 +#: library/os.rst:1703 msgid "" "Return the total number of bytes actually read which can be less than the " "total capacity of all the objects." msgstr "" -#: library/os.rst:1515 library/os.rst:1767 +#: library/os.rst:1516 library/os.rst:1768 msgid "" "The operating system may set a limit (:func:`sysconf` value " "``'SC_IOV_MAX'``) on the number of buffers that can be used." msgstr "" -#: library/os.rst:1448 +#: library/os.rst:1449 msgid "Combine the functionality of :func:`os.readv` and :func:`os.pread`." msgstr "" -#: library/os.rst:1522 +#: library/os.rst:1523 msgid "Using flags requires Linux >= 4.6." msgstr "" -#: library/os.rst:1459 +#: library/os.rst:1460 msgid "" "Do not wait for data which is not immediately available. If this flag is " "specified, the system call will return instantly if it would have to read " "data from the backing storage or wait for a lock." msgstr "" -#: library/os.rst:1463 +#: library/os.rst:1464 msgid "" "If some data was successfully read, it will return the number of bytes read. " "If no bytes were read, it will return ``-1`` and set errno to :const:`errno." "EAGAIN`." msgstr "" -#: library/os.rst:1474 +#: library/os.rst:1475 msgid "" "High priority read/write. Allows block-based filesystems to use polling of " "the device, which provides lower latency, but may use additional resources." msgstr "" -#: library/os.rst:1478 +#: library/os.rst:1479 msgid "" "Currently, on Linux, this feature is usable only on a file descriptor opened " "using the :data:`O_DIRECT` flag." msgstr "" -#: library/os.rst:1488 +#: library/os.rst:1489 msgid "" "Write the bytestring in *str* to file descriptor *fd* at position of " "*offset*, leaving the file offset unchanged." msgstr "" -#: library/os.rst:1742 +#: library/os.rst:1743 msgid "Return the number of bytes actually written." msgstr "" -#: library/os.rst:1500 +#: library/os.rst:1501 msgid "" "Write the *buffers* contents to file descriptor *fd* at an offset *offset*, " "leaving the file offset unchanged. *buffers* must be a sequence of :term:" @@ -1576,39 +1576,39 @@ msgid "" "the second, and so on." msgstr "" -#: library/os.rst:1509 +#: library/os.rst:1510 msgid ":data:`RWF_DSYNC`" msgstr "" -#: library/os.rst:1510 +#: library/os.rst:1511 msgid ":data:`RWF_SYNC`" msgstr "" -#: library/os.rst:1511 +#: library/os.rst:1512 msgid ":data:`RWF_APPEND`" msgstr "" -#: library/os.rst:1513 +#: library/os.rst:1514 msgid "Return the total number of bytes actually written." msgstr "" -#: library/os.rst:1518 +#: library/os.rst:1519 msgid "Combine the functionality of :func:`os.writev` and :func:`os.pwrite`." msgstr "" -#: library/os.rst:1529 +#: library/os.rst:1530 msgid "" "Provide a per-write equivalent of the :data:`O_DSYNC` :func:`os.open` flag. " "This flag effect applies only to the data range written by the system call." msgstr "" -#: library/os.rst:1539 +#: library/os.rst:1540 msgid "" "Provide a per-write equivalent of the :data:`O_SYNC` :func:`os.open` flag. " "This flag effect applies only to the data range written by the system call." msgstr "" -#: library/os.rst:1549 +#: library/os.rst:1550 msgid "" "Provide a per-write equivalent of the :data:`O_APPEND` :func:`os.open` flag. " "This flag is meaningful only for :func:`os.pwritev`, and its effect applies " @@ -1618,11 +1618,11 @@ msgid "" "*offset* is updated." msgstr "" -#: library/os.rst:1563 +#: library/os.rst:1564 msgid "Read at most *n* bytes from file descriptor *fd*." msgstr "" -#: library/os.rst:1570 +#: library/os.rst:1571 msgid "" "This function is intended for low-level I/O and must be applied to a file " "descriptor as returned by :func:`os.open` or :func:`pipe`. To read a \"file " @@ -1631,26 +1631,26 @@ msgid "" "`~file.readline` methods." msgstr "" -#: library/os.rst:1585 +#: library/os.rst:1586 msgid "" "Copy *count* bytes from file descriptor *in_fd* to file descriptor *out_fd* " "starting at *offset*. Return the number of bytes sent. When EOF is reached " "return ``0``." msgstr "" -#: library/os.rst:1589 +#: library/os.rst:1590 msgid "" "The first function notation is supported by all platforms that define :func:" "`sendfile`." msgstr "" -#: library/os.rst:1592 +#: library/os.rst:1593 msgid "" "On Linux, if *offset* is given as ``None``, the bytes are read from the " "current position of *in_fd* and the position of *in_fd* is updated." msgstr "" -#: library/os.rst:1595 +#: library/os.rst:1596 msgid "" "The second case may be used on macOS and FreeBSD where *headers* and " "*trailers* are arbitrary sequences of buffers that are written before and " @@ -1658,58 +1658,58 @@ msgid "" "case." msgstr "" -#: library/os.rst:1599 +#: library/os.rst:1600 msgid "" "On macOS and FreeBSD, a value of ``0`` for *count* specifies to send until " "the end of *in_fd* is reached." msgstr "" -#: library/os.rst:1602 +#: library/os.rst:1603 msgid "" "All platforms support sockets as *out_fd* file descriptor, and some " "platforms allow other types (e.g. regular file, pipe) as well." msgstr "" -#: library/os.rst:1605 +#: library/os.rst:1606 msgid "" "Cross-platform applications should not use *headers*, *trailers* and *flags* " "arguments." msgstr "" -#: library/os.rst:1612 +#: library/os.rst:1613 msgid "" "For a higher-level wrapper of :func:`sendfile`, see :meth:`socket.socket." "sendfile`." msgstr "" -#: library/os.rst:1617 +#: library/os.rst:1618 msgid "Parameters *out* and *in* was renamed to *out_fd* and *in_fd*." msgstr "" -#: library/os.rst:1625 +#: library/os.rst:1626 msgid "" "Parameters to the :func:`sendfile` function, if the implementation supports " "them." msgstr "" -#: library/os.rst:1634 +#: library/os.rst:1635 msgid "" "Parameter to the :func:`sendfile` function, if the implementation supports " "it. The data won't be cached in the virtual memory and will be freed " "afterwards." msgstr "" -#: library/os.rst:1644 +#: library/os.rst:1645 msgid "" "Set the blocking mode of the specified file descriptor. Set the :data:" "`O_NONBLOCK` flag if blocking is ``False``, clear the flag otherwise." msgstr "" -#: library/os.rst:1647 +#: library/os.rst:1648 msgid "See also :func:`get_blocking` and :meth:`socket.socket.setblocking`." msgstr "" -#: library/os.rst:1664 +#: library/os.rst:1665 msgid "" "Transfer *count* bytes from file descriptor *src*, starting from offset " "*offset_src*, to file descriptor *dst*, starting from offset *offset_dst*. " @@ -1721,7 +1721,7 @@ msgid "" "`~OSError.errno` set to :const:`errno.EXDEV`." msgstr "" -#: library/os.rst:1673 +#: library/os.rst:1674 msgid "" "This copy is done without the additional cost of transferring data from the " "kernel to user space and then back into the kernel. Additionally, some " @@ -1729,7 +1729,7 @@ msgid "" "files are opened as binary." msgstr "" -#: library/os.rst:1678 +#: library/os.rst:1679 msgid "" "Upon successful completion, returns the number of bytes spliced to or from " "the pipe. A return value of 0 means end of input. If *src* refers to a pipe, " @@ -1738,7 +1738,7 @@ msgid "" "the pipe." msgstr "" -#: library/os.rst:1697 +#: library/os.rst:1698 msgid "" "Read from a file descriptor *fd* into a number of mutable :term:`bytes-like " "objects ` *buffers*. Transfer data into each buffer until " @@ -1746,30 +1746,30 @@ msgid "" "rest of the data." msgstr "" -#: library/os.rst:1715 +#: library/os.rst:1716 msgid "" "Return the process group associated with the terminal given by *fd* (an open " "file descriptor as returned by :func:`os.open`)." msgstr "" -#: library/os.rst:1723 +#: library/os.rst:1724 msgid "" "Set the process group associated with the terminal given by *fd* (an open " "file descriptor as returned by :func:`os.open`) to *pg*." msgstr "" -#: library/os.rst:1731 +#: library/os.rst:1732 msgid "" "Return a string which specifies the terminal device associated with file " "descriptor *fd*. If *fd* is not associated with a terminal device, an " "exception is raised." msgstr "" -#: library/os.rst:1740 +#: library/os.rst:1741 msgid "Write the bytestring in *str* to file descriptor *fd*." msgstr "" -#: library/os.rst:1746 +#: library/os.rst:1747 msgid "" "This function is intended for low-level I/O and must be applied to a file " "descriptor as returned by :func:`os.open` or :func:`pipe`. To write a " @@ -1778,7 +1778,7 @@ msgid "" "its :meth:`~file.write` method." msgstr "" -#: library/os.rst:1760 +#: library/os.rst:1761 msgid "" "Write the contents of *buffers* to file descriptor *fd*. *buffers* must be a " "sequence of :term:`bytes-like objects `. Buffers are " @@ -1786,70 +1786,70 @@ msgid "" "before proceeding to the second, and so on." msgstr "" -#: library/os.rst:1765 +#: library/os.rst:1766 msgid "Returns the total number of bytes actually written." msgstr "" -#: library/os.rst:1778 +#: library/os.rst:1779 msgid "Querying the size of a terminal" msgstr "" -#: library/os.rst:1784 +#: library/os.rst:1785 msgid "" "Return the size of the terminal window as ``(columns, lines)``, tuple of " "type :class:`terminal_size`." msgstr "" -#: library/os.rst:1787 +#: library/os.rst:1788 msgid "" "The optional argument ``fd`` (default ``STDOUT_FILENO``, or standard output) " "specifies which file descriptor should be queried." msgstr "" -#: library/os.rst:1790 +#: library/os.rst:1791 msgid "" "If the file descriptor is not connected to a terminal, an :exc:`OSError` is " "raised." msgstr "" -#: library/os.rst:1793 +#: library/os.rst:1794 msgid "" ":func:`shutil.get_terminal_size` is the high-level function which should " "normally be used, ``os.get_terminal_size`` is the low-level implementation." msgstr "" -#: library/os.rst:1801 +#: library/os.rst:1802 msgid "" "A subclass of tuple, holding ``(columns, lines)`` of the terminal window " "size." msgstr "" -#: library/os.rst:1805 +#: library/os.rst:1806 msgid "Width of the terminal window in characters." msgstr "" -#: library/os.rst:1809 +#: library/os.rst:1810 msgid "Height of the terminal window in characters." msgstr "" -#: library/os.rst:1815 +#: library/os.rst:1816 msgid "Inheritance of File Descriptors" msgstr "" -#: library/os.rst:1819 +#: library/os.rst:1820 msgid "" "A file descriptor has an \"inheritable\" flag which indicates if the file " "descriptor can be inherited by child processes. Since Python 3.4, file " "descriptors created by Python are non-inheritable by default." msgstr "" -#: library/os.rst:1823 +#: library/os.rst:1824 msgid "" "On UNIX, non-inheritable file descriptors are closed in child processes at " "the execution of a new program, other file descriptors are inherited." msgstr "" -#: library/os.rst:1826 +#: library/os.rst:1827 msgid "" "On Windows, non-inheritable handles and file descriptors are closed in child " "processes, except for standard streams (file descriptors 0, 1 and 2: stdin, " @@ -1860,40 +1860,40 @@ msgid "" "only inherited if the *close_fds* parameter is ``False``." msgstr "" -#: library/os.rst:1834 +#: library/os.rst:1835 msgid "" "On WebAssembly platforms ``wasm32-emscripten`` and ``wasm32-wasi``, the file " "descriptor cannot be modified." msgstr "" -#: library/os.rst:1839 +#: library/os.rst:1840 msgid "" "Get the \"inheritable\" flag of the specified file descriptor (a boolean)." msgstr "" -#: library/os.rst:1843 +#: library/os.rst:1844 msgid "Set the \"inheritable\" flag of the specified file descriptor." msgstr "" -#: library/os.rst:1847 +#: library/os.rst:1848 msgid "Get the \"inheritable\" flag of the specified handle (a boolean)." msgstr "" -#: library/os.rst:1853 +#: library/os.rst:1854 msgid "Set the \"inheritable\" flag of the specified handle." msgstr "" -#: library/os.rst:1861 +#: library/os.rst:1862 msgid "Files and Directories" msgstr "" -#: library/os.rst:1863 +#: library/os.rst:1864 msgid "" "On some Unix platforms, many of these functions support one or more of these " "features:" msgstr "" -#: library/os.rst:1868 +#: library/os.rst:1869 msgid "" "**specifying a file descriptor:** Normally the *path* argument provided to " "functions in the :mod:`os` module must be a string specifying a file path. " @@ -1904,7 +1904,7 @@ msgid "" "``chdir``).)" msgstr "" -#: library/os.rst:1876 +#: library/os.rst:1877 msgid "" "You can check whether or not *path* can be specified as a file descriptor " "for a particular function on your platform using :data:`os.supports_fd`. If " @@ -1912,13 +1912,13 @@ msgid "" "`NotImplementedError`." msgstr "" -#: library/os.rst:1881 +#: library/os.rst:1882 msgid "" "If the function also supports *dir_fd* or *follow_symlinks* arguments, it's " "an error to specify one of those when supplying *path* as a file descriptor." msgstr "" -#: library/os.rst:1886 +#: library/os.rst:1887 msgid "" "**paths relative to directory descriptors:** If *dir_fd* is not ``None``, it " "should be a file descriptor referring to a directory, and the path to " @@ -1929,14 +1929,14 @@ msgid "" "``access``)." msgstr "" -#: library/os.rst:1893 +#: library/os.rst:1894 msgid "" "You can check whether or not *dir_fd* is supported for a particular function " "on your platform using :data:`os.supports_dir_fd`. If it's unavailable, " "using it will raise a :exc:`NotImplementedError`." msgstr "" -#: library/os.rst:1899 +#: library/os.rst:1900 msgid "" "**not following symlinks:** If *follow_symlinks* is ``False``, and the last " "element of the path to operate on is a symbolic link, the function will " @@ -1945,14 +1945,14 @@ msgid "" "function.)" msgstr "" -#: library/os.rst:1905 +#: library/os.rst:1906 msgid "" "You can check whether or not *follow_symlinks* is supported for a particular " "function on your platform using :data:`os.supports_follow_symlinks`. If it's " "unavailable, using it will raise a :exc:`NotImplementedError`." msgstr "" -#: library/os.rst:1913 +#: library/os.rst:1914 msgid "" "Use the real uid/gid to test for access to *path*. Note that most " "operations will use the effective uid/gid, therefore this routine can be " @@ -1964,13 +1964,13 @@ msgid "" "manpage:`access(2)` for more information." msgstr "" -#: library/os.rst:1922 +#: library/os.rst:1923 msgid "" "This function can support specifying :ref:`paths relative to directory " "descriptors ` and :ref:`not following symlinks `." msgstr "" -#: library/os.rst:1925 +#: library/os.rst:1926 msgid "" "If *effective_ids* is ``True``, :func:`access` will perform its access " "checks using the effective uid/gid instead of the real uid/gid. " @@ -1979,7 +1979,7 @@ msgid "" "unavailable, using it will raise a :exc:`NotImplementedError`." msgstr "" -#: library/os.rst:1933 +#: library/os.rst:1934 msgid "" "Using :func:`access` to check if a user is authorized to e.g. open a file " "before actually doing so using :func:`open` creates a security hole, because " @@ -1988,7 +1988,7 @@ msgid "" "For example::" msgstr "" -#: library/os.rst:1939 +#: library/os.rst:1940 msgid "" "if os.access(\"myfile\", os.R_OK):\n" " with open(\"myfile\") as fp:\n" @@ -1996,11 +1996,11 @@ msgid "" "return \"some default data\"" msgstr "" -#: library/os.rst:1944 +#: library/os.rst:1945 msgid "is better written as::" msgstr "" -#: library/os.rst:1946 +#: library/os.rst:1947 msgid "" "try:\n" " fp = open(\"myfile\")\n" @@ -2011,274 +2011,274 @@ msgid "" " return fp.read()" msgstr "" -#: library/os.rst:1956 +#: library/os.rst:1957 msgid "" "I/O operations may fail even when :func:`access` indicates that they would " "succeed, particularly for operations on network filesystems which may have " "permissions semantics beyond the usual POSIX permission-bit model." msgstr "" -#: library/os.rst:1960 +#: library/os.rst:1961 msgid "Added the *dir_fd*, *effective_ids*, and *follow_symlinks* parameters." msgstr "" -#: library/os.rst:1972 +#: library/os.rst:1973 msgid "" "Values to pass as the *mode* parameter of :func:`access` to test the " "existence, readability, writability and executability of *path*, " "respectively." msgstr "" -#: library/os.rst:1981 +#: library/os.rst:1982 msgid "Change the current working directory to *path*." msgstr "" -#: library/os.rst:1983 +#: library/os.rst:1984 msgid "" "This function can support :ref:`specifying a file descriptor `. " "The descriptor must refer to an opened directory, not an open file." msgstr "" -#: library/os.rst:1986 +#: library/os.rst:1987 msgid "" "This function can raise :exc:`OSError` and subclasses such as :exc:" "`FileNotFoundError`, :exc:`PermissionError`, and :exc:`NotADirectoryError`." msgstr "" -#: library/os.rst:2122 +#: library/os.rst:2123 msgid "" "Raises an :ref:`auditing event ` ``os.chdir`` with argument " "``path``." msgstr "" -#: library/os.rst:1991 +#: library/os.rst:1992 msgid "" "Added support for specifying *path* as a file descriptor on some platforms." msgstr "" -#: library/os.rst:2001 +#: library/os.rst:2002 msgid "" "Set the flags of *path* to the numeric *flags*. *flags* may take a " "combination (bitwise OR) of the following values (as defined in the :mod:" "`stat` module):" msgstr "" -#: library/os.rst:2004 +#: library/os.rst:2005 msgid ":const:`stat.UF_NODUMP`" msgstr "" -#: library/os.rst:2005 +#: library/os.rst:2006 msgid ":const:`stat.UF_IMMUTABLE`" msgstr "" -#: library/os.rst:2006 +#: library/os.rst:2007 msgid ":const:`stat.UF_APPEND`" msgstr "" -#: library/os.rst:2007 +#: library/os.rst:2008 msgid ":const:`stat.UF_OPAQUE`" msgstr "" -#: library/os.rst:2008 +#: library/os.rst:2009 msgid ":const:`stat.UF_NOUNLINK`" msgstr "" -#: library/os.rst:2009 +#: library/os.rst:2010 msgid ":const:`stat.UF_COMPRESSED`" msgstr "" -#: library/os.rst:2010 +#: library/os.rst:2011 msgid ":const:`stat.UF_HIDDEN`" msgstr "" -#: library/os.rst:2011 +#: library/os.rst:2012 msgid ":const:`stat.SF_ARCHIVED`" msgstr "" -#: library/os.rst:2012 +#: library/os.rst:2013 msgid ":const:`stat.SF_IMMUTABLE`" msgstr "" -#: library/os.rst:2013 +#: library/os.rst:2014 msgid ":const:`stat.SF_APPEND`" msgstr "" -#: library/os.rst:2014 +#: library/os.rst:2015 msgid ":const:`stat.SF_NOUNLINK`" msgstr "" -#: library/os.rst:2015 +#: library/os.rst:2016 msgid ":const:`stat.SF_SNAPSHOT`" msgstr "" -#: library/os.rst:2017 +#: library/os.rst:2018 msgid "" "This function can support :ref:`not following symlinks `." msgstr "" -#: library/os.rst:2148 +#: library/os.rst:2149 msgid "" "Raises an :ref:`auditing event ` ``os.chflags`` with arguments " "``path``, ``flags``." msgstr "" -#: library/os.rst:2023 +#: library/os.rst:2024 msgid "Added the *follow_symlinks* parameter." msgstr "" -#: library/os.rst:2032 +#: library/os.rst:2033 msgid "" "Change the mode of *path* to the numeric *mode*. *mode* may take one of the " "following values (as defined in the :mod:`stat` module) or bitwise ORed " "combinations of them:" msgstr "" -#: library/os.rst:2036 +#: library/os.rst:2037 msgid ":const:`stat.S_ISUID`" msgstr "" -#: library/os.rst:2037 +#: library/os.rst:2038 msgid ":const:`stat.S_ISGID`" msgstr "" -#: library/os.rst:2038 +#: library/os.rst:2039 msgid ":const:`stat.S_ENFMT`" msgstr "" -#: library/os.rst:2039 +#: library/os.rst:2040 msgid ":const:`stat.S_ISVTX`" msgstr "" -#: library/os.rst:2040 +#: library/os.rst:2041 msgid ":const:`stat.S_IREAD`" msgstr "" -#: library/os.rst:2041 +#: library/os.rst:2042 msgid ":const:`stat.S_IWRITE`" msgstr "" -#: library/os.rst:2042 +#: library/os.rst:2043 msgid ":const:`stat.S_IEXEC`" msgstr "" -#: library/os.rst:2043 +#: library/os.rst:2044 msgid ":const:`stat.S_IRWXU`" msgstr "" -#: library/os.rst:2044 +#: library/os.rst:2045 msgid ":const:`stat.S_IRUSR`" msgstr "" -#: library/os.rst:2045 +#: library/os.rst:2046 msgid ":const:`stat.S_IWUSR`" msgstr "" -#: library/os.rst:2046 +#: library/os.rst:2047 msgid ":const:`stat.S_IXUSR`" msgstr "" -#: library/os.rst:2047 +#: library/os.rst:2048 msgid ":const:`stat.S_IRWXG`" msgstr "" -#: library/os.rst:2048 +#: library/os.rst:2049 msgid ":const:`stat.S_IRGRP`" msgstr "" -#: library/os.rst:2049 +#: library/os.rst:2050 msgid ":const:`stat.S_IWGRP`" msgstr "" -#: library/os.rst:2050 +#: library/os.rst:2051 msgid ":const:`stat.S_IXGRP`" msgstr "" -#: library/os.rst:2051 +#: library/os.rst:2052 msgid ":const:`stat.S_IRWXO`" msgstr "" -#: library/os.rst:2052 +#: library/os.rst:2053 msgid ":const:`stat.S_IROTH`" msgstr "" -#: library/os.rst:2053 +#: library/os.rst:2054 msgid ":const:`stat.S_IWOTH`" msgstr "" -#: library/os.rst:2054 +#: library/os.rst:2055 msgid ":const:`stat.S_IXOTH`" msgstr "" -#: library/os.rst:2084 library/os.rst:3472 +#: library/os.rst:2085 library/os.rst:3473 msgid "" "This function can support :ref:`specifying a file descriptor `, :" "ref:`paths relative to directory descriptors ` and :ref:`not " "following symlinks `." msgstr "" -#: library/os.rst:2062 +#: library/os.rst:2063 msgid "" "Although Windows supports :func:`chmod`, you can only set the file's read-" "only flag with it (via the ``stat.S_IWRITE`` and ``stat.S_IREAD`` constants " "or a corresponding integer value). All other bits are ignored." msgstr "" -#: library/os.rst:2098 +#: library/os.rst:2099 msgid "" "Added support for specifying *path* as an open file descriptor, and the " "*dir_fd* and *follow_symlinks* arguments." msgstr "" -#: library/os.rst:2081 +#: library/os.rst:2082 msgid "" "Change the owner and group id of *path* to the numeric *uid* and *gid*. To " "leave one of the ids unchanged, set it to -1." msgstr "" -#: library/os.rst:2088 +#: library/os.rst:2089 msgid "" "See :func:`shutil.chown` for a higher-level function that accepts names in " "addition to numeric ids." msgstr "" -#: library/os.rst:2102 +#: library/os.rst:2103 msgid "Supports a :term:`path-like object`." msgstr "" -#: library/os.rst:2108 +#: library/os.rst:2109 msgid "Change the root directory of the current process to *path*." msgstr "" -#: library/os.rst:2118 +#: library/os.rst:2119 msgid "" "Change the current working directory to the directory represented by the " "file descriptor *fd*. The descriptor must refer to an opened directory, not " "an open file. As of Python 3.3, this is equivalent to ``os.chdir(fd)``." msgstr "" -#: library/os.rst:2129 +#: library/os.rst:2130 msgid "Return a string representing the current working directory." msgstr "" -#: library/os.rst:2134 +#: library/os.rst:2135 msgid "Return a bytestring representing the current working directory." msgstr "" -#: library/os.rst:2136 +#: library/os.rst:2137 msgid "" "The function now uses the UTF-8 encoding on Windows, rather than the ANSI " "code page: see :pep:`529` for the rationale. The function is no longer " "deprecated on Windows." msgstr "" -#: library/os.rst:2144 +#: library/os.rst:2145 msgid "" "Set the flags of *path* to the numeric *flags*, like :func:`chflags`, but do " "not follow symbolic links. As of Python 3.3, this is equivalent to ``os." "chflags(path, flags, follow_symlinks=False)``." msgstr "" -#: library/os.rst:2158 +#: library/os.rst:2159 msgid "" "Change the mode of *path* to the numeric *mode*. If path is a symlink, this " "affects the symlink rather than the target. See the docs for :func:`chmod` " @@ -2286,49 +2286,49 @@ msgid "" "chmod(path, mode, follow_symlinks=False)``." msgstr "" -#: library/os.rst:2163 +#: library/os.rst:2164 msgid "" "``lchmod()`` is not part of POSIX, but Unix implementations may have it if " "changing the mode of symbolic links is supported." msgstr "" -#: library/os.rst:2175 +#: library/os.rst:2176 msgid "" "Change the owner and group id of *path* to the numeric *uid* and *gid*. " "This function will not follow symbolic links. As of Python 3.3, this is " "equivalent to ``os.chown(path, uid, gid, follow_symlinks=False)``." msgstr "" -#: library/os.rst:2189 +#: library/os.rst:2190 msgid "Create a hard link pointing to *src* named *dst*." msgstr "" -#: library/os.rst:2191 +#: library/os.rst:2192 msgid "" "This function can support specifying *src_dir_fd* and/or *dst_dir_fd* to " "supply :ref:`paths relative to directory descriptors `, and :ref:" "`not following symlinks `." msgstr "" -#: library/os.rst:2195 +#: library/os.rst:2196 msgid "" "Raises an :ref:`auditing event ` ``os.link`` with arguments " "``src``, ``dst``, ``src_dir_fd``, ``dst_dir_fd``." msgstr "" -#: library/os.rst:4256 +#: library/os.rst:4257 msgid "Added Windows support." msgstr "" -#: library/os.rst:2202 +#: library/os.rst:2203 msgid "Added the *src_dir_fd*, *dst_dir_fd*, and *follow_symlinks* parameters." msgstr "" -#: library/os.rst:2629 library/os.rst:3394 +#: library/os.rst:2630 library/os.rst:3395 msgid "Accepts a :term:`path-like object` for *src* and *dst*." msgstr "" -#: library/os.rst:2211 +#: library/os.rst:2212 msgid "" "Return a list containing the names of the entries in the directory given by " "*path*. The list is in arbitrary order, and does not include the special " @@ -2337,7 +2337,7 @@ msgid "" "function, whether a name for that file be included is unspecified." msgstr "" -#: library/os.rst:2217 +#: library/os.rst:2218 msgid "" "*path* may be a :term:`path-like object`. If *path* is of type ``bytes`` " "(directly or indirectly through the :class:`PathLike` interface), the " @@ -2345,41 +2345,41 @@ msgid "" "circumstances, they will be of type ``str``." msgstr "" -#: library/os.rst:2714 +#: library/os.rst:2715 msgid "" "This function can also support :ref:`specifying a file descriptor " "`; the file descriptor must refer to a directory." msgstr "" -#: library/os.rst:2225 +#: library/os.rst:2226 msgid "" "Raises an :ref:`auditing event ` ``os.listdir`` with argument " "``path``." msgstr "" -#: library/os.rst:2228 +#: library/os.rst:2229 msgid "To encode ``str`` filenames to ``bytes``, use :func:`~os.fsencode`." msgstr "" -#: library/os.rst:2232 +#: library/os.rst:2233 msgid "" "The :func:`scandir` function returns directory entries along with file " "attribute information, giving better performance for many common use cases." msgstr "" -#: library/os.rst:2236 +#: library/os.rst:2237 msgid "The *path* parameter became optional." msgstr "" -#: library/os.rst:3253 +#: library/os.rst:3254 msgid "Added support for specifying *path* as an open file descriptor." msgstr "" -#: library/os.rst:2248 +#: library/os.rst:2249 msgid "Return a list containing the names of drives on a Windows system." msgstr "" -#: library/os.rst:2250 +#: library/os.rst:2251 msgid "" "A drive name typically looks like ``'C:\\\\'``. Not every drive name will be " "associated with a volume, and some may be inaccessible for a variety of " @@ -2387,22 +2387,22 @@ msgid "" "function does not test for access." msgstr "" -#: library/os.rst:2255 +#: library/os.rst:2256 msgid "May raise :exc:`OSError` if an error occurs collecting the drive names." msgstr "" -#: library/os.rst:2258 +#: library/os.rst:2259 msgid "" "Raises an :ref:`auditing event ` ``os.listdrives`` with no " "arguments." msgstr "" -#: library/os.rst:2267 +#: library/os.rst:2268 msgid "" "Return a list containing the mount points for a volume on a Windows system." msgstr "" -#: library/os.rst:2270 +#: library/os.rst:2271 msgid "" "*volume* must be represented as a GUID path, like those returned by :func:" "`os.listvolumes`. Volumes may be mounted in multiple locations or not at " @@ -2410,29 +2410,29 @@ msgid "" "associated with a volume will not be returned by this function." msgstr "" -#: library/os.rst:2276 +#: library/os.rst:2277 msgid "" "The mount points return by this function will be absolute paths, and may be " "longer than the drive name." msgstr "" -#: library/os.rst:2279 +#: library/os.rst:2280 msgid "" "Raises :exc:`OSError` if the volume is not recognized or if an error occurs " "collecting the paths." msgstr "" -#: library/os.rst:2282 +#: library/os.rst:2283 msgid "" "Raises an :ref:`auditing event ` ``os.listmounts`` with argument " "``volume``." msgstr "" -#: library/os.rst:2291 +#: library/os.rst:2292 msgid "Return a list containing the volumes in the system." msgstr "" -#: library/os.rst:2293 +#: library/os.rst:2294 msgid "" "Volumes are typically represented as a GUID path that looks like ``\\\\?" "\\Volume{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}\\``. Files can usually be " @@ -2441,46 +2441,46 @@ msgid "" "function is to retrieve mount points using :func:`os.listmounts`." msgstr "" -#: library/os.rst:2300 +#: library/os.rst:2301 msgid "May raise :exc:`OSError` if an error occurs collecting the volumes." msgstr "" -#: library/os.rst:2302 +#: library/os.rst:2303 msgid "" "Raises an :ref:`auditing event ` ``os.listvolumes`` with no " "arguments." msgstr "" -#: library/os.rst:2311 +#: library/os.rst:2312 msgid "" "Perform the equivalent of an :c:func:`!lstat` system call on the given path. " "Similar to :func:`~os.stat`, but does not follow symbolic links. Return a :" "class:`stat_result` object." msgstr "" -#: library/os.rst:2315 +#: library/os.rst:2316 msgid "" "On platforms that do not support symbolic links, this is an alias for :func:" "`~os.stat`." msgstr "" -#: library/os.rst:2318 +#: library/os.rst:2319 msgid "" "As of Python 3.3, this is equivalent to ``os.stat(path, dir_fd=dir_fd, " "follow_symlinks=False)``." msgstr "" -#: library/os.rst:2363 library/os.rst:2459 library/os.rst:2533 +#: library/os.rst:2364 library/os.rst:2460 library/os.rst:2534 msgid "" "This function can also support :ref:`paths relative to directory descriptors " "`." msgstr "" -#: library/os.rst:2542 library/os.rst:3387 +#: library/os.rst:2543 library/os.rst:3388 msgid "Added support for Windows 6.0 (Vista) symbolic links." msgstr "" -#: library/os.rst:2337 +#: library/os.rst:2338 msgid "" "On Windows, now opens reparse points that represent another path (name " "surrogates), including symbolic links and directory junctions. Other kinds " @@ -2488,18 +2488,18 @@ msgid "" "stat`." msgstr "" -#: library/os.rst:2346 +#: library/os.rst:2347 msgid "Create a directory named *path* with numeric mode *mode*." msgstr "" -#: library/os.rst:2348 +#: library/os.rst:2349 msgid "" "If the directory already exists, :exc:`FileExistsError` is raised. If a " "parent directory in the path does not exist, :exc:`FileNotFoundError` is " "raised." msgstr "" -#: library/os.rst:2353 +#: library/os.rst:2354 msgid "" "On some systems, *mode* is ignored. Where it is used, the current umask " "value is first masked out. If bits other than the last 9 (i.e. the last 3 " @@ -2508,36 +2508,36 @@ msgid "" "call :func:`chmod` explicitly to set them." msgstr "" -#: library/os.rst:2359 +#: library/os.rst:2360 msgid "" "On Windows, a *mode* of ``0o700`` is specifically handled to apply access " "control to the new directory such that only the current user and " "administrators have access. Other values of *mode* are ignored." msgstr "" -#: library/os.rst:2366 +#: library/os.rst:2367 msgid "" "It is also possible to create temporary directories; see the :mod:`tempfile` " "module's :func:`tempfile.mkdtemp` function." msgstr "" -#: library/os.rst:2406 +#: library/os.rst:2407 msgid "" "Raises an :ref:`auditing event ` ``os.mkdir`` with arguments " "``path``, ``mode``, ``dir_fd``." msgstr "" -#: library/os.rst:2377 +#: library/os.rst:2378 msgid "Windows now handles a *mode* of ``0o700``." msgstr "" -#: library/os.rst:2387 +#: library/os.rst:2388 msgid "" "Recursive directory creation function. Like :func:`mkdir`, but makes all " "intermediate-level directories needed to contain the leaf directory." msgstr "" -#: library/os.rst:2390 +#: library/os.rst:2391 msgid "" "The *mode* parameter is passed to :func:`mkdir` for creating the leaf " "directory; see :ref:`the mkdir() description ` for how it is " @@ -2546,27 +2546,27 @@ msgid "" "file permission bits of existing parent directories are not changed." msgstr "" -#: library/os.rst:2396 +#: library/os.rst:2397 msgid "" "If *exist_ok* is ``False`` (the default), a :exc:`FileExistsError` is raised " "if the target directory already exists." msgstr "" -#: library/os.rst:2401 +#: library/os.rst:2402 msgid "" ":func:`makedirs` will become confused if the path elements to create " "include :data:`pardir` (eg. \"..\" on UNIX systems)." msgstr "" -#: library/os.rst:2404 +#: library/os.rst:2405 msgid "This function handles UNC paths correctly." msgstr "" -#: library/os.rst:2408 +#: library/os.rst:2409 msgid "Added the *exist_ok* parameter." msgstr "" -#: library/os.rst:2413 +#: library/os.rst:2414 msgid "" "Before Python 3.4.1, if *exist_ok* was ``True`` and the directory existed, :" "func:`makedirs` would still raise an error if *mode* did not match the mode " @@ -2574,19 +2574,19 @@ msgid "" "safely, it was removed in Python 3.4.1. See :issue:`21082`." msgstr "" -#: library/os.rst:2421 +#: library/os.rst:2422 msgid "" "The *mode* argument no longer affects the file permission bits of newly " "created intermediate-level directories." msgstr "" -#: library/os.rst:2428 +#: library/os.rst:2429 msgid "" "Create a FIFO (a named pipe) named *path* with numeric mode *mode*. The " "current umask value is first masked out from the mode." msgstr "" -#: library/os.rst:2434 +#: library/os.rst:2435 msgid "" "FIFOs are pipes that can be accessed like regular files. FIFOs exist until " "they are deleted (for example with :func:`os.unlink`). Generally, FIFOs are " @@ -2596,7 +2596,7 @@ msgid "" "rendezvous point." msgstr "" -#: library/os.rst:2451 +#: library/os.rst:2452 msgid "" "Create a filesystem node (file, device special file or named pipe) named " "*path*. *mode* specifies both the permissions to use and the type of node to " @@ -2607,23 +2607,23 @@ msgid "" "`os.makedev`), otherwise it is ignored." msgstr "" -#: library/os.rst:2473 +#: library/os.rst:2474 msgid "" "Extract the device major number from a raw device number (usually the :attr:" "`st_dev` or :attr:`st_rdev` field from :c:struct:`stat`)." msgstr "" -#: library/os.rst:2479 +#: library/os.rst:2480 msgid "" "Extract the device minor number from a raw device number (usually the :attr:" "`st_dev` or :attr:`st_rdev` field from :c:struct:`stat`)." msgstr "" -#: library/os.rst:2485 +#: library/os.rst:2486 msgid "Compose a raw device number from the major and minor device numbers." msgstr "" -#: library/os.rst:2490 +#: library/os.rst:2491 msgid "" "Return system configuration information relevant to a named file. *name* " "specifies the configuration value to retrieve; it may be a string which is " @@ -2634,19 +2634,19 @@ msgid "" "included in that mapping, passing an integer for *name* is also accepted." msgstr "" -#: library/os.rst:3246 library/os.rst:3415 +#: library/os.rst:3247 library/os.rst:3416 msgid "" "This function can support :ref:`specifying a file descriptor `." msgstr "" -#: library/os.rst:2514 +#: library/os.rst:2515 msgid "" "Dictionary mapping names accepted by :func:`pathconf` and :func:`fpathconf` " "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:2523 +#: library/os.rst:2524 msgid "" "Return a string representing the path to which the symbolic link points. " "The result may be either an absolute or relative pathname; if it is " @@ -2654,7 +2654,7 @@ msgid "" "join(os.path.dirname(path), result)``." msgstr "" -#: library/os.rst:2528 +#: library/os.rst:2529 msgid "" "If the *path* is a string object (directly or indirectly through a :class:" "`PathLike` interface), the result will also be a string object, and the call " @@ -2662,41 +2662,41 @@ msgid "" "indirectly), the result will be a bytes object." msgstr "" -#: library/os.rst:2536 +#: library/os.rst:2537 msgid "" "When trying to resolve a path that may contain links, use :func:`~os.path." "realpath` to properly handle recursion and platform differences." msgstr "" -#: library/os.rst:2548 +#: library/os.rst:2549 msgid "Accepts a :term:`path-like object` on Unix." msgstr "" -#: library/os.rst:2551 +#: library/os.rst:2552 msgid "Accepts a :term:`path-like object` and a bytes object on Windows." msgstr "" -#: library/os.rst:2554 +#: library/os.rst:2555 msgid "" "Added support for directory junctions, and changed to return the " "substitution path (which typically includes ``\\\\?\\`` prefix) rather than " "the optional \"print name\" field that was previously returned." msgstr "" -#: library/os.rst:2560 +#: library/os.rst:2561 msgid "" "Remove (delete) the file *path*. If *path* is a directory, an :exc:" "`OSError` is raised. Use :func:`rmdir` to remove directories. If the file " "does not exist, a :exc:`FileNotFoundError` is raised." msgstr "" -#: library/os.rst:2677 library/os.rst:3366 +#: library/os.rst:2678 library/os.rst:3367 msgid "" "This function can support :ref:`paths relative to directory descriptors " "`." msgstr "" -#: library/os.rst:2567 +#: library/os.rst:2568 msgid "" "On Windows, attempting to remove a file that is in use causes an exception " "to be raised; on Unix, the directory entry is removed but the storage " @@ -2704,17 +2704,17 @@ msgid "" "longer in use." msgstr "" -#: library/os.rst:2571 +#: library/os.rst:2572 msgid "This function is semantically identical to :func:`unlink`." msgstr "" -#: library/os.rst:2595 library/os.rst:3437 +#: library/os.rst:2596 library/os.rst:3438 msgid "" "Raises an :ref:`auditing event ` ``os.remove`` with arguments " "``path``, ``dir_fd``." msgstr "" -#: library/os.rst:2586 +#: library/os.rst:2587 msgid "" "Remove directories recursively. Works like :func:`rmdir` except that, if " "the leaf directory is successfully removed, :func:`removedirs` tries to " @@ -2726,20 +2726,20 @@ msgid "" "could not be successfully removed." msgstr "" -#: library/os.rst:2603 +#: library/os.rst:2604 msgid "" "Rename the file or directory *src* to *dst*. If *dst* exists, the operation " "will fail with an :exc:`OSError` subclass in a number of cases:" msgstr "" -#: library/os.rst:2606 +#: library/os.rst:2607 msgid "" "On Windows, if *dst* exists a :exc:`FileExistsError` is always raised. The " "operation may fail if *src* and *dst* are on different filesystems. Use :" "func:`shutil.move` to support moves to a different filesystem." msgstr "" -#: library/os.rst:2610 +#: library/os.rst:2611 msgid "" "On Unix, if *src* is a file and *dst* is a directory or vice-versa, an :exc:" "`IsADirectoryError` or a :exc:`NotADirectoryError` will be raised " @@ -2751,29 +2751,29 @@ msgid "" "operation (this is a POSIX requirement)." msgstr "" -#: library/os.rst:2659 +#: library/os.rst:2660 msgid "" "This function can support specifying *src_dir_fd* and/or *dst_dir_fd* to " "supply :ref:`paths relative to directory descriptors `." msgstr "" -#: library/os.rst:2622 +#: library/os.rst:2623 msgid "" "If you want cross-platform overwriting of the destination, use :func:" "`replace`." msgstr "" -#: library/os.rst:2645 library/os.rst:2662 +#: library/os.rst:2646 library/os.rst:2663 msgid "" "Raises an :ref:`auditing event ` ``os.rename`` with arguments " "``src``, ``dst``, ``src_dir_fd``, ``dst_dir_fd``." msgstr "" -#: library/os.rst:2626 +#: library/os.rst:2627 msgid "Added the *src_dir_fd* and *dst_dir_fd* parameters." msgstr "" -#: library/os.rst:2635 +#: library/os.rst:2636 msgid "" "Recursive directory or file renaming function. Works like :func:`rename`, " "except creation of any intermediate directories needed to make the new " @@ -2782,17 +2782,17 @@ msgid "" "using :func:`removedirs`." msgstr "" -#: library/os.rst:2642 +#: library/os.rst:2643 msgid "" "This function can fail with the new directory structure made if you lack " "permissions needed to remove the leaf directory or file." msgstr "" -#: library/os.rst:2647 +#: library/os.rst:2648 msgid "Accepts a :term:`path-like object` for *old* and *new*." msgstr "" -#: library/os.rst:2653 +#: library/os.rst:2654 msgid "" "Rename the file or directory *src* to *dst*. If *dst* is a non-empty " "directory, :exc:`OSError` will be raised. If *dst* exists and is a file, it " @@ -2801,7 +2801,7 @@ msgid "" "renaming will be an atomic operation (this is a POSIX requirement)." msgstr "" -#: library/os.rst:2672 +#: library/os.rst:2673 msgid "" "Remove (delete) the directory *path*. If the directory does not exist or is " "not empty, a :exc:`FileNotFoundError` or an :exc:`OSError` is raised " @@ -2809,13 +2809,13 @@ msgid "" "rmtree` can be used." msgstr "" -#: library/os.rst:2680 +#: library/os.rst:2681 msgid "" "Raises an :ref:`auditing event ` ``os.rmdir`` with arguments " "``path``, ``dir_fd``." msgstr "" -#: library/os.rst:2691 +#: library/os.rst:2692 msgid "" "Return an iterator of :class:`os.DirEntry` objects corresponding to the " "entries in the directory given by *path*. The entries are yielded in " @@ -2825,7 +2825,7 @@ msgid "" "unspecified." msgstr "" -#: library/os.rst:2698 +#: library/os.rst:2699 msgid "" "Using :func:`scandir` instead of :func:`listdir` can significantly increase " "the performance of code that also needs file type or file attribute " @@ -2837,7 +2837,7 @@ msgid "" "Unix but only requires one for symbolic links on Windows." msgstr "" -#: library/os.rst:2708 +#: library/os.rst:2709 msgid "" "*path* may be a :term:`path-like object`. If *path* is of type ``bytes`` " "(directly or indirectly through the :class:`PathLike` interface), the type " @@ -2846,30 +2846,30 @@ msgid "" "they will be of type ``str``." msgstr "" -#: library/os.rst:2717 +#: library/os.rst:2718 msgid "" "Raises an :ref:`auditing event ` ``os.scandir`` with argument " "``path``." msgstr "" -#: library/os.rst:2719 +#: library/os.rst:2720 msgid "" "The :func:`scandir` iterator supports the :term:`context manager` protocol " "and has the following method:" msgstr "" -#: library/os.rst:2724 +#: library/os.rst:2725 msgid "Close the iterator and free acquired resources." msgstr "" -#: library/os.rst:2726 +#: library/os.rst:2727 msgid "" "This is called automatically when the iterator is exhausted or garbage " "collected, or when an error happens during iterating. However it is " "advisable to call it explicitly or use the :keyword:`with` statement." msgstr "" -#: library/os.rst:2733 +#: library/os.rst:2734 msgid "" "The following example shows a simple use of :func:`scandir` to display all " "the files (excluding directories) in the given *path* that don't start with " @@ -2877,7 +2877,7 @@ msgid "" "system call::" msgstr "" -#: library/os.rst:2738 +#: library/os.rst:2739 msgid "" "with os.scandir(path) as it:\n" " for entry in it:\n" @@ -2885,7 +2885,7 @@ msgid "" " print(entry.name)" msgstr "" -#: library/os.rst:2745 +#: library/os.rst:2746 msgid "" "On Unix-based systems, :func:`scandir` uses the system's `opendir() `_ and " @@ -2896,7 +2896,7 @@ msgid "" "desktop/aa364428(v=vs.85).aspx>`_ functions." msgstr "" -#: library/os.rst:2757 +#: library/os.rst:2758 msgid "" "Added support for the :term:`context manager` protocol and the :func:" "`~scandir.close` method. If a :func:`scandir` iterator is neither exhausted " @@ -2904,28 +2904,28 @@ msgid "" "destructor." msgstr "" -#: library/os.rst:2763 +#: library/os.rst:2764 msgid "The function accepts a :term:`path-like object`." msgstr "" -#: library/os.rst:2765 +#: library/os.rst:2766 msgid "Added support for :ref:`file descriptors ` on Unix." msgstr "" -#: library/os.rst:2771 +#: library/os.rst:2772 msgid "" "Object yielded by :func:`scandir` to expose the file path and other file " "attributes of a directory entry." msgstr "" -#: library/os.rst:2774 +#: library/os.rst:2775 msgid "" ":func:`scandir` will provide as much of this information as possible without " "making additional system calls. When a ``stat()`` or ``lstat()`` system call " "is made, the ``os.DirEntry`` object will cache the result." msgstr "" -#: library/os.rst:2778 +#: library/os.rst:2779 msgid "" "``os.DirEntry`` instances are not intended to be stored in long-lived data " "structures; if you know the file metadata has changed or if a long time has " @@ -2933,7 +2933,7 @@ msgid "" "up-to-date information." msgstr "" -#: library/os.rst:2783 +#: library/os.rst:2784 msgid "" "Because the ``os.DirEntry`` methods can make operating system calls, they " "may also raise :exc:`OSError`. If you need very fine-grained control over " @@ -2941,29 +2941,29 @@ msgid "" "methods and handle as appropriate." msgstr "" -#: library/os.rst:2788 +#: library/os.rst:2789 msgid "" "To be directly usable as a :term:`path-like object`, ``os.DirEntry`` " "implements the :class:`PathLike` interface." msgstr "" -#: library/os.rst:2791 +#: library/os.rst:2792 msgid "Attributes and methods on a ``os.DirEntry`` instance are as follows:" msgstr "" -#: library/os.rst:2795 +#: library/os.rst:2796 msgid "" "The entry's base filename, relative to the :func:`scandir` *path* argument." msgstr "" -#: library/os.rst:2798 +#: library/os.rst:2799 msgid "" "The :attr:`name` attribute will be ``bytes`` if the :func:`scandir` *path* " "argument is of type ``bytes`` and ``str`` otherwise. Use :func:`~os." "fsdecode` to decode byte filenames." msgstr "" -#: library/os.rst:2804 +#: library/os.rst:2805 msgid "" "The entry's full path name: equivalent to ``os.path.join(scandir_path, entry." "name)`` where *scandir_path* is the :func:`scandir` *path* argument. The " @@ -2973,51 +2973,51 @@ msgid "" "attribute." msgstr "" -#: library/os.rst:2811 +#: library/os.rst:2812 msgid "" "The :attr:`path` attribute will be ``bytes`` if the :func:`scandir` *path* " "argument is of type ``bytes`` and ``str`` otherwise. Use :func:`~os." "fsdecode` to decode byte filenames." msgstr "" -#: library/os.rst:2817 +#: library/os.rst:2818 msgid "Return the inode number of the entry." msgstr "" -#: library/os.rst:2819 +#: library/os.rst:2820 msgid "" "The result is cached on the ``os.DirEntry`` object. Use ``os.stat(entry." "path, follow_symlinks=False).st_ino`` to fetch up-to-date information." msgstr "" -#: library/os.rst:2823 +#: library/os.rst:2824 msgid "" "On the first, uncached call, a system call is required on Windows but not on " "Unix." msgstr "" -#: library/os.rst:2828 +#: library/os.rst:2829 msgid "" "Return ``True`` if this entry is a directory or a symbolic link pointing to " "a directory; return ``False`` if the entry is or points to any other kind of " "file, or if it doesn't exist anymore." msgstr "" -#: library/os.rst:2832 +#: library/os.rst:2833 msgid "" "If *follow_symlinks* is ``False``, return ``True`` only if this entry is a " "directory (without following symlinks); return ``False`` if the entry is any " "other kind of file or if it doesn't exist anymore." msgstr "" -#: library/os.rst:2836 +#: library/os.rst:2837 msgid "" "The result is cached on the ``os.DirEntry`` object, with a separate cache " "for *follow_symlinks* ``True`` and ``False``. Call :func:`os.stat` along " "with :func:`stat.S_ISDIR` to fetch up-to-date information." msgstr "" -#: library/os.rst:2840 +#: library/os.rst:2841 msgid "" "On the first, uncached call, no system call is required in most cases. " "Specifically, for non-symlinks, neither Windows or Unix require a system " @@ -3027,46 +3027,46 @@ msgid "" "is ``False``." msgstr "" -#: library/os.rst:2877 +#: library/os.rst:2878 msgid "" "This method can raise :exc:`OSError`, such as :exc:`PermissionError`, but :" "exc:`FileNotFoundError` is caught and not raised." msgstr "" -#: library/os.rst:2852 +#: library/os.rst:2853 msgid "" "Return ``True`` if this entry is a file or a symbolic link pointing to a " "file; return ``False`` if the entry is or points to a directory or other non-" "file entry, or if it doesn't exist anymore." msgstr "" -#: library/os.rst:2856 +#: library/os.rst:2857 msgid "" "If *follow_symlinks* is ``False``, return ``True`` only if this entry is a " "file (without following symlinks); return ``False`` if the entry is a " "directory or other non-file entry, or if it doesn't exist anymore." msgstr "" -#: library/os.rst:2860 +#: library/os.rst:2861 msgid "" "The result is cached on the ``os.DirEntry`` object. Caching, system calls " "made, and exceptions raised are as per :func:`~os.DirEntry.is_dir`." msgstr "" -#: library/os.rst:2865 +#: library/os.rst:2866 msgid "" "Return ``True`` if this entry is a symbolic link (even if broken); return " "``False`` if the entry points to a directory or any kind of file, or if it " "doesn't exist anymore." msgstr "" -#: library/os.rst:2869 +#: library/os.rst:2870 msgid "" "The result is cached on the ``os.DirEntry`` object. Call :func:`os.path." "islink` to fetch up-to-date information." msgstr "" -#: library/os.rst:2872 +#: library/os.rst:2873 msgid "" "On the first, uncached call, no system call is required in most cases. " "Specifically, neither Windows or Unix require a system call, except on " @@ -3074,48 +3074,48 @@ msgid "" "``dirent.d_type == DT_UNKNOWN``." msgstr "" -#: library/os.rst:2882 +#: library/os.rst:2883 msgid "" "Return ``True`` if this entry is a junction (even if broken); return " "``False`` if the entry points to a regular directory, any kind of file, a " "symlink, or if it doesn't exist anymore." msgstr "" -#: library/os.rst:2886 +#: library/os.rst:2887 msgid "" "The result is cached on the ``os.DirEntry`` object. Call :func:`os.path." "isjunction` to fetch up-to-date information." msgstr "" -#: library/os.rst:2893 +#: library/os.rst:2894 msgid "" "Return a :class:`stat_result` object for this entry. This method follows " "symbolic links by default; to stat a symbolic link add the " "``follow_symlinks=False`` argument." msgstr "" -#: library/os.rst:2897 +#: library/os.rst:2898 msgid "" "On Unix, this method always requires a system call. On Windows, it only " "requires a system call if *follow_symlinks* is ``True`` and the entry is a " "reparse point (for example, a symbolic link or directory junction)." msgstr "" -#: library/os.rst:2902 +#: library/os.rst:2903 msgid "" "On Windows, the ``st_ino``, ``st_dev`` and ``st_nlink`` attributes of the :" "class:`stat_result` are always set to zero. Call :func:`os.stat` to get " "these attributes." msgstr "" -#: library/os.rst:2906 +#: library/os.rst:2907 msgid "" "The result is cached on the ``os.DirEntry`` object, with a separate cache " "for *follow_symlinks* ``True`` and ``False``. Call :func:`os.stat` to fetch " "up-to-date information." msgstr "" -#: library/os.rst:2910 +#: library/os.rst:2911 msgid "" "Note that there is a nice correspondence between several attributes and " "methods of ``os.DirEntry`` and of :class:`pathlib.Path`. In particular, the " @@ -3123,13 +3123,13 @@ msgid "" "``is_file()``, ``is_symlink()``, ``is_junction()``, and ``stat()`` methods." msgstr "" -#: library/os.rst:2918 +#: library/os.rst:2919 msgid "" "Added support for the :class:`~os.PathLike` interface. Added support for :" "class:`bytes` paths on Windows." msgstr "" -#: library/os.rst:2922 +#: library/os.rst:2923 msgid "" "The ``st_ctime`` attribute of a stat result is deprecated on Windows. The " "file creation time is properly available as ``st_birthtime``, and in the " @@ -3137,7 +3137,7 @@ msgid "" "time, if available." msgstr "" -#: library/os.rst:2931 +#: library/os.rst:2932 msgid "" "Get the status of a file or a file descriptor. Perform the equivalent of a :" "c:func:`stat` system call on the given path. *path* may be specified as " @@ -3146,19 +3146,19 @@ msgid "" "`stat_result` object." msgstr "" -#: library/os.rst:2937 +#: library/os.rst:2938 msgid "" "This function normally follows symlinks; to stat a symlink add the argument " "``follow_symlinks=False``, or use :func:`lstat`." msgstr "" -#: library/os.rst:3806 library/os.rst:3838 library/os.rst:3858 +#: library/os.rst:3807 library/os.rst:3839 library/os.rst:3859 msgid "" "This function can support :ref:`specifying a file descriptor ` and :" "ref:`not following symlinks `." msgstr "" -#: library/os.rst:2943 +#: library/os.rst:2944 msgid "" "On Windows, passing ``follow_symlinks=False`` will disable following all " "name-surrogate reparse points, which includes symlinks and directory " @@ -3172,11 +3172,11 @@ msgid "" "junction points, which will raise the usual exceptions." msgstr "" -#: library/os.rst:3726 +#: library/os.rst:3727 msgid "Example::" msgstr "" -#: library/os.rst:2958 +#: library/os.rst:2959 msgid "" ">>> import os\n" ">>> statinfo = os.stat('somefile.txt')\n" @@ -3188,17 +3188,17 @@ msgid "" "264" msgstr "" -#: library/os.rst:2969 +#: library/os.rst:2970 msgid ":func:`fstat` and :func:`lstat` functions." msgstr "" -#: library/os.rst:2971 +#: library/os.rst:2972 msgid "" "Added the *dir_fd* and *follow_symlinks* parameters, specifying a file " "descriptor instead of a path." msgstr "" -#: library/os.rst:2978 +#: library/os.rst:2979 msgid "" "On Windows, all reparse points that can be resolved by the operating system " "are now followed, and passing ``follow_symlinks=False`` disables following " @@ -3208,122 +3208,122 @@ msgid "" "of raising an error." msgstr "" -#: library/os.rst:2989 +#: library/os.rst:2990 msgid "" "Object whose attributes correspond roughly to the members of the :c:struct:" "`stat` structure. It is used for the result of :func:`os.stat`, :func:`os." "fstat` and :func:`os.lstat`." msgstr "" -#: library/os.rst:2993 +#: library/os.rst:2994 msgid "Attributes:" msgstr "" -#: library/os.rst:2997 +#: library/os.rst:2998 msgid "File mode: file type and file mode bits (permissions)." msgstr "" -#: library/os.rst:3001 +#: library/os.rst:3002 msgid "" "Platform dependent, but if non-zero, uniquely identifies the file for a " "given value of ``st_dev``. Typically:" msgstr "" -#: library/os.rst:3004 +#: library/os.rst:3005 msgid "the inode number on Unix," msgstr "" -#: library/os.rst:3005 +#: library/os.rst:3006 msgid "" "the `file index `_ on " "Windows" msgstr "" -#: library/os.rst:3011 +#: library/os.rst:3012 msgid "Identifier of the device on which this file resides." msgstr "" -#: library/os.rst:3015 +#: library/os.rst:3016 msgid "Number of hard links." msgstr "" -#: library/os.rst:3019 +#: library/os.rst:3020 msgid "User identifier of the file owner." msgstr "" -#: library/os.rst:3023 +#: library/os.rst:3024 msgid "Group identifier of the file owner." msgstr "" -#: library/os.rst:3027 +#: library/os.rst:3028 msgid "" "Size of the file in bytes, if it is a regular file or a symbolic link. The " "size of a symbolic link is the length of the pathname it contains, without a " "terminating null byte." msgstr "" -#: library/os.rst:3031 +#: library/os.rst:3032 msgid "Timestamps:" msgstr "" -#: library/os.rst:3035 +#: library/os.rst:3036 msgid "Time of most recent access expressed in seconds." msgstr "" -#: library/os.rst:3039 +#: library/os.rst:3040 msgid "Time of most recent content modification expressed in seconds." msgstr "" -#: library/os.rst:3043 +#: library/os.rst:3044 msgid "Time of most recent metadata change expressed in seconds." msgstr "" -#: library/os.rst:3045 +#: library/os.rst:3046 msgid "" "``st_ctime`` is deprecated on Windows. Use ``st_birthtime`` for the file " "creation time. In the future, ``st_ctime`` will contain the time of the most " "recent metadata change, as for other platforms." msgstr "" -#: library/os.rst:3052 +#: library/os.rst:3053 msgid "Time of most recent access expressed in nanoseconds as an integer." msgstr "" -#: library/os.rst:3058 +#: library/os.rst:3059 msgid "" "Time of most recent content modification expressed in nanoseconds as an " "integer." msgstr "" -#: library/os.rst:3065 +#: library/os.rst:3066 msgid "" "Time of most recent metadata change expressed in nanoseconds as an integer." msgstr "" -#: library/os.rst:3070 +#: library/os.rst:3071 msgid "" "``st_ctime_ns`` is deprecated on Windows. Use ``st_birthtime_ns`` for the " "file creation time. In the future, ``st_ctime`` will contain the time of the " "most recent metadata change, as for other platforms." msgstr "" -#: library/os.rst:3077 +#: library/os.rst:3078 msgid "" "Time of file creation expressed in seconds. This attribute is not always " "available, and may raise :exc:`AttributeError`." msgstr "" -#: library/os.rst:3080 +#: library/os.rst:3081 msgid "``st_birthtime`` is now available on Windows." msgstr "" -#: library/os.rst:3085 +#: library/os.rst:3086 msgid "" "Time of file creation expressed in nanoseconds as an integer. This attribute " "is not always available, and may raise :exc:`AttributeError`." msgstr "" -#: library/os.rst:3093 +#: library/os.rst:3094 msgid "" "The exact meaning and resolution of the :attr:`st_atime`, :attr:`st_mtime`, :" "attr:`st_ctime` and :attr:`st_birthtime` attributes depend on the operating " @@ -3333,7 +3333,7 @@ msgid "" "details." msgstr "" -#: library/os.rst:3100 +#: library/os.rst:3101 msgid "" "Similarly, although :attr:`st_atime_ns`, :attr:`st_mtime_ns`, :attr:" "`st_ctime_ns` and :attr:`st_birthtime_ns` are always expressed in " @@ -3346,74 +3346,74 @@ msgid "" "`st_birthtime_ns`." msgstr "" -#: library/os.rst:3110 +#: library/os.rst:3111 msgid "" "On some Unix systems (such as Linux), the following attributes may also be " "available:" msgstr "" -#: library/os.rst:3115 +#: library/os.rst:3116 msgid "" "Number of 512-byte blocks allocated for file. This may be smaller than :attr:" "`st_size`/512 when the file has holes." msgstr "" -#: library/os.rst:3120 +#: library/os.rst:3121 msgid "" "\"Preferred\" blocksize for efficient file system I/O. Writing to a file in " "smaller chunks may cause an inefficient read-modify-rewrite." msgstr "" -#: library/os.rst:3125 +#: library/os.rst:3126 msgid "Type of device if an inode device." msgstr "" -#: library/os.rst:3129 +#: library/os.rst:3130 msgid "User defined flags for file." msgstr "" -#: library/os.rst:3131 +#: library/os.rst:3132 msgid "" "On other Unix systems (such as FreeBSD), the following attributes may be " "available (but may be only filled out if root tries to use them):" msgstr "" -#: library/os.rst:3136 +#: library/os.rst:3137 msgid "File generation number." msgstr "" -#: library/os.rst:3138 +#: library/os.rst:3139 msgid "" "On Solaris and derivatives, the following attributes may also be available:" msgstr "" -#: library/os.rst:3143 +#: library/os.rst:3144 msgid "" "String that uniquely identifies the type of the filesystem that contains the " "file." msgstr "" -#: library/os.rst:3146 +#: library/os.rst:3147 msgid "On macOS systems, the following attributes may also be available:" msgstr "" -#: library/os.rst:3150 +#: library/os.rst:3151 msgid "Real size of the file." msgstr "" -#: library/os.rst:3154 +#: library/os.rst:3155 msgid "Creator of the file." msgstr "" -#: library/os.rst:3158 +#: library/os.rst:3159 msgid "File type." msgstr "" -#: library/os.rst:3160 +#: library/os.rst:3161 msgid "On Windows systems, the following attributes are also available:" msgstr "" -#: library/os.rst:3164 +#: library/os.rst:3165 msgid "" "Windows file attributes: ``dwFileAttributes`` member of the " "``BY_HANDLE_FILE_INFORMATION`` structure returned by :c:func:`!" @@ -3421,7 +3421,7 @@ msgid "" "FILE_ATTRIBUTE_ARCHIVE>` constants in the :mod:`stat` module." msgstr "" -#: library/os.rst:3174 +#: library/os.rst:3175 msgid "" "When :attr:`st_file_attributes` has the :const:`~stat." "FILE_ATTRIBUTE_REPARSE_POINT` set, this field contains the tag identifying " @@ -3429,14 +3429,14 @@ msgid "" "IO_REPARSE_TAG_SYMLINK>` constants in the :mod:`stat` module." msgstr "" -#: library/os.rst:3179 +#: library/os.rst:3180 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:3183 +#: library/os.rst:3184 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 " @@ -3448,49 +3448,49 @@ msgid "" "class:`stat_result` as a tuple always returns integers." msgstr "" -#: library/os.rst:3192 +#: library/os.rst:3193 msgid "Windows now returns the file index as :attr:`st_ino` when available." msgstr "" -#: library/os.rst:3196 +#: library/os.rst:3197 msgid "Added the :attr:`st_fstype` member to Solaris/derivatives." msgstr "" -#: library/os.rst:3199 +#: library/os.rst:3200 msgid "Added the :attr:`st_reparse_tag` member on Windows." msgstr "" -#: library/os.rst:3202 +#: library/os.rst:3203 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:3207 +#: library/os.rst:3208 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:3213 +#: library/os.rst:3214 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:3217 +#: library/os.rst:3218 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:3220 +#: library/os.rst:3221 msgid "Added the :attr:`st_birthtime` member on Windows." msgstr "" -#: library/os.rst:3225 +#: library/os.rst:3226 msgid "" "Perform a :c:func:`!statvfs` system call on the given path. The return " "value is an object whose attributes describe the filesystem on the given " @@ -3500,7 +3500,7 @@ msgid "" "`f_favail`, :attr:`f_flag`, :attr:`f_namemax`, :attr:`f_fsid`." msgstr "" -#: library/os.rst:3232 +#: library/os.rst:3233 msgid "" "Two module-level constants are defined for the :attr:`f_flag` attribute's " "bit-flags: if :const:`ST_RDONLY` is set, the filesystem is mounted read-" @@ -3508,7 +3508,7 @@ msgid "" "are disabled or not supported." msgstr "" -#: library/os.rst:3237 +#: library/os.rst:3238 msgid "" "Additional module-level constants are defined for GNU/glibc based systems. " "These are :const:`ST_NODEV` (disallow access to device special files), :" @@ -3521,11 +3521,11 @@ msgid "" "relative to mtime/ctime)." msgstr "" -#: library/os.rst:3250 +#: library/os.rst:3251 msgid "The :const:`ST_RDONLY` and :const:`ST_NOSUID` constants were added." msgstr "" -#: library/os.rst:3256 +#: library/os.rst:3257 msgid "" "The :const:`ST_NODEV`, :const:`ST_NOEXEC`, :const:`ST_SYNCHRONOUS`, :const:" "`ST_MANDLOCK`, :const:`ST_WRITE`, :const:`ST_APPEND`, :const:" @@ -3533,11 +3533,11 @@ msgid "" "`ST_RELATIME` constants were added." msgstr "" -#: library/os.rst:3265 +#: library/os.rst:3266 msgid "Added the :attr:`f_fsid` attribute." msgstr "" -#: library/os.rst:3271 +#: library/os.rst:3272 msgid "" "A :class:`set` object indicating which functions in the :mod:`os` module " "accept an open file descriptor for their *dir_fd* parameter. Different " @@ -3549,7 +3549,7 @@ msgid "" "(Specifying ``None`` for *dir_fd* is always supported on all platforms.)" msgstr "" -#: library/os.rst:3281 +#: library/os.rst:3282 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 " @@ -3557,17 +3557,17 @@ msgid "" "open file descriptors for *dir_fd* on the local platform::" msgstr "" -#: library/os.rst:3286 +#: library/os.rst:3287 msgid "os.stat in os.supports_dir_fd" msgstr "" -#: library/os.rst:3288 +#: library/os.rst:3289 msgid "" "Currently *dir_fd* parameters only work on Unix platforms; none of them work " "on Windows." msgstr "" -#: library/os.rst:3296 +#: library/os.rst:3297 msgid "" "A :class:`set` object indicating whether :func:`os.access` permits " "specifying ``True`` for its *effective_ids* parameter on the local platform. " @@ -3576,23 +3576,23 @@ msgid "" "func:`os.access`; otherwise it will be empty." msgstr "" -#: library/os.rst:3302 +#: library/os.rst:3303 msgid "" "This expression evaluates to ``True`` if :func:`os.access` supports " "``effective_ids=True`` on the local platform::" msgstr "" -#: library/os.rst:3305 +#: library/os.rst:3306 msgid "os.access in os.supports_effective_ids" msgstr "" -#: library/os.rst:3307 +#: library/os.rst:3308 msgid "" "Currently *effective_ids* is only supported on Unix platforms; it does not " "work on Windows." msgstr "" -#: library/os.rst:3315 +#: library/os.rst:3316 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 " @@ -3601,7 +3601,7 @@ msgid "" "*path* arguments is not available on all platforms Python supports." msgstr "" -#: library/os.rst:3322 +#: library/os.rst:3323 msgid "" "To determine whether a particular function permits specifying an open file " "descriptor for its *path* parameter, use the ``in`` operator on " @@ -3610,11 +3610,11 @@ msgid "" "platform::" msgstr "" -#: library/os.rst:3328 +#: library/os.rst:3329 msgid "os.chdir in os.supports_fd" msgstr "" -#: library/os.rst:3335 +#: library/os.rst:3336 msgid "" "A :class:`set` object indicating which functions in the :mod:`os` module " "accept ``False`` for their *follow_symlinks* parameter on the local " @@ -3627,7 +3627,7 @@ msgid "" "on all platforms.)" msgstr "" -#: library/os.rst:3345 +#: library/os.rst:3346 msgid "" "To check whether a particular function accepts ``False`` for its " "*follow_symlinks* parameter, use the ``in`` operator on " @@ -3636,15 +3636,15 @@ msgid "" "stat` on the local platform::" msgstr "" -#: library/os.rst:3351 +#: library/os.rst:3352 msgid "os.stat in os.supports_follow_symlinks" msgstr "" -#: library/os.rst:3358 +#: library/os.rst:3359 msgid "Create a symbolic link pointing to *src* named *dst*." msgstr "" -#: library/os.rst:3360 +#: library/os.rst:3361 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 " @@ -3654,7 +3654,7 @@ msgid "" "ignored." msgstr "" -#: library/os.rst:3371 +#: library/os.rst:3372 msgid "" "On newer versions of Windows 10, unprivileged accounts can create symlinks " "if Developer Mode is enabled. When Developer Mode is not available/enabled, " @@ -3662,83 +3662,83 @@ msgid "" "must be run as an administrator." msgstr "" -#: library/os.rst:3377 +#: library/os.rst:3378 msgid "" ":exc:`OSError` is raised when the function is called by an unprivileged user." msgstr "" -#: library/os.rst:3380 +#: library/os.rst:3381 msgid "" "Raises an :ref:`auditing event ` ``os.symlink`` with arguments " "``src``, ``dst``, ``dir_fd``." msgstr "" -#: library/os.rst:3390 +#: library/os.rst:3391 msgid "" "Added the *dir_fd* parameter, and now allow *target_is_directory* on non-" "Windows platforms." msgstr "" -#: library/os.rst:3397 +#: library/os.rst:3398 msgid "Added support for unelevated symlinks on Windows with Developer Mode." msgstr "" -#: library/os.rst:3403 +#: library/os.rst:3404 msgid "Force write of everything to disk." msgstr "" -#: library/os.rst:3412 +#: library/os.rst:3413 msgid "" "Truncate the file corresponding to *path*, so that it is at most *length* " "bytes in size." msgstr "" -#: library/os.rst:3417 +#: library/os.rst:3418 msgid "" "Raises an :ref:`auditing event ` ``os.truncate`` with arguments " "``path``, ``length``." msgstr "" -#: library/os.rst:3432 +#: library/os.rst:3433 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:3448 +#: library/os.rst:3449 msgid "Set the access and modified times of the file specified by *path*." msgstr "" -#: library/os.rst:3450 +#: library/os.rst:3451 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:3453 +#: library/os.rst:3454 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:3456 +#: library/os.rst:3457 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:3459 +#: library/os.rst:3460 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:3463 +#: library/os.rst:3464 msgid "It is an error to specify tuples for both *times* and *ns*." msgstr "" -#: library/os.rst:3465 +#: library/os.rst:3466 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 your operating " @@ -3748,19 +3748,19 @@ msgid "" "func:`utime`." msgstr "" -#: library/os.rst:3476 +#: library/os.rst:3477 msgid "" "Raises an :ref:`auditing event ` ``os.utime`` with arguments " "``path``, ``times``, ``ns``, ``dir_fd``." msgstr "" -#: library/os.rst:3478 +#: library/os.rst:3479 msgid "" "Added support for specifying *path* as an open file descriptor, and the " "*dir_fd*, *follow_symlinks*, and *ns* parameters." msgstr "" -#: library/os.rst:3492 +#: library/os.rst:3493 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* " @@ -3768,7 +3768,7 @@ msgid "" "filenames)``." msgstr "" -#: library/os.rst:3497 +#: library/os.rst:3498 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 " @@ -3782,7 +3782,7 @@ msgid "" "unspecified." msgstr "" -#: library/os.rst:3508 +#: library/os.rst:3509 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 " @@ -3793,7 +3793,7 @@ msgid "" "its subdirectories are generated." msgstr "" -#: library/os.rst:3516 +#: library/os.rst:3517 msgid "" "When *topdown* is ``True``, the caller can modify the *dirnames* list in-" "place (perhaps using :keyword:`del` or slice assignment), and :func:`walk` " @@ -3806,7 +3806,7 @@ msgid "" "itself is generated." msgstr "" -#: library/os.rst:3525 +#: library/os.rst:3526 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 " @@ -3816,54 +3816,54 @@ msgid "" "object." msgstr "" -#: library/os.rst:3531 +#: library/os.rst:3532 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:3537 +#: library/os.rst:3538 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:3543 +#: library/os.rst:3544 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:3609 +#: library/os.rst:3610 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 CVS subdirectory::" +"under any ``__pycache__`` subdirectory::" msgstr "" -#: library/os.rst:3551 +#: library/os.rst:3552 msgid "" "import os\n" "from os.path import join, getsize\n" -"for root, dirs, files in os.walk('python/Lib/email'):\n" +"for root, dirs, files in os.walk('python/Lib/xml'):\n" " print(root, \"consumes\", end=\" \")\n" " print(sum(getsize(join(root, name)) for name in files), end=\" \")\n" " print(\"bytes in\", len(files), \"non-directory files\")\n" -" if 'CVS' in dirs:\n" -" dirs.remove('CVS') # don't visit CVS directories" +" if '__pycache__' in dirs:\n" +" dirs.remove('__pycache__') # don't visit __pycache__ directories" msgstr "" -#: library/os.rst:3560 +#: library/os.rst:3561 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:3564 +#: library/os.rst:3565 msgid "" "# Delete everything reachable from the directory named in \"top\",\n" "# assuming there are no symbolic links.\n" @@ -3878,31 +3878,31 @@ msgid "" "os.rmdir(top)" msgstr "" -#: library/os.rst:3576 +#: library/os.rst:3577 msgid "" "Raises an :ref:`auditing event ` ``os.walk`` with arguments " "``top``, ``topdown``, ``onerror``, ``followlinks``." msgstr "" -#: library/os.rst:3578 +#: library/os.rst:3579 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:3592 +#: library/os.rst:3593 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:3595 +#: library/os.rst:3596 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:3598 +#: library/os.rst:3599 msgid "" "This function always supports :ref:`paths relative to directory descriptors " "` and :ref:`not following symlinks `. Note however " @@ -3910,32 +3910,32 @@ msgid "" "*follow_symlinks* is ``False``." msgstr "" -#: library/os.rst:3605 +#: library/os.rst:3606 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:3613 +#: library/os.rst:3614 msgid "" "import os\n" -"for root, dirs, files, rootfd in os.fwalk('python/Lib/email'):\n" +"for root, dirs, files, rootfd in os.fwalk('python/Lib/xml'):\n" " print(root, \"consumes\", end=\"\")\n" " print(sum([os.stat(name, dir_fd=rootfd).st_size for name in files]),\n" " end=\"\")\n" " print(\"bytes in\", len(files), \"non-directory files\")\n" -" if 'CVS' in dirs:\n" -" dirs.remove('CVS') # don't visit CVS directories" +" if '__pycache__' in dirs:\n" +" dirs.remove('__pycache__') # don't visit __pycache__ directories" msgstr "" -#: library/os.rst:3622 +#: library/os.rst:3623 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:3626 +#: library/os.rst:3627 msgid "" "# Delete everything reachable from the directory named in \"top\",\n" "# assuming there are no symbolic links.\n" @@ -3949,17 +3949,17 @@ msgid "" " os.rmdir(name, dir_fd=rootfd)" msgstr "" -#: library/os.rst:3637 +#: library/os.rst:3638 msgid "" "Raises an :ref:`auditing event ` ``os.fwalk`` with arguments " "``top``, ``topdown``, ``onerror``, ``follow_symlinks``, ``dir_fd``." msgstr "" -#: library/os.rst:3646 +#: library/os.rst:3647 msgid "Added support for :class:`bytes` paths." msgstr "" -#: library/os.rst:3652 +#: library/os.rst:3653 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 " @@ -3967,7 +3967,7 @@ msgid "" "descriptor is :ref:`non-inheritable `." msgstr "" -#: library/os.rst:3657 +#: library/os.rst:3658 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/" @@ -3977,15 +3977,15 @@ msgid "" "side effects." msgstr "" -#: library/os.rst:3687 +#: library/os.rst:3688 msgid "These flags can be passed to :func:`memfd_create`." msgstr "" -#: library/os.rst:3691 +#: library/os.rst:3692 msgid "The ``MFD_HUGE*`` flags are only available since Linux 4.14." msgstr "" -#: library/os.rst:3698 +#: library/os.rst:3699 msgid "" "Create and return an event file descriptor. The file descriptors supports " "raw :func:`read` and :func:`write` with a buffer size of 8, :func:`~select." @@ -3994,7 +3994,7 @@ msgid "" "ref:`non-inheritable `." msgstr "" -#: library/os.rst:3704 +#: library/os.rst:3705 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 " @@ -4002,39 +4002,39 @@ msgid "" "integer with a maximum value of 2\\ :sup:`64`\\ -\\ 2." msgstr "" -#: library/os.rst:3709 +#: library/os.rst:3710 msgid "" "*flags* can be constructed from :const:`EFD_CLOEXEC`, :const:`EFD_NONBLOCK`, " "and :const:`EFD_SEMAPHORE`." msgstr "" -#: library/os.rst:3712 +#: library/os.rst:3713 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:3715 +#: library/os.rst:3716 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:3719 +#: library/os.rst:3720 msgid "" "If the event counter is zero and :const:`EFD_NONBLOCK` is not specified, :" "func:`eventfd_read` blocks." msgstr "" -#: library/os.rst:3722 +#: library/os.rst:3723 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:3728 +#: library/os.rst:3729 msgid "" "import os\n" "\n" @@ -4052,42 +4052,42 @@ msgid "" " os.close(fd)" msgstr "" -#: library/os.rst:3749 +#: library/os.rst:3750 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:3758 +#: library/os.rst:3759 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:3767 +#: library/os.rst:3768 msgid "Set close-on-exec flag for new :func:`eventfd` file descriptor." msgstr "" -#: library/os.rst:3775 +#: library/os.rst:3776 msgid "" "Set :const:`O_NONBLOCK` status flag for new :func:`eventfd` file descriptor." msgstr "" -#: library/os.rst:3784 +#: library/os.rst:3785 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:3793 +#: library/os.rst:3794 msgid "Linux extended attributes" msgstr "" -#: library/os.rst:3797 +#: library/os.rst:3798 msgid "These functions are all available on Linux only." msgstr "" -#: library/os.rst:3801 +#: library/os.rst:3802 msgid "" "Return the value of the extended filesystem attribute *attribute* for " "*path*. *attribute* can be bytes or str (directly or indirectly through the :" @@ -4095,17 +4095,17 @@ msgid "" "encoding." msgstr "" -#: library/os.rst:3809 +#: library/os.rst:3810 msgid "" "Raises an :ref:`auditing event ` ``os.getxattr`` with arguments " "``path``, ``attribute``." msgstr "" -#: library/os.rst:3843 library/os.rst:3868 +#: library/os.rst:3844 library/os.rst:3869 msgid "Accepts a :term:`path-like object` for *path* and *attribute*." msgstr "" -#: library/os.rst:3817 +#: library/os.rst:3818 msgid "" "Return a list of the extended filesystem attributes on *path*. The " "attributes in the list are represented as strings decoded with the " @@ -4113,13 +4113,13 @@ msgid "" "the current directory." msgstr "" -#: library/os.rst:3825 +#: library/os.rst:3826 msgid "" "Raises an :ref:`auditing event ` ``os.listxattr`` with argument " "``path``." msgstr "" -#: library/os.rst:3833 +#: library/os.rst:3834 msgid "" "Removes the extended filesystem attribute *attribute* from *path*. " "*attribute* should be bytes or str (directly or indirectly through the :" @@ -4127,13 +4127,13 @@ msgid "" "`filesystem encoding and error handler`." msgstr "" -#: library/os.rst:3841 +#: library/os.rst:3842 msgid "" "Raises an :ref:`auditing event ` ``os.removexattr`` with arguments " "``path``, ``attribute``." msgstr "" -#: library/os.rst:3849 +#: library/os.rst:3850 msgid "" "Set the extended filesystem attribute *attribute* on *path* to *value*. " "*attribute* must be a bytes or str with no embedded NULs (directly or " @@ -4145,45 +4145,45 @@ msgid "" "will not be created and ``EEXISTS`` will be raised." msgstr "" -#: library/os.rst:3863 +#: library/os.rst:3864 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:3866 +#: library/os.rst:3867 msgid "" "Raises an :ref:`auditing event ` ``os.setxattr`` with arguments " "``path``, ``attribute``, ``value``, ``flags``." msgstr "" -#: library/os.rst:3874 +#: library/os.rst:3875 msgid "" "The maximum size the value of an extended attribute can be. Currently, this " "is 64 KiB on Linux." msgstr "" -#: library/os.rst:3880 +#: library/os.rst:3881 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:3886 +#: library/os.rst:3887 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:3893 +#: library/os.rst:3894 msgid "Process Management" msgstr "" -#: library/os.rst:3895 +#: library/os.rst:3896 msgid "These functions may be used to create and manage processes." msgstr "" -#: library/os.rst:3897 +#: library/os.rst:3898 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 " @@ -4194,7 +4194,7 @@ msgid "" "standard output; ``foo`` will seem to be ignored." msgstr "" -#: library/os.rst:3908 +#: library/os.rst:3909 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 " @@ -4203,37 +4203,37 @@ msgid "" "`SIGABRT` with :func:`signal.signal`." msgstr "" -#: library/os.rst:3917 +#: library/os.rst:3918 msgid "Add a path to the DLL search path." msgstr "" -#: library/os.rst:3919 +#: library/os.rst:3920 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:3923 +#: library/os.rst:3924 msgid "" "Remove the directory by calling **close()** on the returned object or using " "it in a :keyword:`with` statement." msgstr "" -#: library/os.rst:3926 +#: library/os.rst:3927 msgid "" "See the `Microsoft documentation `_ for more information about how " "DLLs are loaded." msgstr "" -#: library/os.rst:3930 +#: library/os.rst:3931 msgid "" "Raises an :ref:`auditing event ` ``os.add_dll_directory`` with " "argument ``path``." msgstr "" -#: library/os.rst:3934 +#: library/os.rst:3935 msgid "" "Previous versions of CPython would resolve DLLs using the default behavior " "for the current process. This led to inconsistencies, such as only sometimes " @@ -4241,14 +4241,14 @@ msgid "" "such as ``AddDllDirectory`` having no effect." msgstr "" -#: library/os.rst:3941 +#: library/os.rst:3942 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:3956 +#: library/os.rst:3957 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 " @@ -4256,7 +4256,7 @@ msgid "" "reported as :exc:`OSError` exceptions." msgstr "" -#: library/os.rst:3961 +#: library/os.rst:3962 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 " @@ -4264,7 +4264,7 @@ msgid "" "fsync` before calling an :func:`exec\\* ` function." msgstr "" -#: library/os.rst:3967 +#: library/os.rst:3968 msgid "" "The \"l\" and \"v\" variants of the :func:`exec\\* ` functions differ " "in how command-line arguments are passed. The \"l\" variants are perhaps " @@ -4277,7 +4277,7 @@ msgid "" "is not enforced." msgstr "" -#: library/os.rst:3976 +#: library/os.rst:3977 msgid "" "The variants which include a \"p\" near the end (:func:`execlp`, :func:" "`execlpe`, :func:`execvp`, and :func:`execvpe`) will use the :envvar:`PATH` " @@ -4291,7 +4291,7 @@ msgid "" "even on Windows, as plain names will not be resolved." msgstr "" -#: library/os.rst:3987 +#: library/os.rst:3988 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 " @@ -4301,7 +4301,7 @@ msgid "" "process to inherit the environment of the current process." msgstr "" -#: library/os.rst:3994 +#: library/os.rst:3995 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 " @@ -4310,31 +4310,31 @@ msgid "" "`NotImplementedError`." msgstr "" -#: library/os.rst:3999 +#: library/os.rst:4000 msgid "" "Raises an :ref:`auditing event ` ``os.exec`` with arguments " "``path``, ``args``, ``env``." msgstr "" -#: library/os.rst:4003 +#: library/os.rst:4004 msgid "" "Added support for specifying *path* as an open file descriptor for :func:" "`execve`." msgstr "" -#: library/os.rst:4012 +#: library/os.rst:4013 msgid "" "Exit the process with status *n*, without calling cleanup handlers, flushing " "stdio buffers, etc." msgstr "" -#: library/os.rst:4017 +#: library/os.rst:4018 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:4020 +#: library/os.rst:4021 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 " @@ -4342,139 +4342,139 @@ msgid "" "delivery program." msgstr "" -#: library/os.rst:4026 +#: library/os.rst:4027 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:4033 +#: library/os.rst:4034 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:4041 +#: library/os.rst:4042 msgid "" "Exit code that means the command was used incorrectly, such as when the " "wrong number of arguments are given." msgstr "" -#: library/os.rst:4049 +#: library/os.rst:4050 msgid "Exit code that means the input data was incorrect." msgstr "" -#: library/os.rst:4056 +#: library/os.rst:4057 msgid "Exit code that means an input file did not exist or was not readable." msgstr "" -#: library/os.rst:4063 +#: library/os.rst:4064 msgid "Exit code that means a specified user did not exist." msgstr "" -#: library/os.rst:4070 +#: library/os.rst:4071 msgid "Exit code that means a specified host did not exist." msgstr "" -#: library/os.rst:4077 +#: library/os.rst:4078 msgid "Exit code that means that a required service is unavailable." msgstr "" -#: library/os.rst:4084 +#: library/os.rst:4085 msgid "Exit code that means an internal software error was detected." msgstr "" -#: library/os.rst:4091 +#: library/os.rst:4092 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:4099 +#: library/os.rst:4100 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:4107 +#: library/os.rst:4108 msgid "Exit code that means a user specified output file could not be created." msgstr "" -#: library/os.rst:4114 +#: library/os.rst:4115 msgid "" "Exit code that means that an error occurred while doing I/O on some file." msgstr "" -#: library/os.rst:4121 +#: library/os.rst:4122 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:4130 +#: library/os.rst:4131 msgid "" "Exit code that means that a protocol exchange was illegal, invalid, or not " "understood." msgstr "" -#: library/os.rst:4138 +#: library/os.rst:4139 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:4146 +#: library/os.rst:4147 msgid "Exit code that means that some kind of configuration error occurred." msgstr "" -#: library/os.rst:4153 +#: library/os.rst:4154 msgid "Exit code that means something like \"an entry was not found\"." msgstr "" -#: library/os.rst:4160 +#: library/os.rst:4161 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:4163 +#: library/os.rst:4164 msgid "" "Note that some platforms including FreeBSD <= 6.3 and Cygwin have known " "issues when using ``fork()`` from a thread." msgstr "" -#: library/os.rst:4166 +#: library/os.rst:4167 msgid "" "Raises an :ref:`auditing event ` ``os.fork`` with no arguments." msgstr "" -#: library/os.rst:4170 +#: library/os.rst:4171 msgid "" "If you use TLS sockets in an application calling ``fork()``, see the warning " "in the :mod:`ssl` documentation." msgstr "" -#: library/os.rst:4219 +#: library/os.rst:4220 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:4178 +#: library/os.rst:4179 msgid "" "Calling ``fork()`` in a subinterpreter is no longer supported (:exc:" "`RuntimeError` is raised)." msgstr "" -#: library/os.rst:4182 +#: library/os.rst:4183 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:4186 +#: library/os.rst:4187 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 " @@ -4485,21 +4485,21 @@ msgid "" "``free``)." msgstr "" -#: library/os.rst:4195 +#: library/os.rst:4196 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:4199 +#: library/os.rst:4200 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:4209 +#: library/os.rst:4210 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, " @@ -4508,31 +4508,31 @@ msgid "" "the :mod:`pty` module. If an error occurs :exc:`OSError` is raised." msgstr "" -#: library/os.rst:4215 +#: library/os.rst:4216 msgid "" "Raises an :ref:`auditing event ` ``os.forkpty`` with no arguments." msgstr "" -#: library/os.rst:4222 +#: library/os.rst:4223 msgid "" "Calling ``forkpty()`` in a subinterpreter is no longer supported (:exc:" "`RuntimeError` is raised)." msgstr "" -#: library/os.rst:4226 +#: library/os.rst:4227 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:4240 +#: library/os.rst:4241 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:4243 +#: library/os.rst:4244 msgid "" "Windows: The :const:`signal.CTRL_C_EVENT` and :const:`signal." "CTRL_BREAK_EVENT` signals are special signals which can only be sent to " @@ -4542,43 +4542,43 @@ msgid "" "be set to *sig*." msgstr "" -#: library/os.rst:4250 +#: library/os.rst:4251 msgid "See also :func:`signal.pthread_kill`." msgstr "" -#: library/os.rst:4252 +#: library/os.rst:4253 msgid "" "Raises an :ref:`auditing event ` ``os.kill`` with arguments " "``pid``, ``sig``." msgstr "" -#: library/os.rst:4266 +#: library/os.rst:4267 msgid "Send the signal *sig* to the process group *pgid*." msgstr "" -#: library/os.rst:4268 +#: library/os.rst:4269 msgid "" "Raises an :ref:`auditing event ` ``os.killpg`` with arguments " "``pgid``, ``sig``." msgstr "" -#: library/os.rst:4275 +#: library/os.rst:4276 msgid "" "Add *increment* to the process's \"niceness\". Return the new niceness." msgstr "" -#: library/os.rst:4282 +#: library/os.rst:4283 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:4286 +#: library/os.rst:4287 msgid "See the :manpage:`pidfd_open(2)` man page for more details." msgstr "" -#: library/os.rst:4293 +#: library/os.rst:4294 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 " @@ -4586,13 +4586,13 @@ msgid "" "immediately return the error :const:`~errno.EAGAIN` rather than blocking." msgstr "" -#: library/os.rst:4304 +#: library/os.rst:4305 msgid "" "Lock program segments into memory. The value of *op* (defined in ````) determines which segments are locked." msgstr "" -#: library/os.rst:4312 +#: library/os.rst:4313 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 " @@ -4602,7 +4602,7 @@ msgid "" "rather than bytes." msgstr "" -#: library/os.rst:4320 +#: library/os.rst:4321 msgid "" "The ``close`` method returns :const:`None` if the subprocess exited " "successfully, or the subprocess's return code if there was an error. On " @@ -4614,56 +4614,56 @@ msgid "" "contains the signed integer return code from the child process." msgstr "" -#: library/os.rst:4330 +#: library/os.rst:4331 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:4335 +#: library/os.rst:4336 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:4342 +#: library/os.rst:4343 msgid "" "The :ref:`Python UTF-8 Mode ` affects encodings used for *cmd* " "and pipe contents." msgstr "" -#: library/os.rst:4345 +#: library/os.rst:4346 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:4354 +#: library/os.rst:4355 msgid "Wraps the :c:func:`!posix_spawn` C library API for use from Python." msgstr "" -#: library/os.rst:4356 +#: library/os.rst:4357 msgid "" "Most users should use :func:`subprocess.run` instead of :func:`posix_spawn`." msgstr "" -#: library/os.rst:4358 +#: library/os.rst:4359 msgid "" "The positional-only arguments *path*, *args*, and *env* are similar to :func:" "`execve`." msgstr "" -#: library/os.rst:4361 +#: library/os.rst:4362 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:4365 +#: library/os.rst:4366 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 " @@ -4672,31 +4672,31 @@ msgid "" "describing the remaining tuple elements:" msgstr "" -#: library/os.rst:4373 +#: library/os.rst:4374 msgid "(``os.POSIX_SPAWN_OPEN``, *fd*, *path*, *flags*, *mode*)" msgstr "" -#: library/os.rst:4375 +#: library/os.rst:4376 msgid "Performs ``os.dup2(os.open(path, flags, mode), fd)``." msgstr "" -#: library/os.rst:4379 +#: library/os.rst:4380 msgid "(``os.POSIX_SPAWN_CLOSE``, *fd*)" msgstr "" -#: library/os.rst:4381 +#: library/os.rst:4382 msgid "Performs ``os.close(fd)``." msgstr "" -#: library/os.rst:4385 +#: library/os.rst:4386 msgid "(``os.POSIX_SPAWN_DUP2``, *fd*, *new_fd*)" msgstr "" -#: library/os.rst:4387 +#: library/os.rst:4388 msgid "Performs ``os.dup2(fd, new_fd)``." msgstr "" -#: library/os.rst:4389 +#: library/os.rst:4390 msgid "" "These tuples correspond to the C library :c:func:`!" "posix_spawn_file_actions_addopen`, :c:func:`!" @@ -4705,7 +4705,7 @@ msgid "" "`!posix_spawn` call itself." msgstr "" -#: library/os.rst:4395 +#: library/os.rst:4396 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 " @@ -4714,7 +4714,7 @@ msgid "" "corresponds to the C library :c:macro:`!POSIX_SPAWN_SETPGROUP` flag." msgstr "" -#: library/os.rst:4401 +#: library/os.rst:4402 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 " @@ -4725,7 +4725,7 @@ msgid "" "library :c:macro:`!POSIX_SPAWN_RESETIDS` flag." msgstr "" -#: library/os.rst:4409 +#: library/os.rst:4410 msgid "" "If the *setsid* argument is ``True``, it will create a new session ID for " "``posix_spawn``. *setsid* requires :c:macro:`!POSIX_SPAWN_SETSID` or :c:" @@ -4733,7 +4733,7 @@ msgid "" "is raised." msgstr "" -#: library/os.rst:4414 +#: library/os.rst:4415 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 " @@ -4741,14 +4741,14 @@ msgid "" "POSIX_SPAWN_SETSIGMASK` flag." msgstr "" -#: library/os.rst:4419 +#: library/os.rst:4420 msgid "" "The *sigdef* 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:4423 +#: library/os.rst:4424 msgid "" "The *scheduler* argument must be a tuple containing the (optional) scheduler " "policy and an instance of :class:`sched_param` with the scheduler " @@ -4758,78 +4758,78 @@ msgid "" "POSIX_SPAWN_SETSCHEDULER` flags." msgstr "" -#: library/os.rst:4446 +#: library/os.rst:4447 msgid "" "Raises an :ref:`auditing event ` ``os.posix_spawn`` with arguments " "``path``, ``argv``, ``env``." msgstr "" -#: library/os.rst:4440 +#: library/os.rst:4441 msgid "Wraps the :c:func:`!posix_spawnp` C library API for use from Python." msgstr "" -#: library/os.rst:4442 +#: library/os.rst:4443 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:4452 +#: library/os.rst:4453 msgid "See :func:`posix_spawn` documentation." msgstr "" -#: library/os.rst:4458 +#: library/os.rst:4459 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:4463 +#: library/os.rst:4464 msgid "*before* is a function called before forking a child process." msgstr "" -#: library/os.rst:4464 +#: library/os.rst:4465 msgid "" "*after_in_parent* is a function called from the parent process after forking " "a child process." msgstr "" -#: library/os.rst:4466 +#: library/os.rst:4467 msgid "*after_in_child* is a function called from the child process." msgstr "" -#: library/os.rst:4468 +#: library/os.rst:4469 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:4472 +#: library/os.rst:4473 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:4477 +#: library/os.rst:4478 msgid "" "Note that :c:func:`fork` calls made by third-party C code may not call those " "functions, unless it explicitly calls :c:func:`PyOS_BeforeFork`, :c:func:" "`PyOS_AfterFork_Parent` and :c:func:`PyOS_AfterFork_Child`." msgstr "" -#: library/os.rst:4481 +#: library/os.rst:4482 msgid "There is no way to unregister a function." msgstr "" -#: library/os.rst:4497 +#: library/os.rst:4498 msgid "Execute the program *path* in a new process." msgstr "" -#: library/os.rst:4499 +#: library/os.rst:4500 msgid "" "(Note that the :mod:`subprocess` module provides more powerful facilities " "for spawning new processes and retrieving their results; using that module " @@ -4837,7 +4837,7 @@ msgid "" "`subprocess-replacements` section.)" msgstr "" -#: library/os.rst:4504 +#: library/os.rst:4505 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 " @@ -4846,13 +4846,13 @@ msgid "" "handle, so can be used with the :func:`waitpid` function." msgstr "" -#: library/os.rst:4510 +#: library/os.rst:4511 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:4513 +#: library/os.rst:4514 msgid "" "The \"l\" and \"v\" variants of the :func:`spawn\\* ` functions " "differ in how command-line arguments are passed. The \"l\" variants are " @@ -4864,7 +4864,7 @@ msgid "" "to the child process must start with the name of the command being run." msgstr "" -#: library/os.rst:4522 +#: library/os.rst:4523 msgid "" "The variants which include a second \"p\" near the end (:func:`spawnlp`, :" "func:`spawnlpe`, :func:`spawnvp`, and :func:`spawnvpe`) will use the :envvar:" @@ -4877,7 +4877,7 @@ msgid "" "appropriate absolute or relative path." msgstr "" -#: library/os.rst:4532 +#: library/os.rst:4533 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 " @@ -4889,13 +4889,13 @@ msgid "" "values will cause the function to fail, with a return value of ``127``." msgstr "" -#: library/os.rst:4541 +#: library/os.rst:4542 msgid "" "As an example, the following calls to :func:`spawnlp` and :func:`spawnvpe` " "are equivalent::" msgstr "" -#: library/os.rst:4544 +#: library/os.rst:4545 msgid "" "import os\n" "os.spawnlp(os.P_WAIT, 'cp', 'cp', 'index.html', '/dev/null')\n" @@ -4904,13 +4904,13 @@ msgid "" "os.spawnvpe(os.P_WAIT, 'cp', L, os.environ)" msgstr "" -#: library/os.rst:4550 +#: library/os.rst:4551 msgid "" "Raises an :ref:`auditing event ` ``os.spawn`` with arguments " "``mode``, ``path``, ``args``, ``env``." msgstr "" -#: library/os.rst:4554 +#: library/os.rst:4555 msgid "" ":func:`spawnlp`, :func:`spawnlpe`, :func:`spawnvp` and :func:`spawnvpe` are " "not available on Windows. :func:`spawnle` and :func:`spawnve` are not " @@ -4918,7 +4918,7 @@ msgid "" "instead." msgstr "" -#: library/os.rst:4566 +#: library/os.rst:4567 msgid "" "Possible values for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. If either of these values is given, the :func:" @@ -4926,7 +4926,7 @@ msgid "" "been created, with the process id as the return value." msgstr "" -#: library/os.rst:4576 +#: library/os.rst:4577 msgid "" "Possible value for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. If this is given as *mode*, the :func:`spawn\\* " @@ -4935,7 +4935,7 @@ msgid "" "successful, or ``-signal`` if a signal kills the process." msgstr "" -#: library/os.rst:4588 +#: library/os.rst:4589 msgid "" "Possible values for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. These are less portable than those listed above. :" @@ -4945,11 +4945,11 @@ msgid "" "function will not return." msgstr "" -#: library/os.rst:4599 +#: library/os.rst:4600 msgid "Start a file with its associated application." msgstr "" -#: library/os.rst:4601 +#: library/os.rst:4602 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 the :program:" @@ -4957,7 +4957,7 @@ msgid "" "whatever application (if any) its extension is associated." msgstr "" -#: library/os.rst:4606 +#: library/os.rst:4607 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 " @@ -4965,28 +4965,28 @@ msgid "" "as well as ``'explore'`` and ``'find'`` (to be used on directories)." msgstr "" -#: library/os.rst:4611 +#: library/os.rst:4612 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:4615 +#: library/os.rst:4616 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:4619 +#: library/os.rst:4620 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:4623 +#: library/os.rst:4624 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 " @@ -4997,32 +4997,32 @@ msgid "" "encoded for Win32." msgstr "" -#: library/os.rst:4631 +#: library/os.rst:4632 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:4635 +#: library/os.rst:4636 msgid "" "Raises an :ref:`auditing event ` ``os.startfile`` with arguments " "``path``, ``operation``." msgstr "" -#: library/os.rst:4637 +#: library/os.rst:4638 msgid "" "Raises an :ref:`auditing event ` ``os.startfile/2`` with arguments " "``path``, ``operation``, ``arguments``, ``cwd``, ``show_cmd``." msgstr "" -#: library/os.rst:4641 +#: library/os.rst:4642 msgid "" "Added the *arguments*, *cwd* and *show_cmd* arguments, and the ``os." "startfile/2`` audit event." msgstr "" -#: library/os.rst:4648 +#: library/os.rst:4649 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 " @@ -5033,13 +5033,13 @@ msgid "" "value of the Python function is system-dependent." msgstr "" -#: library/os.rst:4656 +#: library/os.rst:4657 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:4659 +#: library/os.rst:4660 msgid "" "On Windows, the return value is that returned by the system shell after " "running *command*. The shell is given by the Windows environment variable :" @@ -5048,7 +5048,7 @@ msgid "" "shell documentation." msgstr "" -#: library/os.rst:4665 +#: library/os.rst:4666 msgid "" "The :mod:`subprocess` module provides more powerful facilities for spawning " "new processes and retrieving their results; using that module is preferable " @@ -5056,53 +5056,53 @@ msgid "" "the :mod:`subprocess` documentation for some helpful recipes." msgstr "" -#: library/os.rst:4670 +#: library/os.rst:4671 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:4674 +#: library/os.rst:4675 msgid "" "Raises an :ref:`auditing event ` ``os.system`` with argument " "``command``." msgstr "" -#: library/os.rst:4681 +#: library/os.rst:4682 msgid "" "Returns the current global process times. The return value is an object with " "five attributes:" msgstr "" -#: library/os.rst:4684 +#: library/os.rst:4685 msgid ":attr:`!user` - user time" msgstr "" -#: library/os.rst:4685 +#: library/os.rst:4686 msgid ":attr:`!system` - system time" msgstr "" -#: library/os.rst:4686 +#: library/os.rst:4687 msgid ":attr:`!children_user` - user time of all child processes" msgstr "" -#: library/os.rst:4687 +#: library/os.rst:4688 msgid ":attr:`!children_system` - system time of all child processes" msgstr "" -#: library/os.rst:4688 +#: library/os.rst:4689 msgid ":attr:`!elapsed` - elapsed real time since a fixed point in the past" msgstr "" -#: library/os.rst:4690 +#: library/os.rst:4691 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:4694 +#: library/os.rst:4695 msgid "" "See the Unix manual page :manpage:`times(2)` and `times(3) `_ manual page on Unix or `the " @@ -5112,7 +5112,7 @@ msgid "" "attributes are zero." msgstr "" -#: library/os.rst:4708 +#: library/os.rst:4709 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 " @@ -5121,87 +5121,87 @@ msgid "" "if a core file was produced." msgstr "" -#: library/os.rst:4714 +#: library/os.rst:4715 msgid "" "If there are no children that could be waited for, :exc:`ChildProcessError` " "is raised." msgstr "" -#: library/os.rst:4792 +#: library/os.rst:4793 msgid "" ":func:`waitstatus_to_exitcode` can be used to convert the exit status into " "an exit code." msgstr "" -#: library/os.rst:4724 +#: library/os.rst:4725 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:4731 +#: library/os.rst:4732 msgid "Wait for the completion of a child process." msgstr "" -#: library/os.rst:4733 +#: library/os.rst:4734 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:4736 +#: library/os.rst:4737 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:4740 +#: library/os.rst:4741 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:4743 +#: library/os.rst:4744 msgid ":attr:`!si_pid` (process ID)" msgstr "" -#: library/os.rst:4744 +#: library/os.rst:4745 msgid ":attr:`!si_uid` (real user ID of the child)" msgstr "" -#: library/os.rst:4745 +#: library/os.rst:4746 msgid ":attr:`!si_signo` (always :const:`~signal.SIGCHLD`)" msgstr "" -#: library/os.rst:4746 +#: library/os.rst:4747 msgid "" ":attr:`!si_status` (the exit status or signal number, depending on :attr:`!" "si_code`)" msgstr "" -#: library/os.rst:4747 +#: library/os.rst:4748 msgid ":attr:`!si_code` (see :data:`CLD_EXITED` for possible values)" msgstr "" -#: library/os.rst:4749 +#: library/os.rst:4750 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:4757 +#: library/os.rst:4758 msgid "This function is not available on macOS." msgstr "" -#: library/os.rst:4764 +#: library/os.rst:4765 msgid "The details of this function differ on Unix and Windows." msgstr "" -#: library/os.rst:4766 +#: library/os.rst:4767 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 " @@ -5210,7 +5210,7 @@ msgid "" "operation." msgstr "" -#: library/os.rst:4771 +#: library/os.rst:4772 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 " @@ -5220,7 +5220,7 @@ msgid "" "group ``-pid`` (the absolute value of *pid*)." msgstr "" -#: library/os.rst:4778 +#: library/os.rst:4779 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 " @@ -5229,7 +5229,7 @@ msgid "" "are :data:`WUNTRACED` and :data:`WCONTINUED`." msgstr "" -#: library/os.rst:4784 +#: library/os.rst:4785 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 " @@ -5241,7 +5241,7 @@ msgid "" "process handles." msgstr "" -#: library/os.rst:4805 +#: library/os.rst:4806 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 " @@ -5250,13 +5250,13 @@ msgid "" "same as that provided to :func:`waitpid` and :func:`wait4`." msgstr "" -#: library/os.rst:4826 +#: library/os.rst:4827 msgid "" ":func:`waitstatus_to_exitcode` can be used to convert the exit status into " "an exitcode." msgstr "" -#: library/os.rst:4820 +#: library/os.rst:4821 msgid "" "Similar to :func:`waitpid`, except a 3-element tuple, containing the child's " "process id, exit status indication, and resource usage information is " @@ -5265,118 +5265,118 @@ msgid "" "to :func:`waitpid`." msgstr "" -#: library/os.rst:4837 +#: library/os.rst:4838 msgid "" "These are the possible values for *idtype* in :func:`waitid`. They affect " "how *id* is interpreted:" msgstr "" -#: library/os.rst:4840 +#: library/os.rst:4841 msgid ":data:`!P_PID` - wait for the child whose PID is *id*." msgstr "" -#: library/os.rst:4841 +#: library/os.rst:4842 msgid ":data:`!P_PGID` - wait for any child whose progress group ID is *id*." msgstr "" -#: library/os.rst:4842 +#: library/os.rst:4843 msgid ":data:`!P_ALL` - wait for any child; *id* is ignored." msgstr "" -#: library/os.rst:4843 +#: library/os.rst:4844 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:4848 +#: library/os.rst:4849 msgid ":data:`!P_PIDFD` is only available on Linux >= 5.4." msgstr "" -#: library/os.rst:4851 +#: library/os.rst:4852 msgid "The :data:`!P_PIDFD` constant." msgstr "" -#: library/os.rst:4857 +#: library/os.rst:4858 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:4866 +#: library/os.rst:4867 msgid "" "This *options* flag for :func:`waitid` causes child processes that have " "terminated to be reported." msgstr "" -#: library/os.rst:4869 +#: library/os.rst:4870 msgid "" "The other ``wait*`` functions always report children that have terminated, " "so this option is not available for them." msgstr "" -#: library/os.rst:4879 +#: library/os.rst:4880 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:4914 +#: library/os.rst:4915 msgid "This option is not available for the other ``wait*`` functions." msgstr "" -#: library/os.rst:4891 +#: library/os.rst:4892 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:4895 +#: library/os.rst:4896 msgid "This option is not available for :func:`waitid`." msgstr "" -#: library/os.rst:4902 +#: library/os.rst:4903 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:4911 +#: library/os.rst:4912 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:4926 +#: library/os.rst:4927 msgid "" "These are the possible values for :attr:`!si_code` in the result returned " "by :func:`waitid`." msgstr "" -#: library/os.rst:4933 +#: library/os.rst:4934 msgid "Added :data:`CLD_KILLED` and :data:`CLD_STOPPED` values." msgstr "" -#: library/os.rst:4939 +#: library/os.rst:4940 msgid "Convert a wait status to an exit code." msgstr "" -#: library/os.rst:4941 +#: library/os.rst:4942 msgid "On Unix:" msgstr "" -#: library/os.rst:4943 +#: library/os.rst:4944 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:4946 +#: library/os.rst:4947 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 " @@ -5384,15 +5384,15 @@ msgid "" "than 0." msgstr "" -#: library/os.rst:4950 +#: library/os.rst:4951 msgid "Otherwise, raise a :exc:`ValueError`." msgstr "" -#: library/os.rst:4952 +#: library/os.rst:4953 msgid "On Windows, return *status* shifted right by 8 bits." msgstr "" -#: library/os.rst:4954 +#: library/os.rst:4955 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 " @@ -5400,222 +5400,222 @@ msgid "" "``WIFSTOPPED(status)`` is true." msgstr "" -#: library/os.rst:4961 +#: library/os.rst:4962 msgid "" ":func:`WIFEXITED`, :func:`WEXITSTATUS`, :func:`WIFSIGNALED`, :func:" "`WTERMSIG`, :func:`WIFSTOPPED`, :func:`WSTOPSIG` functions." msgstr "" -#: library/os.rst:4969 +#: library/os.rst:4970 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:4975 +#: library/os.rst:4976 msgid "" "Return ``True`` if a core dump was generated for the process, otherwise " "return ``False``." msgstr "" -#: library/os.rst:5044 +#: library/os.rst:5045 msgid "This function should be employed only if :func:`WIFSIGNALED` is true." msgstr "" -#: library/os.rst:4985 +#: library/os.rst:4986 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:4989 +#: library/os.rst:4990 msgid "See :data:`WCONTINUED` option." msgstr "" -#: library/os.rst:4996 +#: library/os.rst:4997 msgid "" "Return ``True`` if the process was stopped by delivery of a signal, " "otherwise return ``False``." msgstr "" -#: library/os.rst:4999 +#: library/os.rst:5000 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:5007 +#: library/os.rst:5008 msgid "" "Return ``True`` if the process was terminated by a signal, otherwise return " "``False``." msgstr "" -#: library/os.rst:5015 +#: library/os.rst:5016 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:5024 +#: library/os.rst:5025 msgid "Return the process exit status." msgstr "" -#: library/os.rst:5026 +#: library/os.rst:5027 msgid "This function should be employed only if :func:`WIFEXITED` is true." msgstr "" -#: library/os.rst:5033 +#: library/os.rst:5034 msgid "Return the signal which caused the process to stop." msgstr "" -#: library/os.rst:5035 +#: library/os.rst:5036 msgid "This function should be employed only if :func:`WIFSTOPPED` is true." msgstr "" -#: library/os.rst:5042 +#: library/os.rst:5043 msgid "Return the number of the signal that caused the process to terminate." msgstr "" -#: library/os.rst:5050 +#: library/os.rst:5051 msgid "Interface to the scheduler" msgstr "" -#: library/os.rst:5052 +#: library/os.rst:5053 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:5058 +#: library/os.rst:5059 msgid "" "The following scheduling policies are exposed if they are supported by the " "operating system." msgstr "" -#: library/os.rst:5065 +#: library/os.rst:5066 msgid "The default scheduling policy." msgstr "" -#: library/os.rst:5069 +#: library/os.rst:5070 msgid "" "Scheduling policy for CPU-intensive processes that tries to preserve " "interactivity on the rest of the computer." msgstr "" -#: library/os.rst:5074 +#: library/os.rst:5075 msgid "Scheduling policy for extremely low priority background tasks." msgstr "" -#: library/os.rst:5078 +#: library/os.rst:5079 msgid "Scheduling policy for sporadic server programs." msgstr "" -#: library/os.rst:5082 +#: library/os.rst:5083 msgid "A First In First Out scheduling policy." msgstr "" -#: library/os.rst:5086 +#: library/os.rst:5087 msgid "A round-robin scheduling policy." msgstr "" -#: library/os.rst:5090 +#: library/os.rst:5091 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:5097 +#: library/os.rst:5098 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:5101 +#: library/os.rst:5102 msgid "At the moment, there is only one possible parameter:" msgstr "" -#: library/os.rst:5105 +#: library/os.rst:5106 msgid "The scheduling priority for a scheduling policy." msgstr "" -#: library/os.rst:5110 +#: library/os.rst:5111 msgid "" "Get the minimum priority value for *policy*. *policy* is one of the " "scheduling policy constants above." msgstr "" -#: library/os.rst:5116 +#: library/os.rst:5117 msgid "" "Get the maximum priority value for *policy*. *policy* is one of the " "scheduling policy constants above." msgstr "" -#: library/os.rst:5122 +#: library/os.rst:5123 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:5129 +#: library/os.rst:5130 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:5136 +#: library/os.rst:5137 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:5142 +#: library/os.rst:5143 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:5148 +#: library/os.rst:5149 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:5154 +#: library/os.rst:5155 msgid "" "Voluntarily relinquish the CPU. See :manpage:`sched_yield(2)` for details." msgstr "" -#: library/os.rst:5159 +#: library/os.rst:5160 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:5166 +#: library/os.rst:5167 msgid "Return the set of CPUs the process with PID *pid* is restricted to." msgstr "" -#: library/os.rst:5168 +#: library/os.rst:5169 msgid "" "If *pid* is zero, return the set of CPUs the calling thread of the current " "process is restricted to." msgstr "" -#: library/os.rst:5175 +#: library/os.rst:5176 msgid "Miscellaneous System Information" msgstr "" -#: library/os.rst:5180 +#: library/os.rst:5181 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 " @@ -5626,13 +5626,13 @@ msgid "" "included in that mapping, passing an integer for *name* is also accepted." msgstr "" -#: library/os.rst:5188 +#: library/os.rst:5189 msgid "" "If the configuration value specified by *name* isn't defined, ``None`` is " "returned." msgstr "" -#: library/os.rst:5191 +#: library/os.rst:5192 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 " @@ -5640,34 +5640,34 @@ msgid "" "`errno.EINVAL` for the error number." msgstr "" -#: library/os.rst:5201 +#: library/os.rst:5202 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:5210 +#: library/os.rst:5211 msgid "" "Return the number of logical CPUs in the system. Returns ``None`` if " "undetermined." msgstr "" -#: library/os.rst:5213 +#: library/os.rst:5214 msgid "" "This number is not equivalent to the number of logical CPUs the current " "process can use. ``len(os.sched_getaffinity(0))`` gets the number of logical " "CPUs the calling thread of the current process is restricted to" msgstr "" -#: library/os.rst:5222 +#: library/os.rst:5223 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:5231 +#: library/os.rst:5232 msgid "" "Return integer-valued system configuration values. If the configuration " "value specified by *name* isn't defined, ``-1`` is returned. The comments " @@ -5676,44 +5676,44 @@ msgid "" "``sysconf_names``." msgstr "" -#: library/os.rst:5241 +#: library/os.rst:5242 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:5247 +#: library/os.rst:5248 msgid "Add ``'SC_MINSIGSTKSZ'`` name." msgstr "" -#: library/os.rst:5250 +#: library/os.rst:5251 msgid "" "The following data values are used to support path manipulation operations. " "These are defined for all platforms." msgstr "" -#: library/os.rst:5253 +#: library/os.rst:5254 msgid "" "Higher-level operations on pathnames are defined in the :mod:`os.path` " "module." msgstr "" -#: library/os.rst:5259 +#: library/os.rst:5260 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:5267 +#: library/os.rst:5268 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:5276 +#: library/os.rst:5277 msgid "" "The character used by the operating system to separate pathname components. " "This is ``'/'`` for POSIX and ``'\\\\'`` for Windows. Note that knowing " @@ -5722,7 +5722,7 @@ msgid "" "useful. Also available via :mod:`os.path`." msgstr "" -#: library/os.rst:5286 +#: library/os.rst:5287 msgid "" "An alternative character used by the operating system to separate pathname " "components, or ``None`` if only one separator character exists. This is set " @@ -5730,27 +5730,27 @@ msgid "" "via :mod:`os.path`." msgstr "" -#: library/os.rst:5295 +#: library/os.rst:5296 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:5303 +#: library/os.rst:5304 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:5310 +#: library/os.rst:5311 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:5317 +#: library/os.rst:5318 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 " @@ -5759,36 +5759,36 @@ msgid "" "default); use a single ``'\\n'`` instead, on all platforms." msgstr "" -#: library/os.rst:5326 +#: library/os.rst:5327 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:5337 +#: library/os.rst:5338 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:5345 +#: library/os.rst:5346 msgid "Random numbers" msgstr "" -#: library/os.rst:5350 +#: library/os.rst:5351 msgid "" "Get up to *size* random bytes. The function can return less bytes than " "requested." msgstr "" -#: library/os.rst:5353 +#: library/os.rst:5354 msgid "" "These bytes can be used to seed user-space random number generators or for " "cryptographic purposes." msgstr "" -#: library/os.rst:5356 +#: library/os.rst:5357 msgid "" "``getrandom()`` relies on entropy gathered from device drivers and other " "sources of environmental noise. Unnecessarily reading large quantities of " @@ -5796,32 +5796,32 @@ msgid "" "``/dev/urandom`` devices." msgstr "" -#: library/os.rst:5361 +#: library/os.rst:5362 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:5365 +#: library/os.rst:5366 msgid "" "See also the `Linux getrandom() manual page `_." msgstr "" -#: library/os.rst:5374 +#: library/os.rst:5375 msgid "" "Return a bytestring of *size* random bytes suitable for cryptographic use." msgstr "" -#: library/os.rst:5376 +#: library/os.rst:5377 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:5380 +#: library/os.rst:5381 msgid "" "On Linux, if the ``getrandom()`` syscall is available, it is used in " "blocking mode: block until the system urandom entropy pool is initialized " @@ -5831,200 +5831,200 @@ msgid "" "to poll until the system urandom entropy pool is initialized." msgstr "" -#: library/os.rst:5387 +#: library/os.rst:5388 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." msgstr "" -#: library/os.rst:5391 +#: library/os.rst:5392 msgid "On Windows, it will use ``BCryptGenRandom()``." msgstr "" -#: library/os.rst:5394 +#: library/os.rst:5395 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:5398 +#: library/os.rst:5399 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:5404 +#: library/os.rst:5405 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:5408 +#: library/os.rst:5409 msgid "" "On Linux, ``getrandom()`` is now used in blocking mode to increase the " "security." msgstr "" -#: library/os.rst:5412 +#: library/os.rst:5413 msgid "" "On Windows, ``BCryptGenRandom()`` is used instead of ``CryptGenRandom()`` " "which is deprecated." msgstr "" -#: library/os.rst:5418 +#: library/os.rst:5419 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:5422 +#: library/os.rst:5423 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:5429 +#: library/os.rst:5430 msgid "" "If this bit is set, then random bytes are drawn from the ``/dev/" "random`` pool instead of the ``/dev/urandom`` pool." msgstr "" -#: library/os.rst:529 library/os.rst:731 +#: library/os.rst:530 library/os.rst:732 msgid "user" msgstr "" -#: library/os.rst:363 +#: library/os.rst:364 msgid "effective id" msgstr "" -#: library/os.rst:438 library/os.rst:456 library/os.rst:666 library/os.rst:4262 +#: library/os.rst:439 library/os.rst:457 library/os.rst:667 library/os.rst:4263 msgid "process" msgstr "" -#: library/os.rst:438 +#: library/os.rst:439 msgid "group" msgstr "" -#: library/os.rst:529 +#: library/os.rst:530 msgid "id" msgstr "" -#: library/os.rst:456 +#: library/os.rst:457 msgid "id of parent" msgstr "" -#: library/os.rst:666 +#: library/os.rst:667 msgid "scheduling priority" msgstr "" -#: library/os.rst:796 +#: library/os.rst:797 msgid "environment variables" msgstr "" -#: library/os.rst:552 +#: library/os.rst:553 msgid "setting" msgstr "" -#: library/os.rst:731 +#: library/os.rst:732 msgid "id, setting" msgstr "" -#: library/os.rst:764 +#: library/os.rst:765 msgid "gethostname() (in module socket)" msgstr "" -#: library/os.rst:764 +#: library/os.rst:765 msgid "gethostbyaddr() (in module socket)" msgstr "" -#: library/os.rst:2584 +#: library/os.rst:2585 msgid "deleting" msgstr "" -#: library/os.rst:2954 +#: library/os.rst:2955 msgid "module" msgstr "" -#: library/os.rst:1338 +#: library/os.rst:1339 msgid "pty" msgstr "" -#: library/os.rst:2383 library/os.rst:3488 library/os.rst:3588 +#: library/os.rst:2384 library/os.rst:3489 library/os.rst:3589 msgid "directory" msgstr "" -#: library/os.rst:1979 +#: library/os.rst:1980 msgid "changing" msgstr "" -#: library/os.rst:2383 +#: library/os.rst:2384 msgid "creating" msgstr "" -#: library/os.rst:2383 +#: library/os.rst:2384 msgid "UNC paths" msgstr "" -#: library/os.rst:2383 +#: library/os.rst:2384 msgid "and os.makedirs()" msgstr "" -#: library/os.rst:2954 +#: library/os.rst:2955 msgid "stat" msgstr "" -#: library/os.rst:3588 +#: library/os.rst:3589 msgid "walking" msgstr "" -#: library/os.rst:3588 +#: library/os.rst:3589 msgid "traversal" msgstr "" -#: library/os.rst:4262 +#: library/os.rst:4263 msgid "killing" msgstr "" -#: library/os.rst:4262 +#: library/os.rst:4263 msgid "signalling" msgstr "" -#: library/os.rst:5292 +#: library/os.rst:5293 msgid ". (dot)" msgstr "" -#: library/os.rst:5264 library/os.rst:5283 library/os.rst:5292 +#: library/os.rst:5265 library/os.rst:5284 library/os.rst:5293 msgid "in pathnames" msgstr "" -#: library/os.rst:5264 +#: library/os.rst:5265 msgid ".." msgstr "" -#: library/os.rst:5283 +#: library/os.rst:5284 msgid "/ (slash)" msgstr "" -#: library/os.rst:5273 +#: library/os.rst:5274 msgid "\\ (backslash)" msgstr "" -#: library/os.rst:5273 +#: library/os.rst:5274 msgid "in pathnames (Windows)" msgstr "" -#: library/os.rst:5299 +#: library/os.rst:5300 msgid ": (colon)" msgstr "" -#: library/os.rst:5299 +#: library/os.rst:5300 msgid "path separator (POSIX)" msgstr "" -#: library/os.rst:5299 +#: library/os.rst:5300 msgid "; (semicolon)" msgstr "" diff --git a/library/ossaudiodev.po b/library/ossaudiodev.po index 4964a85b..dc3f888e 100644 --- a/library/ossaudiodev.po +++ b/library/ossaudiodev.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/pathlib.po b/library/pathlib.po index bc6999ce..92d15040 100644 --- a/library/pathlib.po +++ b/library/pathlib.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/pdb.po b/library/pdb.po index cbc3fd03..fb0dfbf1 100644 --- a/library/pdb.po +++ b/library/pdb.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -123,17 +123,17 @@ msgid "" "arguments of the ``p`` command." msgstr "" -#: library/pdb.rst:78 +#: library/pdb.rst:80 msgid "" "You can also invoke :mod:`pdb` from the command line to debug other " "scripts. For example::" msgstr "" -#: library/pdb.rst:81 -msgid "python -m pdb myscript.py" +#: library/pdb.rst:83 +msgid "python -m pdb [-c command] (-m module | pyfile) [args ...]" msgstr "" -#: library/pdb.rst:83 +#: library/pdb.rst:85 msgid "" "When invoked as a module, pdb will automatically enter post-mortem debugging " "if the program being debugged exits abnormally. After post-mortem debugging " @@ -142,24 +142,31 @@ msgid "" "cases is more useful than quitting the debugger upon program's exit." msgstr "" -#: library/pdb.rst:89 +#: library/pdb.rst:93 msgid "" -"Added the ``-c`` option to execute commands as if given in a :file:`.pdbrc` " -"file; see :ref:`debugger-commands`." +"To execute commands as if given in a :file:`.pdbrc` file; see :ref:`debugger-" +"commands`." msgstr "" -#: library/pdb.rst:93 +#: library/pdb.rst:96 +msgid "Added the ``-c`` option." +msgstr "" + +#: library/pdb.rst:101 msgid "" -"Added the ``-m`` option to execute modules similar to the way ``python -m`` " -"does. As with a script, the debugger will pause execution just before the " -"first line of the module." +"To execute modules similar to the way ``python -m`` does. As with a script, " +"the debugger will pause execution just before the first line of the module." msgstr "" -#: library/pdb.rst:98 +#: library/pdb.rst:104 +msgid "Added the ``-m`` option." +msgstr "" + +#: library/pdb.rst:107 msgid "Typical usage to execute a statement under control of the debugger is::" msgstr "" -#: library/pdb.rst:100 +#: library/pdb.rst:109 msgid "" ">>> import pdb\n" ">>> def f(x):\n" @@ -171,11 +178,11 @@ msgid "" ">>>" msgstr "" -#: library/pdb.rst:109 +#: library/pdb.rst:118 msgid "The typical usage to inspect a crashed program is::" msgstr "" -#: library/pdb.rst:111 +#: library/pdb.rst:120 msgid "" ">>> import pdb\n" ">>> def f(x):\n" @@ -193,13 +200,13 @@ msgid "" "(Pdb)" msgstr "" -#: library/pdb.rst:127 +#: library/pdb.rst:136 msgid "" "The module defines the following functions; each enters the debugger in a " "slightly different way:" msgstr "" -#: library/pdb.rst:132 +#: library/pdb.rst:141 msgid "" "Execute the *statement* (given as a string or a code object) under debugger " "control. The debugger prompt appears before any code is executed; you can " @@ -211,14 +218,14 @@ msgid "" "`exec` or :func:`eval` functions.)" msgstr "" -#: library/pdb.rst:144 +#: library/pdb.rst:153 msgid "" "Evaluate the *expression* (given as a string or a code object) under " "debugger control. When :func:`runeval` returns, it returns the value of the " "*expression*. Otherwise this function is similar to :func:`run`." msgstr "" -#: library/pdb.rst:151 +#: library/pdb.rst:160 msgid "" "Call the *function* (a function or method object, not a string) with the " "given arguments. When :func:`runcall` returns, it returns whatever the " @@ -226,7 +233,7 @@ msgid "" "is entered." msgstr "" -#: library/pdb.rst:159 +#: library/pdb.rst:168 msgid "" "Enter the debugger at the calling stack frame. This is useful to hard-code " "a breakpoint at a given point in a program, even if the code is not " @@ -234,11 +241,11 @@ msgid "" "is printed to the console just before debugging begins." msgstr "" -#: library/pdb.rst:164 +#: library/pdb.rst:173 msgid "The keyword-only argument *header*." msgstr "" -#: library/pdb.rst:170 +#: library/pdb.rst:179 msgid "" "Enter post-mortem debugging of the given *traceback* object. If no " "*traceback* is given, it uses the one of the exception that is currently " @@ -246,37 +253,37 @@ msgid "" "used)." msgstr "" -#: library/pdb.rst:178 +#: library/pdb.rst:187 msgid "" "Enter post-mortem debugging of the traceback found in :data:`sys." "last_traceback`." msgstr "" -#: library/pdb.rst:182 +#: library/pdb.rst:191 msgid "" "The ``run*`` functions and :func:`set_trace` are aliases for instantiating " "the :class:`Pdb` class and calling the method of the same name. If you want " "to access further features, you have to do this yourself:" msgstr "" -#: library/pdb.rst:189 +#: library/pdb.rst:198 msgid ":class:`Pdb` is the debugger class." msgstr "" -#: library/pdb.rst:191 +#: library/pdb.rst:200 msgid "" "The *completekey*, *stdin* and *stdout* arguments are passed to the " "underlying :class:`cmd.Cmd` class; see the description there." msgstr "" -#: library/pdb.rst:194 +#: library/pdb.rst:203 msgid "" "The *skip* argument, if given, must be an iterable of glob-style module name " "patterns. The debugger will not step into frames that originate in a module " "that matches one of these patterns. [1]_" msgstr "" -#: library/pdb.rst:198 +#: library/pdb.rst:207 msgid "" "By default, Pdb sets a handler for the SIGINT signal (which is sent when the " "user presses :kbd:`Ctrl-C` on the console) when you give a :pdbcmd:" @@ -285,48 +292,48 @@ msgid "" "set *nosigint* to true." msgstr "" -#: library/pdb.rst:203 +#: library/pdb.rst:212 msgid "" "The *readrc* argument defaults to true and controls whether Pdb will load ." "pdbrc files from the filesystem." msgstr "" -#: library/pdb.rst:206 +#: library/pdb.rst:215 msgid "Example call to enable tracing with *skip*::" msgstr "" -#: library/pdb.rst:208 +#: library/pdb.rst:217 msgid "import pdb; pdb.Pdb(skip=['django.*']).set_trace()" msgstr "" -#: library/pdb.rst:210 +#: library/pdb.rst:219 msgid "" "Raises an :ref:`auditing event ` ``pdb.Pdb`` with no arguments." msgstr "" -#: library/pdb.rst:212 +#: library/pdb.rst:221 msgid "Added the *skip* parameter." msgstr "" -#: library/pdb.rst:215 +#: library/pdb.rst:224 msgid "" "Added the *nosigint* parameter. Previously, a SIGINT handler was never set " "by Pdb." msgstr "" -#: library/pdb.rst:219 +#: library/pdb.rst:228 msgid "The *readrc* argument." msgstr "" -#: library/pdb.rst:227 +#: library/pdb.rst:236 msgid "See the documentation for the functions explained above." msgstr "" -#: library/pdb.rst:233 +#: library/pdb.rst:242 msgid "Debugger Commands" msgstr "" -#: library/pdb.rst:235 +#: library/pdb.rst:244 msgid "" "The commands recognized by the debugger are listed below. Most commands can " "be abbreviated to one or two letters as indicated; e.g. ``h(elp)`` means " @@ -338,13 +345,13 @@ msgid "" "are separated by a vertical bar (``|``)." msgstr "" -#: library/pdb.rst:244 +#: library/pdb.rst:253 msgid "" "Entering a blank line repeats the last command entered. Exception: if the " "last command was a :pdbcmd:`list` command, the next 11 lines are listed." msgstr "" -#: library/pdb.rst:247 +#: library/pdb.rst:256 msgid "" "Commands that the debugger doesn't recognize are assumed to be Python " "statements and are executed in the context of the program being debugged. " @@ -355,14 +362,14 @@ msgid "" "is not changed." msgstr "" -#: library/pdb.rst:255 +#: library/pdb.rst:264 msgid "" "The debugger supports :ref:`aliases `. Aliases can have " "parameters which allows one a certain level of adaptability to the context " "under examination." msgstr "" -#: library/pdb.rst:259 +#: library/pdb.rst:268 msgid "" "Multiple commands may be entered on a single line, separated by ``;;``. (A " "single ``;`` is not used as it is the separator for multiple commands in a " @@ -373,7 +380,7 @@ msgid "" "\"\";\"``." msgstr "" -#: library/pdb.rst:266 +#: library/pdb.rst:275 msgid "" "To set a temporary global variable, use a *convenience variable*. A " "*convenience variable* is a variable whose name starts with ``$``. For " @@ -383,27 +390,27 @@ msgid "" "compared to using normal variables like ``foo = 1``." msgstr "" -#: library/pdb.rst:273 +#: library/pdb.rst:282 msgid "There are three preset *convenience variables*:" msgstr "" -#: library/pdb.rst:275 +#: library/pdb.rst:284 msgid "``$_frame``: the current frame you are debugging" msgstr "" -#: library/pdb.rst:276 +#: library/pdb.rst:285 msgid "``$_retval``: the return value if the frame is returning" msgstr "" -#: library/pdb.rst:277 +#: library/pdb.rst:286 msgid "``$_exception``: the exception if the frame is raising an exception" msgstr "" -#: library/pdb.rst:281 +#: library/pdb.rst:290 msgid "Added the *convenience variable* feature." msgstr "" -#: library/pdb.rst:287 +#: library/pdb.rst:296 msgid "" "If a file :file:`.pdbrc` exists in the user's home directory or in the " "current directory, it is read with ``'utf-8'`` encoding and executed as if " @@ -413,20 +420,20 @@ msgid "" "read first and aliases defined there can be overridden by the local file." msgstr "" -#: library/pdb.rst:294 +#: library/pdb.rst:303 msgid "" ":file:`.pdbrc` can now contain commands that continue debugging, such as :" "pdbcmd:`continue` or :pdbcmd:`next`. Previously, these commands had no " "effect." msgstr "" -#: library/pdb.rst:299 +#: library/pdb.rst:308 msgid "" ":file:`.pdbrc` is now read with ``'utf-8'`` encoding. Previously, it was " "read with the system locale encoding." msgstr "" -#: library/pdb.rst:306 +#: library/pdb.rst:315 msgid "" "Without argument, print the list of available commands. With a *command* as " "argument, print help about that command. ``help pdb`` displays the full " @@ -435,26 +442,26 @@ msgid "" "the ``!`` command." msgstr "" -#: library/pdb.rst:314 +#: library/pdb.rst:323 msgid "" "Print a stack trace, with the most recent frame at the bottom. An arrow " "(``>``) indicates the current frame, which determines the context of most " "commands." msgstr "" -#: library/pdb.rst:319 +#: library/pdb.rst:328 msgid "" "Move the current frame *count* (default one) levels down in the stack trace " "(to a newer frame)." msgstr "" -#: library/pdb.rst:324 +#: library/pdb.rst:333 msgid "" "Move the current frame *count* (default one) levels up in the stack trace " "(to an older frame)." msgstr "" -#: library/pdb.rst:329 +#: library/pdb.rst:338 msgid "" "With a *lineno* argument, set a break there in the current file. With a " "*function* argument, set a break at the first executable statement within " @@ -465,33 +472,33 @@ msgid "" "refer." msgstr "" -#: library/pdb.rst:336 +#: library/pdb.rst:345 msgid "" "If a second argument is present, it is an expression which must evaluate to " "true before the breakpoint is honored." msgstr "" -#: library/pdb.rst:339 +#: library/pdb.rst:348 msgid "" "Without argument, list all breaks, including for each breakpoint, the number " "of times that breakpoint has been hit, the current ignore count, and the " "associated condition if any." msgstr "" -#: library/pdb.rst:345 +#: library/pdb.rst:354 msgid "" "Temporary breakpoint, which is removed automatically when it is first hit. " "The arguments are the same as for :pdbcmd:`break`." msgstr "" -#: library/pdb.rst:350 +#: library/pdb.rst:359 msgid "" "With a *filename:lineno* argument, clear all the breakpoints at this line. " "With a space separated list of breakpoint numbers, clear those breakpoints. " "Without argument, clear all breaks (but first ask confirmation)." msgstr "" -#: library/pdb.rst:356 +#: library/pdb.rst:365 msgid "" "Disable the breakpoints given as a space separated list of breakpoint " "numbers. Disabling a breakpoint means it cannot cause the program to stop " @@ -499,11 +506,11 @@ msgid "" "breakpoints and can be (re-)enabled." msgstr "" -#: library/pdb.rst:363 +#: library/pdb.rst:372 msgid "Enable the breakpoints specified." msgstr "" -#: library/pdb.rst:367 +#: library/pdb.rst:376 msgid "" "Set the ignore count for the given breakpoint number. If *count* is " "omitted, the ignore count is set to 0. A breakpoint becomes active when the " @@ -512,21 +519,21 @@ msgid "" "associated condition evaluates to true." msgstr "" -#: library/pdb.rst:375 +#: library/pdb.rst:384 msgid "" "Set a new *condition* for the breakpoint, an expression which must evaluate " "to true before the breakpoint is honored. If *condition* is absent, any " "existing condition is removed; i.e., the breakpoint is made unconditional." msgstr "" -#: library/pdb.rst:381 +#: library/pdb.rst:390 msgid "" "Specify a list of commands for breakpoint number *bpnumber*. The commands " "themselves appear on the following lines. Type a line containing just " "``end`` to terminate the commands. An example::" msgstr "" -#: library/pdb.rst:385 +#: library/pdb.rst:394 msgid "" "(Pdb) commands 1\n" "(com) p some_variable\n" @@ -534,25 +541,25 @@ msgid "" "(Pdb)" msgstr "" -#: library/pdb.rst:390 +#: library/pdb.rst:399 msgid "" "To remove all commands from a breakpoint, type ``commands`` and follow it " "immediately with ``end``; that is, give no commands." msgstr "" -#: library/pdb.rst:393 +#: library/pdb.rst:402 msgid "" "With no *bpnumber* argument, ``commands`` refers to the last breakpoint set." msgstr "" -#: library/pdb.rst:395 +#: library/pdb.rst:404 msgid "" "You can use breakpoint commands to start your program up again. Simply use " "the :pdbcmd:`continue` command, or :pdbcmd:`step`, or any other command that " "resumes execution." msgstr "" -#: library/pdb.rst:399 +#: library/pdb.rst:408 msgid "" "Specifying any command resuming execution (currently :pdbcmd:`continue`, :" "pdbcmd:`step`, :pdbcmd:`next`, :pdbcmd:`return`, :pdbcmd:`jump`, :pdbcmd:" @@ -563,7 +570,7 @@ msgid "" "ambiguities about which list to execute." msgstr "" -#: library/pdb.rst:408 +#: library/pdb.rst:417 msgid "" "If you use the ``silent`` command in the command list, the usual message " "about stopping at a breakpoint is not printed. This may be desirable for " @@ -572,13 +579,13 @@ msgid "" "was reached." msgstr "" -#: library/pdb.rst:415 +#: library/pdb.rst:424 msgid "" "Execute the current line, stop at the first possible occasion (either in a " "function that is called or on the next line in the current function)." msgstr "" -#: library/pdb.rst:420 +#: library/pdb.rst:429 msgid "" "Continue execution until the next line in the current function is reached or " "it returns. (The difference between :pdbcmd:`next` and :pdbcmd:`step` is " @@ -587,46 +594,46 @@ msgid "" "line in the current function.)" msgstr "" -#: library/pdb.rst:428 +#: library/pdb.rst:437 msgid "" "Without argument, continue execution until the line with a number greater " "than the current one is reached." msgstr "" -#: library/pdb.rst:431 +#: library/pdb.rst:440 msgid "" "With *lineno*, continue execution until a line with a number greater or " "equal to *lineno* is reached. In both cases, also stop when the current " "frame returns." msgstr "" -#: library/pdb.rst:435 +#: library/pdb.rst:444 msgid "Allow giving an explicit line number." msgstr "" -#: library/pdb.rst:440 +#: library/pdb.rst:449 msgid "Continue execution until the current function returns." msgstr "" -#: library/pdb.rst:444 +#: library/pdb.rst:453 msgid "Continue execution, only stop when a breakpoint is encountered." msgstr "" -#: library/pdb.rst:448 +#: library/pdb.rst:457 msgid "" "Set the next line that will be executed. Only available in the bottom-most " "frame. This lets you jump back and execute code again, or jump forward to " "skip code that you don't want to run." msgstr "" -#: library/pdb.rst:452 +#: library/pdb.rst:461 msgid "" "It should be noted that not all jumps are allowed -- for instance it is not " "possible to jump into the middle of a :keyword:`for` loop or out of a :" "keyword:`finally` clause." msgstr "" -#: library/pdb.rst:458 +#: library/pdb.rst:467 msgid "" "List source code for the current file. Without arguments, list 11 lines " "around the current line or continue the previous listing. With ``.`` as " @@ -635,7 +642,7 @@ msgid "" "second argument is less than the first, it is interpreted as a count." msgstr "" -#: library/pdb.rst:464 +#: library/pdb.rst:473 msgid "" "The current line in the current frame is indicated by ``->``. If an " "exception is being debugged, the line where the exception was originally " @@ -643,67 +650,67 @@ msgid "" "line." msgstr "" -#: library/pdb.rst:469 +#: library/pdb.rst:478 msgid "Added the ``>>`` marker." msgstr "" -#: library/pdb.rst:474 +#: library/pdb.rst:483 msgid "" "List all source code for the current function or frame. Interesting lines " "are marked as for :pdbcmd:`list`." msgstr "" -#: library/pdb.rst:481 +#: library/pdb.rst:490 msgid "Print the arguments of the current function and their current values." msgstr "" -#: library/pdb.rst:485 +#: library/pdb.rst:494 msgid "Evaluate *expression* in the current context and print its value." msgstr "" -#: library/pdb.rst:489 +#: library/pdb.rst:498 msgid "" "``print()`` can also be used, but is not a debugger command --- this " "executes the Python :func:`print` function." msgstr "" -#: library/pdb.rst:495 +#: library/pdb.rst:504 msgid "" "Like the :pdbcmd:`p` command, except the value of *expression* is pretty-" "printed using the :mod:`pprint` module." msgstr "" -#: library/pdb.rst:500 +#: library/pdb.rst:509 msgid "Print the type of *expression*." msgstr "" -#: library/pdb.rst:504 +#: library/pdb.rst:513 msgid "Try to get source code of *expression* and display it." msgstr "" -#: library/pdb.rst:510 +#: library/pdb.rst:519 msgid "" "Display the value of *expression* if it changed, each time execution stops " "in the current frame." msgstr "" -#: library/pdb.rst:513 +#: library/pdb.rst:522 msgid "" "Without *expression*, list all display expressions for the current frame." msgstr "" -#: library/pdb.rst:517 +#: library/pdb.rst:526 msgid "" "Display evaluates *expression* and compares to the result of the previous " "evaluation of *expression*, so when the result is mutable, display may not " "be able to pick up the changes." msgstr "" -#: library/pdb.rst:521 +#: library/pdb.rst:530 msgid "Example::" msgstr "" -#: library/pdb.rst:523 +#: library/pdb.rst:532 msgid "" "lst = []\n" "breakpoint()\n" @@ -712,13 +719,13 @@ msgid "" "print(lst)" msgstr "" -#: library/pdb.rst:529 +#: library/pdb.rst:538 msgid "" "Display won't realize ``lst`` has been changed because the result of " "evaluation is modified in place by ``lst.append(1)`` before being compared::" msgstr "" -#: library/pdb.rst:532 +#: library/pdb.rst:541 msgid "" "> example.py(3)()\n" "-> pass\n" @@ -733,11 +740,11 @@ msgid "" "(Pdb)" msgstr "" -#: library/pdb.rst:544 +#: library/pdb.rst:553 msgid "You can do some tricks with copy mechanism to make it work::" msgstr "" -#: library/pdb.rst:546 +#: library/pdb.rst:555 msgid "" "> example.py(3)()\n" "-> pass\n" @@ -753,20 +760,20 @@ msgid "" "(Pdb)" msgstr "" -#: library/pdb.rst:563 +#: library/pdb.rst:572 msgid "" "Do not display *expression* anymore in the current frame. Without " "*expression*, clear all display expressions for the current frame." msgstr "" -#: library/pdb.rst:570 +#: library/pdb.rst:579 msgid "" "Start an interactive interpreter (using the :mod:`code` module) whose global " "namespace contains all the (global and local) names found in the current " "scope." msgstr "" -#: library/pdb.rst:580 +#: library/pdb.rst:589 msgid "" "Create an alias called *name* that executes *command*. The *command* must " "*not* be enclosed in quotes. Replaceable parameters can be indicated by " @@ -775,7 +782,7 @@ msgid "" "arguments are given, all aliases are listed." msgstr "" -#: library/pdb.rst:586 +#: library/pdb.rst:595 msgid "" "Aliases may be nested and can contain anything that can be legally typed at " "the pdb prompt. Note that internal pdb commands *can* be overridden by " @@ -784,13 +791,13 @@ msgid "" "other words in the line are left alone." msgstr "" -#: library/pdb.rst:592 +#: library/pdb.rst:601 msgid "" "As an example, here are two useful aliases (especially when placed in the :" "file:`.pdbrc` file)::" msgstr "" -#: library/pdb.rst:595 +#: library/pdb.rst:604 msgid "" "# Print instance variables (usage \"pi classInst\")\n" "alias pi for k in %1.__dict__.keys(): print(f\"%1.{k} = {%1.__dict__[k]}\")\n" @@ -798,36 +805,36 @@ msgid "" "alias ps pi self" msgstr "" -#: library/pdb.rst:602 +#: library/pdb.rst:611 msgid "Delete the specified alias *name*." msgstr "" -#: library/pdb.rst:606 +#: library/pdb.rst:615 msgid "" "Execute the (one-line) *statement* in the context of the current stack " "frame. The exclamation point can be omitted unless the first word of the " "statement resembles a debugger command, e.g.:" msgstr "" -#: library/pdb.rst:610 +#: library/pdb.rst:619 msgid "" "(Pdb) ! n=42\n" "(Pdb)" msgstr "" -#: library/pdb.rst:615 +#: library/pdb.rst:624 msgid "" "To set a global variable, you can prefix the assignment command with a :" "keyword:`global` statement on the same line, e.g.:" msgstr "" -#: library/pdb.rst:618 +#: library/pdb.rst:627 msgid "" "(Pdb) global list_options; list_options = ['-l']\n" "(Pdb)" msgstr "" -#: library/pdb.rst:626 +#: library/pdb.rst:635 msgid "" "Restart the debugged Python program. If *args* is supplied, it is split " "with :mod:`shlex` and the result is used as the new :data:`sys.argv`. " @@ -835,25 +842,25 @@ msgid "" "`restart` is an alias for :pdbcmd:`run`." msgstr "" -#: library/pdb.rst:633 +#: library/pdb.rst:642 msgid "Quit from the debugger. The program being executed is aborted." msgstr "" -#: library/pdb.rst:637 +#: library/pdb.rst:646 msgid "" "Enter a recursive debugger that steps through *code* (which is an arbitrary " "expression or statement to be executed in the current environment)." msgstr "" -#: library/pdb.rst:643 +#: library/pdb.rst:652 msgid "Print the return value for the last return of the current function." msgstr "" -#: library/pdb.rst:646 +#: library/pdb.rst:655 msgid "Footnotes" msgstr "" -#: library/pdb.rst:647 +#: library/pdb.rst:656 msgid "" "Whether a frame is considered to originate in a certain module is determined " "by the ``__name__`` in the frame globals." @@ -879,18 +886,18 @@ msgstr "" msgid "cmd" msgstr "" -#: library/pdb.rst:283 +#: library/pdb.rst:292 msgid ".pdbrc" msgstr "" -#: library/pdb.rst:283 +#: library/pdb.rst:292 msgid "file" msgstr "" -#: library/pdb.rst:283 +#: library/pdb.rst:292 msgid "debugger" msgstr "" -#: library/pdb.rst:283 +#: library/pdb.rst:292 msgid "configuration" msgstr "" diff --git a/library/persistence.po b/library/persistence.po index e6a7572f..def760d5 100644 --- a/library/persistence.po +++ b/library/persistence.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/pickle.po b/library/pickle.po index 6dff894e..e1d4ecb1 100644 --- a/library/pickle.po +++ b/library/pickle.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/pickletools.po b/library/pickletools.po index 151f1a28..79006506 100644 --- a/library/pickletools.po +++ b/library/pickletools.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/pipes.po b/library/pipes.po index 29dfbcb2..4a3c894f 100644 --- a/library/pipes.po +++ b/library/pipes.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/pkgutil.po b/library/pkgutil.po index 1019a3d0..170cdd75 100644 --- a/library/pkgutil.po +++ b/library/pkgutil.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/platform.po b/library/platform.po index 771db672..d8c4852f 100644 --- a/library/platform.po +++ b/library/platform.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2025-02-14 17:10+0200\n" "Last-Translator: Marios Giannopoulos \n" "Language-Team: PyGreece \n" diff --git a/library/plistlib.po b/library/plistlib.po index 11b4789e..88253bd6 100644 --- a/library/plistlib.po +++ b/library/plistlib.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -124,103 +124,110 @@ msgstr "" #: library/plistlib.rst:77 msgid "" -"The parser for the binary format raises :exc:`InvalidFileException` when the " -"file cannot be parsed." +"The parser raises :exc:`InvalidFileException` when the file cannot be parsed." msgstr "" -#: library/plistlib.rst:85 +#: library/plistlib.rst:84 msgid "" "Load a plist from a bytes object. See :func:`load` for an explanation of the " "keyword arguments." msgstr "" -#: library/plistlib.rst:93 +#: library/plistlib.rst:92 msgid "" "Write *value* to a plist file. *fp* should be a writable, binary file object." msgstr "" -#: library/plistlib.rst:96 +#: library/plistlib.rst:95 msgid "" "The *fmt* argument specifies the format of the plist file and can be one of " "the following values:" msgstr "" -#: library/plistlib.rst:99 +#: library/plistlib.rst:98 msgid ":data:`FMT_XML`: XML formatted plist file" msgstr "" -#: library/plistlib.rst:101 +#: library/plistlib.rst:100 msgid ":data:`FMT_BINARY`: Binary formatted plist file" msgstr "" -#: library/plistlib.rst:103 +#: library/plistlib.rst:102 msgid "" "When *sort_keys* is true (the default) the keys for dictionaries will be " "written to the plist in sorted order, otherwise they will be written in the " "iteration order of the dictionary." msgstr "" -#: library/plistlib.rst:107 +#: library/plistlib.rst:106 msgid "" "When *skipkeys* is false (the default) the function raises :exc:`TypeError` " "when a key of a dictionary is not a string, otherwise such keys are skipped." msgstr "" -#: library/plistlib.rst:110 +#: library/plistlib.rst:109 msgid "" "A :exc:`TypeError` will be raised if the object is of an unsupported type or " "a container that contains objects of unsupported types." msgstr "" -#: library/plistlib.rst:113 +#: library/plistlib.rst:112 msgid "" "An :exc:`OverflowError` will be raised for integer values that cannot be " "represented in (binary) plist files." msgstr "" -#: library/plistlib.rst:121 +#: library/plistlib.rst:120 msgid "" "Return *value* as a plist-formatted bytes object. See the documentation for :" "func:`dump` for an explanation of the keyword arguments of this function." msgstr "" -#: library/plistlib.rst:128 +#: library/plistlib.rst:127 msgid "The following classes are available:" msgstr "" -#: library/plistlib.rst:132 +#: library/plistlib.rst:131 msgid "" "Wraps an :class:`int`. This is used when reading or writing NSKeyedArchiver " "encoded data, which contains UID (see PList manual)." msgstr "" -#: library/plistlib.rst:135 +#: library/plistlib.rst:134 msgid "" "It has one attribute, :attr:`data`, which can be used to retrieve the int " "value of the UID. :attr:`data` must be in the range ``0 <= data < 2**64``." msgstr "" -#: library/plistlib.rst:141 +#: library/plistlib.rst:140 msgid "The following constants are available:" msgstr "" -#: library/plistlib.rst:145 +#: library/plistlib.rst:144 msgid "The XML format for plist files." msgstr "" -#: library/plistlib.rst:152 +#: library/plistlib.rst:151 msgid "The binary format for plist files" msgstr "" -#: library/plistlib.rst:158 -msgid "Examples" +#: library/plistlib.rst:156 +msgid "The module defines the following exceptions:" msgstr "" #: library/plistlib.rst:160 +msgid "Raised when a file cannot be parsed." +msgstr "" + +#: library/plistlib.rst:166 +msgid "Examples" +msgstr "" + +#: library/plistlib.rst:168 msgid "Generating a plist::" msgstr "" -#: library/plistlib.rst:162 +#: library/plistlib.rst:170 msgid "" "import datetime\n" "import plistlib\n" @@ -243,11 +250,11 @@ msgid "" "print(plistlib.dumps(pl).decode())" msgstr "" -#: library/plistlib.rst:182 +#: library/plistlib.rst:190 msgid "Parsing a plist::" msgstr "" -#: library/plistlib.rst:184 +#: library/plistlib.rst:192 msgid "" "import plistlib\n" "\n" diff --git a/library/poplib.po b/library/poplib.po index a82fb0f8..2dcee308 100644 --- a/library/poplib.po +++ b/library/poplib.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/posix.po b/library/posix.po index 8872ac9a..75cca98b 100644 --- a/library/posix.po +++ b/library/posix.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/pprint.po b/library/pprint.po index bcdfca97..379a9491 100644 --- a/library/pprint.po +++ b/library/pprint.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/profile.po b/library/profile.po index 8e0388d3..6be0cd30 100644 --- a/library/profile.po +++ b/library/profile.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -204,47 +204,48 @@ msgid "" "formats them in various ways." msgstr "" -#: library/profile.rst:126 +#: library/profile.rst:128 msgid "" "The files :mod:`cProfile` and :mod:`profile` can also be invoked as a script " "to profile another script. For example::" msgstr "" -#: library/profile.rst:129 +#: library/profile.rst:131 msgid "" "python -m cProfile [-o output_file] [-s sort_order] (-m module | myscript.py)" msgstr "" -#: library/profile.rst:131 -msgid "``-o`` writes the profile results to a file instead of to stdout" +#: library/profile.rst:135 +msgid "Writes the profile results to a file instead of to stdout." msgstr "" -#: library/profile.rst:133 +#: library/profile.rst:139 msgid "" -"``-s`` specifies one of the :func:`~pstats.Stats.sort_stats` sort values to " -"sort the output by. This only applies when ``-o`` is not supplied." +"Specifies one of the :func:`~pstats.Stats.sort_stats` sort values to sort " +"the output by. This only applies when :option:`-o ` is not " +"supplied." msgstr "" -#: library/profile.rst:136 -msgid "``-m`` specifies that a module is being profiled instead of a script." +#: library/profile.rst:145 +msgid "Specifies that a module is being profiled instead of a script." msgstr "" -#: library/profile.rst:138 +#: library/profile.rst:147 msgid "Added the ``-m`` option to :mod:`cProfile`." msgstr "" -#: library/profile.rst:141 +#: library/profile.rst:150 msgid "Added the ``-m`` option to :mod:`profile`." msgstr "" -#: library/profile.rst:144 +#: library/profile.rst:153 msgid "" "The :mod:`pstats` module's :class:`~pstats.Stats` class has a variety of " "methods for manipulating and printing the data saved into a profile results " "file::" msgstr "" -#: library/profile.rst:147 +#: library/profile.rst:156 msgid "" "import pstats\n" "from pstats import SortKey\n" @@ -252,7 +253,7 @@ msgid "" "p.strip_dirs().sort_stats(-1).print_stats()" msgstr "" -#: library/profile.rst:152 +#: library/profile.rst:161 msgid "" "The :meth:`~pstats.Stats.strip_dirs` method removed the extraneous path from " "all the module names. The :meth:`~pstats.Stats.sort_stats` method sorted all " @@ -261,66 +262,66 @@ msgid "" "statistics. You might try the following sort calls::" msgstr "" -#: library/profile.rst:158 +#: library/profile.rst:167 msgid "" "p.sort_stats(SortKey.NAME)\n" "p.print_stats()" msgstr "" -#: library/profile.rst:161 +#: library/profile.rst:170 msgid "" "The first call will actually sort the list by function name, and the second " "call will print out the statistics. The following are some interesting " "calls to experiment with::" msgstr "" -#: library/profile.rst:165 +#: library/profile.rst:174 msgid "p.sort_stats(SortKey.CUMULATIVE).print_stats(10)" msgstr "" -#: library/profile.rst:167 +#: library/profile.rst:176 msgid "" "This sorts the profile by cumulative time in a function, and then only " "prints the ten most significant lines. If you want to understand what " "algorithms are taking time, the above line is what you would use." msgstr "" -#: library/profile.rst:171 +#: library/profile.rst:180 msgid "" "If you were looking to see what functions were looping a lot, and taking a " "lot of time, you would do::" msgstr "" -#: library/profile.rst:174 +#: library/profile.rst:183 msgid "p.sort_stats(SortKey.TIME).print_stats(10)" msgstr "" -#: library/profile.rst:176 +#: library/profile.rst:185 msgid "" "to sort according to time spent within each function, and then print the " "statistics for the top ten functions." msgstr "" -#: library/profile.rst:179 +#: library/profile.rst:188 msgid "You might also try::" msgstr "" -#: library/profile.rst:181 +#: library/profile.rst:190 msgid "p.sort_stats(SortKey.FILENAME).print_stats('__init__')" msgstr "" -#: library/profile.rst:183 +#: library/profile.rst:192 msgid "" "This will sort all the statistics by file name, and then print out " "statistics for only the class init methods (since they are spelled with " "``__init__`` in them). As one final example, you could try::" msgstr "" -#: library/profile.rst:187 +#: library/profile.rst:196 msgid "p.sort_stats(SortKey.TIME, SortKey.CUMULATIVE).print_stats(.5, 'init')" msgstr "" -#: library/profile.rst:189 +#: library/profile.rst:198 msgid "" "This line sorts statistics with a primary key of time, and a secondary key " "of cumulative time, and then prints out some of the statistics. To be " @@ -329,60 +330,60 @@ msgid "" "list is printed." msgstr "" -#: library/profile.rst:194 +#: library/profile.rst:203 msgid "" "If you wondered what functions called the above functions, you could now " "(``p`` is still sorted according to the last criteria) do::" msgstr "" -#: library/profile.rst:197 +#: library/profile.rst:206 msgid "p.print_callers(.5, 'init')" msgstr "" -#: library/profile.rst:199 +#: library/profile.rst:208 msgid "and you would get a list of callers for each of the listed functions." msgstr "" -#: library/profile.rst:201 +#: library/profile.rst:210 msgid "" "If you want more functionality, you're going to have to read the manual, or " "guess what the following functions do::" msgstr "" -#: library/profile.rst:204 +#: library/profile.rst:213 msgid "" "p.print_callees()\n" "p.add('restats')" msgstr "" -#: library/profile.rst:207 +#: library/profile.rst:216 msgid "" "Invoked as a script, the :mod:`pstats` module is a statistics browser for " "reading and examining profile dumps. It has a simple line-oriented " "interface (implemented using :mod:`cmd`) and interactive help." msgstr "" -#: library/profile.rst:212 +#: library/profile.rst:221 msgid ":mod:`profile` and :mod:`cProfile` Module Reference" msgstr "" -#: library/profile.rst:218 +#: library/profile.rst:227 msgid "" "Both the :mod:`profile` and :mod:`cProfile` modules provide the following " "functions:" msgstr "" -#: library/profile.rst:223 +#: library/profile.rst:232 msgid "" "This function takes a single argument that can be passed to the :func:`exec` " "function, and an optional file name. In all cases this routine executes::" msgstr "" -#: library/profile.rst:226 +#: library/profile.rst:235 msgid "exec(command, __main__.__dict__, __main__.__dict__)" msgstr "" -#: library/profile.rst:228 +#: library/profile.rst:237 msgid "" "and gathers profiling statistics from the execution. If no file name is " "present, then this function automatically creates a :class:`~pstats.Stats` " @@ -391,28 +392,28 @@ msgid "" "how the results are sorted." msgstr "" -#: library/profile.rst:236 +#: library/profile.rst:245 msgid "" "This function is similar to :func:`run`, with added arguments to supply the " "globals and locals dictionaries for the *command* string. This routine " "executes::" msgstr "" -#: library/profile.rst:240 +#: library/profile.rst:249 msgid "exec(command, globals, locals)" msgstr "" -#: library/profile.rst:242 +#: library/profile.rst:251 msgid "and gathers profiling statistics as in the :func:`run` function above." msgstr "" -#: library/profile.rst:246 +#: library/profile.rst:255 msgid "" "This class is normally only used if more precise control over profiling is " "needed than what the :func:`cProfile.run` function provides." msgstr "" -#: library/profile.rst:249 +#: library/profile.rst:258 msgid "" "A custom timer can be supplied for measuring how long code takes to run via " "the *timer* argument. This must be a function that returns a single number " @@ -422,13 +423,13 @@ msgid "" "time unit would be ``.001``." msgstr "" -#: library/profile.rst:256 +#: library/profile.rst:265 msgid "" "Directly using the :class:`Profile` class allows formatting profile results " "without writing the profile data to a file::" msgstr "" -#: library/profile.rst:259 +#: library/profile.rst:268 msgid "" "import cProfile, pstats, io\n" "from pstats import SortKey\n" @@ -443,13 +444,13 @@ msgid "" "print(s.getvalue())" msgstr "" -#: library/profile.rst:271 +#: library/profile.rst:280 msgid "" "The :class:`Profile` class can also be used as a context manager (supported " "only in :mod:`cProfile` module. see :ref:`typecontextmanager`)::" msgstr "" -#: library/profile.rst:274 +#: library/profile.rst:283 msgid "" "import cProfile\n" "\n" @@ -459,49 +460,49 @@ msgid "" " pr.print_stats()" msgstr "" -#: library/profile.rst:281 +#: library/profile.rst:290 msgid "Added context manager support." msgstr "" -#: library/profile.rst:286 +#: library/profile.rst:295 msgid "Start collecting profiling data. Only in :mod:`cProfile`." msgstr "" -#: library/profile.rst:290 +#: library/profile.rst:299 msgid "Stop collecting profiling data. Only in :mod:`cProfile`." msgstr "" -#: library/profile.rst:294 +#: library/profile.rst:303 msgid "" "Stop collecting profiling data and record the results internally as the " "current profile." msgstr "" -#: library/profile.rst:299 +#: library/profile.rst:308 msgid "" "Create a :class:`~pstats.Stats` object based on the current profile and " "print the results to stdout." msgstr "" -#: library/profile.rst:304 +#: library/profile.rst:313 msgid "Write the results of the current profile to *filename*." msgstr "" -#: library/profile.rst:308 +#: library/profile.rst:317 msgid "Profile the cmd via :func:`exec`." msgstr "" -#: library/profile.rst:312 +#: library/profile.rst:321 msgid "" "Profile the cmd via :func:`exec` with the specified global and local " "environment." msgstr "" -#: library/profile.rst:317 +#: library/profile.rst:326 msgid "Profile ``func(*args, **kwargs)``" msgstr "" -#: library/profile.rst:319 +#: library/profile.rst:328 msgid "" "Note that profiling will only work if the called command/function actually " "returns. If the interpreter is terminated (e.g. via a :func:`sys.exit` call " @@ -509,23 +510,23 @@ msgid "" "printed." msgstr "" -#: library/profile.rst:327 +#: library/profile.rst:336 msgid "The :class:`Stats` Class" msgstr "" -#: library/profile.rst:329 +#: library/profile.rst:338 msgid "" "Analysis of the profiler data is done using the :class:`~pstats.Stats` class." msgstr "" -#: library/profile.rst:336 +#: library/profile.rst:345 msgid "" "This class constructor creates an instance of a \"statistics object\" from a " "*filename* (or list of filenames) or from a :class:`Profile` instance. " "Output will be printed to the stream specified by *stream*." msgstr "" -#: library/profile.rst:340 +#: library/profile.rst:349 msgid "" "The file selected by the above constructor must have been created by the " "corresponding version of :mod:`profile` or :mod:`cProfile`. To be specific, " @@ -539,17 +540,17 @@ msgid "" "can be used." msgstr "" -#: library/profile.rst:351 +#: library/profile.rst:360 msgid "" "Instead of reading the profile data from a file, a :class:`cProfile.Profile` " "or :class:`profile.Profile` object can be used as the profile data source." msgstr "" -#: library/profile.rst:354 +#: library/profile.rst:363 msgid ":class:`Stats` objects have the following methods:" msgstr "" -#: library/profile.rst:358 +#: library/profile.rst:367 msgid "" "This method for the :class:`Stats` class removes all leading path " "information from file names. It is very useful in reducing the size of the " @@ -563,7 +564,7 @@ msgid "" "single entry." msgstr "" -#: library/profile.rst:372 +#: library/profile.rst:381 msgid "" "This method of the :class:`Stats` class accumulates additional profiling " "information into the current profiling object. Its arguments should refer " @@ -572,7 +573,7 @@ msgid "" "functions are automatically accumulated into single function statistics." msgstr "" -#: library/profile.rst:382 +#: library/profile.rst:391 msgid "" "Save the data loaded into the :class:`Stats` object to a file named " "*filename*. The file is created if it does not exist, and is overwritten if " @@ -580,7 +581,7 @@ msgid "" "the :class:`profile.Profile` and :class:`cProfile.Profile` classes." msgstr "" -#: library/profile.rst:390 +#: library/profile.rst:399 msgid "" "This method modifies the :class:`Stats` object by sorting it according to " "the supplied criteria. The argument can be either a string or a SortKey " @@ -590,7 +591,7 @@ msgid "" "prone." msgstr "" -#: library/profile.rst:397 +#: library/profile.rst:406 msgid "" "When more than one key is provided, then additional keys are used as " "secondary criteria when there is equality in all keys selected before them. " @@ -599,161 +600,161 @@ msgid "" "function names) by sorting by file name." msgstr "" -#: library/profile.rst:403 +#: library/profile.rst:412 msgid "" "For the string argument, abbreviations can be used for any key names, as " "long as the abbreviation is unambiguous." msgstr "" -#: library/profile.rst:406 +#: library/profile.rst:415 msgid "The following are the valid string and SortKey:" msgstr "" -#: library/profile.rst:409 +#: library/profile.rst:418 msgid "Valid String Arg" msgstr "" -#: library/profile.rst:409 +#: library/profile.rst:418 msgid "Valid enum Arg" msgstr "" -#: library/profile.rst:409 +#: library/profile.rst:418 msgid "Meaning" msgstr "" -#: library/profile.rst:411 +#: library/profile.rst:420 msgid "``'calls'``" msgstr "" -#: library/profile.rst:411 +#: library/profile.rst:420 msgid "SortKey.CALLS" msgstr "" -#: library/profile.rst:423 +#: library/profile.rst:432 msgid "call count" msgstr "" -#: library/profile.rst:413 +#: library/profile.rst:422 msgid "``'cumulative'``" msgstr "" -#: library/profile.rst:413 +#: library/profile.rst:422 msgid "SortKey.CUMULATIVE" msgstr "" -#: library/profile.rst:415 +#: library/profile.rst:424 msgid "cumulative time" msgstr "" -#: library/profile.rst:415 +#: library/profile.rst:424 msgid "``'cumtime'``" msgstr "" -#: library/profile.rst:417 library/profile.rst:423 library/profile.rst:437 +#: library/profile.rst:426 library/profile.rst:432 library/profile.rst:446 msgid "N/A" msgstr "" -#: library/profile.rst:417 +#: library/profile.rst:426 msgid "``'file'``" msgstr "" -#: library/profile.rst:419 library/profile.rst:421 +#: library/profile.rst:428 library/profile.rst:430 msgid "file name" msgstr "" -#: library/profile.rst:419 +#: library/profile.rst:428 msgid "``'filename'``" msgstr "" -#: library/profile.rst:419 +#: library/profile.rst:428 msgid "SortKey.FILENAME" msgstr "" -#: library/profile.rst:421 +#: library/profile.rst:430 msgid "``'module'``" msgstr "" -#: library/profile.rst:423 +#: library/profile.rst:432 msgid "``'ncalls'``" msgstr "" -#: library/profile.rst:425 +#: library/profile.rst:434 msgid "``'pcalls'``" msgstr "" -#: library/profile.rst:425 +#: library/profile.rst:434 msgid "SortKey.PCALLS" msgstr "" -#: library/profile.rst:425 +#: library/profile.rst:434 msgid "primitive call count" msgstr "" -#: library/profile.rst:427 +#: library/profile.rst:436 msgid "``'line'``" msgstr "" -#: library/profile.rst:427 +#: library/profile.rst:436 msgid "SortKey.LINE" msgstr "" -#: library/profile.rst:427 +#: library/profile.rst:436 msgid "line number" msgstr "" -#: library/profile.rst:429 +#: library/profile.rst:438 msgid "``'name'``" msgstr "" -#: library/profile.rst:429 +#: library/profile.rst:438 msgid "SortKey.NAME" msgstr "" -#: library/profile.rst:429 +#: library/profile.rst:438 msgid "function name" msgstr "" -#: library/profile.rst:431 +#: library/profile.rst:440 msgid "``'nfl'``" msgstr "" -#: library/profile.rst:431 +#: library/profile.rst:440 msgid "SortKey.NFL" msgstr "" -#: library/profile.rst:431 +#: library/profile.rst:440 msgid "name/file/line" msgstr "" -#: library/profile.rst:433 +#: library/profile.rst:442 msgid "``'stdname'``" msgstr "" -#: library/profile.rst:433 +#: library/profile.rst:442 msgid "SortKey.STDNAME" msgstr "" -#: library/profile.rst:433 +#: library/profile.rst:442 msgid "standard name" msgstr "" -#: library/profile.rst:435 +#: library/profile.rst:444 msgid "``'time'``" msgstr "" -#: library/profile.rst:435 +#: library/profile.rst:444 msgid "SortKey.TIME" msgstr "" -#: library/profile.rst:437 +#: library/profile.rst:446 msgid "internal time" msgstr "" -#: library/profile.rst:437 +#: library/profile.rst:446 msgid "``'tottime'``" msgstr "" -#: library/profile.rst:440 +#: library/profile.rst:449 msgid "" "Note that all sorts on statistics are in descending order (placing most time " "consuming items first), where as name, file, and line number searches are in " @@ -767,7 +768,7 @@ msgid "" "SortKey.FILENAME, SortKey.LINE)``." msgstr "" -#: library/profile.rst:451 +#: library/profile.rst:460 msgid "" "For backward-compatibility reasons, the numeric arguments ``-1``, ``0``, " "``1``, and ``2`` are permitted. They are interpreted as ``'stdname'``, " @@ -776,31 +777,31 @@ msgid "" "used, and additional arguments will be silently ignored." msgstr "" -#: library/profile.rst:459 +#: library/profile.rst:468 msgid "Added the SortKey enum." msgstr "" -#: library/profile.rst:464 +#: library/profile.rst:473 msgid "" "This method for the :class:`Stats` class reverses the ordering of the basic " "list within the object. Note that by default ascending vs descending order " "is properly selected based on the sort key of choice." msgstr "" -#: library/profile.rst:474 +#: library/profile.rst:483 msgid "" "This method for the :class:`Stats` class prints out a report as described in " "the :func:`profile.run` definition." msgstr "" -#: library/profile.rst:477 +#: library/profile.rst:486 msgid "" "The order of the printing is based on the last :meth:`~pstats.Stats." "sort_stats` operation done on the object (subject to caveats in :meth:" "`~pstats.Stats.add` and :meth:`~pstats.Stats.strip_dirs`)." msgstr "" -#: library/profile.rst:482 +#: library/profile.rst:491 msgid "" "The arguments provided (if any) can be used to limit the list down to the " "significant entries. Initially, the list is taken to be the complete set of " @@ -812,28 +813,28 @@ msgid "" "example::" msgstr "" -#: library/profile.rst:491 +#: library/profile.rst:500 msgid "print_stats(.1, 'foo:')" msgstr "" -#: library/profile.rst:493 +#: library/profile.rst:502 msgid "" "would first limit the printing to first 10% of list, and then only print " "functions that were part of filename :file:`.\\*foo:`. In contrast, the " "command::" msgstr "" -#: library/profile.rst:497 +#: library/profile.rst:506 msgid "print_stats('foo:', .1)" msgstr "" -#: library/profile.rst:499 +#: library/profile.rst:508 msgid "" "would limit the list to all functions having file names :file:`.\\*foo:`, " "and then proceed to only print the first 10% of them." msgstr "" -#: library/profile.rst:505 +#: library/profile.rst:514 msgid "" "This method for the :class:`Stats` class prints a list of all functions that " "called each function in the profiled database. The ordering is identical to " @@ -843,7 +844,7 @@ msgid "" "produced the stats:" msgstr "" -#: library/profile.rst:512 +#: library/profile.rst:521 msgid "" "With :mod:`profile`, a number is shown in parentheses after each caller to " "show how many times this specific call was made. For convenience, a second " @@ -851,14 +852,14 @@ msgid "" "at the right." msgstr "" -#: library/profile.rst:517 +#: library/profile.rst:526 msgid "" "With :mod:`cProfile`, each caller is preceded by three numbers: the number " "of times this specific call was made, and the total and cumulative times " "spent in the current function while it was invoked by this specific caller." msgstr "" -#: library/profile.rst:525 +#: library/profile.rst:534 msgid "" "This method for the :class:`Stats` class prints a list of all function that " "were called by the indicated function. Aside from this reversal of " @@ -866,7 +867,7 @@ msgid "" "are identical to the :meth:`~pstats.Stats.print_callers` method." msgstr "" -#: library/profile.rst:533 +#: library/profile.rst:542 msgid "" "This method returns an instance of StatsProfile, which contains a mapping of " "function names to instances of FunctionProfile. Each FunctionProfile " @@ -874,17 +875,17 @@ msgid "" "long the function took to run, how many times it was called, etc..." msgstr "" -#: library/profile.rst:538 +#: library/profile.rst:547 msgid "" "Added the following dataclasses: StatsProfile, FunctionProfile. Added the " "following function: get_stats_profile." msgstr "" -#: library/profile.rst:545 +#: library/profile.rst:554 msgid "What Is Deterministic Profiling?" msgstr "" -#: library/profile.rst:547 +#: library/profile.rst:556 msgid "" ":dfn:`Deterministic profiling` is meant to reflect the fact that all " "*function call*, *function return*, and *exception* events are monitored, " @@ -897,7 +898,7 @@ msgid "" "being spent." msgstr "" -#: library/profile.rst:556 +#: library/profile.rst:565 msgid "" "In Python, since there is an interpreter active during execution, the " "presence of instrumented code is not required in order to do deterministic " @@ -909,7 +910,7 @@ msgid "" "time statistics about the execution of a Python program." msgstr "" -#: library/profile.rst:565 +#: library/profile.rst:574 msgid "" "Call count statistics can be used to identify bugs in code (surprising " "counts), and to identify possible inline-expansion points (high call " @@ -921,11 +922,11 @@ msgid "" "compared to iterative implementations." msgstr "" -#: library/profile.rst:578 +#: library/profile.rst:587 msgid "Limitations" msgstr "" -#: library/profile.rst:580 +#: library/profile.rst:589 msgid "" "One limitation has to do with accuracy of timing information. There is a " "fundamental problem with deterministic profilers involving accuracy. The " @@ -936,7 +937,7 @@ msgid "" "first error induces a second source of error." msgstr "" -#: library/profile.rst:588 +#: library/profile.rst:597 msgid "" "The second problem is that it \"takes a while\" from when an event is " "dispatched until the profiler's call to get the time actually *gets* the " @@ -949,7 +950,7 @@ msgid "" "clock tick), but it *can* accumulate and become very significant." msgstr "" -#: library/profile.rst:598 +#: library/profile.rst:607 msgid "" "The problem is more important with :mod:`profile` than with the lower-" "overhead :mod:`cProfile`. For this reason, :mod:`profile` provides a means " @@ -963,11 +964,11 @@ msgid "" "calibration." msgstr "" -#: library/profile.rst:612 +#: library/profile.rst:621 msgid "Calibration" msgstr "" -#: library/profile.rst:614 +#: library/profile.rst:623 msgid "" "The profiler of the :mod:`profile` module subtracts a constant from each " "event handling time to compensate for the overhead of calling the time " @@ -976,7 +977,7 @@ msgid "" "platform (see :ref:`profile-limitations`). ::" msgstr "" -#: library/profile.rst:620 +#: library/profile.rst:629 msgid "" "import profile\n" "pr = profile.Profile()\n" @@ -984,7 +985,7 @@ msgid "" " print(pr.calibrate(10000))" msgstr "" -#: library/profile.rst:625 +#: library/profile.rst:634 msgid "" "The method executes the number of Python calls given by the argument, " "directly and again under the profiler, measuring the time for both. It then " @@ -994,19 +995,19 @@ msgid "" "4.04e-6." msgstr "" -#: library/profile.rst:631 +#: library/profile.rst:640 msgid "" "The object of this exercise is to get a fairly consistent result. If your " "computer is *very* fast, or your timer function has poor resolution, you " "might have to pass 100000, or even 1000000, to get consistent results." msgstr "" -#: library/profile.rst:635 +#: library/profile.rst:644 msgid "" "When you have a consistent answer, there are three ways you can use it::" msgstr "" -#: library/profile.rst:637 +#: library/profile.rst:646 msgid "" "import profile\n" "\n" @@ -1021,40 +1022,40 @@ msgid "" "pr = profile.Profile(bias=your_computed_bias)" msgstr "" -#: library/profile.rst:649 +#: library/profile.rst:658 msgid "" "If you have a choice, you are better off choosing a smaller constant, and " "then your results will \"less often\" show up as negative in profile " "statistics." msgstr "" -#: library/profile.rst:655 +#: library/profile.rst:664 msgid "Using a custom timer" msgstr "" -#: library/profile.rst:657 +#: library/profile.rst:666 msgid "" "If you want to change how current time is determined (for example, to force " "use of wall-clock time or elapsed process time), pass the timing function " "you want to the :class:`Profile` class constructor::" msgstr "" -#: library/profile.rst:661 +#: library/profile.rst:670 msgid "pr = profile.Profile(your_time_func)" msgstr "" -#: library/profile.rst:663 +#: library/profile.rst:672 msgid "" "The resulting profiler will then call ``your_time_func``. Depending on " "whether you are using :class:`profile.Profile` or :class:`cProfile.Profile`, " "``your_time_func``'s return value will be interpreted differently:" msgstr "" -#: library/profile.rst:667 +#: library/profile.rst:676 msgid ":class:`profile.Profile`" msgstr "" -#: library/profile.rst:668 +#: library/profile.rst:677 msgid "" "``your_time_func`` should return a single number, or a list of numbers whose " "sum is the current time (like what :func:`os.times` returns). If the " @@ -1063,7 +1064,7 @@ msgid "" "routine." msgstr "" -#: library/profile.rst:674 +#: library/profile.rst:683 msgid "" "Be warned that you should calibrate the profiler class for the timer " "function that you choose (see :ref:`profile-calibration`). For most " @@ -1075,11 +1076,11 @@ msgid "" "along with the appropriate calibration constant." msgstr "" -#: library/profile.rst:683 +#: library/profile.rst:692 msgid ":class:`cProfile.Profile`" msgstr "" -#: library/profile.rst:684 +#: library/profile.rst:693 msgid "" "``your_time_func`` should return a single number. If it returns integers, " "you can also invoke the class constructor with a second argument specifying " @@ -1088,11 +1089,11 @@ msgid "" "you would construct the :class:`Profile` instance as follows::" msgstr "" -#: library/profile.rst:690 +#: library/profile.rst:699 msgid "pr = cProfile.Profile(your_integer_time_func, 0.001)" msgstr "" -#: library/profile.rst:692 +#: library/profile.rst:701 msgid "" "As the :class:`cProfile.Profile` class cannot be calibrated, custom timer " "functions should be used with care and should be as fast as possible. For " @@ -1100,7 +1101,7 @@ msgid "" "in the C source of the internal :mod:`!_lsprof` module." msgstr "" -#: library/profile.rst:697 +#: library/profile.rst:706 msgid "" "Python 3.3 adds several new functions in :mod:`time` that can be used to " "make precise measurements of process or wall-clock time. For example, see :" diff --git a/library/pty.po b/library/pty.po index d1cf084d..eb31924b 100644 --- a/library/pty.po +++ b/library/pty.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/pwd.po b/library/pwd.po index 6f94feba..c036f341 100644 --- a/library/pwd.po +++ b/library/pwd.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/py_compile.po b/library/py_compile.po index 073a3c0b..0adb53f9 100644 --- a/library/py_compile.po +++ b/library/py_compile.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/pyclbr.po b/library/pyclbr.po index b338c94a..d79ee4e2 100644 --- a/library/pyclbr.po +++ b/library/pyclbr.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/pydoc.po b/library/pydoc.po index a380d9bd..f786bf97 100644 --- a/library/pydoc.po +++ b/library/pydoc.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/pyexpat.po b/library/pyexpat.po index 6324a757..e972c7f4 100644 --- a/library/pyexpat.po +++ b/library/pyexpat.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/python.po b/library/python.po index e52eb1b1..780443ae 100644 --- a/library/python.po +++ b/library/python.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/queue.po b/library/queue.po index 8988312b..71de2a43 100644 --- a/library/queue.po +++ b/library/queue.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/quopri.po b/library/quopri.po index 57208616..5364d8ae 100644 --- a/library/quopri.po +++ b/library/quopri.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/random.po b/library/random.po index dfc2f054..75a510f4 100644 --- a/library/random.po +++ b/library/random.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/re.po b/library/re.po index 72ee5839..5a1dffdb 100644 --- a/library/re.po +++ b/library/re.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/readline.po b/library/readline.po index dec02b17..3f7cd590 100644 --- a/library/readline.po +++ b/library/readline.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -89,13 +89,13 @@ msgstr "" #: library/readline.rst:60 msgid "" "Execute the init line provided in the *string* argument. This calls :c:func:" -"`rl_parse_and_bind` in the underlying library." +"`!rl_parse_and_bind` in the underlying library." msgstr "" #: library/readline.rst:66 msgid "" "Execute a readline initialization file. The default filename is the last " -"filename used. This calls :c:func:`rl_read_init_file` in the underlying " +"filename used. This calls :c:func:`!rl_read_init_file` in the underlying " "library." msgstr "" @@ -109,20 +109,20 @@ msgstr "" #: library/readline.rst:78 msgid "" -"Return the current contents of the line buffer (:c:data:`rl_line_buffer` in " +"Return the current contents of the line buffer (:c:data:`!rl_line_buffer` in " "the underlying library)." msgstr "" #: library/readline.rst:84 msgid "" "Insert text into the line buffer at the cursor position. This calls :c:func:" -"`rl_insert_text` in the underlying library, but ignores the return value." +"`!rl_insert_text` in the underlying library, but ignores the return value." msgstr "" #: library/readline.rst:91 msgid "" "Change what's displayed on the screen to reflect the current contents of the " -"line buffer. This calls :c:func:`rl_redisplay` in the underlying library." +"line buffer. This calls :c:func:`!rl_redisplay` in the underlying library." msgstr "" #: library/readline.rst:96 @@ -136,22 +136,22 @@ msgstr "" #: library/readline.rst:103 msgid "" "Load a readline history file, and append it to the history list. The default " -"filename is :file:`~/.history`. This calls :c:func:`read_history` in the " +"filename is :file:`~/.history`. This calls :c:func:`!read_history` in the " "underlying library." msgstr "" #: library/readline.rst:110 msgid "" "Save the history list to a readline history file, overwriting any existing " -"file. The default filename is :file:`~/.history`. This calls :c:func:" -"`write_history` in the underlying library." +"file. The default filename is :file:`~/.history`. This calls :c:func:`!" +"write_history` in the underlying library." msgstr "" #: library/readline.rst:117 msgid "" "Append the last *nelements* items of history to a file. The default " "filename is :file:`~/.history`. The file must already exist. This calls :c:" -"func:`append_history` in the underlying library. This function only exists " +"func:`!append_history` in the underlying library. This function only exists " "if Python was compiled for a version of the library that supports it." msgstr "" @@ -159,8 +159,8 @@ msgstr "" msgid "" "Set or return the desired number of lines to save in the history file. The :" "func:`write_history_file` function uses this value to truncate the history " -"file, by calling :c:func:`history_truncate_file` in the underlying library. " -"Negative values imply unlimited history file size." +"file, by calling :c:func:`!history_truncate_file` in the underlying " +"library. Negative values imply unlimited history file size." msgstr "" #: library/readline.rst:137 @@ -173,7 +173,7 @@ msgstr "" #: library/readline.rst:144 msgid "" -"Clear the current history. This calls :c:func:`clear_history` in the " +"Clear the current history. This calls :c:func:`!clear_history` in the " "underlying library. The Python function only exists if Python was compiled " "for a version of the library that supports it." msgstr "" @@ -188,32 +188,32 @@ msgstr "" #: library/readline.rst:158 msgid "" "Return the current contents of history item at *index*. The item index is " -"one-based. This calls :c:func:`history_get` in the underlying library." +"one-based. This calls :c:func:`!history_get` in the underlying library." msgstr "" #: library/readline.rst:164 msgid "" "Remove history item specified by its position from the history. The position " -"is zero-based. This calls :c:func:`remove_history` in the underlying " +"is zero-based. This calls :c:func:`!remove_history` in the underlying " "library." msgstr "" #: library/readline.rst:171 msgid "" "Replace history item specified by its position with *line*. The position is " -"zero-based. This calls :c:func:`replace_history_entry` in the underlying " +"zero-based. This calls :c:func:`!replace_history_entry` in the underlying " "library." msgstr "" #: library/readline.rst:178 msgid "" "Append *line* to the history buffer, as if it was the last line typed. This " -"calls :c:func:`add_history` in the underlying library." +"calls :c:func:`!add_history` in the underlying library." msgstr "" #: library/readline.rst:184 msgid "" -"Enable or disable automatic calls to :c:func:`add_history` when reading " +"Enable or disable automatic calls to :c:func:`!add_history` when reading " "input via readline. The *enabled* argument should be a Boolean value that " "when true, enables auto history, and that when false, disables auto history." msgstr "" @@ -230,16 +230,16 @@ msgstr "" #: library/readline.rst:202 msgid "" -"Set or remove the function invoked by the :c:data:`rl_startup_hook` callback " -"of the underlying library. If *function* is specified, it will be used as " -"the new hook function; if omitted or ``None``, any function already " +"Set or remove the function invoked by the :c:data:`!rl_startup_hook` " +"callback of the underlying library. If *function* is specified, it will be " +"used as the new hook function; if omitted or ``None``, any function already " "installed is removed. The hook is called with no arguments just before " "readline prints the first prompt." msgstr "" #: library/readline.rst:211 msgid "" -"Set or remove the function invoked by the :c:data:`rl_pre_input_hook` " +"Set or remove the function invoked by the :c:data:`!rl_pre_input_hook` " "callback of the underlying library. If *function* is specified, it will be " "used as the new hook function; if omitted or ``None``, any function already " "installed is removed. The hook is called with no arguments after the first " @@ -275,9 +275,9 @@ msgstr "" #: library/readline.rst:242 msgid "" "The installed completer function is invoked by the *entry_func* callback " -"passed to :c:func:`rl_completion_matches` in the underlying library. The " -"*text* string comes from the first parameter to the :c:data:" -"`rl_attempted_completion_function` callback of the underlying library." +"passed to :c:func:`!rl_completion_matches` in the underlying library. The " +"*text* string comes from the first parameter to the :c:data:`!" +"rl_attempted_completion_function` callback of the underlying library." msgstr "" #: library/readline.rst:251 @@ -288,15 +288,15 @@ msgstr "" #: library/readline.rst:256 msgid "" -"Get the type of completion being attempted. This returns the :c:data:" -"`rl_completion_type` variable in the underlying library as an integer." +"Get the type of completion being attempted. This returns the :c:data:`!" +"rl_completion_type` variable in the underlying library as an integer." msgstr "" #: library/readline.rst:264 msgid "" "Get the beginning or ending index of the completion scope. These indexes are " -"the *start* and *end* arguments passed to the :c:data:" -"`rl_attempted_completion_function` callback of the underlying library. The " +"the *start* and *end* arguments passed to the :c:data:`!" +"rl_attempted_completion_function` callback of the underlying library. The " "values may be different in the same input editing scenario based on the " "underlying C readline implementation. Ex: libedit is known to behave " "differently than libreadline." @@ -306,7 +306,7 @@ msgstr "" msgid "" "Set or get the word delimiters for completion. These determine the start of " "the word to be considered for completion (the completion scope). These " -"functions access the :c:data:`rl_completer_word_break_characters` variable " +"functions access the :c:data:`!rl_completer_word_break_characters` variable " "in the underlying library." msgstr "" @@ -315,7 +315,7 @@ msgid "" "Set or remove the completion display function. If *function* is specified, " "it will be used as the new completion display function; if omitted or " "``None``, any completion display function already installed is removed. " -"This sets or clears the :c:data:`rl_completion_display_matches_hook` " +"This sets or clears the :c:data:`!rl_completion_display_matches_hook` " "callback in the underlying library. The completion display function is " "called as ``function(substitution, [matches], longest_match_length)`` once " "each time matches need to be displayed." diff --git a/library/removed.po b/library/removed.po index de6cf48a..e92490f6 100644 --- a/library/removed.po +++ b/library/removed.po @@ -8,10 +8,11 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/library/reprlib.po b/library/reprlib.po index 4571bf24..d16a8f79 100644 --- a/library/reprlib.po +++ b/library/reprlib.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/resource.po b/library/resource.po index 53fa2923..4c0cbd49 100644 --- a/library/resource.po +++ b/library/resource.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/rlcompleter.po b/library/rlcompleter.po index 48449fff..7fff0278 100644 --- a/library/rlcompleter.po +++ b/library/rlcompleter.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/runpy.po b/library/runpy.po index 82e202cf..a8dbe47e 100644 --- a/library/runpy.po +++ b/library/runpy.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/sched.po b/library/sched.po index 4b9c7b1b..d7953b41 100644 --- a/library/sched.po +++ b/library/sched.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/secrets.po b/library/secrets.po index 7a773e77..12f4d941 100644 --- a/library/secrets.po +++ b/library/secrets.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -91,7 +91,7 @@ msgstr "" #: library/secrets.rst:71 msgid "" -">>> token_bytes(16) \n" +">>> token_bytes(16)\n" "b'\\xebr\\x17D*t\\xae\\xd4\\xe3S\\xb6\\xe2\\xebP1\\x8b'" msgstr "" @@ -104,7 +104,7 @@ msgstr "" #: library/secrets.rst:83 msgid "" -">>> token_hex(16) \n" +">>> token_hex(16)\n" "'f9bf78b9a18ce6d46a0cd2b0b86df9da'" msgstr "" @@ -118,7 +118,7 @@ msgstr "" #: library/secrets.rst:95 msgid "" -">>> token_urlsafe(16) \n" +">>> token_urlsafe(16)\n" "'Drmhze6EPcv0fN_81Bj-nA'" msgstr "" diff --git a/library/security_warnings.po b/library/security_warnings.po index 6e87290d..39341583 100644 --- a/library/security_warnings.po +++ b/library/security_warnings.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/select.po b/library/select.po index 60023451..6bcb0a5f 100644 --- a/library/select.po +++ b/library/select.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/selectors.po b/library/selectors.po index 06b4ccd7..24e18676 100644 --- a/library/selectors.po +++ b/library/selectors.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -159,35 +159,35 @@ msgid "" "implementations support the :term:`context manager` protocol." msgstr "" -#: library/selectors.rst:108 +#: library/selectors.rst:109 msgid "Register a file object for selection, monitoring it for I/O events." msgstr "" -#: library/selectors.rst:110 +#: library/selectors.rst:111 msgid "" "*fileobj* is the file object to monitor. It may either be an integer file " "descriptor or an object with a ``fileno()`` method. *events* is a bitwise " "mask of events to monitor. *data* is an opaque object." msgstr "" -#: library/selectors.rst:115 +#: library/selectors.rst:116 msgid "" "This returns a new :class:`SelectorKey` instance, or raises a :exc:" "`ValueError` in case of invalid event mask or file descriptor, or :exc:" "`KeyError` if the file object is already registered." msgstr "" -#: library/selectors.rst:121 +#: library/selectors.rst:123 msgid "" "Unregister a file object from selection, removing it from monitoring. A file " "object shall be unregistered prior to being closed." msgstr "" -#: library/selectors.rst:124 +#: library/selectors.rst:126 msgid "*fileobj* must be a file object previously registered." msgstr "" -#: library/selectors.rst:126 +#: library/selectors.rst:128 msgid "" "This returns the associated :class:`SelectorKey` instance, or raises a :exc:" "`KeyError` if *fileobj* is not registered. It will raise :exc:`ValueError` " @@ -195,30 +195,30 @@ msgid "" "``fileno()`` method has an invalid return value)." msgstr "" -#: library/selectors.rst:133 +#: library/selectors.rst:135 msgid "Change a registered file object's monitored events or attached data." msgstr "" -#: library/selectors.rst:135 +#: library/selectors.rst:137 msgid "" "This is equivalent to ``BaseSelector.unregister(fileobj)`` followed by " "``BaseSelector.register(fileobj, events, data)``, except that it can be " "implemented more efficiently." msgstr "" -#: library/selectors.rst:139 +#: library/selectors.rst:141 msgid "" "This returns a new :class:`SelectorKey` instance, or raises a :exc:" "`ValueError` in case of invalid event mask or file descriptor, or :exc:" "`KeyError` if the file object is not registered." msgstr "" -#: library/selectors.rst:145 +#: library/selectors.rst:148 msgid "" "Wait until some registered file objects become ready, or the timeout expires." msgstr "" -#: library/selectors.rst:148 +#: library/selectors.rst:151 msgid "" "If ``timeout > 0``, this specifies the maximum wait time, in seconds. If " "``timeout <= 0``, the call won't block, and will report the currently ready " @@ -226,26 +226,26 @@ msgid "" "monitored file object becomes ready." msgstr "" -#: library/selectors.rst:154 +#: library/selectors.rst:157 msgid "" "This returns a list of ``(key, events)`` tuples, one for each ready file " "object." msgstr "" -#: library/selectors.rst:157 +#: library/selectors.rst:160 msgid "" "*key* is the :class:`SelectorKey` instance corresponding to a ready file " "object. *events* is a bitmask of events ready on this file object." msgstr "" -#: library/selectors.rst:162 +#: library/selectors.rst:165 msgid "" "This method can return before any file object becomes ready or the timeout " "has elapsed if the current process receives a signal: in this case, an empty " "list will be returned." msgstr "" -#: library/selectors.rst:166 +#: library/selectors.rst:169 msgid "" "The selector is now retried with a recomputed timeout when interrupted by a " "signal if the signal handler did not raise an exception (see :pep:`475` for " @@ -253,90 +253,90 @@ msgid "" "timeout." msgstr "" -#: library/selectors.rst:174 +#: library/selectors.rst:177 msgid "Close the selector." msgstr "" -#: library/selectors.rst:176 +#: library/selectors.rst:179 msgid "" "This must be called to make sure that any underlying resource is freed. The " "selector shall not be used once it has been closed." msgstr "" -#: library/selectors.rst:181 +#: library/selectors.rst:184 msgid "Return the key associated with a registered file object." msgstr "" -#: library/selectors.rst:183 +#: library/selectors.rst:186 msgid "" "This returns the :class:`SelectorKey` instance associated to this file " "object, or raises :exc:`KeyError` if the file object is not registered." msgstr "" -#: library/selectors.rst:188 +#: library/selectors.rst:192 msgid "Return a mapping of file objects to selector keys." msgstr "" -#: library/selectors.rst:190 +#: library/selectors.rst:194 msgid "" "This returns a :class:`~collections.abc.Mapping` instance mapping registered " "file objects to their associated :class:`SelectorKey` instance." msgstr "" -#: library/selectors.rst:197 +#: library/selectors.rst:201 msgid "" "The default selector class, using the most efficient implementation " "available on the current platform. This should be the default choice for " "most users." msgstr "" -#: library/selectors.rst:204 +#: library/selectors.rst:208 msgid ":func:`select.select`-based selector." msgstr "" -#: library/selectors.rst:209 +#: library/selectors.rst:213 msgid ":func:`select.poll`-based selector." msgstr "" -#: library/selectors.rst:214 +#: library/selectors.rst:218 msgid ":func:`select.epoll`-based selector." msgstr "" -#: library/selectors.rst:218 +#: library/selectors.rst:222 msgid "" "This returns the file descriptor used by the underlying :func:`select.epoll` " "object." msgstr "" -#: library/selectors.rst:223 +#: library/selectors.rst:227 msgid ":func:`select.devpoll`-based selector." msgstr "" -#: library/selectors.rst:227 +#: library/selectors.rst:231 msgid "" "This returns the file descriptor used by the underlying :func:`select." "devpoll` object." msgstr "" -#: library/selectors.rst:234 +#: library/selectors.rst:238 msgid ":func:`select.kqueue`-based selector." msgstr "" -#: library/selectors.rst:238 +#: library/selectors.rst:242 msgid "" "This returns the file descriptor used by the underlying :func:`select." "kqueue` object." msgstr "" -#: library/selectors.rst:243 +#: library/selectors.rst:247 msgid "Examples" msgstr "" -#: library/selectors.rst:245 +#: library/selectors.rst:249 msgid "Here is a simple echo server implementation::" msgstr "" -#: library/selectors.rst:247 +#: library/selectors.rst:251 msgid "" "import selectors\n" "import socket\n" diff --git a/library/shelve.po b/library/shelve.po index 52750546..fe2239f3 100644 --- a/library/shelve.po +++ b/library/shelve.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/shlex.po b/library/shlex.po index eb674acf..ed768051 100644 --- a/library/shlex.po +++ b/library/shlex.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/shutil.po b/library/shutil.po index b86e9f17..b292a20e 100644 --- a/library/shutil.po +++ b/library/shutil.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/signal.po b/library/signal.po index 367525d1..fb511163 100644 --- a/library/signal.po +++ b/library/signal.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/site.po b/library/site.po index ec94df62..1385492b 100644 --- a/library/site.po +++ b/library/site.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/smtpd.po b/library/smtpd.po index 0b46603d..2257a44c 100644 --- a/library/smtpd.po +++ b/library/smtpd.po @@ -8,10 +8,11 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/library/smtplib.po b/library/smtplib.po index 03ae8daf..7623cc93 100644 --- a/library/smtplib.po +++ b/library/smtplib.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/sndhdr.po b/library/sndhdr.po index 149e3769..c42e4af7 100644 --- a/library/sndhdr.po +++ b/library/sndhdr.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/socket.po b/library/socket.po index 2cff0aca..6fb255f8 100644 --- a/library/socket.po +++ b/library/socket.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -956,15 +956,15 @@ msgstr "" #: library/socket.rst:836 msgid "" -"If *dualstack_ipv6* is true and the platform supports it the socket will be " -"able to accept both IPv4 and IPv6 connections, else it will raise :exc:" -"`ValueError`. Most POSIX platforms and Windows are supposed to support this " -"functionality. When this functionality is enabled the address returned by :" -"meth:`socket.getpeername` when an IPv4 connection occurs will be an IPv6 " -"address represented as an IPv4-mapped IPv6 address. If *dualstack_ipv6* is " -"false it will explicitly disable this functionality on platforms that enable " -"it by default (e.g. Linux). This parameter can be used in conjunction with :" -"func:`has_dualstack_ipv6`:" +"If *dualstack_ipv6* is true, *family* is :data:`AF_INET6` and the platform " +"supports it the socket will be able to accept both IPv4 and IPv6 " +"connections, else it will raise :exc:`ValueError`. Most POSIX platforms and " +"Windows are supposed to support this functionality. When this functionality " +"is enabled the address returned by :meth:`socket.getpeername` when an IPv4 " +"connection occurs will be an IPv6 address represented as an IPv4-mapped IPv6 " +"address. If *dualstack_ipv6* is false it will explicitly disable this " +"functionality on platforms that enable it by default (e.g. Linux). This " +"parameter can be used in conjunction with :func:`has_dualstack_ipv6`:" msgstr "" #: library/socket.rst:849 diff --git a/library/socketserver.po b/library/socketserver.po index 2e7ae7b2..f96bc139 100644 --- a/library/socketserver.po +++ b/library/socketserver.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/spwd.po b/library/spwd.po index 0d2deb08..dd649cc5 100644 --- a/library/spwd.po +++ b/library/spwd.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/sqlite3.po b/library/sqlite3.po index 0f4f704e..26347f6d 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -321,7 +321,7 @@ msgstr "" msgid ":ref:`sqlite3-converters`" msgstr "" -#: library/sqlite3.rst:609 +#: library/sqlite3.rst:612 msgid ":ref:`sqlite3-connection-context-manager`" msgstr "" @@ -372,13 +372,10 @@ msgid "" "converters registered with :func:`register_converter`. Set it to any " "combination (using ``|``, bitwise or) of :const:`PARSE_DECLTYPES` and :const:" "`PARSE_COLNAMES` to enable this. Column names takes precedence over declared " -"types if both flags are set. Types cannot be detected for generated fields " -"(for example ``max(data)``), even when the *detect_types* parameter is set; :" -"class:`str` will be returned instead. By default (``0``), type detection is " -"disabled." +"types if both flags are set. By default (``0``), type detection is disabled." msgstr "" -#: library/sqlite3.rst:298 +#: library/sqlite3.rst:295 msgid "" "Control legacy transaction handling behaviour. See :attr:`Connection." "isolation_level` and :ref:`sqlite3-transaction-control-isolation-level` for " @@ -388,7 +385,7 @@ msgid "" "`~sqlite3.LEGACY_TRANSACTION_CONTROL` (the default)." msgstr "" -#: library/sqlite3.rst:308 +#: library/sqlite3.rst:305 msgid "" "If ``True`` (default), :exc:`ProgrammingError` will be raised if the " "database connection is used by a thread other than the one that created it. " @@ -397,19 +394,19 @@ msgid "" "See :attr:`threadsafety` for more information." msgstr "" -#: library/sqlite3.rst:317 +#: library/sqlite3.rst:314 msgid "" "A custom subclass of :class:`Connection` to create the connection with, if " "not the default :class:`Connection` class." msgstr "" -#: library/sqlite3.rst:321 +#: library/sqlite3.rst:318 msgid "" "The number of statements that :mod:`!sqlite3` should internally cache for " "this connection, to avoid parsing overhead. By default, 128 statements." msgstr "" -#: library/sqlite3.rst:326 +#: library/sqlite3.rst:323 msgid "" "If set to ``True``, *database* is interpreted as a :abbr:`URI (Uniform " "Resource Identifier)` with a file path and an optional query string. The " @@ -418,7 +415,7 @@ msgid "" "various :ref:`sqlite3-uri-tricks`." msgstr "" -#: library/sqlite3.rst:335 +#: library/sqlite3.rst:332 msgid "" "Control :pep:`249` transaction handling behaviour. See :attr:`Connection." "autocommit` and :ref:`sqlite3-transaction-control-autocommit` for more " @@ -431,36 +428,36 @@ msgstr "" msgid "Return type" msgstr "" -#: library/sqlite3.rst:346 +#: library/sqlite3.rst:343 msgid "" "Raises an :ref:`auditing event ` ``sqlite3.connect`` with argument " "``database``." msgstr "" -#: library/sqlite3.rst:347 +#: library/sqlite3.rst:344 msgid "" "Raises an :ref:`auditing event ` ``sqlite3.connect/handle`` with " "argument ``connection_handle``." msgstr "" -#: library/sqlite3.rst:349 +#: library/sqlite3.rst:346 msgid "Added the *uri* parameter." msgstr "" -#: library/sqlite3.rst:352 +#: library/sqlite3.rst:349 msgid "" "*database* can now also be a :term:`path-like object`, not only a string." msgstr "" -#: library/sqlite3.rst:355 +#: library/sqlite3.rst:352 msgid "Added the ``sqlite3.connect/handle`` auditing event." msgstr "" -#: library/sqlite3.rst:358 +#: library/sqlite3.rst:355 msgid "Added the *autocommit* parameter." msgstr "" -#: library/sqlite3.rst:363 +#: library/sqlite3.rst:360 msgid "" "Return ``True`` if the string *statement* appears to contain one or more " "complete SQL statements. No syntactic verification or parsing of any kind is " @@ -468,11 +465,11 @@ msgid "" "and the statement is terminated by a semicolon." msgstr "" -#: library/sqlite3.rst:369 +#: library/sqlite3.rst:366 msgid "For example:" msgstr "" -#: library/sqlite3.rst:371 +#: library/sqlite3.rst:368 msgid "" ">>> sqlite3.complete_statement(\"SELECT foo FROM bar;\")\n" "True\n" @@ -480,20 +477,20 @@ msgid "" "False" msgstr "" -#: library/sqlite3.rst:378 +#: library/sqlite3.rst:375 msgid "" "This function may be useful during command-line input to determine if the " "entered text seems to form a complete SQL statement, or if additional input " "is needed before calling :meth:`~Cursor.execute`." msgstr "" -#: library/sqlite3.rst:382 +#: library/sqlite3.rst:379 msgid "" "See :func:`!runsource` in :source:`Lib/sqlite3/__main__.py` for real-world " "use." msgstr "" -#: library/sqlite3.rst:387 +#: library/sqlite3.rst:384 msgid "" "Enable or disable callback tracebacks. By default you will not get any " "tracebacks in user-defined functions, aggregates, converters, authorizer " @@ -502,14 +499,14 @@ msgid "" "on :data:`sys.stderr`. Use ``False`` to disable the feature again." msgstr "" -#: library/sqlite3.rst:396 +#: library/sqlite3.rst:393 msgid "" "Errors in user-defined function callbacks are logged as unraisable " "exceptions. Use an :func:`unraisable hook handler ` for " "introspection of the failed callback." msgstr "" -#: library/sqlite3.rst:402 +#: library/sqlite3.rst:399 msgid "" "Register an *adapter* :term:`callable` to adapt the Python type *type* into " "an SQLite type. The adapter is called with a Python object of type *type* as " @@ -517,7 +514,7 @@ msgid "" "natively understands `." msgstr "" -#: library/sqlite3.rst:410 +#: library/sqlite3.rst:407 msgid "" "Register the *converter* :term:`callable` to convert SQLite objects of type " "*typename* into a Python object of a specific type. The converter is invoked " @@ -527,115 +524,122 @@ msgid "" "type detection works." msgstr "" -#: library/sqlite3.rst:418 +#: library/sqlite3.rst:415 msgid "" "Note: *typename* and the name of the type in your query are matched case-" "insensitively." msgstr "" -#: library/sqlite3.rst:425 +#: library/sqlite3.rst:422 msgid "Module constants" msgstr "" -#: library/sqlite3.rst:429 +#: library/sqlite3.rst:426 msgid "" "Set :attr:`~Connection.autocommit` to this constant to select old style (pre-" "Python 3.12) transaction control behaviour. See :ref:`sqlite3-transaction-" "control-isolation-level` for more information." msgstr "" -#: library/sqlite3.rst:435 +#: library/sqlite3.rst:432 msgid "" "Pass this flag value to the *detect_types* parameter of :func:`connect` to " -"look up a converter function by using the type name, parsed from the query " -"column name, as the converter dictionary key. The type name must be wrapped " -"in square brackets (``[]``)." +"look up a converter function using the declared types for each column. The " +"types are declared when the database table is created. :mod:`!sqlite3` will " +"look up a converter function using the first word of the declared type as " +"the converter dictionary key. For example:" msgstr "" -#: library/sqlite3.rst:441 +#: library/sqlite3.rst:440 msgid "" -"SELECT p as \"p [point]\" FROM test; ! will look up converter \"point\"" +"CREATE TABLE test(\n" +" i integer primary key, ! will look up a converter named \"integer\"\n" +" p point, ! will look up a converter named \"point\"\n" +" n number(10) ! will look up a converter named \"number\"\n" +" )" msgstr "" -#: library/sqlite3.rst:445 +#: library/sqlite3.rst:448 msgid "" -"This flag may be combined with :const:`PARSE_DECLTYPES` using the ``|`` " +"This flag may be combined with :const:`PARSE_COLNAMES` using the ``|`` " "(bitwise or) operator." msgstr "" -#: library/sqlite3.rst:450 +#: library/sqlite3.rst:453 msgid "" -"Pass this flag value to the *detect_types* parameter of :func:`connect` to " -"look up a converter function using the declared types for each column. The " -"types are declared when the database table is created. :mod:`!sqlite3` will " -"look up a converter function using the first word of the declared type as " -"the converter dictionary key. For example:" +"Generated fields (for example ``MAX(p)``) are returned as :class:`str`. Use :" +"const:`!PARSE_COLNAMES` to enforce types for such queries." msgstr "" #: library/sqlite3.rst:458 msgid "" -"CREATE TABLE test(\n" -" i integer primary key, ! will look up a converter named \"integer\"\n" -" p point, ! will look up a converter named \"point\"\n" -" n number(10) ! will look up a converter named \"number\"\n" -" )" +"Pass this flag value to the *detect_types* parameter of :func:`connect` to " +"look up a converter function by using the type name, parsed from the query " +"column name, as the converter dictionary key. The query column name must be " +"wrapped in double quotes (``\"``) and the type name must be wrapped in " +"square brackets (``[]``)." msgstr "" -#: library/sqlite3.rst:466 +#: library/sqlite3.rst:465 msgid "" -"This flag may be combined with :const:`PARSE_COLNAMES` using the ``|`` " +"SELECT MAX(p) as \"p [point]\" FROM test; ! will look up converter \"point\"" +msgstr "" + +#: library/sqlite3.rst:469 +msgid "" +"This flag may be combined with :const:`PARSE_DECLTYPES` using the ``|`` " "(bitwise or) operator." msgstr "" -#: library/sqlite3.rst:473 +#: library/sqlite3.rst:476 msgid "" "Flags that should be returned by the *authorizer_callback* :term:`callable` " "passed to :meth:`Connection.set_authorizer`, to indicate whether:" msgstr "" -#: library/sqlite3.rst:476 +#: library/sqlite3.rst:479 msgid "Access is allowed (:const:`!SQLITE_OK`)," msgstr "" -#: library/sqlite3.rst:477 +#: library/sqlite3.rst:480 msgid "" "The SQL statement should be aborted with an error (:const:`!SQLITE_DENY`)" msgstr "" -#: library/sqlite3.rst:478 +#: library/sqlite3.rst:481 msgid "" "The column should be treated as a ``NULL`` value (:const:`!SQLITE_IGNORE`)" msgstr "" -#: library/sqlite3.rst:482 +#: library/sqlite3.rst:485 msgid "" "String constant stating the supported DB-API level. Required by the DB-API. " "Hard-coded to ``\"2.0\"``." msgstr "" -#: library/sqlite3.rst:487 +#: library/sqlite3.rst:490 msgid "" "String constant stating the type of parameter marker formatting expected by " "the :mod:`!sqlite3` module. Required by the DB-API. Hard-coded to " "``\"qmark\"``." msgstr "" -#: library/sqlite3.rst:493 +#: library/sqlite3.rst:496 msgid "The ``named`` DB-API parameter style is also supported." msgstr "" -#: library/sqlite3.rst:497 +#: library/sqlite3.rst:500 msgid "" "Version number of the runtime SQLite library as a :class:`string `." msgstr "" -#: library/sqlite3.rst:501 +#: library/sqlite3.rst:504 msgid "" "Version number of the runtime SQLite library as a :class:`tuple` of :class:" "`integers `." msgstr "" -#: library/sqlite3.rst:506 +#: library/sqlite3.rst:509 msgid "" "Integer constant required by the DB-API 2.0, stating the level of thread " "safety the :mod:`!sqlite3` module supports. This attribute is set based on " @@ -643,181 +647,181 @@ msgid "" "underlying SQLite library is compiled with. The SQLite threading modes are:" msgstr "" -#: library/sqlite3.rst:511 +#: library/sqlite3.rst:514 msgid "" "**Single-thread**: In this mode, all mutexes are disabled and SQLite is " "unsafe to use in more than a single thread at once." msgstr "" -#: library/sqlite3.rst:513 +#: library/sqlite3.rst:516 msgid "" "**Multi-thread**: In this mode, SQLite can be safely used by multiple " "threads provided that no single database connection is used simultaneously " "in two or more threads." msgstr "" -#: library/sqlite3.rst:516 +#: library/sqlite3.rst:519 msgid "" "**Serialized**: In serialized mode, SQLite can be safely used by multiple " "threads with no restriction." msgstr "" -#: library/sqlite3.rst:519 +#: library/sqlite3.rst:522 msgid "" "The mappings from SQLite threading modes to DB-API 2.0 threadsafety levels " "are as follows:" msgstr "" -#: library/sqlite3.rst:523 +#: library/sqlite3.rst:526 msgid "SQLite threading mode" msgstr "" -#: library/sqlite3.rst:523 +#: library/sqlite3.rst:526 msgid ":pep:`threadsafety <0249#threadsafety>`" msgstr "" -#: library/sqlite3.rst:523 +#: library/sqlite3.rst:526 msgid "`SQLITE_THREADSAFE`_" msgstr "" -#: library/sqlite3.rst:523 +#: library/sqlite3.rst:526 msgid "DB-API 2.0 meaning" msgstr "" -#: library/sqlite3.rst:526 +#: library/sqlite3.rst:529 msgid "single-thread" msgstr "" -#: library/sqlite3.rst:526 +#: library/sqlite3.rst:529 msgid "0" msgstr "" -#: library/sqlite3.rst:526 +#: library/sqlite3.rst:529 msgid "Threads may not share the module" msgstr "" -#: library/sqlite3.rst:529 +#: library/sqlite3.rst:532 msgid "multi-thread" msgstr "" -#: library/sqlite3.rst:532 +#: library/sqlite3.rst:535 msgid "1" msgstr "" -#: library/sqlite3.rst:529 +#: library/sqlite3.rst:532 msgid "2" msgstr "" -#: library/sqlite3.rst:529 +#: library/sqlite3.rst:532 msgid "Threads may share the module, but not connections" msgstr "" -#: library/sqlite3.rst:532 +#: library/sqlite3.rst:535 msgid "serialized" msgstr "" -#: library/sqlite3.rst:532 +#: library/sqlite3.rst:535 msgid "3" msgstr "" -#: library/sqlite3.rst:532 +#: library/sqlite3.rst:535 msgid "Threads may share the module, connections and cursors" msgstr "" -#: library/sqlite3.rst:538 +#: library/sqlite3.rst:541 msgid "Set *threadsafety* dynamically instead of hard-coding it to ``1``." msgstr "" -#: library/sqlite3.rst:543 +#: library/sqlite3.rst:546 msgid "" "Version number of this module as a :class:`string `. This is not the " "version of the SQLite library." msgstr "" -#: library/sqlite3.rst:556 +#: library/sqlite3.rst:559 msgid "" "This constant used to reflect the version number of the ``pysqlite`` " "package, a third-party library which used to upstream changes to :mod:`!" "sqlite3`. Today, it carries no meaning or practical value." msgstr "" -#: library/sqlite3.rst:553 +#: library/sqlite3.rst:556 msgid "" "Version number of this module as a :class:`tuple` of :class:`integers " "`. This is not the version of the SQLite library." msgstr "" -#: library/sqlite3.rst:580 +#: library/sqlite3.rst:583 msgid "" "These constants are used for the :meth:`Connection.setconfig` and :meth:" "`~Connection.getconfig` methods." msgstr "" -#: library/sqlite3.rst:583 +#: library/sqlite3.rst:586 msgid "" "The availability of these constants varies depending on the version of " "SQLite Python was compiled with." msgstr "" -#: library/sqlite3.rst:590 +#: library/sqlite3.rst:593 msgid "https://www.sqlite.org/c3ref/c_dbconfig_defensive.html" msgstr "" -#: library/sqlite3.rst:591 +#: library/sqlite3.rst:594 msgid "SQLite docs: Database Connection Configuration Options" msgstr "" -#: library/sqlite3.rst:597 +#: library/sqlite3.rst:600 msgid "Connection objects" msgstr "" -#: library/sqlite3.rst:601 +#: library/sqlite3.rst:604 msgid "" "Each open SQLite database is represented by a ``Connection`` object, which " "is created using :func:`sqlite3.connect`. Their main purpose is creating :" "class:`Cursor` objects, and :ref:`sqlite3-controlling-transactions`." msgstr "" -#: library/sqlite3.rst:608 +#: library/sqlite3.rst:611 msgid ":ref:`sqlite3-connection-shortcuts`" msgstr "" -#: library/sqlite3.rst:611 +#: library/sqlite3.rst:614 msgid "An SQLite database connection has the following attributes and methods:" msgstr "" -#: library/sqlite3.rst:615 +#: library/sqlite3.rst:618 msgid "" "Create and return a :class:`Cursor` object. The cursor method accepts a " "single optional parameter *factory*. If supplied, this must be a :term:" "`callable` returning an instance of :class:`Cursor` or its subclasses." msgstr "" -#: library/sqlite3.rst:622 +#: library/sqlite3.rst:625 msgid "" "Open a :class:`Blob` handle to an existing :abbr:`BLOB (Binary Large " "OBject)`." msgstr "" -#: library/sqlite3.rst:625 +#: library/sqlite3.rst:628 msgid "The name of the table where the blob is located." msgstr "" -#: library/sqlite3.rst:628 +#: library/sqlite3.rst:631 msgid "The name of the column where the blob is located." msgstr "" -#: library/sqlite3.rst:631 +#: library/sqlite3.rst:634 msgid "The name of the row where the blob is located." msgstr "" -#: library/sqlite3.rst:634 +#: library/sqlite3.rst:637 msgid "" "Set to ``True`` if the blob should be opened without write permissions. " "Defaults to ``False``." msgstr "" -#: library/sqlite3.rst:639 +#: library/sqlite3.rst:642 msgid "" "The name of the database where the blob is located. Defaults to ``\"main\"``." msgstr "" @@ -826,17 +830,17 @@ msgstr "" msgid "Raises" msgstr "" -#: library/sqlite3.rst:643 +#: library/sqlite3.rst:646 msgid "When trying to open a blob in a ``WITHOUT ROWID`` table." msgstr "" -#: library/sqlite3.rst:650 +#: library/sqlite3.rst:653 msgid "" "The blob size cannot be changed using the :class:`Blob` class. Use the SQL " "function ``zeroblob`` to create a blob with a fixed size." msgstr "" -#: library/sqlite3.rst:657 +#: library/sqlite3.rst:660 msgid "" "Commit any pending transaction to the database. If :attr:`autocommit` is " "``True``, or there is no open transaction, this method does nothing. If :" @@ -844,7 +848,7 @@ msgid "" "pending transaction was committed by this method." msgstr "" -#: library/sqlite3.rst:665 +#: library/sqlite3.rst:668 msgid "" "Roll back to the start of any pending transaction. If :attr:`autocommit` is " "``True``, or there is no open transaction, this method does nothing. If :" @@ -852,7 +856,7 @@ msgid "" "pending transaction was rolled back by this method." msgstr "" -#: library/sqlite3.rst:673 +#: library/sqlite3.rst:676 msgid "" "Close the database connection. If :attr:`autocommit` is ``False``, any " "pending transaction is implicitly rolled back. If :attr:`!autocommit` is " @@ -861,65 +865,65 @@ msgid "" "losing pending changes." msgstr "" -#: library/sqlite3.rst:683 +#: library/sqlite3.rst:686 msgid "" "Create a new :class:`Cursor` object and call :meth:`~Cursor.execute` on it " "with the given *sql* and *parameters*. Return the new cursor object." msgstr "" -#: library/sqlite3.rst:689 +#: library/sqlite3.rst:692 msgid "" "Create a new :class:`Cursor` object and call :meth:`~Cursor.executemany` on " "it with the given *sql* and *parameters*. Return the new cursor object." msgstr "" -#: library/sqlite3.rst:695 +#: library/sqlite3.rst:698 msgid "" "Create a new :class:`Cursor` object and call :meth:`~Cursor.executescript` " "on it with the given *sql_script*. Return the new cursor object." msgstr "" -#: library/sqlite3.rst:701 +#: library/sqlite3.rst:704 msgid "Create or remove a user-defined SQL function." msgstr "" -#: library/sqlite3.rst:703 +#: library/sqlite3.rst:706 msgid "The name of the SQL function." msgstr "" -#: library/sqlite3.rst:706 +#: library/sqlite3.rst:709 msgid "" "The number of arguments the SQL function can accept. If ``-1``, it may take " "any number of arguments." msgstr "" -#: library/sqlite3.rst:710 +#: library/sqlite3.rst:713 msgid "" "A :term:`callable` that is called when the SQL function is invoked. The " "callable must return :ref:`a type natively supported by SQLite `. Set to ``None`` to remove an existing SQL function." msgstr "" -#: library/sqlite3.rst:717 +#: library/sqlite3.rst:720 msgid "" "If ``True``, the created SQL function is marked as `deterministic `_, which allows SQLite to perform additional " "optimizations." msgstr "" -#: library/sqlite3.rst:722 +#: library/sqlite3.rst:725 msgid "If *deterministic* is used with SQLite versions older than 3.8.3." msgstr "" -#: library/sqlite3.rst:725 +#: library/sqlite3.rst:728 msgid "Added the *deterministic* parameter." msgstr "" -#: library/sqlite3.rst:767 library/sqlite3.rst:1090 library/sqlite3.rst:1553 +#: library/sqlite3.rst:770 library/sqlite3.rst:1093 library/sqlite3.rst:1556 msgid "Example:" msgstr "" -#: library/sqlite3.rst:730 +#: library/sqlite3.rst:733 msgid "" ">>> import hashlib\n" ">>> def md5sum(t):\n" @@ -932,21 +936,21 @@ msgid "" ">>> con.close()" msgstr "" -#: library/sqlite3.rst:745 +#: library/sqlite3.rst:748 msgid "Create or remove a user-defined SQL aggregate function." msgstr "" -#: library/sqlite3.rst:747 +#: library/sqlite3.rst:750 msgid "The name of the SQL aggregate function." msgstr "" -#: library/sqlite3.rst:750 +#: library/sqlite3.rst:753 msgid "" "The number of arguments the SQL aggregate function can accept. If ``-1``, it " "may take any number of arguments." msgstr "" -#: library/sqlite3.rst:754 +#: library/sqlite3.rst:757 msgid "" "A class must implement the following methods: * ``step()``: Add a row to " "the aggregate. * ``finalize()``: Return the final result of the aggregate " @@ -955,31 +959,31 @@ msgid "" "*n_arg*. Set to ``None`` to remove an existing SQL aggregate function." msgstr "" -#: library/sqlite3.rst:755 +#: library/sqlite3.rst:758 msgid "A class must implement the following methods:" msgstr "" -#: library/sqlite3.rst:757 +#: library/sqlite3.rst:760 msgid "``step()``: Add a row to the aggregate." msgstr "" -#: library/sqlite3.rst:814 +#: library/sqlite3.rst:817 msgid "" "``finalize()``: Return the final result of the aggregate as :ref:`a type " "natively supported by SQLite `." msgstr "" -#: library/sqlite3.rst:761 +#: library/sqlite3.rst:764 msgid "" "The number of arguments that the ``step()`` method must accept is controlled " "by *n_arg*." msgstr "" -#: library/sqlite3.rst:764 +#: library/sqlite3.rst:767 msgid "Set to ``None`` to remove an existing SQL aggregate function." msgstr "" -#: library/sqlite3.rst:769 +#: library/sqlite3.rst:772 msgid "" "class MySum:\n" " def __init__(self):\n" @@ -1002,21 +1006,21 @@ msgid "" "con.close()" msgstr "" -#: library/sqlite3.rst:799 +#: library/sqlite3.rst:802 msgid "Create or remove a user-defined aggregate window function." msgstr "" -#: library/sqlite3.rst:801 +#: library/sqlite3.rst:804 msgid "The name of the SQL aggregate window function to create or remove." msgstr "" -#: library/sqlite3.rst:804 +#: library/sqlite3.rst:807 msgid "" "The number of arguments the SQL aggregate window function can accept. If " "``-1``, it may take any number of arguments." msgstr "" -#: library/sqlite3.rst:808 +#: library/sqlite3.rst:811 msgid "" "A class that must implement the following methods: * ``step()``: Add a row " "to the current window. * ``value()``: Return the current value of the " @@ -1028,39 +1032,39 @@ msgid "" "function." msgstr "" -#: library/sqlite3.rst:809 +#: library/sqlite3.rst:812 msgid "A class that must implement the following methods:" msgstr "" -#: library/sqlite3.rst:811 +#: library/sqlite3.rst:814 msgid "``step()``: Add a row to the current window." msgstr "" -#: library/sqlite3.rst:812 +#: library/sqlite3.rst:815 msgid "``value()``: Return the current value of the aggregate." msgstr "" -#: library/sqlite3.rst:813 +#: library/sqlite3.rst:816 msgid "``inverse()``: Remove a row from the current window." msgstr "" -#: library/sqlite3.rst:817 +#: library/sqlite3.rst:820 msgid "" "The number of arguments that the ``step()`` and ``value()`` methods must " "accept is controlled by *num_params*." msgstr "" -#: library/sqlite3.rst:820 +#: library/sqlite3.rst:823 msgid "Set to ``None`` to remove an existing SQL aggregate window function." msgstr "" -#: library/sqlite3.rst:822 +#: library/sqlite3.rst:825 msgid "" "If used with a version of SQLite older than 3.25.0, which does not support " "aggregate window functions." msgstr "" -#: library/sqlite3.rst:832 +#: library/sqlite3.rst:835 msgid "" "# Example taken from https://www.sqlite.org/windowfunctions.html#udfwinfunc\n" "class WindowSumInt:\n" @@ -1108,30 +1112,30 @@ msgid "" "con.close()" msgstr "" -#: library/sqlite3.rst:886 +#: library/sqlite3.rst:889 msgid "" "Create a collation named *name* using the collating function *callable*. " "*callable* is passed two :class:`string ` arguments, and it should " "return an :class:`integer `:" msgstr "" -#: library/sqlite3.rst:890 +#: library/sqlite3.rst:893 msgid "``1`` if the first is ordered higher than the second" msgstr "" -#: library/sqlite3.rst:891 +#: library/sqlite3.rst:894 msgid "``-1`` if the first is ordered lower than the second" msgstr "" -#: library/sqlite3.rst:892 +#: library/sqlite3.rst:895 msgid "``0`` if they are ordered equal" msgstr "" -#: library/sqlite3.rst:894 +#: library/sqlite3.rst:897 msgid "The following example shows a reverse sorting collation:" msgstr "" -#: library/sqlite3.rst:896 +#: library/sqlite3.rst:899 msgid "" "def collate_reverse(string1, string2):\n" " if string1 == string2:\n" @@ -1152,24 +1156,24 @@ msgid "" "con.close()" msgstr "" -#: library/sqlite3.rst:922 +#: library/sqlite3.rst:925 msgid "Remove a collation function by setting *callable* to ``None``." msgstr "" -#: library/sqlite3.rst:924 +#: library/sqlite3.rst:927 msgid "" "The collation name can contain any Unicode character. Earlier, only ASCII " "characters were allowed." msgstr "" -#: library/sqlite3.rst:931 +#: library/sqlite3.rst:934 msgid "" "Call this method from a different thread to abort any queries that might be " "executing on the connection. Aborted queries will raise an :exc:" "`OperationalError`." msgstr "" -#: library/sqlite3.rst:938 +#: library/sqlite3.rst:941 msgid "" "Register :term:`callable` *authorizer_callback* to be invoked for each " "attempt to access a column of a table in the database. The callback should " @@ -1178,7 +1182,7 @@ msgid "" "underlying SQLite library." msgstr "" -#: library/sqlite3.rst:945 +#: library/sqlite3.rst:948 msgid "" "The first argument to the callback signifies what kind of operation is to be " "authorized. The second and third argument will be arguments or ``None`` " @@ -1188,7 +1192,7 @@ msgid "" "attempt or ``None`` if this access attempt is directly from input SQL code." msgstr "" -#: library/sqlite3.rst:952 +#: library/sqlite3.rst:955 msgid "" "Please consult the SQLite documentation about the possible values for the " "first argument and the meaning of the second and third argument depending on " @@ -1196,15 +1200,15 @@ msgid "" "module." msgstr "" -#: library/sqlite3.rst:956 +#: library/sqlite3.rst:959 msgid "Passing ``None`` as *authorizer_callback* will disable the authorizer." msgstr "" -#: library/sqlite3.rst:958 +#: library/sqlite3.rst:961 msgid "Added support for disabling the authorizer using ``None``." msgstr "" -#: library/sqlite3.rst:964 +#: library/sqlite3.rst:967 msgid "" "Register :term:`callable` *progress_handler* to be invoked for every *n* " "instructions of the SQLite virtual machine. This is useful if you want to " @@ -1212,26 +1216,26 @@ msgid "" "a GUI." msgstr "" -#: library/sqlite3.rst:969 +#: library/sqlite3.rst:972 msgid "" "If you want to clear any previously installed progress handler, call the " "method with ``None`` for *progress_handler*." msgstr "" -#: library/sqlite3.rst:972 +#: library/sqlite3.rst:975 msgid "" "Returning a non-zero value from the handler function will terminate the " "currently executing query and cause it to raise a :exc:`DatabaseError` " "exception." msgstr "" -#: library/sqlite3.rst:979 +#: library/sqlite3.rst:982 msgid "" "Register :term:`callable` *trace_callback* to be invoked for each SQL " "statement that is actually executed by the SQLite backend." msgstr "" -#: library/sqlite3.rst:982 +#: library/sqlite3.rst:985 msgid "" "The only argument passed to the callback is the statement (as :class:`str`) " "that is being executed. The return value of the callback is ignored. Note " @@ -1241,18 +1245,18 @@ msgid "" "execution of triggers defined in the current database." msgstr "" -#: library/sqlite3.rst:990 +#: library/sqlite3.rst:993 msgid "Passing ``None`` as *trace_callback* will disable the trace callback." msgstr "" -#: library/sqlite3.rst:993 +#: library/sqlite3.rst:996 msgid "" "Exceptions raised in the trace callback are not propagated. As a development " "and debugging aid, use :meth:`~sqlite3.enable_callback_tracebacks` to enable " "printing tracebacks from exceptions raised in the trace callback." msgstr "" -#: library/sqlite3.rst:1003 +#: library/sqlite3.rst:1006 msgid "" "Enable the SQLite engine to load SQLite extensions from shared libraries if " "*enabled* is ``True``; else, disallow loading SQLite extensions. SQLite " @@ -1261,7 +1265,7 @@ msgid "" "distributed with SQLite." msgstr "" -#: library/sqlite3.rst:1012 +#: library/sqlite3.rst:1015 msgid "" "The :mod:`!sqlite3` module is not built with loadable extension support by " "default, because some platforms (notably macOS) have SQLite libraries which " @@ -1270,17 +1274,17 @@ msgid "" "program:`configure`." msgstr "" -#: library/sqlite3.rst:1019 +#: library/sqlite3.rst:1022 msgid "" "Raises an :ref:`auditing event ` ``sqlite3.enable_load_extension`` " "with arguments ``connection``, ``enabled``." msgstr "" -#: library/sqlite3.rst:1023 +#: library/sqlite3.rst:1026 msgid "Added the ``sqlite3.enable_load_extension`` auditing event." msgstr "" -#: library/sqlite3.rst:1029 +#: library/sqlite3.rst:1032 msgid "" "con.enable_load_extension(True)\n" "\n" @@ -1310,45 +1314,45 @@ msgid "" " print(row)" msgstr "" -#: library/sqlite3.rst:1055 +#: library/sqlite3.rst:1058 msgid "" "Load an SQLite extension from a shared library. Enable extension loading " "with :meth:`enable_load_extension` before calling this method." msgstr "" -#: library/sqlite3.rst:1059 +#: library/sqlite3.rst:1062 msgid "The path to the SQLite extension." msgstr "" -#: library/sqlite3.rst:1063 +#: library/sqlite3.rst:1066 msgid "" "Entry point name. If ``None`` (the default), SQLite will come up with an " "entry point name of its own; see the SQLite docs `Loading an Extension`_ for " "details." msgstr "" -#: library/sqlite3.rst:1072 +#: library/sqlite3.rst:1075 msgid "" "Raises an :ref:`auditing event ` ``sqlite3.load_extension`` with " "arguments ``connection``, ``path``." msgstr "" -#: library/sqlite3.rst:1076 +#: library/sqlite3.rst:1079 msgid "Added the ``sqlite3.load_extension`` auditing event." msgstr "" -#: library/sqlite3.rst:1079 +#: library/sqlite3.rst:1082 msgid "Added the *entrypoint* parameter." msgstr "" -#: library/sqlite3.rst:1086 +#: library/sqlite3.rst:1089 msgid "" "Return an :term:`iterator` to dump the database as SQL source code. Useful " "when saving an in-memory database for later restoration. Similar to the ``." "dump`` command in the :program:`sqlite3` shell." msgstr "" -#: library/sqlite3.rst:1092 +#: library/sqlite3.rst:1095 msgid "" "# Convert file example.db to SQL dump file dump.sql\n" "con = sqlite3.connect('example.db')\n" @@ -1358,31 +1362,31 @@ msgid "" "con.close()" msgstr "" -#: library/sqlite3.rst:1175 +#: library/sqlite3.rst:1178 msgid ":ref:`sqlite3-howto-encoding`" msgstr "" -#: library/sqlite3.rst:1108 +#: library/sqlite3.rst:1111 msgid "Create a backup of an SQLite database." msgstr "" -#: library/sqlite3.rst:1110 +#: library/sqlite3.rst:1113 msgid "" "Works even if the database is being accessed by other clients or " "concurrently by the same connection." msgstr "" -#: library/sqlite3.rst:1113 +#: library/sqlite3.rst:1116 msgid "The database connection to save the backup to." msgstr "" -#: library/sqlite3.rst:1116 +#: library/sqlite3.rst:1119 msgid "" "The number of pages to copy at a time. If equal to or less than ``0``, the " "entire database is copied in a single step. Defaults to ``-1``." msgstr "" -#: library/sqlite3.rst:1122 +#: library/sqlite3.rst:1125 msgid "" "If set to a :term:`callable`, it is invoked with three integer arguments for " "every backup iteration: the *status* of the last iteration, the *remaining* " @@ -1390,24 +1394,24 @@ msgid "" "Defaults to ``None``." msgstr "" -#: library/sqlite3.rst:1131 +#: library/sqlite3.rst:1134 msgid "" "The name of the database to back up. Either ``\"main\"`` (the default) for " "the main database, ``\"temp\"`` for the temporary database, or the name of a " "custom database as attached using the ``ATTACH DATABASE`` SQL statement." msgstr "" -#: library/sqlite3.rst:1138 +#: library/sqlite3.rst:1141 msgid "" "The number of seconds to sleep between successive attempts to back up " "remaining pages." msgstr "" -#: library/sqlite3.rst:1142 +#: library/sqlite3.rst:1145 msgid "Example 1, copy an existing database into another:" msgstr "" -#: library/sqlite3.rst:1144 +#: library/sqlite3.rst:1147 msgid "" "def progress(status, remaining, total):\n" " print(f'Copied {total-remaining} of {total} pages...')\n" @@ -1420,11 +1424,11 @@ msgid "" "src.close()" msgstr "" -#: library/sqlite3.rst:1161 +#: library/sqlite3.rst:1164 msgid "Example 2, copy an existing database into a transient copy:" msgstr "" -#: library/sqlite3.rst:1163 +#: library/sqlite3.rst:1166 msgid "" "src = sqlite3.connect('example.db')\n" "dst = sqlite3.connect(':memory:')\n" @@ -1433,31 +1437,31 @@ msgid "" "src.close()" msgstr "" -#: library/sqlite3.rst:1179 +#: library/sqlite3.rst:1182 msgid "Get a connection runtime limit." msgstr "" -#: library/sqlite3.rst:1181 +#: library/sqlite3.rst:1184 msgid "The `SQLite limit category`_ to be queried." msgstr "" -#: library/sqlite3.rst:1223 +#: library/sqlite3.rst:1226 msgid "If *category* is not recognised by the underlying SQLite library." msgstr "" -#: library/sqlite3.rst:1189 +#: library/sqlite3.rst:1192 msgid "" "Example, query the maximum length of an SQL statement for :class:" "`Connection` ``con`` (the default is 1000000000):" msgstr "" -#: library/sqlite3.rst:1199 +#: library/sqlite3.rst:1202 msgid "" ">>> con.getlimit(sqlite3.SQLITE_LIMIT_SQL_LENGTH)\n" "1000000000" msgstr "" -#: library/sqlite3.rst:1209 +#: library/sqlite3.rst:1212 msgid "" "Set a connection runtime limit. Attempts to increase a limit above its hard " "upper bound are silently truncated to the hard upper bound. Regardless of " @@ -1465,22 +1469,22 @@ msgid "" "returned." msgstr "" -#: library/sqlite3.rst:1214 +#: library/sqlite3.rst:1217 msgid "The `SQLite limit category`_ to be set." msgstr "" -#: library/sqlite3.rst:1217 +#: library/sqlite3.rst:1220 msgid "" "The value of the new limit. If negative, the current limit is unchanged." msgstr "" -#: library/sqlite3.rst:1226 +#: library/sqlite3.rst:1229 msgid "" "Example, limit the number of attached databases to 1 for :class:`Connection` " "``con`` (the default limit is 10):" msgstr "" -#: library/sqlite3.rst:1229 +#: library/sqlite3.rst:1232 msgid "" ">>> con.setlimit(sqlite3.SQLITE_LIMIT_ATTACHED, 1)\n" "10\n" @@ -1488,25 +1492,25 @@ msgid "" "1" msgstr "" -#: library/sqlite3.rst:1247 +#: library/sqlite3.rst:1250 msgid "Query a boolean connection configuration option." msgstr "" -#: library/sqlite3.rst:1260 +#: library/sqlite3.rst:1263 msgid "A :ref:`SQLITE_DBCONFIG code `." msgstr "" -#: library/sqlite3.rst:1258 +#: library/sqlite3.rst:1261 msgid "Set a boolean connection configuration option." msgstr "" -#: library/sqlite3.rst:1263 +#: library/sqlite3.rst:1266 msgid "" "``True`` if the configuration option should be enabled (default); ``False`` " "if it should be disabled." msgstr "" -#: library/sqlite3.rst:1271 +#: library/sqlite3.rst:1274 msgid "" "Serialize a database into a :class:`bytes` object. For an ordinary on-disk " "database file, the serialization is just a copy of the disk file. For an in-" @@ -1515,17 +1519,17 @@ msgid "" "backed up to disk." msgstr "" -#: library/sqlite3.rst:1277 +#: library/sqlite3.rst:1280 msgid "The database name to be serialized. Defaults to ``\"main\"``." msgstr "" -#: library/sqlite3.rst:1285 +#: library/sqlite3.rst:1288 msgid "" "This method is only available if the underlying SQLite library has the " "serialize API." msgstr "" -#: library/sqlite3.rst:1293 +#: library/sqlite3.rst:1296 msgid "" "Deserialize a :meth:`serialized ` database into a :class:" "`Connection`. This method causes the database connection to disconnect from " @@ -1533,96 +1537,96 @@ msgid "" "serialization contained in *data*." msgstr "" -#: library/sqlite3.rst:1299 +#: library/sqlite3.rst:1302 msgid "A serialized database." msgstr "" -#: library/sqlite3.rst:1302 +#: library/sqlite3.rst:1305 msgid "The database name to deserialize into. Defaults to ``\"main\"``." msgstr "" -#: library/sqlite3.rst:1306 +#: library/sqlite3.rst:1309 msgid "" "If the database connection is currently involved in a read transaction or a " "backup operation." msgstr "" -#: library/sqlite3.rst:1310 +#: library/sqlite3.rst:1313 msgid "If *data* does not contain a valid SQLite database." msgstr "" -#: library/sqlite3.rst:1313 +#: library/sqlite3.rst:1316 msgid "If :func:`len(data) ` is larger than ``2**63 - 1``." msgstr "" -#: library/sqlite3.rst:1318 +#: library/sqlite3.rst:1321 msgid "" "This method is only available if the underlying SQLite library has the " "deserialize API." msgstr "" -#: library/sqlite3.rst:1325 +#: library/sqlite3.rst:1328 msgid "" "This attribute controls :pep:`249`-compliant transaction behaviour. :attr:`!" "autocommit` has three allowed values:" msgstr "" -#: library/sqlite3.rst:1328 +#: library/sqlite3.rst:1331 msgid "" "``False``: Select :pep:`249`-compliant transaction behaviour, implying that :" "mod:`!sqlite3` ensures a transaction is always open. Use :meth:`commit` and :" "meth:`rollback` to close transactions." msgstr "" -#: library/sqlite3.rst:1332 +#: library/sqlite3.rst:1335 msgid "This is the recommended value of :attr:`!autocommit`." msgstr "" -#: library/sqlite3.rst:1334 +#: library/sqlite3.rst:1337 msgid "" "``True``: Use SQLite's `autocommit mode`_. :meth:`commit` and :meth:" "`rollback` have no effect in this mode." msgstr "" -#: library/sqlite3.rst:1337 +#: library/sqlite3.rst:1340 msgid "" ":data:`LEGACY_TRANSACTION_CONTROL`: Pre-Python 3.12 (non-:pep:`249`-" "compliant) transaction control. See :attr:`isolation_level` for more details." msgstr "" -#: library/sqlite3.rst:1341 +#: library/sqlite3.rst:1344 msgid "This is currently the default value of :attr:`!autocommit`." msgstr "" -#: library/sqlite3.rst:1343 +#: library/sqlite3.rst:1346 msgid "" "Changing :attr:`!autocommit` to ``False`` will open a new transaction, and " "changing it to ``True`` will commit any pending transaction." msgstr "" -#: library/sqlite3.rst:1346 +#: library/sqlite3.rst:1349 msgid "See :ref:`sqlite3-transaction-control-autocommit` for more details." msgstr "" -#: library/sqlite3.rst:1350 +#: library/sqlite3.rst:1353 msgid "" "The :attr:`isolation_level` attribute has no effect unless :attr:" "`autocommit` is :data:`LEGACY_TRANSACTION_CONTROL`." msgstr "" -#: library/sqlite3.rst:1357 +#: library/sqlite3.rst:1360 msgid "" "This read-only attribute corresponds to the low-level SQLite `autocommit " "mode`_." msgstr "" -#: library/sqlite3.rst:1360 +#: library/sqlite3.rst:1363 msgid "" "``True`` if a transaction is active (there are uncommitted changes), " "``False`` otherwise." msgstr "" -#: library/sqlite3.rst:1367 +#: library/sqlite3.rst:1370 msgid "" "Controls the :ref:`legacy transaction handling mode ` of :mod:`!sqlite3`. If set to ``None``, " @@ -1632,13 +1636,13 @@ msgid "" "` is performed." msgstr "" -#: library/sqlite3.rst:1375 +#: library/sqlite3.rst:1378 msgid "" "If not overridden by the *isolation_level* parameter of :func:`connect`, the " "default is ``\"\"``, which is an alias for ``\"DEFERRED\"``." msgstr "" -#: library/sqlite3.rst:1380 +#: library/sqlite3.rst:1383 msgid "" "Using :attr:`autocommit` to control transaction handling is recommended over " "using :attr:`!isolation_level`. :attr:`!isolation_level` has no effect " @@ -1646,7 +1650,7 @@ msgid "" "default)." msgstr "" -#: library/sqlite3.rst:1387 +#: library/sqlite3.rst:1390 msgid "" "The initial :attr:`~Cursor.row_factory` for :class:`Cursor` objects created " "from this connection. Assigning to this attribute does not affect the :attr:" @@ -1655,32 +1659,32 @@ msgid "" "`tuple`." msgstr "" -#: library/sqlite3.rst:1680 library/sqlite3.rst:1703 +#: library/sqlite3.rst:1683 library/sqlite3.rst:1706 msgid "See :ref:`sqlite3-howto-row-factory` for more details." msgstr "" -#: library/sqlite3.rst:1398 +#: library/sqlite3.rst:1401 msgid "" "A :term:`callable` that accepts a :class:`bytes` parameter and returns a " "text representation of it. The callable is invoked for SQLite values with " "the ``TEXT`` data type. By default, this attribute is set to :class:`str`." msgstr "" -#: library/sqlite3.rst:1403 +#: library/sqlite3.rst:1406 msgid "See :ref:`sqlite3-howto-encoding` for more details." msgstr "" -#: library/sqlite3.rst:1407 +#: library/sqlite3.rst:1410 msgid "" "Return the total number of database rows that have been modified, inserted, " "or deleted since the database connection was opened." msgstr "" -#: library/sqlite3.rst:1414 +#: library/sqlite3.rst:1417 msgid "Cursor objects" msgstr "" -#: library/sqlite3.rst:1416 +#: library/sqlite3.rst:1419 msgid "" "A ``Cursor`` object represents a `database cursor`_ which is used to execute " "SQL statements, and manage the context of a fetch operation. Cursors are " @@ -1688,45 +1692,45 @@ msgid "" "`connection shortcut methods `." msgstr "" -#: library/sqlite3.rst:1423 +#: library/sqlite3.rst:1426 msgid "" "Cursor objects are :term:`iterators `, meaning that if you :meth:" "`~Cursor.execute` a ``SELECT`` query, you can simply iterate over the cursor " "to fetch the resulting rows:" msgstr "" -#: library/sqlite3.rst:1434 +#: library/sqlite3.rst:1437 msgid "" "for row in cur.execute(\"SELECT t FROM data\"):\n" " print(row)" msgstr "" -#: library/sqlite3.rst:1448 +#: library/sqlite3.rst:1451 msgid "A :class:`Cursor` instance has the following attributes and methods." msgstr "" -#: library/sqlite3.rst:1455 +#: library/sqlite3.rst:1458 msgid "" "Execute a single SQL statement, optionally binding Python values using :ref:" "`placeholders `." msgstr "" -#: library/sqlite3.rst:1459 +#: library/sqlite3.rst:1462 msgid "A single SQL statement." msgstr "" -#: library/sqlite3.rst:1462 +#: library/sqlite3.rst:1465 msgid "" "Python values to bind to placeholders in *sql*. A :class:`!dict` if named " "placeholders are used. A :term:`!sequence` if unnamed placeholders are used. " "See :ref:`sqlite3-placeholders`." msgstr "" -#: library/sqlite3.rst:1469 +#: library/sqlite3.rst:1472 msgid "If *sql* contains more than one SQL statement." msgstr "" -#: library/sqlite3.rst:1472 +#: library/sqlite3.rst:1475 msgid "" "If :attr:`~Connection.autocommit` is :data:`LEGACY_TRANSACTION_CONTROL`, :" "attr:`~Connection.isolation_level` is not ``None``, *sql* is an ``INSERT``, " @@ -1734,7 +1738,7 @@ msgid "" "transaction, a transaction is implicitly opened before executing *sql*." msgstr "" -#: library/sqlite3.rst:1481 +#: library/sqlite3.rst:1484 msgid "" ":exc:`DeprecationWarning` is emitted if :ref:`named placeholders ` are used and *parameters* is a sequence instead of a :class:" @@ -1742,37 +1746,37 @@ msgid "" "instead." msgstr "" -#: library/sqlite3.rst:1487 +#: library/sqlite3.rst:1490 msgid "Use :meth:`executescript` to execute multiple SQL statements." msgstr "" -#: library/sqlite3.rst:1491 +#: library/sqlite3.rst:1494 msgid "" "For every item in *parameters*, repeatedly execute the :ref:`parameterized " "` :abbr:`DML (Data Manipulation Language)` SQL " "statement *sql*." msgstr "" -#: library/sqlite3.rst:1495 +#: library/sqlite3.rst:1498 msgid "Uses the same implicit transaction handling as :meth:`~Cursor.execute`." msgstr "" -#: library/sqlite3.rst:1497 +#: library/sqlite3.rst:1500 msgid "A single SQL DML statement." msgstr "" -#: library/sqlite3.rst:1500 +#: library/sqlite3.rst:1503 msgid "" "An :term:`!iterable` of parameters to bind with the placeholders in *sql*. " "See :ref:`sqlite3-placeholders`." msgstr "" -#: library/sqlite3.rst:1506 +#: library/sqlite3.rst:1509 msgid "" "If *sql* contains more than one SQL statement, or is not a DML statement." msgstr "" -#: library/sqlite3.rst:1512 +#: library/sqlite3.rst:1515 msgid "" "rows = [\n" " (\"row1\",),\n" @@ -1782,13 +1786,13 @@ msgid "" "cur.executemany(\"INSERT INTO data VALUES(?)\", rows)" msgstr "" -#: library/sqlite3.rst:1527 +#: library/sqlite3.rst:1530 msgid "" "Any resulting rows are discarded, including DML statements with `RETURNING " "clauses`_." msgstr "" -#: library/sqlite3.rst:1534 +#: library/sqlite3.rst:1537 msgid "" ":exc:`DeprecationWarning` is emitted if :ref:`named placeholders ` are used and the items in *parameters* are sequences instead " @@ -1796,7 +1800,7 @@ msgid "" "be raised instead." msgstr "" -#: library/sqlite3.rst:1543 +#: library/sqlite3.rst:1546 msgid "" "Execute the SQL statements in *sql_script*. If the :attr:`~Connection." "autocommit` is :data:`LEGACY_TRANSACTION_CONTROL` and there is a pending " @@ -1805,11 +1809,11 @@ msgid "" "added to *sql_script*." msgstr "" -#: library/sqlite3.rst:1551 +#: library/sqlite3.rst:1554 msgid "*sql_script* must be a :class:`string `." msgstr "" -#: library/sqlite3.rst:1555 +#: library/sqlite3.rst:1558 msgid "" "# cur is an sqlite3.Cursor object\n" "cur.executescript(\"\"\"\n" @@ -1821,20 +1825,20 @@ msgid "" "\"\"\")" msgstr "" -#: library/sqlite3.rst:1568 +#: library/sqlite3.rst:1571 msgid "" "If :attr:`~Cursor.row_factory` is ``None``, return the next row query result " "set as a :class:`tuple`. Else, pass it to the row factory and return its " "result. Return ``None`` if no more data is available." msgstr "" -#: library/sqlite3.rst:1576 +#: library/sqlite3.rst:1579 msgid "" "Return the next set of rows of a query result as a :class:`list`. Return an " "empty list if no more rows are available." msgstr "" -#: library/sqlite3.rst:1579 +#: library/sqlite3.rst:1582 msgid "" "The number of rows to fetch per call is specified by the *size* parameter. " "If *size* is not given, :attr:`arraysize` determines the number of rows to " @@ -1842,7 +1846,7 @@ msgid "" "available are returned." msgstr "" -#: library/sqlite3.rst:1585 +#: library/sqlite3.rst:1588 msgid "" "Note there are performance considerations involved with the *size* " "parameter. For optimal performance, it is usually best to use the arraysize " @@ -1850,36 +1854,36 @@ msgid "" "the same value from one :meth:`fetchmany` call to the next." msgstr "" -#: library/sqlite3.rst:1592 +#: library/sqlite3.rst:1595 msgid "" "Return all (remaining) rows of a query result as a :class:`list`. Return an " "empty list if no rows are available. Note that the :attr:`arraysize` " "attribute can affect the performance of this operation." msgstr "" -#: library/sqlite3.rst:1599 +#: library/sqlite3.rst:1602 msgid "Close the cursor now (rather than whenever ``__del__`` is called)." msgstr "" -#: library/sqlite3.rst:1601 +#: library/sqlite3.rst:1604 msgid "" "The cursor will be unusable from this point forward; a :exc:" "`ProgrammingError` exception will be raised if any operation is attempted " "with the cursor." msgstr "" -#: library/sqlite3.rst:1610 +#: library/sqlite3.rst:1613 msgid "Required by the DB-API. Does nothing in :mod:`!sqlite3`." msgstr "" -#: library/sqlite3.rst:1614 +#: library/sqlite3.rst:1617 msgid "" "Read/write attribute that controls the number of rows returned by :meth:" "`fetchmany`. The default value is 1 which means a single row would be " "fetched per call." msgstr "" -#: library/sqlite3.rst:1619 +#: library/sqlite3.rst:1622 msgid "" "Read-only attribute that provides the SQLite database :class:`Connection` " "belonging to the cursor. A :class:`Cursor` object created by calling :meth:" @@ -1887,7 +1891,7 @@ msgid "" "that refers to *con*:" msgstr "" -#: library/sqlite3.rst:1624 +#: library/sqlite3.rst:1627 msgid "" ">>> con = sqlite3.connect(\":memory:\")\n" ">>> cur = con.cursor()\n" @@ -1896,18 +1900,18 @@ msgid "" ">>> con.close()" msgstr "" -#: library/sqlite3.rst:1634 +#: library/sqlite3.rst:1637 msgid "" "Read-only attribute that provides the column names of the last query. To " "remain compatible with the Python DB API, it returns a 7-tuple for each " "column where the last six items of each tuple are ``None``." msgstr "" -#: library/sqlite3.rst:1638 +#: library/sqlite3.rst:1641 msgid "It is set for ``SELECT`` statements without any matching rows as well." msgstr "" -#: library/sqlite3.rst:1642 +#: library/sqlite3.rst:1645 msgid "" "Read-only attribute that provides the row id of the last inserted row. It is " "only updated after successful ``INSERT`` or ``REPLACE`` statements using " @@ -1917,15 +1921,15 @@ msgid "" "``None``." msgstr "" -#: library/sqlite3.rst:1650 +#: library/sqlite3.rst:1653 msgid "Inserts into ``WITHOUT ROWID`` tables are not recorded." msgstr "" -#: library/sqlite3.rst:1652 +#: library/sqlite3.rst:1655 msgid "Added support for the ``REPLACE`` statement." msgstr "" -#: library/sqlite3.rst:1657 +#: library/sqlite3.rst:1660 msgid "" "Read-only attribute that provides the number of modified rows for " "``INSERT``, ``UPDATE``, ``DELETE``, and ``REPLACE`` statements; is ``-1`` " @@ -1935,7 +1939,7 @@ msgid "" "resulting rows must be fetched in order for :attr:`!rowcount` to be updated." msgstr "" -#: library/sqlite3.rst:1668 +#: library/sqlite3.rst:1671 msgid "" "Control how a row fetched from this :class:`!Cursor` is represented. If " "``None``, a row is represented as a :class:`tuple`. Can be set to the " @@ -1944,18 +1948,18 @@ msgid "" "and returns a custom object representing an SQLite row." msgstr "" -#: library/sqlite3.rst:1675 +#: library/sqlite3.rst:1678 msgid "" "Defaults to what :attr:`Connection.row_factory` was set to when the :class:`!" "Cursor` was created. Assigning to this attribute does not affect :attr:" "`Connection.row_factory` of the parent connection." msgstr "" -#: library/sqlite3.rst:1691 +#: library/sqlite3.rst:1694 msgid "Row objects" msgstr "" -#: library/sqlite3.rst:1695 +#: library/sqlite3.rst:1698 msgid "" "A :class:`!Row` instance serves as a highly optimized :attr:`~Connection." "row_factory` for :class:`Connection` objects. It supports iteration, " @@ -1963,28 +1967,28 @@ msgid "" "index." msgstr "" -#: library/sqlite3.rst:1700 +#: library/sqlite3.rst:1703 msgid "" "Two :class:`!Row` objects compare equal if they have identical column names " "and values." msgstr "" -#: library/sqlite3.rst:1707 +#: library/sqlite3.rst:1710 msgid "" "Return a :class:`list` of column names as :class:`strings `. " "Immediately after a query, it is the first member of each tuple in :attr:" "`Cursor.description`." msgstr "" -#: library/sqlite3.rst:1711 +#: library/sqlite3.rst:1714 msgid "Added support of slicing." msgstr "" -#: library/sqlite3.rst:1718 +#: library/sqlite3.rst:1721 msgid "Blob objects" msgstr "" -#: library/sqlite3.rst:1724 +#: library/sqlite3.rst:1727 msgid "" "A :class:`Blob` instance is a :term:`file-like object` that can read and " "write data in an SQLite :abbr:`BLOB (Binary Large OBject)`. Call :func:" @@ -1992,13 +1996,13 @@ msgid "" "and :term:`slices ` for direct access to the blob data." msgstr "" -#: library/sqlite3.rst:1729 +#: library/sqlite3.rst:1732 msgid "" "Use the :class:`Blob` as a :term:`context manager` to ensure that the blob " "handle is closed after use." msgstr "" -#: library/sqlite3.rst:1732 +#: library/sqlite3.rst:1735 msgid "" "con = sqlite3.connect(\":memory:\")\n" "con.execute(\"CREATE TABLE test(blob_col blob)\")\n" @@ -2020,18 +2024,18 @@ msgid "" "con.close()" msgstr "" -#: library/sqlite3.rst:1760 +#: library/sqlite3.rst:1763 msgid "Close the blob." msgstr "" -#: library/sqlite3.rst:1762 +#: library/sqlite3.rst:1765 msgid "" "The blob will be unusable from this point onward. An :class:`~sqlite3." "Error` (or subclass) exception will be raised if any further operation is " "attempted with the blob." msgstr "" -#: library/sqlite3.rst:1768 +#: library/sqlite3.rst:1771 msgid "" "Read *length* bytes of data from the blob at the current offset position. If " "the end of the blob is reached, the data up to :abbr:`EOF (End of File)` " @@ -2039,18 +2043,18 @@ msgid "" "`~Blob.read` will read until the end of the blob." msgstr "" -#: library/sqlite3.rst:1776 +#: library/sqlite3.rst:1779 msgid "" "Write *data* to the blob at the current offset. This function cannot change " "the blob length. Writing beyond the end of the blob will raise :exc:" "`ValueError`." msgstr "" -#: library/sqlite3.rst:1782 +#: library/sqlite3.rst:1785 msgid "Return the current access position of the blob." msgstr "" -#: library/sqlite3.rst:1786 +#: library/sqlite3.rst:1789 msgid "" "Set the current access position of the blob to *offset*. The *origin* " "argument defaults to :const:`os.SEEK_SET` (absolute blob positioning). Other " @@ -2058,26 +2062,26 @@ msgid "" "position) and :const:`os.SEEK_END` (seek relative to the blob’s end)." msgstr "" -#: library/sqlite3.rst:1794 +#: library/sqlite3.rst:1797 msgid "PrepareProtocol objects" msgstr "" -#: library/sqlite3.rst:1798 +#: library/sqlite3.rst:1801 msgid "" "The PrepareProtocol type's single purpose is to act as a :pep:`246` style " "adaption protocol for objects that can :ref:`adapt themselves ` to :ref:`native SQLite types `." msgstr "" -#: library/sqlite3.rst:1806 +#: library/sqlite3.rst:1809 msgid "Exceptions" msgstr "" -#: library/sqlite3.rst:1808 +#: library/sqlite3.rst:1811 msgid "The exception hierarchy is defined by the DB-API 2.0 (:pep:`249`)." msgstr "" -#: library/sqlite3.rst:1812 +#: library/sqlite3.rst:1815 msgid "" "This exception is not currently raised by the :mod:`!sqlite3` module, but " "may be raised by applications using :mod:`!sqlite3`, for example if a user-" @@ -2085,39 +2089,39 @@ msgid "" "of :exc:`Exception`." msgstr "" -#: library/sqlite3.rst:1819 +#: library/sqlite3.rst:1822 msgid "" "The base class of the other exceptions in this module. Use this to catch all " "errors with one single :keyword:`except` statement. ``Error`` is a subclass " "of :exc:`Exception`." msgstr "" -#: library/sqlite3.rst:1823 +#: library/sqlite3.rst:1826 msgid "" "If the exception originated from within the SQLite library, the following " "two attributes are added to the exception:" msgstr "" -#: library/sqlite3.rst:1828 +#: library/sqlite3.rst:1831 msgid "" "The numeric error code from the `SQLite API `_" msgstr "" -#: library/sqlite3.rst:1835 +#: library/sqlite3.rst:1838 msgid "" "The symbolic name of the numeric error code from the `SQLite API `_" msgstr "" -#: library/sqlite3.rst:1842 +#: library/sqlite3.rst:1845 msgid "" "Exception raised for misuse of the low-level SQLite C API. In other words, " "if this exception is raised, it probably indicates a bug in the :mod:`!" "sqlite3` module. ``InterfaceError`` is a subclass of :exc:`Error`." msgstr "" -#: library/sqlite3.rst:1849 +#: library/sqlite3.rst:1852 msgid "" "Exception raised for errors that are related to the database. This serves as " "the base exception for several types of database errors. It is only raised " @@ -2125,14 +2129,14 @@ msgid "" "subclass of :exc:`Error`." msgstr "" -#: library/sqlite3.rst:1856 +#: library/sqlite3.rst:1859 msgid "" "Exception raised for errors caused by problems with the processed data, like " "numeric values out of range, and strings which are too long. ``DataError`` " "is a subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1862 +#: library/sqlite3.rst:1865 msgid "" "Exception raised for errors that are related to the database's operation, " "and not necessarily under the control of the programmer. For example, the " @@ -2140,20 +2144,20 @@ msgid "" "``OperationalError`` is a subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1870 +#: library/sqlite3.rst:1873 msgid "" "Exception raised when the relational integrity of the database is affected, " "e.g. a foreign key check fails. It is a subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1875 +#: library/sqlite3.rst:1878 msgid "" "Exception raised when SQLite encounters an internal error. If this is " "raised, it may indicate that there is a problem with the runtime SQLite " "library. ``InternalError`` is a subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1882 +#: library/sqlite3.rst:1885 msgid "" "Exception raised for :mod:`!sqlite3` API programming errors, for example " "supplying the wrong number of bindings to a query, or trying to operate on a " @@ -2161,7 +2165,7 @@ msgid "" "`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1889 +#: library/sqlite3.rst:1892 msgid "" "Exception raised in case a method or database API is not supported by the " "underlying SQLite library. For example, setting *deterministic* to ``True`` " @@ -2170,78 +2174,78 @@ msgid "" "subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1899 +#: library/sqlite3.rst:1902 msgid "SQLite and Python types" msgstr "" -#: library/sqlite3.rst:1901 +#: library/sqlite3.rst:1904 msgid "" "SQLite natively supports the following types: ``NULL``, ``INTEGER``, " "``REAL``, ``TEXT``, ``BLOB``." msgstr "" -#: library/sqlite3.rst:1904 +#: library/sqlite3.rst:1907 msgid "" "The following Python types can thus be sent to SQLite without any problem:" msgstr "" -#: library/sqlite3.rst:1924 +#: library/sqlite3.rst:1927 msgid "Python type" msgstr "" -#: library/sqlite3.rst:1924 +#: library/sqlite3.rst:1927 msgid "SQLite type" msgstr "" -#: library/sqlite3.rst:1926 +#: library/sqlite3.rst:1929 msgid "``None``" msgstr "" -#: library/sqlite3.rst:1926 +#: library/sqlite3.rst:1929 msgid "``NULL``" msgstr "" -#: library/sqlite3.rst:1928 +#: library/sqlite3.rst:1931 msgid ":class:`int`" msgstr "" -#: library/sqlite3.rst:1928 +#: library/sqlite3.rst:1931 msgid "``INTEGER``" msgstr "" -#: library/sqlite3.rst:1930 +#: library/sqlite3.rst:1933 msgid ":class:`float`" msgstr "" -#: library/sqlite3.rst:1930 +#: library/sqlite3.rst:1933 msgid "``REAL``" msgstr "" -#: library/sqlite3.rst:1915 +#: library/sqlite3.rst:1918 msgid ":class:`str`" msgstr "" -#: library/sqlite3.rst:1932 +#: library/sqlite3.rst:1935 msgid "``TEXT``" msgstr "" -#: library/sqlite3.rst:1935 +#: library/sqlite3.rst:1938 msgid ":class:`bytes`" msgstr "" -#: library/sqlite3.rst:1935 +#: library/sqlite3.rst:1938 msgid "``BLOB``" msgstr "" -#: library/sqlite3.rst:1921 +#: library/sqlite3.rst:1924 msgid "This is how SQLite types are converted to Python types by default:" msgstr "" -#: library/sqlite3.rst:1932 +#: library/sqlite3.rst:1935 msgid "depends on :attr:`~Connection.text_factory`, :class:`str` by default" msgstr "" -#: library/sqlite3.rst:1938 +#: library/sqlite3.rst:1941 msgid "" "The type system of the :mod:`!sqlite3` module is extensible in two ways: you " "can store additional Python types in an SQLite database via :ref:`object " @@ -2250,47 +2254,47 @@ msgid "" "converters>`." msgstr "" -#: library/sqlite3.rst:1948 +#: library/sqlite3.rst:1951 msgid "Default adapters and converters (deprecated)" msgstr "" -#: library/sqlite3.rst:1952 +#: library/sqlite3.rst:1955 msgid "" "The default adapters and converters are deprecated as of Python 3.12. " "Instead, use the :ref:`sqlite3-adapter-converter-recipes` and tailor them to " "your needs." msgstr "" -#: library/sqlite3.rst:1956 +#: library/sqlite3.rst:1959 msgid "The deprecated default adapters and converters consist of:" msgstr "" -#: library/sqlite3.rst:1958 +#: library/sqlite3.rst:1961 msgid "" "An adapter for :class:`datetime.date` objects to :class:`strings ` in " "`ISO 8601`_ format." msgstr "" -#: library/sqlite3.rst:1960 +#: library/sqlite3.rst:1963 msgid "" "An adapter for :class:`datetime.datetime` objects to strings in ISO 8601 " "format." msgstr "" -#: library/sqlite3.rst:1962 +#: library/sqlite3.rst:1965 msgid "" "A converter for :ref:`declared ` \"date\" types to :" "class:`datetime.date` objects." msgstr "" -#: library/sqlite3.rst:1964 +#: library/sqlite3.rst:1967 msgid "" "A converter for declared \"timestamp\" types to :class:`datetime.datetime` " "objects. Fractional parts will be truncated to 6 digits (microsecond " "precision)." msgstr "" -#: library/sqlite3.rst:1970 +#: library/sqlite3.rst:1973 msgid "" "The default \"timestamp\" converter ignores UTC offsets in the database and " "always returns a naive :class:`datetime.datetime` object. To preserve UTC " @@ -2298,42 +2302,42 @@ msgid "" "offset-aware converter with :func:`register_converter`." msgstr "" -#: library/sqlite3.rst:1983 +#: library/sqlite3.rst:1986 msgid "Command-line interface" msgstr "" -#: library/sqlite3.rst:1985 +#: library/sqlite3.rst:1988 msgid "" "The :mod:`!sqlite3` module can be invoked as a script, using the " "interpreter's :option:`-m` switch, in order to provide a simple SQLite " "shell. The argument signature is as follows::" msgstr "" -#: library/sqlite3.rst:1990 +#: library/sqlite3.rst:1993 msgid "python -m sqlite3 [-h] [-v] [filename] [sql]" msgstr "" -#: library/sqlite3.rst:1992 +#: library/sqlite3.rst:1995 msgid "Type ``.quit`` or CTRL-D to exit the shell." msgstr "" -#: library/sqlite3.rst:1998 +#: library/sqlite3.rst:2001 msgid "Print CLI help." msgstr "" -#: library/sqlite3.rst:2002 +#: library/sqlite3.rst:2005 msgid "Print underlying SQLite library version." msgstr "" -#: library/sqlite3.rst:2010 +#: library/sqlite3.rst:2013 msgid "How-to guides" msgstr "" -#: library/sqlite3.rst:2015 +#: library/sqlite3.rst:2018 msgid "How to use placeholders to bind values in SQL queries" msgstr "" -#: library/sqlite3.rst:2017 +#: library/sqlite3.rst:2020 msgid "" "SQL operations usually need to use values from Python variables. However, " "beware of using Python's string operations to assemble queries, as they are " @@ -2341,7 +2345,7 @@ msgid "" "close the single quote and inject ``OR TRUE`` to select all rows::" msgstr "" -#: library/sqlite3.rst:2022 +#: library/sqlite3.rst:2025 msgid "" ">>> # Never do this -- insecure!\n" ">>> symbol = input()\n" @@ -2352,7 +2356,7 @@ msgid "" ">>> cur.execute(sql)" msgstr "" -#: library/sqlite3.rst:2030 +#: library/sqlite3.rst:2033 msgid "" "Instead, use the DB-API's parameter substitution. To insert a variable into " "a query string, use a placeholder in the string, and substitute the actual " @@ -2360,7 +2364,7 @@ msgid "" "second argument of the cursor's :meth:`~Cursor.execute` method." msgstr "" -#: library/sqlite3.rst:2035 +#: library/sqlite3.rst:2038 msgid "" "An SQL statement may use one of two kinds of placeholders: question marks " "(qmark style) or named placeholders (named style). For the qmark style, " @@ -2371,7 +2375,7 @@ msgid "" "ignored. Here's an example of both styles:" msgstr "" -#: library/sqlite3.rst:2046 +#: library/sqlite3.rst:2049 msgid "" "con = sqlite3.connect(\":memory:\")\n" "cur = con.execute(\"CREATE TABLE lang(name, first_appeared)\")\n" @@ -2392,24 +2396,24 @@ msgid "" "con.close()" msgstr "" -#: library/sqlite3.rst:2073 +#: library/sqlite3.rst:2076 msgid "" ":pep:`249` numeric placeholders are *not* supported. If used, they will be " "interpreted as named placeholders." msgstr "" -#: library/sqlite3.rst:2080 +#: library/sqlite3.rst:2083 msgid "How to adapt custom Python types to SQLite values" msgstr "" -#: library/sqlite3.rst:2082 +#: library/sqlite3.rst:2085 msgid "" "SQLite supports only a limited set of data types natively. To store custom " "Python types in SQLite databases, *adapt* them to one of the :ref:`Python " "types SQLite natively understands `." msgstr "" -#: library/sqlite3.rst:2086 +#: library/sqlite3.rst:2089 msgid "" "There are two ways to adapt Python objects to SQLite types: letting your " "object adapt itself, or using an *adapter callable*. The latter will take " @@ -2419,11 +2423,11 @@ msgid "" "custom adapter functions." msgstr "" -#: library/sqlite3.rst:2098 +#: library/sqlite3.rst:2101 msgid "How to write adaptable objects" msgstr "" -#: library/sqlite3.rst:2100 +#: library/sqlite3.rst:2103 msgid "" "Suppose we have a :class:`!Point` class that represents a pair of " "coordinates, ``x`` and ``y``, in a Cartesian coordinate system. The " @@ -2433,7 +2437,7 @@ msgid "" "object passed to *protocol* will be of type :class:`PrepareProtocol`." msgstr "" -#: library/sqlite3.rst:2108 +#: library/sqlite3.rst:2111 msgid "" "class Point:\n" " def __init__(self, x, y):\n" @@ -2451,18 +2455,18 @@ msgid "" "con.close()" msgstr "" -#: library/sqlite3.rst:2132 +#: library/sqlite3.rst:2135 msgid "How to register adapter callables" msgstr "" -#: library/sqlite3.rst:2134 +#: library/sqlite3.rst:2137 msgid "" "The other possibility is to create a function that converts the Python " "object to an SQLite-compatible type. This function can then be registered " "using :func:`register_adapter`." msgstr "" -#: library/sqlite3.rst:2138 +#: library/sqlite3.rst:2141 msgid "" "class Point:\n" " def __init__(self, x, y):\n" @@ -2481,68 +2485,68 @@ msgid "" "con.close()" msgstr "" -#: library/sqlite3.rst:2165 +#: library/sqlite3.rst:2168 msgid "How to convert SQLite values to custom Python types" msgstr "" -#: library/sqlite3.rst:2167 +#: library/sqlite3.rst:2170 msgid "" "Writing an adapter lets you convert *from* custom Python types *to* SQLite " "values. To be able to convert *from* SQLite values *to* custom Python types, " "we use *converters*." msgstr "" -#: library/sqlite3.rst:2172 +#: library/sqlite3.rst:2175 msgid "" "Let's go back to the :class:`!Point` class. We stored the x and y " "coordinates separated via semicolons as strings in SQLite." msgstr "" -#: library/sqlite3.rst:2175 +#: library/sqlite3.rst:2178 msgid "" "First, we'll define a converter function that accepts the string as a " "parameter and constructs a :class:`!Point` object from it." msgstr "" -#: library/sqlite3.rst:2180 +#: library/sqlite3.rst:2183 msgid "" "Converter functions are **always** passed a :class:`bytes` object, no matter " "the underlying SQLite data type." msgstr "" -#: library/sqlite3.rst:2183 +#: library/sqlite3.rst:2186 msgid "" "def convert_point(s):\n" " x, y = map(float, s.split(b\";\"))\n" " return Point(x, y)" msgstr "" -#: library/sqlite3.rst:2189 +#: library/sqlite3.rst:2192 msgid "" "We now need to tell :mod:`!sqlite3` when it should convert a given SQLite " "value. This is done when connecting to a database, using the *detect_types* " "parameter of :func:`connect`. There are three options:" msgstr "" -#: library/sqlite3.rst:2193 +#: library/sqlite3.rst:2196 msgid "Implicit: set *detect_types* to :const:`PARSE_DECLTYPES`" msgstr "" -#: library/sqlite3.rst:2194 +#: library/sqlite3.rst:2197 msgid "Explicit: set *detect_types* to :const:`PARSE_COLNAMES`" msgstr "" -#: library/sqlite3.rst:2195 +#: library/sqlite3.rst:2198 msgid "" "Both: set *detect_types* to ``sqlite3.PARSE_DECLTYPES | sqlite3." "PARSE_COLNAMES``. Column names take precedence over declared types." msgstr "" -#: library/sqlite3.rst:2199 +#: library/sqlite3.rst:2202 msgid "The following example illustrates the implicit and explicit approaches:" msgstr "" -#: library/sqlite3.rst:2201 +#: library/sqlite3.rst:2204 msgid "" "class Point:\n" " def __init__(self, x, y):\n" @@ -2584,15 +2588,15 @@ msgid "" "con.close()" msgstr "" -#: library/sqlite3.rst:2252 +#: library/sqlite3.rst:2255 msgid "Adapter and converter recipes" msgstr "" -#: library/sqlite3.rst:2254 +#: library/sqlite3.rst:2257 msgid "This section shows recipes for common adapters and converters." msgstr "" -#: library/sqlite3.rst:2256 +#: library/sqlite3.rst:2259 msgid "" "import datetime\n" "import sqlite3\n" @@ -2630,11 +2634,11 @@ msgid "" "sqlite3.register_converter(\"timestamp\", convert_timestamp)" msgstr "" -#: library/sqlite3.rst:2316 +#: library/sqlite3.rst:2319 msgid "How to use connection shortcut methods" msgstr "" -#: library/sqlite3.rst:2318 +#: library/sqlite3.rst:2321 msgid "" "Using the :meth:`~Connection.execute`, :meth:`~Connection.executemany`, and :" "meth:`~Connection.executescript` methods of the :class:`Connection` class, " @@ -2646,7 +2650,7 @@ msgid "" "object." msgstr "" -#: library/sqlite3.rst:2327 +#: library/sqlite3.rst:2330 msgid "" "# Create and fill the table.\n" "con = sqlite3.connect(\":memory:\")\n" @@ -2670,11 +2674,11 @@ msgid "" "con.close()" msgstr "" -#: library/sqlite3.rst:2359 +#: library/sqlite3.rst:2362 msgid "How to use the connection context manager" msgstr "" -#: library/sqlite3.rst:2361 +#: library/sqlite3.rst:2364 msgid "" "A :class:`Connection` object can be used as a context manager that " "automatically commits or rolls back open transactions when leaving the body " @@ -2686,21 +2690,21 @@ msgid "" "rolling back." msgstr "" -#: library/sqlite3.rst:2372 +#: library/sqlite3.rst:2375 msgid "" "If there is no open transaction upon leaving the body of the ``with`` " "statement, or if :attr:`~Connection.autocommit` is ``True``, the context " "manager does nothing." msgstr "" -#: library/sqlite3.rst:2377 +#: library/sqlite3.rst:2380 msgid "" "The context manager neither implicitly opens a new transaction nor closes " "the connection. If you need a closing context manager, consider using :meth:" "`contextlib.closing`." msgstr "" -#: library/sqlite3.rst:2381 +#: library/sqlite3.rst:2384 msgid "" "con = sqlite3.connect(\":memory:\")\n" "con.execute(\"CREATE TABLE lang(id INTEGER PRIMARY KEY, name VARCHAR " @@ -2724,19 +2728,19 @@ msgid "" "con.close()" msgstr "" -#: library/sqlite3.rst:2411 +#: library/sqlite3.rst:2414 msgid "How to work with SQLite URIs" msgstr "" -#: library/sqlite3.rst:2413 +#: library/sqlite3.rst:2416 msgid "Some useful URI tricks include:" msgstr "" -#: library/sqlite3.rst:2415 +#: library/sqlite3.rst:2418 msgid "Open a database in read-only mode:" msgstr "" -#: library/sqlite3.rst:2417 +#: library/sqlite3.rst:2420 msgid "" ">>> con = sqlite3.connect(\"file:tutorial.db?mode=ro\", uri=True)\n" ">>> con.execute(\"CREATE TABLE readonly(data)\")\n" @@ -2745,24 +2749,24 @@ msgid "" ">>> con.close()" msgstr "" -#: library/sqlite3.rst:2425 +#: library/sqlite3.rst:2428 msgid "" "Do not implicitly create a new database file if it does not already exist; " "will raise :exc:`~sqlite3.OperationalError` if unable to create a new file:" msgstr "" -#: library/sqlite3.rst:2428 +#: library/sqlite3.rst:2431 msgid "" ">>> con = sqlite3.connect(\"file:nosuchdb.db?mode=rw\", uri=True)\n" "Traceback (most recent call last):\n" "OperationalError: unable to open database file" msgstr "" -#: library/sqlite3.rst:2435 +#: library/sqlite3.rst:2438 msgid "Create a shared named in-memory database:" msgstr "" -#: library/sqlite3.rst:2437 +#: library/sqlite3.rst:2440 msgid "" "db = \"file:mem1?mode=memory&cache=shared\"\n" "con1 = sqlite3.connect(db, uri=True)\n" @@ -2777,24 +2781,24 @@ msgid "" "con2.close()" msgstr "" -#: library/sqlite3.rst:2451 +#: library/sqlite3.rst:2454 msgid "" "More information about this feature, including a list of parameters, can be " "found in the `SQLite URI documentation`_." msgstr "" -#: library/sqlite3.rst:2460 +#: library/sqlite3.rst:2463 msgid "How to create and use row factories" msgstr "" -#: library/sqlite3.rst:2462 +#: library/sqlite3.rst:2465 msgid "" "By default, :mod:`!sqlite3` represents each row as a :class:`tuple`. If a :" "class:`!tuple` does not suit your needs, you can use the :class:`sqlite3." "Row` class or a custom :attr:`~Cursor.row_factory`." msgstr "" -#: library/sqlite3.rst:2467 +#: library/sqlite3.rst:2470 msgid "" "While :attr:`!row_factory` exists as an attribute both on the :class:" "`Cursor` and the :class:`Connection`, it is recommended to set :class:" @@ -2802,7 +2806,7 @@ msgid "" "use the same row factory." msgstr "" -#: library/sqlite3.rst:2472 +#: library/sqlite3.rst:2475 msgid "" ":class:`!Row` provides indexed and case-insensitive named access to columns, " "with minimal memory overhead and performance impact over a :class:`!tuple`. " @@ -2810,17 +2814,17 @@ msgid "" "attribute:" msgstr "" -#: library/sqlite3.rst:2477 +#: library/sqlite3.rst:2480 msgid "" ">>> con = sqlite3.connect(\":memory:\")\n" ">>> con.row_factory = sqlite3.Row" msgstr "" -#: library/sqlite3.rst:2482 +#: library/sqlite3.rst:2485 msgid "Queries now return :class:`!Row` objects:" msgstr "" -#: library/sqlite3.rst:2484 +#: library/sqlite3.rst:2487 msgid "" ">>> res = con.execute(\"SELECT 'Earth' AS name, 6378 AS radius\")\n" ">>> row = res.fetchone()\n" @@ -2835,7 +2839,7 @@ msgid "" ">>> con.close()" msgstr "" -#: library/sqlite3.rst:2500 +#: library/sqlite3.rst:2503 msgid "" "The ``FROM`` clause can be omitted in the ``SELECT`` statement, as in the " "above example. In such cases, SQLite returns a single row with columns " @@ -2843,25 +2847,25 @@ msgid "" "alias``." msgstr "" -#: library/sqlite3.rst:2505 +#: library/sqlite3.rst:2508 msgid "" "You can create a custom :attr:`~Cursor.row_factory` that returns each row as " "a :class:`dict`, with column names mapped to values:" msgstr "" -#: library/sqlite3.rst:2508 +#: library/sqlite3.rst:2511 msgid "" "def dict_factory(cursor, row):\n" " fields = [column[0] for column in cursor.description]\n" " return {key: value for key, value in zip(fields, row)}" msgstr "" -#: library/sqlite3.rst:2514 +#: library/sqlite3.rst:2517 msgid "" "Using it, queries now return a :class:`!dict` instead of a :class:`!tuple`:" msgstr "" -#: library/sqlite3.rst:2516 +#: library/sqlite3.rst:2519 msgid "" ">>> con = sqlite3.connect(\":memory:\")\n" ">>> con.row_factory = dict_factory\n" @@ -2871,11 +2875,11 @@ msgid "" ">>> con.close()" msgstr "" -#: library/sqlite3.rst:2525 +#: library/sqlite3.rst:2528 msgid "The following row factory returns a :term:`named tuple`:" msgstr "" -#: library/sqlite3.rst:2527 +#: library/sqlite3.rst:2530 msgid "" "from collections import namedtuple\n" "\n" @@ -2885,11 +2889,11 @@ msgid "" " return cls._make(row)" msgstr "" -#: library/sqlite3.rst:2536 +#: library/sqlite3.rst:2539 msgid ":func:`!namedtuple_factory` can be used as follows:" msgstr "" -#: library/sqlite3.rst:2538 +#: library/sqlite3.rst:2541 msgid "" ">>> con = sqlite3.connect(\":memory:\")\n" ">>> con.row_factory = namedtuple_factory\n" @@ -2904,18 +2908,18 @@ msgid "" ">>> con.close()" msgstr "" -#: library/sqlite3.rst:2552 +#: library/sqlite3.rst:2555 msgid "" "With some adjustments, the above recipe can be adapted to use a :class:" "`~dataclasses.dataclass`, or any other custom class, instead of a :class:" "`~collections.namedtuple`." msgstr "" -#: library/sqlite3.rst:2560 +#: library/sqlite3.rst:2563 msgid "How to handle non-UTF-8 text encodings" msgstr "" -#: library/sqlite3.rst:2562 +#: library/sqlite3.rst:2565 msgid "" "By default, :mod:`!sqlite3` uses :class:`str` to adapt SQLite values with " "the ``TEXT`` data type. This works well for UTF-8 encoded text, but it might " @@ -2923,7 +2927,7 @@ msgid "" "`~Connection.text_factory` to handle such cases." msgstr "" -#: library/sqlite3.rst:2568 +#: library/sqlite3.rst:2571 msgid "" "Because of SQLite's `flexible typing`_, it is not uncommon to encounter " "table columns with the ``TEXT`` data type containing non-UTF-8 encodings, or " @@ -2934,39 +2938,39 @@ msgid "" "text using this :attr:`~Connection.text_factory`:" msgstr "" -#: library/sqlite3.rst:2577 +#: library/sqlite3.rst:2580 msgid "con.text_factory = lambda data: str(data, encoding=\"latin2\")" msgstr "" -#: library/sqlite3.rst:2581 +#: library/sqlite3.rst:2584 msgid "" "For invalid UTF-8 or arbitrary data in stored in ``TEXT`` table columns, you " "can use the following technique, borrowed from the :ref:`unicode-howto`:" msgstr "" -#: library/sqlite3.rst:2584 +#: library/sqlite3.rst:2587 msgid "con.text_factory = lambda data: str(data, errors=\"surrogateescape\")" msgstr "" -#: library/sqlite3.rst:2590 +#: library/sqlite3.rst:2593 msgid "" "The :mod:`!sqlite3` module API does not support strings containing " "surrogates." msgstr "" -#: library/sqlite3.rst:2595 +#: library/sqlite3.rst:2598 msgid ":ref:`unicode-howto`" msgstr "" -#: library/sqlite3.rst:2601 +#: library/sqlite3.rst:2604 msgid "Explanation" msgstr "" -#: library/sqlite3.rst:2607 +#: library/sqlite3.rst:2610 msgid "Transaction control" msgstr "" -#: library/sqlite3.rst:2609 +#: library/sqlite3.rst:2612 msgid "" ":mod:`!sqlite3` offers multiple methods of controlling whether, when and how " "database transactions are opened and closed. :ref:`sqlite3-transaction-" @@ -2974,24 +2978,24 @@ msgid "" "isolation-level` retains the pre-Python 3.12 behaviour." msgstr "" -#: library/sqlite3.rst:2618 +#: library/sqlite3.rst:2621 msgid "Transaction control via the ``autocommit`` attribute" msgstr "" -#: library/sqlite3.rst:2620 +#: library/sqlite3.rst:2623 msgid "" "The recommended way of controlling transaction behaviour is through the :" "attr:`Connection.autocommit` attribute, which should preferably be set using " "the *autocommit* parameter of :func:`connect`." msgstr "" -#: library/sqlite3.rst:2625 +#: library/sqlite3.rst:2628 msgid "" "It is suggested to set *autocommit* to ``False``, which implies :pep:`249`-" "compliant transaction control. This means:" msgstr "" -#: library/sqlite3.rst:2629 +#: library/sqlite3.rst:2632 msgid "" ":mod:`!sqlite3` ensures that a transaction is always open, so :func:" "`connect`, :meth:`Connection.commit`, and :meth:`Connection.rollback` will " @@ -3000,21 +3004,21 @@ msgid "" "when opening transactions." msgstr "" -#: library/sqlite3.rst:2634 +#: library/sqlite3.rst:2637 msgid "Transactions should be committed explicitly using :meth:`!commit`." msgstr "" -#: library/sqlite3.rst:2635 +#: library/sqlite3.rst:2638 msgid "Transactions should be rolled back explicitly using :meth:`!rollback`." msgstr "" -#: library/sqlite3.rst:2636 +#: library/sqlite3.rst:2639 msgid "" "An implicit rollback is performed if the database is :meth:`~Connection." "close`-ed with pending changes." msgstr "" -#: library/sqlite3.rst:2639 +#: library/sqlite3.rst:2642 msgid "" "Set *autocommit* to ``True`` to enable SQLite's `autocommit mode`_. In this " "mode, :meth:`Connection.commit` and :meth:`Connection.rollback` have no " @@ -3023,25 +3027,25 @@ msgid "" "in_transaction` to query the low-level SQLite autocommit mode." msgstr "" -#: library/sqlite3.rst:2647 +#: library/sqlite3.rst:2650 msgid "" "Set *autocommit* to :data:`LEGACY_TRANSACTION_CONTROL` to leave transaction " "control behaviour to the :attr:`Connection.isolation_level` attribute. See :" "ref:`sqlite3-transaction-control-isolation-level` for more information." msgstr "" -#: library/sqlite3.rst:2656 +#: library/sqlite3.rst:2659 msgid "Transaction control via the ``isolation_level`` attribute" msgstr "" -#: library/sqlite3.rst:2660 +#: library/sqlite3.rst:2663 msgid "" "The recommended way of controlling transactions is via the :attr:" "`~Connection.autocommit` attribute. See :ref:`sqlite3-transaction-control-" "autocommit`." msgstr "" -#: library/sqlite3.rst:2664 +#: library/sqlite3.rst:2667 msgid "" "If :attr:`Connection.autocommit` is set to :data:" "`LEGACY_TRANSACTION_CONTROL` (the default), transaction behaviour is " @@ -3049,7 +3053,7 @@ msgid "" "Otherwise, :attr:`!isolation_level` has no effect." msgstr "" -#: library/sqlite3.rst:2670 +#: library/sqlite3.rst:2673 msgid "" "If the connection attribute :attr:`~Connection.isolation_level` is not " "``None``, new transactions are implicitly opened before :meth:`~Cursor." @@ -3063,7 +3067,7 @@ msgid "" "attribute." msgstr "" -#: library/sqlite3.rst:2683 +#: library/sqlite3.rst:2686 msgid "" "If :attr:`~Connection.isolation_level` is set to ``None``, no transactions " "are implicitly opened at all. This leaves the underlying SQLite library in " @@ -3073,33 +3077,33 @@ msgid "" "in_transaction` attribute." msgstr "" -#: library/sqlite3.rst:2691 +#: library/sqlite3.rst:2694 msgid "" "The :meth:`~Cursor.executescript` method implicitly commits any pending " "transaction before execution of the given SQL script, regardless of the " "value of :attr:`~Connection.isolation_level`." msgstr "" -#: library/sqlite3.rst:2695 +#: library/sqlite3.rst:2698 msgid "" ":mod:`!sqlite3` used to implicitly commit an open transaction before DDL " "statements. This is no longer the case." msgstr "" -#: library/sqlite3.rst:2699 +#: library/sqlite3.rst:2702 msgid "" "The recommended way of controlling transactions is now via the :attr:" "`~Connection.autocommit` attribute." msgstr "" -#: library/sqlite3.rst:1450 +#: library/sqlite3.rst:1453 msgid "? (question mark)" msgstr "" -#: library/sqlite3.rst:1451 +#: library/sqlite3.rst:1454 msgid "in SQL statements" msgstr "" -#: library/sqlite3.rst:1451 +#: library/sqlite3.rst:1454 msgid ": (colon)" msgstr "" diff --git a/library/ssl.po b/library/ssl.po index becbfe3a..2c364ad5 100644 --- a/library/ssl.po +++ b/library/ssl.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -420,10 +420,10 @@ msgstr "" msgid "" ">>> import ssl\n" ">>> timestamp = ssl.cert_time_to_seconds(\"Jan 5 09:34:43 2018 GMT\")\n" -">>> timestamp \n" +">>> timestamp\n" "1515144883\n" ">>> from datetime import datetime\n" -">>> print(datetime.utcfromtimestamp(timestamp)) \n" +">>> print(datetime.utcfromtimestamp(timestamp))\n" "2018-01-05 09:34:43" msgstr "" diff --git a/library/stat.po b/library/stat.po index 416ec602..5d93c667 100644 --- a/library/stat.po +++ b/library/stat.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/statistics.po b/library/statistics.po index c689264b..e19ece50 100644 --- a/library/statistics.po +++ b/library/statistics.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -1404,7 +1404,7 @@ msgid "" ">>> X = NormalDist(10, 2.5).samples(n, seed=3652260728)\n" ">>> Y = NormalDist(15, 1.75).samples(n, seed=4582495471)\n" ">>> Z = NormalDist(50, 1.25).samples(n, seed=6582483453)\n" -">>> quantiles(map(model, X, Y, Z)) \n" +">>> quantiles(map(model, X, Y, Z))\n" "[1.4591308524824727, 1.8035946855390597, 2.175091447274739]" msgstr "" diff --git a/library/stdtypes.po b/library/stdtypes.po index b4ae6a01..f1d0a0f5 100644 --- a/library/stdtypes.po +++ b/library/stdtypes.po @@ -8,10 +8,10 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" -"PO-Revision-Date: 2025-02-19 21:09+0200\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" +"PO-Revision-Date: 2025-05-03 00:13+0300\n" "Last-Translator: Theofanis Petkos Language-Team: PyGreece " -"Language-Team: PyGreece \n" +"\n" "Language-Team: \n" "Language: el\n" "MIME-Version: 1.0\n" @@ -1704,18 +1704,18 @@ msgstr "Τύποι Generator" #: library/stdtypes.rst:909 msgid "" "Python's :term:`generator`\\s provide a convenient way to implement the " -"iterator protocol. If a container object's :meth:`~iterator.__iter__` " -"method is implemented as a generator, it will automatically return an " -"iterator object (technically, a generator object) supplying the :meth:`!" +"iterator protocol. If a container object's :meth:`~object.__iter__` method " +"is implemented as a generator, it will automatically return an iterator " +"object (technically, a generator object) supplying the :meth:`~iterator." "__iter__` and :meth:`~generator.__next__` methods. More information about " "generators can be found in :ref:`the documentation for the yield expression " "`." msgstr "" "Οι :term:`generator`\\s της Python παρέχουν έναν βολικό τρόπο για να " -"υλοποιήσετε το iterator πρωτόκολλο. Εάν η μέθοδος :meth:`~iterator." -"__iter__` ενός container αντικειμένου είναι υλοποιημένη ως generator, θα " -"επιστρέψει αυτόματα ένα αντικείμενο iterator (τεχνικά, ένα αντικείμενο " -"generator) που παρέχει τις :meth:`!__iter__` και :meth:`~generator.__next__` " +"υλοποιήσετε το iterator πρωτόκολλο. Εάν η μέθοδος :meth:`~object.__iter__` " +"ενός container αντικειμένου είναι υλοποιημένη ως generator, θα επιστρέψει " +"αυτόματα ένα αντικείμενο iterator (τεχνικά, ένα αντικείμενο generator) που " +"παρέχει τις :meth:`~iterator.__iter__` και :meth:`~generator.__next__` " "μεθόδους. Περισσότερες πληροφορίες σχετικά με τους generators μπορείτε να " "βρείτε στην :ref:`the documentation for the yield expression `." @@ -8948,212 +8948,220 @@ msgid ":class:`type`" msgstr ":class:`type`" #: library/stdtypes.rst:5044 +msgid ":class:`asyncio.Future`" +msgstr ":class:`asyncio.Future`" + +#: library/stdtypes.rst:5045 +msgid ":class:`asyncio.Task`" +msgstr ":class:`asyncio.Task`" + +#: library/stdtypes.rst:5046 msgid ":class:`collections.deque`" msgstr ":class:`collections.deque`" -#: library/stdtypes.rst:5045 +#: library/stdtypes.rst:5047 msgid ":class:`collections.defaultdict`" msgstr ":class:`collections.defaultdict`" -#: library/stdtypes.rst:5046 +#: library/stdtypes.rst:5048 msgid ":class:`collections.OrderedDict`" msgstr ":class:`collections.OrderedDict`" -#: library/stdtypes.rst:5047 +#: library/stdtypes.rst:5049 msgid ":class:`collections.Counter`" msgstr ":class:`collections.Counter`" -#: library/stdtypes.rst:5048 +#: library/stdtypes.rst:5050 msgid ":class:`collections.ChainMap`" msgstr ":class:`collections.ChainMap`" -#: library/stdtypes.rst:5049 +#: library/stdtypes.rst:5051 msgid ":class:`collections.abc.Awaitable`" msgstr ":class:`collections.abc.Awaitable`" -#: library/stdtypes.rst:5050 +#: library/stdtypes.rst:5052 msgid ":class:`collections.abc.Coroutine`" msgstr ":class:`collections.abc.Coroutine`" -#: library/stdtypes.rst:5051 +#: library/stdtypes.rst:5053 msgid ":class:`collections.abc.AsyncIterable`" msgstr ":class:`collections.abc.AsyncIterable`" -#: library/stdtypes.rst:5052 +#: library/stdtypes.rst:5054 msgid ":class:`collections.abc.AsyncIterator`" msgstr ":class:`collections.abc.AsyncIterator`" -#: library/stdtypes.rst:5053 +#: library/stdtypes.rst:5055 msgid ":class:`collections.abc.AsyncGenerator`" msgstr ":class:`collections.abc.AsyncGenerator`" -#: library/stdtypes.rst:5054 +#: library/stdtypes.rst:5056 msgid ":class:`collections.abc.Iterable`" msgstr ":class:`collections.abc.Iterable`" -#: library/stdtypes.rst:5055 +#: library/stdtypes.rst:5057 msgid ":class:`collections.abc.Iterator`" msgstr ":class:`collections.abc.Iterator`" -#: library/stdtypes.rst:5056 +#: library/stdtypes.rst:5058 msgid ":class:`collections.abc.Generator`" msgstr ":class:`collections.abc.Generator`" -#: library/stdtypes.rst:5057 +#: library/stdtypes.rst:5059 msgid ":class:`collections.abc.Reversible`" msgstr ":class:`collections.abc.Reversible`" -#: library/stdtypes.rst:5058 +#: library/stdtypes.rst:5060 msgid ":class:`collections.abc.Container`" msgstr ":class:`collections.abc.Container`" -#: library/stdtypes.rst:5059 +#: library/stdtypes.rst:5061 msgid ":class:`collections.abc.Collection`" msgstr ":class:`collections.abc.Collection`" -#: library/stdtypes.rst:5060 +#: library/stdtypes.rst:5062 msgid ":class:`collections.abc.Callable`" msgstr ":class:`collections.abc.Callable`" -#: library/stdtypes.rst:5061 +#: library/stdtypes.rst:5063 msgid ":class:`collections.abc.Set`" msgstr ":class:`collections.abc.Set`" -#: library/stdtypes.rst:5062 +#: library/stdtypes.rst:5064 msgid ":class:`collections.abc.MutableSet`" msgstr ":class:`collections.abc.MutableSet`" -#: library/stdtypes.rst:5063 +#: library/stdtypes.rst:5065 msgid ":class:`collections.abc.Mapping`" msgstr ":class:`collections.abc.Mapping`" -#: library/stdtypes.rst:5064 +#: library/stdtypes.rst:5066 msgid ":class:`collections.abc.MutableMapping`" msgstr ":class:`collections.abc.MutableMapping`" -#: library/stdtypes.rst:5065 +#: library/stdtypes.rst:5067 msgid ":class:`collections.abc.Sequence`" msgstr ":class:`collections.abc.Sequence`" -#: library/stdtypes.rst:5066 +#: library/stdtypes.rst:5068 msgid ":class:`collections.abc.MutableSequence`" msgstr ":class:`collections.abc.MutableSequence`" -#: library/stdtypes.rst:5067 +#: library/stdtypes.rst:5069 msgid ":class:`collections.abc.ByteString`" msgstr ":class:`collections.abc.ByteString`" -#: library/stdtypes.rst:5068 +#: library/stdtypes.rst:5070 msgid ":class:`collections.abc.MappingView`" msgstr ":class:`collections.abc.MappingView`" -#: library/stdtypes.rst:5069 +#: library/stdtypes.rst:5071 msgid ":class:`collections.abc.KeysView`" msgstr ":class:`collections.abc.KeysView`" -#: library/stdtypes.rst:5070 +#: library/stdtypes.rst:5072 msgid ":class:`collections.abc.ItemsView`" msgstr ":class:`collections.abc.ItemsView`" -#: library/stdtypes.rst:5071 +#: library/stdtypes.rst:5073 msgid ":class:`collections.abc.ValuesView`" msgstr ":class:`collections.abc.ValuesView`" -#: library/stdtypes.rst:5072 +#: library/stdtypes.rst:5074 msgid ":class:`contextlib.AbstractContextManager`" msgstr ":class:`contextlib.AbstractContextManager`" -#: library/stdtypes.rst:5073 +#: library/stdtypes.rst:5075 msgid ":class:`contextlib.AbstractAsyncContextManager`" msgstr ":class:`contextlib.AbstractAsyncContextManager`" -#: library/stdtypes.rst:5074 +#: library/stdtypes.rst:5076 msgid ":class:`dataclasses.Field`" msgstr ":class:`dataclasses.Field`" -#: library/stdtypes.rst:5075 +#: library/stdtypes.rst:5077 msgid ":class:`functools.cached_property`" msgstr ":class:`functools.cached_property`" -#: library/stdtypes.rst:5076 +#: library/stdtypes.rst:5078 msgid ":class:`functools.partialmethod`" msgstr ":class:`functools.partialmethod`" -#: library/stdtypes.rst:5077 +#: library/stdtypes.rst:5079 msgid ":class:`os.PathLike`" msgstr ":class:`os.PathLike`" -#: library/stdtypes.rst:5078 +#: library/stdtypes.rst:5080 msgid ":class:`queue.LifoQueue`" msgstr ":class:`queue.LifoQueue`" -#: library/stdtypes.rst:5079 +#: library/stdtypes.rst:5081 msgid ":class:`queue.Queue`" msgstr ":class:`queue.Queue`" -#: library/stdtypes.rst:5080 +#: library/stdtypes.rst:5082 msgid ":class:`queue.PriorityQueue`" msgstr ":class:`queue.PriorityQueue`" -#: library/stdtypes.rst:5081 +#: library/stdtypes.rst:5083 msgid ":class:`queue.SimpleQueue`" msgstr ":class:`queue.SimpleQueue`" -#: library/stdtypes.rst:5082 +#: library/stdtypes.rst:5084 msgid ":ref:`re.Pattern `" msgstr ":ref:`re.Pattern `" -#: library/stdtypes.rst:5083 +#: library/stdtypes.rst:5085 msgid ":ref:`re.Match `" msgstr ":ref:`re.Match `" -#: library/stdtypes.rst:5084 +#: library/stdtypes.rst:5086 msgid ":class:`shelve.BsdDbShelf`" msgstr ":class:`shelve.BsdDbShelf`" -#: library/stdtypes.rst:5085 +#: library/stdtypes.rst:5087 msgid ":class:`shelve.DbfilenameShelf`" msgstr ":class:`shelve.DbfilenameShelf`" -#: library/stdtypes.rst:5086 +#: library/stdtypes.rst:5088 msgid ":class:`shelve.Shelf`" msgstr ":class:`shelve.Shelf`" -#: library/stdtypes.rst:5087 +#: library/stdtypes.rst:5089 msgid ":class:`types.MappingProxyType`" msgstr ":class:`types.MappingProxyType`" -#: library/stdtypes.rst:5088 +#: library/stdtypes.rst:5090 msgid ":class:`weakref.WeakKeyDictionary`" msgstr ":class:`weakref.WeakKeyDictionary`" -#: library/stdtypes.rst:5089 +#: library/stdtypes.rst:5091 msgid ":class:`weakref.WeakMethod`" msgstr ":class:`weakref.WeakMethod`" -#: library/stdtypes.rst:5090 +#: library/stdtypes.rst:5092 msgid ":class:`weakref.WeakSet`" msgstr ":class:`weakref.WeakSet`" -#: library/stdtypes.rst:5091 +#: library/stdtypes.rst:5093 msgid ":class:`weakref.WeakValueDictionary`" msgstr ":class:`weakref.WeakValueDictionary`" -#: library/stdtypes.rst:5096 +#: library/stdtypes.rst:5098 msgid "Special Attributes of ``GenericAlias`` objects" msgstr "Ειδικά Χαρακτηριστικά αντικειμένων ``GenericAlias``" -#: library/stdtypes.rst:5098 +#: library/stdtypes.rst:5100 msgid "All parameterized generics implement special read-only attributes." msgstr "" "Όλα τα παραμετροποιημένα generics εφαρμόζουν ειδικά χαρακτηριστικά μόνο για " "ανάγνωση." -#: library/stdtypes.rst:5102 +#: library/stdtypes.rst:5104 msgid "This attribute points at the non-parameterized generic class::" msgstr "Αυτό το χαρακτηριστικό δείχνει στη μη παραμετροποιημένη γενική κλάση::" -#: library/stdtypes.rst:5104 +#: library/stdtypes.rst:5106 msgid "" ">>> list[int].__origin__\n" "" @@ -9161,7 +9169,7 @@ msgstr "" ">>> list[int].__origin__\n" "" -#: library/stdtypes.rst:5110 +#: library/stdtypes.rst:5112 msgid "" "This attribute is a :class:`tuple` (possibly of length 1) of generic types " "passed to the original :meth:`~object.__class_getitem__` of the generic " @@ -9171,7 +9179,7 @@ msgstr "" "τύπων που μεταβιβάστηκαν στο αρχικό :meth:`~object.__class_getitem__` της " "generic κλάσης::" -#: library/stdtypes.rst:5114 +#: library/stdtypes.rst:5116 msgid "" ">>> dict[str, list[int]].__args__\n" "(, list[int])" @@ -9179,7 +9187,7 @@ msgstr "" ">>> dict[str, list[int]].__args__\n" "(, list[int])" -#: library/stdtypes.rst:5120 +#: library/stdtypes.rst:5122 msgid "" "This attribute is a lazily computed tuple (possibly empty) of unique type " "variables found in ``__args__``::" @@ -9187,7 +9195,7 @@ msgstr "" "Αυτό το χαρακτηριστικό είναι μία νωχελικά υπολογισμένη πλειάδα (tuple) " "(πιθανώς κενή) μεταβλητών μοναδικού τύπου που βρίσκονται στο ``__args__``::" -#: library/stdtypes.rst:5123 +#: library/stdtypes.rst:5125 msgid "" ">>> from typing import TypeVar\n" "\n" @@ -9201,7 +9209,7 @@ msgstr "" ">>> list[T].__parameters__\n" "(~T,)" -#: library/stdtypes.rst:5131 +#: library/stdtypes.rst:5133 msgid "" "A ``GenericAlias`` object with :class:`typing.ParamSpec` parameters may not " "have correct ``__parameters__`` after substitution because :class:`typing." @@ -9212,7 +9220,7 @@ msgstr "" "επειδή το :class:`typing.ParamSpec` προορίζεται κυρίως για έλεγχο στατικού " "τύπου." -#: library/stdtypes.rst:5138 +#: library/stdtypes.rst:5140 msgid "" "A boolean that is true if the alias has been unpacked using the ``*`` " "operator (see :data:`~typing.TypeVarTuple`)." @@ -9220,19 +9228,19 @@ msgstr "" "Ένα boolean που ισχύει αν το alias έχει αποσυμπιεστεί χρησιμοποιώντας τον " "τελεστή ``*`` (δείτε το :data:`~typing.TypeVarTuple`)." -#: library/stdtypes.rst:5146 +#: library/stdtypes.rst:5148 msgid ":pep:`484` - Type Hints" msgstr ":pep:`484` - Type Hints" -#: library/stdtypes.rst:5147 +#: library/stdtypes.rst:5149 msgid "Introducing Python's framework for type annotations." msgstr "Παρουσιάζοντας το framework της Python για τύπους annotations." -#: library/stdtypes.rst:5149 +#: library/stdtypes.rst:5151 msgid ":pep:`585` - Type Hinting Generics In Standard Collections" msgstr ":pep:`585` - Τύπος Generics Συμβουλών στις Τυπικές Συλλογές" -#: library/stdtypes.rst:5150 +#: library/stdtypes.rst:5152 msgid "" "Introducing the ability to natively parameterize standard-library classes, " "provided they implement the special class method :meth:`~object." @@ -9242,7 +9250,7 @@ msgstr "" "βιβλιοθήκης, υπό την προϋπόθεση ότι εφαρμόζουν τη μέθοδο ειδικής κλάσης :" "meth:`~object.__class_getitem__`." -#: library/stdtypes.rst:5154 +#: library/stdtypes.rst:5156 msgid "" ":ref:`Generics`, :ref:`user-defined generics ` and :" "class:`typing.Generic`" @@ -9250,7 +9258,7 @@ msgstr "" "Τα :ref:`Generics`, :ref:`user-defined generics ` " "και :class:`typing.Generic`" -#: library/stdtypes.rst:5155 +#: library/stdtypes.rst:5157 msgid "" "Documentation on how to implement generic classes that can be parameterized " "at runtime and understood by static type-checkers." @@ -9259,11 +9267,11 @@ msgstr "" "παραμετροποιηθούν κατά το χρόνο εκτέλεσης και να κατανοηθούν από στατικούς " "ελεγκτές τύπων." -#: library/stdtypes.rst:5164 +#: library/stdtypes.rst:5166 msgid "Union Type" msgstr "Τύπος Ένωσης" -#: library/stdtypes.rst:5170 +#: library/stdtypes.rst:5172 msgid "" "A union object holds the value of the ``|`` (bitwise or) operation on " "multiple :ref:`type objects `. These types are intended " @@ -9277,7 +9285,7 @@ msgstr "" "έκφραση τύπου ένωσης επιτρέπει την καθαρότερη σύνταξη υπόδειξης σε σύγκριση " "με το :data:`typing.Union`." -#: library/stdtypes.rst:5177 +#: library/stdtypes.rst:5179 msgid "" "Defines a union object which holds types *X*, *Y*, and so forth. ``X | Y`` " "means either X or Y. It is equivalent to ``typing.Union[X, Y]``. For " @@ -9289,7 +9297,7 @@ msgstr "" "``typing.Union[X, Y]``. Για παράδειγμα, η ακόλουθη συνάρτηση αναμένει ένα " "όρισμα τύπου :class:`int` or :class:`float`::" -#: library/stdtypes.rst:5182 +#: library/stdtypes.rst:5184 msgid "" "def square(number: int | float) -> int | float:\n" " return number ** 2" @@ -9297,7 +9305,7 @@ msgstr "" "def square(number: int | float) -> int | float:\n" " return number ** 2" -#: library/stdtypes.rst:5187 +#: library/stdtypes.rst:5189 msgid "" "The ``|`` operand cannot be used at runtime to define unions where one or " "more members is a forward reference. For example, ``int | \"Foo\"``, where " @@ -9312,54 +9320,54 @@ msgstr "" "εκτέλεσης. Για ενώσεις που περιλαμβάνουν μπροστινές αναφορές, παρουσιάζει " "ολόκληρη την έκφραση ως συμβολοσειρά, π.χ. ``\"int | Foo\"``." -#: library/stdtypes.rst:5195 +#: library/stdtypes.rst:5197 msgid "" "Union objects can be tested for equality with other union objects. Details:" msgstr "" "Τα αντικείμενα ένωσης μπορούν να ελεγχθούν για ισότητα με άλλα αντικείμενα " "ένωσης. Λεπτομέρειες:" -#: library/stdtypes.rst:5197 +#: library/stdtypes.rst:5199 msgid "Unions of unions are flattened::" msgstr "Οι ενώσεις των ενώσεων ισοπεδώνονται::" -#: library/stdtypes.rst:5199 +#: library/stdtypes.rst:5201 msgid "(int | str) | float == int | str | float" msgstr "(int | str) | float == int | str | float" -#: library/stdtypes.rst:5201 +#: library/stdtypes.rst:5203 msgid "Redundant types are removed::" msgstr "Οι περιττοί τύποι καταργούνται::" -#: library/stdtypes.rst:5203 +#: library/stdtypes.rst:5205 msgid "int | str | int == int | str" msgstr "int | str | int == int | str" -#: library/stdtypes.rst:5205 +#: library/stdtypes.rst:5207 msgid "When comparing unions, the order is ignored::" msgstr "Κατά τη σύγκριση των ενώσεων, η σειρά αγνοείται::" -#: library/stdtypes.rst:5207 +#: library/stdtypes.rst:5209 msgid "int | str == str | int" msgstr "int | str == str | int" -#: library/stdtypes.rst:5209 +#: library/stdtypes.rst:5211 msgid "It is compatible with :data:`typing.Union`::" msgstr "Είναι συμβατό με το :data:`typing.Union`::" -#: library/stdtypes.rst:5211 +#: library/stdtypes.rst:5213 msgid "int | str == typing.Union[int, str]" msgstr "int | str == typing.Union[int, str]" -#: library/stdtypes.rst:5213 +#: library/stdtypes.rst:5215 msgid "Optional types can be spelled as a union with ``None``::" msgstr "Οι προαιρετικοί τύποι μπορούν να γραφτούν ως ένωση με ``None``::" -#: library/stdtypes.rst:5215 +#: library/stdtypes.rst:5217 msgid "str | None == typing.Optional[str]" msgstr "str | None == typing.Optional[str]" -#: library/stdtypes.rst:5220 +#: library/stdtypes.rst:5222 msgid "" "Calls to :func:`isinstance` and :func:`issubclass` are also supported with a " "union object::" @@ -9367,7 +9375,7 @@ msgstr "" "Οι κλήσεις σε :func:`isinstance` και :func:`issubclass` υποστηρίζονται " "επίσης με ένα αντικείμενο ένωσης::" -#: library/stdtypes.rst:5223 +#: library/stdtypes.rst:5225 msgid "" ">>> isinstance(\"\", int | str)\n" "True" @@ -9375,7 +9383,7 @@ msgstr "" ">>> isinstance(\"\", int | str)\n" "True" -#: library/stdtypes.rst:5226 +#: library/stdtypes.rst:5228 msgid "" "However, :ref:`parameterized generics ` in union objects " "cannot be checked::" @@ -9383,7 +9391,7 @@ msgstr "" "Ωστόσο, το :ref:`parameterized generics ` σε αντικείμενα " "ένωσης δεν μπορούν να ελεγχθούν::" -#: library/stdtypes.rst:5229 +#: library/stdtypes.rst:5231 msgid "" ">>> isinstance(1, int | list[int]) # short-circuit evaluation\n" "True\n" @@ -9399,7 +9407,7 @@ msgstr "" " ...\n" "TypeError: isinstance() argument 2 cannot be a parameterized generic" -#: library/stdtypes.rst:5236 +#: library/stdtypes.rst:5238 msgid "" "The user-exposed type for the union object can be accessed from :data:`types." "UnionType` and used for :func:`isinstance` checks. An object cannot be " @@ -9410,7 +9418,7 @@ msgstr "" "ελέγχους :func:`isinstance`. Δεν είναι δυνατή η δημιουργία ενός " "αντικειμένου από τον τύπο::" -#: library/stdtypes.rst:5240 +#: library/stdtypes.rst:5242 msgid "" ">>> import types\n" ">>> isinstance(int | str, types.UnionType)\n" @@ -9428,7 +9436,7 @@ msgstr "" " File \"\", line 1, in \n" "TypeError: cannot create 'types.UnionType' instances" -#: library/stdtypes.rst:5249 +#: library/stdtypes.rst:5251 msgid "" "The :meth:`!__or__` method for type objects was added to support the syntax " "``X | Y``. If a metaclass implements :meth:`!__or__`, the Union may " @@ -9438,7 +9446,7 @@ msgstr "" "υποστηρίξει τη σύνταξη ``X | Y``. Εάν μια μετακλάση υλοποιεί :meth:`!" "__or__`, η Ένωση μπορεί να την παρακάμψει:" -#: library/stdtypes.rst:5253 +#: library/stdtypes.rst:5255 msgid "" ">>> class M(type):\n" "... def __or__(self, other):\n" @@ -9464,16 +9472,16 @@ msgstr "" ">>> int | C\n" "int | C" -#: library/stdtypes.rst:5269 +#: library/stdtypes.rst:5271 msgid ":pep:`604` -- PEP proposing the ``X | Y`` syntax and the Union type." msgstr "" ":pep:`604` -- Το PEP προτείνει τη σύνταξη ``X | Y`` και τον τύπο Ένωση." -#: library/stdtypes.rst:5277 +#: library/stdtypes.rst:5279 msgid "Other Built-in Types" msgstr "Άλλοι Ενσωματωμένοι (built-in) Τύποι" -#: library/stdtypes.rst:5279 +#: library/stdtypes.rst:5281 msgid "" "The interpreter supports several other kinds of objects. Most of these " "support only one or two operations." @@ -9481,11 +9489,11 @@ msgstr "" "Ο διερμηνέας υποστηρίζει πολλά άλλα είδη αντικειμένων. Τα περισσότερα από " "αυτά υποστηρίζουν μόνο μία ή δύο λειτουργίες." -#: library/stdtypes.rst:5286 +#: library/stdtypes.rst:5288 msgid "Modules" msgstr "Modules" -#: library/stdtypes.rst:5288 +#: library/stdtypes.rst:5290 msgid "" "The only special operation on a module is attribute access: ``m.name``, " "where *m* is a module and *name* accesses a name defined in *m*'s symbol " @@ -9503,7 +9511,7 @@ msgstr "" "δεν απαιτεί να υπάρχει ένα αντικείμενο module με το όνομα *foo* αλλά απαιτεί " "έναν (εξωτερικό) *definition* για ένα module που ονομάζεται *foo* κάπου.)" -#: library/stdtypes.rst:5295 +#: library/stdtypes.rst:5297 msgid "" "A special attribute of every module is :attr:`~object.__dict__`. This is the " "dictionary containing the module's symbol table. Modifying this dictionary " @@ -9522,7 +9530,7 @@ msgstr "" "= {}``). Δεν συνίσταται η απευθείας τροποποίηση του :attr:`~object." "__dict__`." -#: library/stdtypes.rst:5303 +#: library/stdtypes.rst:5305 msgid "" "Modules built into the interpreter are written like this: ````. If loaded from a file, they are written as ````. Εάν φορτωθούν από ένα αρχείο, γράφονται ως " "````." -#: library/stdtypes.rst:5311 +#: library/stdtypes.rst:5313 msgid "Classes and Class Instances" msgstr "Κλάσεις και Στιγμιότυπα Κλάσης" -#: library/stdtypes.rst:5313 +#: library/stdtypes.rst:5315 msgid "See :ref:`objects` and :ref:`class` for these." msgstr "Δείτε :ref:`objects` και :ref:`class` για αυτά." -#: library/stdtypes.rst:5319 +#: library/stdtypes.rst:5321 msgid "Functions" msgstr "Συναρτήσεις" -#: library/stdtypes.rst:5321 +#: library/stdtypes.rst:5323 msgid "" "Function objects are created by function definitions. The only operation on " "a function object is to call it: ``func(argument-list)``." @@ -9553,7 +9561,7 @@ msgstr "" "λειτουργία σε ένα αντικείμενο συνάρτησης είναι να το ονομάσουμε: " "``func(argument-list)``." -#: library/stdtypes.rst:5324 +#: library/stdtypes.rst:5326 msgid "" "There are really two flavors of function objects: built-in functions and " "user-defined functions. Both support the same operation (to call the " @@ -9565,15 +9573,15 @@ msgstr "" "υποστηρίζουν την ίδια λειτουργία (για να καλέσετε τη συνάρτηση), αλλά η " "υλοποίηση είναι διαφορετική, εξ ου και οι διαφορετικοί τύποι αντικειμένων." -#: library/stdtypes.rst:5328 +#: library/stdtypes.rst:5330 msgid "See :ref:`function` for more information." msgstr "Δείτε το :ref:`function` για περισσότερες πληροφορίες." -#: library/stdtypes.rst:5334 +#: library/stdtypes.rst:5336 msgid "Methods" msgstr "Μέθοδοι" -#: library/stdtypes.rst:5338 +#: library/stdtypes.rst:5340 msgid "" "Methods are functions that are called using the attribute notation. There " "are two flavors: :ref:`built-in methods ` (such as :meth:" @@ -9586,7 +9594,7 @@ msgstr "" "method `. Οι ενσωματωμένες μέθοδοι περιγράφονται με τους " "τύπους που τις υποστηρίζουν." -#: library/stdtypes.rst:5343 +#: library/stdtypes.rst:5345 msgid "" "If you access a method (a function defined in a class namespace) through an " "instance, you get a special object: a :dfn:`bound method` (also called :ref:" @@ -9609,7 +9617,7 @@ msgstr "" "arg-2, ..., arg-n)`` είναι απολύτως ισοδύναμη με την κλήση του ``m." "__func__(m.__self__, arg-1, arg-2, ..., arg-n)``." -#: library/stdtypes.rst:5354 +#: library/stdtypes.rst:5356 msgid "" "Like :ref:`function objects `, bound method objects " "support getting arbitrary attributes. However, since method attributes are " @@ -9629,7 +9637,7 @@ msgstr "" "χαρακτηριστικό μεθόδου πρέπει να το ορίσετε ρητά στο υποκείμενο αντικείμενο " "συνάρτησης:" -#: library/stdtypes.rst:5362 +#: library/stdtypes.rst:5364 msgid "" ">>> class C:\n" "... def method(self):\n" @@ -9657,15 +9665,15 @@ msgstr "" ">>> c.method.whoami\n" "'my name is method'" -#: library/stdtypes.rst:5377 +#: library/stdtypes.rst:5379 msgid "See :ref:`instance-methods` for more information." msgstr "Δείτε το :ref:`instance-methods` για περισσότερες πληροφορίες." -#: library/stdtypes.rst:5385 +#: library/stdtypes.rst:5387 msgid "Code Objects" msgstr "Αντικείμενα Κώδικα" -#: library/stdtypes.rst:5391 +#: library/stdtypes.rst:5393 msgid "" "Code objects are used by the implementation to represent \"pseudo-compiled\" " "executable Python code such as a function body. They differ from function " @@ -9683,7 +9691,7 @@ msgstr "" "χαρακτηριστικού τους :attr:`~function.__code__`. Δείτε επίσης το module :mod:" "`code`." -#: library/stdtypes.rst:5398 +#: library/stdtypes.rst:5400 msgid "" "Accessing :attr:`~function.__code__` raises an :ref:`auditing event " "` ``object.__getattr__`` with arguments ``obj`` and " @@ -9693,7 +9701,7 @@ msgstr "" "event ` ``object.__getattr__`` με ορίσματα ``obj`` και " "``\"__code__\"``." -#: library/stdtypes.rst:5405 +#: library/stdtypes.rst:5407 msgid "" "A code object can be executed or evaluated by passing it (instead of a " "source string) to the :func:`exec` or :func:`eval` built-in functions." @@ -9702,15 +9710,15 @@ msgstr "" "(αντί για πηγαία συμβολοσειρά) στις ενσωματωμένες συναρτήσεις :func:`exec` " "ή :func:`eval`." -#: library/stdtypes.rst:5408 +#: library/stdtypes.rst:5410 msgid "See :ref:`types` for more information." msgstr "Δείτε :ref:`types` για περισσότερες πληροφορίες." -#: library/stdtypes.rst:5414 +#: library/stdtypes.rst:5416 msgid "Type Objects" msgstr "Τύποι Αντικειμένων" -#: library/stdtypes.rst:5420 +#: library/stdtypes.rst:5422 msgid "" "Type objects represent the various object types. An object's type is " "accessed by the built-in function :func:`type`. There are no special " @@ -9723,15 +9731,15 @@ msgstr "" "(standard) module :mod:`types` ορίζει ονόματα για όλους τους τυπικούς " "ενσωματωμένους τύπους." -#: library/stdtypes.rst:5425 +#: library/stdtypes.rst:5427 msgid "Types are written like this: ````." msgstr "Οι τύποι γράφονται ως εξής: ````." -#: library/stdtypes.rst:5431 +#: library/stdtypes.rst:5433 msgid "The Null Object" msgstr "Το Αντικείμενο Null" -#: library/stdtypes.rst:5433 +#: library/stdtypes.rst:5435 msgid "" "This object is returned by functions that don't explicitly return a value. " "It supports no special operations. There is exactly one null object, named " @@ -9742,15 +9750,15 @@ msgstr "" "μηδενικό αντικείμενο, που ονομάζεται ``None`` (ένα ενσωματωμένο όνομα). Το " "``type(None)()`` παράγει το ίδιο singleton." -#: library/stdtypes.rst:5437 +#: library/stdtypes.rst:5439 msgid "It is written as ``None``." msgstr "Γράφεται ως ``None``." -#: library/stdtypes.rst:5444 +#: library/stdtypes.rst:5446 msgid "The Ellipsis Object" msgstr "Το αντικείμενο Ellipsis" -#: library/stdtypes.rst:5446 +#: library/stdtypes.rst:5448 msgid "" "This object is commonly used by slicing (see :ref:`slicings`). It supports " "no special operations. There is exactly one ellipsis object, named :const:" @@ -9763,15 +9771,15 @@ msgstr "" "ενσωματωμένο όνομα). Το ``type(Ellipsis)()`` παράγει το :const:`Ellipsis` " "singleton." -#: library/stdtypes.rst:5451 +#: library/stdtypes.rst:5453 msgid "It is written as ``Ellipsis`` or ``...``." msgstr "Γράφεται ως ``Ellipsis`` ή ``...``." -#: library/stdtypes.rst:5457 +#: library/stdtypes.rst:5459 msgid "The NotImplemented Object" msgstr "Το NotImplemented Αντικείμενο" -#: library/stdtypes.rst:5459 +#: library/stdtypes.rst:5461 msgid "" "This object is returned from comparisons and binary operations when they are " "asked to operate on types they don't support. See :ref:`comparisons` for " @@ -9784,15 +9792,15 @@ msgstr "" "αντικείμενο :data:`NotImplemented`. Το :code:`type(NotImplemented)()` " "παράγει το στιγμιότυπο singleton." -#: library/stdtypes.rst:5464 +#: library/stdtypes.rst:5466 msgid "It is written as :code:`NotImplemented`." msgstr "Είναι γραμμένο ως :code:`NotImplemented`." -#: library/stdtypes.rst:5470 +#: library/stdtypes.rst:5472 msgid "Internal Objects" msgstr "Εσωτερικά Αντικείμενα" -#: library/stdtypes.rst:5472 +#: library/stdtypes.rst:5474 msgid "" "See :ref:`types` for this information. It describes :ref:`stack frame " "objects `, :ref:`traceback objects `, and " @@ -9802,11 +9810,11 @@ msgstr "" "objects `, :ref:`traceback objects `, και " "αντικείμενα τμηματοποίησης." -#: library/stdtypes.rst:5480 +#: library/stdtypes.rst:5482 msgid "Special Attributes" msgstr "Ειδικά Χαρακτηριστικά" -#: library/stdtypes.rst:5482 +#: library/stdtypes.rst:5484 msgid "" "The implementation adds a few special read-only attributes to several object " "types, where they are relevant. Some of these are not reported by the :func:" @@ -9816,14 +9824,14 @@ msgstr "" "διάφορους τύπους αντικειμένων, όπου είναι σχετικά. Ορισμένα από αυτά δεν " "αναφέρονται από την ενσωματωμένη συνάρτηση :func:`dir`." -#: library/stdtypes.rst:5489 +#: library/stdtypes.rst:5491 msgid "" "The name of the class, function, method, descriptor, or generator instance." msgstr "" "Το όνομα της κλάσης, της συνάρτησης, της μεθόδου, του descriptor ή του " "στιγμιοτύπου generator." -#: library/stdtypes.rst:5495 +#: library/stdtypes.rst:5497 msgid "" "The :term:`qualified name` of the class, function, method, descriptor, or " "generator instance." @@ -9831,18 +9839,18 @@ msgstr "" "Το :term:`qualified name` της κλάσης, της συνάρτησης, της μεθόδου, του " "descriptor, ή του στιγμιοτύπου generator." -#: library/stdtypes.rst:5503 +#: library/stdtypes.rst:5505 msgid "The name of the module in which a class or function was defined." msgstr "Το όνομα του module στο οποίο ορίστηκε μια κλάση ή μια συνάρτηση." -#: library/stdtypes.rst:5508 +#: library/stdtypes.rst:5510 msgid "" "The documentation string of a class or function, or ``None`` if undefined." msgstr "" "Η συμβολοσειρά τεκμηρίωσης μιας κλάσης ή συνάρτησης ή ``None`` εάν δεν έχει " "οριστεί." -#: library/stdtypes.rst:5513 +#: library/stdtypes.rst:5515 msgid "" "The :ref:`type parameters ` of generic classes, functions, and :" "ref:`type aliases `. For classes and functions that are not " @@ -9852,11 +9860,11 @@ msgstr "" "συναρτήσεων και :ref:`type aliases `. Για κλάσεις και " "συναρτήσεις που δεν είναι γενικές, αυτή θα είναι μια κενή πλειάδα." -#: library/stdtypes.rst:5523 +#: library/stdtypes.rst:5525 msgid "Integer string conversion length limitation" msgstr "Περιορισμός μήκους μετατροπής συμβολοσειράς ακέραιου αριθμού" -#: library/stdtypes.rst:5525 +#: library/stdtypes.rst:5527 msgid "" "CPython has a global limit for converting between :class:`int` and :class:" "`str` to mitigate denial of service attacks. This limit *only* applies to " @@ -9869,7 +9877,7 @@ msgstr "" "του δύο. Οι δεξαεξαδικές, οκταδικές, και δυαδικές μετατροπές είναι " "απεριόριστες. Το όριο μπορεί να διαμορφωθεί." -#: library/stdtypes.rst:5530 +#: library/stdtypes.rst:5532 msgid "" "The :class:`int` type in CPython is an arbitrary length number stored in " "binary form (commonly known as a \"bignum\"). There exists no algorithm that " @@ -9887,14 +9895,14 @@ msgstr "" "``int('1' * 500_000)`` μπορεί να διαρκέσει περισσότερο από ένα δευτερόλεπτο " "σε μια γρήγορη CPU." -#: library/stdtypes.rst:5537 +#: library/stdtypes.rst:5539 msgid "" "Limiting conversion size offers a practical way to avoid :cve:`2020-10735`." msgstr "" "Ο περιορισμός του μεγέθους μετατροπής προσφέρει έναν πρακτικό τρόπο αποφυγής " "του :cve:`2020-10735`." -#: library/stdtypes.rst:5539 +#: library/stdtypes.rst:5541 msgid "" "The limit is applied to the number of digit characters in the input or " "output string when a non-linear conversion algorithm would be involved. " @@ -9904,13 +9912,13 @@ msgstr "" "εισόδου ή εξόδου όταν εμπλέκεται ένας μη γραμμικός αλγόριθμος μετατροπής. " "Τα underscores και το πρόσημο δεν υπολογίζονται στο όριο." -#: library/stdtypes.rst:5543 +#: library/stdtypes.rst:5545 msgid "" "When an operation would exceed the limit, a :exc:`ValueError` is raised:" msgstr "" "Όταν μια λειτουργία υπερβαίνει το όριο, γίνεται raise μια :exc:`ValueError`:" -#: library/stdtypes.rst:5545 +#: library/stdtypes.rst:5547 msgid "" ">>> import sys\n" ">>> sys.set_int_max_str_digits(4300) # Illustrative, this is the default.\n" @@ -9954,7 +9962,7 @@ msgstr "" "7144\n" ">>> assert int(hex(i_squared), base=16) == i*i # Hexadecimal is unlimited." -#: library/stdtypes.rst:5565 +#: library/stdtypes.rst:5567 msgid "" "The default limit is 4300 digits as provided in :data:`sys.int_info." "default_max_str_digits `. The lowest limit that can be " @@ -9966,11 +9974,11 @@ msgstr "" "να διαμορφωθεί είναι 640 ψηφία όπως προβλέπεται στο :data:`sys.int_info." "str_digits_check_threshold `." -#: library/stdtypes.rst:5570 +#: library/stdtypes.rst:5572 msgid "Verification:" msgstr "Επαλήθευση:" -#: library/stdtypes.rst:5572 +#: library/stdtypes.rst:5574 msgid "" ">>> import sys\n" ">>> assert sys.int_info.default_max_str_digits == 4300, sys.int_info\n" @@ -9988,11 +9996,11 @@ msgstr "" "... '571186405732').to_bytes(53, 'big')\n" "..." -#: library/stdtypes.rst:5585 +#: library/stdtypes.rst:5587 msgid "Affected APIs" msgstr "Επηρεασμένα APIs" -#: library/stdtypes.rst:5587 +#: library/stdtypes.rst:5589 msgid "" "The limitation only applies to potentially slow conversions between :class:" "`int` and :class:`str` or :class:`bytes`:" @@ -10000,23 +10008,23 @@ msgstr "" "Ο περιορισμός ισχύει μόνο για δυνητικά αργές μετατροπές μεταξύ :class:`int` " "και :class:`str` ή :class:`bytes`:" -#: library/stdtypes.rst:5590 +#: library/stdtypes.rst:5592 msgid "``int(string)`` with default base 10." msgstr "``int(string)`` με default βάση το 10." -#: library/stdtypes.rst:5591 +#: library/stdtypes.rst:5593 msgid "``int(string, base)`` for all bases that are not a power of 2." msgstr "``int(string, base)`` για όλες τις βάσεις που δεν είναι δύναμη του 2." -#: library/stdtypes.rst:5592 +#: library/stdtypes.rst:5594 msgid "``str(integer)``." msgstr "``str(integer)``." -#: library/stdtypes.rst:5593 +#: library/stdtypes.rst:5595 msgid "``repr(integer)``." msgstr "``repr(integer)``." -#: library/stdtypes.rst:5594 +#: library/stdtypes.rst:5596 msgid "" "any other string conversion to base 10, for example ``f\"{integer}\"``, " "``\"{}\".format(integer)``, or ``b\"%d\" % integer``." @@ -10024,40 +10032,40 @@ msgstr "" "οποιαδήποτε άλλη μετατροπή συμβολοσειράς στη βάση 10, για παράδειγμα " "``f\"{integer}\"``, ``\"{}\".format(integer)``, ή ``b\"%d\" % integer``." -#: library/stdtypes.rst:5597 +#: library/stdtypes.rst:5599 msgid "The limitations do not apply to functions with a linear algorithm:" msgstr "Οι περιορισμοί δεν ισχύουν για συναρτήσεις με γραμμικό αλγόριθμο:" -#: library/stdtypes.rst:5599 +#: library/stdtypes.rst:5601 msgid "``int(string, base)`` with base 2, 4, 8, 16, or 32." msgstr "``int(string, base)`` με βάση 2, 4, 8, 16, ή 32." -#: library/stdtypes.rst:5600 +#: library/stdtypes.rst:5602 msgid ":func:`int.from_bytes` and :func:`int.to_bytes`." msgstr ":func:`int.from_bytes` και :func:`int.to_bytes`." -#: library/stdtypes.rst:5601 +#: library/stdtypes.rst:5603 msgid ":func:`hex`, :func:`oct`, :func:`bin`." msgstr ":func:`hex`, :func:`oct`, :func:`bin`." -#: library/stdtypes.rst:5602 +#: library/stdtypes.rst:5604 msgid ":ref:`formatspec` for hex, octal, and binary numbers." msgstr "" ":ref:`formatspec` για δεκαεξαδικούς, οκταδικούς και δυαδικούς αριθμούς." -#: library/stdtypes.rst:5603 +#: library/stdtypes.rst:5605 msgid ":class:`str` to :class:`float`." msgstr ":class:`str` σε :class:`float`." -#: library/stdtypes.rst:5604 +#: library/stdtypes.rst:5606 msgid ":class:`str` to :class:`decimal.Decimal`." msgstr ":class:`str` σε :class:`decimal.Decimal`." -#: library/stdtypes.rst:5607 +#: library/stdtypes.rst:5609 msgid "Configuring the limit" msgstr "Διαμόρφωση ορίου" -#: library/stdtypes.rst:5609 +#: library/stdtypes.rst:5611 msgid "" "Before Python starts up you can use an environment variable or an " "interpreter command line flag to configure the limit:" @@ -10066,7 +10074,7 @@ msgstr "" "περιβάλλοντος ή ένα δείκτη γραμμής εντολών διερμηνέα για να διαμορφώσετε το " "όριο:" -#: library/stdtypes.rst:5612 +#: library/stdtypes.rst:5614 msgid "" ":envvar:`PYTHONINTMAXSTRDIGITS`, e.g. ``PYTHONINTMAXSTRDIGITS=640 python3`` " "to set the limit to 640 or ``PYTHONINTMAXSTRDIGITS=0 python3`` to disable " @@ -10076,7 +10084,7 @@ msgstr "" "για να ορίσετε το όριο σε 640 ή ``PYTHONINTMAXSTRDIGITS=0 python3`` για να " "απενεργοποιήσετε τον περιορισμό." -#: library/stdtypes.rst:5615 +#: library/stdtypes.rst:5617 msgid "" ":option:`-X int_max_str_digits <-X>`, e.g. ``python3 -X " "int_max_str_digits=640``" @@ -10084,7 +10092,7 @@ msgstr "" ":option:`-X int_max_str_digits <-X>`, π.χ. ``python3 -X " "int_max_str_digits=640``" -#: library/stdtypes.rst:5617 +#: library/stdtypes.rst:5619 msgid "" ":data:`sys.flags.int_max_str_digits` contains the value of :envvar:" "`PYTHONINTMAXSTRDIGITS` or :option:`-X int_max_str_digits <-X>`. If both the " @@ -10099,7 +10107,7 @@ msgstr "" "επομένως χρησιμοποιήθηκε μια τιμή :data:`sys.int_info." "default_max_str_digits` κατά την προετοιμασία." -#: library/stdtypes.rst:5623 +#: library/stdtypes.rst:5625 msgid "" "From code, you can inspect the current limit and set a new one using these :" "mod:`sys` APIs:" @@ -10107,7 +10115,7 @@ msgstr "" "Από τον κώδικα, μπορείτε να επιθεωρήσετε το τρέχον όριο και να ορίσετε ένα " "νέο χρησιμοποιώντας αυτά τα :mod:`sys` APIs:" -#: library/stdtypes.rst:5626 +#: library/stdtypes.rst:5628 msgid "" ":func:`sys.get_int_max_str_digits` and :func:`sys.set_int_max_str_digits` " "are a getter and setter for the interpreter-wide limit. Subinterpreters have " @@ -10117,7 +10125,7 @@ msgstr "" "είναι ένας getter και setter για το όριο σε όλο τον διερμηνέα. Οι " "δευτερεύοντες διερμηνείς έχουν το δικό τους όριο." -#: library/stdtypes.rst:5630 +#: library/stdtypes.rst:5632 msgid "" "Information about the default and minimum can be found in :data:`sys." "int_info`:" @@ -10125,7 +10133,7 @@ msgstr "" "Πληροφορίες σχετικά με την προεπιλογή και το ελάχιστο μπορούν να βρεθούν " "στο :data:`sys.int_info`:" -#: library/stdtypes.rst:5632 +#: library/stdtypes.rst:5634 msgid "" ":data:`sys.int_info.default_max_str_digits ` is the compiled-" "in default limit." @@ -10133,7 +10141,7 @@ msgstr "" "Το :data:`sys.int_info.default_max_str_digits ` είναι το " "μεταγλωττισμένο προεπιλεγμένο όριο." -#: library/stdtypes.rst:5634 +#: library/stdtypes.rst:5636 msgid "" ":data:`sys.int_info.str_digits_check_threshold ` is the lowest " "accepted value for the limit (other than 0 which disables it)." @@ -10141,7 +10149,7 @@ msgstr "" "Το :data:`sys.int_info.str_digits_check_threshold ` είναι η " "χαμηλότερη αποδεκτή τιμή για το όριο (εκτός από το 0 που το απενεργοποιεί)." -#: library/stdtypes.rst:5641 +#: library/stdtypes.rst:5643 msgid "" "Setting a low limit *can* lead to problems. While rare, code exists that " "contains integer constants in decimal in their source that exceed the " @@ -10162,7 +10170,7 @@ msgstr "" "τον κώδικα. Μια λύση για τον πηγαίο που περιέχει τόσο μεγάλες σταθερές είναι " "να τις μετατρέψετε σε δεκαεξαδική μορφή ``0x`` καθώς δεν έχει όριο." -#: library/stdtypes.rst:5650 +#: library/stdtypes.rst:5652 msgid "" "Test your application thoroughly if you use a low limit. Ensure your tests " "run with the limit set early via the environment or flag so that it applies " @@ -10176,11 +10184,11 @@ msgstr "" "καλέσει την Python για να μεταγλωττίσει εκ των προτέρων το ``.py`` πηγαίο σε " "αρχεία ``.pyc``." -#: library/stdtypes.rst:5656 +#: library/stdtypes.rst:5658 msgid "Recommended configuration" msgstr "Προτεινόμενη διαμόρφωση" -#: library/stdtypes.rst:5658 +#: library/stdtypes.rst:5660 msgid "" "The default :data:`sys.int_info.default_max_str_digits` is expected to be " "reasonable for most applications. If your application requires a different " @@ -10193,11 +10201,11 @@ msgstr "" "τον συμβατό με τον κώδικα της έκδοσης Python, καθώς αυτά τα API προστέθηκαν " "στην ενημερωμένη έκδοση κώδικα ασφαλείας σε εκδόσεις πριν από την 3.12." -#: library/stdtypes.rst:5663 +#: library/stdtypes.rst:5665 msgid "Example::" msgstr "Παράδειγμα::" -#: library/stdtypes.rst:5665 +#: library/stdtypes.rst:5667 msgid "" ">>> import sys\n" ">>> if hasattr(sys, \"set_int_max_str_digits\"):\n" @@ -10219,15 +10227,15 @@ msgstr "" "... elif current_limit < lower_bound:\n" "... sys.set_int_max_str_digits(lower_bound)" -#: library/stdtypes.rst:5675 +#: library/stdtypes.rst:5677 msgid "If you need to disable it entirely, set it to ``0``." msgstr "Εάν πρέπει να το απενεργοποιήσετε εντελώς, ορίστε το σε ``0``." -#: library/stdtypes.rst:5679 +#: library/stdtypes.rst:5681 msgid "Footnotes" msgstr "Υποσημειώσεις" -#: library/stdtypes.rst:5680 +#: library/stdtypes.rst:5682 msgid "" "Additional information on these special methods may be found in the Python " "Reference Manual (:ref:`customization`)." @@ -10235,7 +10243,7 @@ msgstr "" "Πρόσθετε πληροφορίες σχετικά με αυτές τις ειδικές μεθόδους μπορείτε να " "βρείτε στο Εγχειρίδιο Αναφοράς Python (:ref:`customization`)." -#: library/stdtypes.rst:5683 +#: library/stdtypes.rst:5685 msgid "" "As a consequence, the list ``[1, 2]`` is considered equal to ``[1.0, 2.0]``, " "and similarly for tuples." @@ -10243,12 +10251,12 @@ msgstr "" "Σαν συνέπεια, η λίστα ``[1, 2]`` θεωρείται ίση με ``[1.0, 2.0]``, και ομοίως " "για πλειάδες (tuples)." -#: library/stdtypes.rst:5686 +#: library/stdtypes.rst:5688 msgid "They must have since the parser can't tell the type of the operands." msgstr "" "Πρέπει να έχουν, αφού ο parser δεν μπορεί να ξεχωρίσει τον τύπο των τελεστών." -#: library/stdtypes.rst:5688 +#: library/stdtypes.rst:5690 msgid "" "Cased characters are those with general category property being one of " "\"Lu\" (Letter, uppercase), \"Ll\" (Letter, lowercase), or \"Lt\" (Letter, " @@ -10258,7 +10266,7 @@ msgstr "" "είναι ένας από τους \"Lu\" (Γράμμα, κεφαλαίο), \"Ll\" (Γράμμα, πεζά), ή " "\"Lt\" (Γράμμα, κεφαλαία)." -#: library/stdtypes.rst:5691 +#: library/stdtypes.rst:5693 msgid "" "To format only a tuple you should therefore provide a singleton tuple whose " "only element is the tuple to be formatted." @@ -10272,7 +10280,7 @@ msgid "built-in" msgstr "ενσωματωμένοι (built-in) τύποι" #: library/stdtypes.rst:316 library/stdtypes.rst:950 library/stdtypes.rst:1139 -#: library/stdtypes.rst:4432 library/stdtypes.rst:5416 +#: library/stdtypes.rst:4432 library/stdtypes.rst:5418 msgid "types" msgstr "τύποι" @@ -10392,8 +10400,8 @@ msgstr "is not" #: library/stdtypes.rst:208 library/stdtypes.rst:1117 library/stdtypes.rst:1260 #: library/stdtypes.rst:1383 library/stdtypes.rst:1540 #: library/stdtypes.rst:2542 library/stdtypes.rst:4230 -#: library/stdtypes.rst:4911 library/stdtypes.rst:5336 -#: library/stdtypes.rst:5380 +#: library/stdtypes.rst:4911 library/stdtypes.rst:5338 +#: library/stdtypes.rst:5382 msgid "object" msgstr "αντικείμενο" @@ -10481,8 +10489,8 @@ msgstr "δυαδικό" msgid "arithmetic" msgstr "αριθμητικό" -#: library/stdtypes.rst:950 library/stdtypes.rst:4432 library/stdtypes.rst:5401 -#: library/stdtypes.rst:5416 +#: library/stdtypes.rst:950 library/stdtypes.rst:4432 library/stdtypes.rst:5403 +#: library/stdtypes.rst:5418 msgid "built-in function" msgstr "ενσωματωμένες (built-in) συναρτήσεις" @@ -10542,7 +10550,7 @@ msgstr "λειτουργίες on" msgid "conjugate() (complex number method)" msgstr "conjugate() (μέθοδος μιγαδικών αριθμών)" -#: library/stdtypes.rst:1606 library/stdtypes.rst:5416 +#: library/stdtypes.rst:1606 library/stdtypes.rst:5418 msgid "module" msgstr "module" @@ -10715,7 +10723,7 @@ msgstr "λίστα" msgid "bytearray" msgstr "bytearray" -#: library/stdtypes.rst:4432 library/stdtypes.rst:5416 +#: library/stdtypes.rst:4432 library/stdtypes.rst:5418 msgid "type" msgstr "τύπος" @@ -10936,47 +10944,47 @@ msgstr "Generic" msgid "Alias" msgstr "Alias" -#: library/stdtypes.rst:5166 +#: library/stdtypes.rst:5168 msgid "Union" msgstr "Ένωση" -#: library/stdtypes.rst:5166 +#: library/stdtypes.rst:5168 msgid "union" msgstr "ένωση" -#: library/stdtypes.rst:5336 +#: library/stdtypes.rst:5338 msgid "method" msgstr "μέθοδος" -#: library/stdtypes.rst:5380 +#: library/stdtypes.rst:5382 msgid "code" msgstr "κώδικας" -#: library/stdtypes.rst:5380 +#: library/stdtypes.rst:5382 msgid "code object" msgstr "αντικείμενο κώδικα" -#: library/stdtypes.rst:5387 +#: library/stdtypes.rst:5389 msgid "compile" msgstr "compile" -#: library/stdtypes.rst:5387 +#: library/stdtypes.rst:5389 msgid "__code__ (function object attribute)" msgstr "__code__ (χαρακτηριστικό αντικείμενου συνάρτησης)" -#: library/stdtypes.rst:5401 +#: library/stdtypes.rst:5403 msgid "exec" msgstr "exec" -#: library/stdtypes.rst:5401 +#: library/stdtypes.rst:5403 msgid "eval" msgstr "eval" -#: library/stdtypes.rst:5440 +#: library/stdtypes.rst:5442 msgid "..." msgstr "..." -#: library/stdtypes.rst:5440 +#: library/stdtypes.rst:5442 msgid "ellipsis literal" msgstr "ellipsis literal" diff --git a/library/string.po b/library/string.po index 3c1dac08..05aeb34a 100644 --- a/library/string.po +++ b/library/string.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -406,7 +406,7 @@ msgstr "" msgid "The general form of a *standard format specifier* is:" msgstr "" -#: library/string.rst:331 +#: library/string.rst:333 msgid "" "If a valid *align* value is specified, it can be preceded by a *fill* " "character that can be any character and defaults to a space if omitted. It " @@ -417,43 +417,43 @@ msgid "" "the :func:`format` function." msgstr "" -#: library/string.rst:340 +#: library/string.rst:342 msgid "The meaning of the various alignment options is as follows:" msgstr "" -#: library/string.rst:381 +#: library/string.rst:383 library/string.rst:442 msgid "Option" msgstr "" -#: library/string.rst:381 library/string.rst:477 library/string.rst:512 +#: library/string.rst:383 library/string.rst:481 library/string.rst:527 msgid "Meaning" msgstr "" -#: library/string.rst:351 +#: library/string.rst:353 msgid "``'<'``" msgstr "" -#: library/string.rst:351 +#: library/string.rst:353 msgid "" "Forces the field to be left-aligned within the available space (this is the " "default for most objects)." msgstr "" -#: library/string.rst:354 +#: library/string.rst:356 msgid "``'>'``" msgstr "" -#: library/string.rst:354 +#: library/string.rst:356 msgid "" "Forces the field to be right-aligned within the available space (this is the " "default for numbers)." msgstr "" -#: library/string.rst:357 +#: library/string.rst:359 msgid "``'='``" msgstr "" -#: library/string.rst:357 +#: library/string.rst:359 msgid "" "Forces the padding to be placed after the sign (if any) but before the " "digits. This is used for printing fields in the form '+000000120'. This " @@ -462,69 +462,69 @@ msgid "" "the field width." msgstr "" -#: library/string.rst:364 +#: library/string.rst:366 msgid "``'^'``" msgstr "" -#: library/string.rst:364 +#: library/string.rst:366 msgid "Forces the field to be centered within the available space." msgstr "" -#: library/string.rst:368 +#: library/string.rst:370 msgid "" "Note that unless a minimum field width is defined, the field width will " "always be the same size as the data to fill it, so that the alignment option " "has no meaning in this case." msgstr "" -#: library/string.rst:372 +#: library/string.rst:374 msgid "" "The *sign* option is only valid for number types, and can be one of the " "following:" msgstr "" -#: library/string.rst:383 +#: library/string.rst:385 msgid "``'+'``" msgstr "" -#: library/string.rst:383 +#: library/string.rst:385 msgid "" -"indicates that a sign should be used for both positive as well as negative " +"Indicates that a sign should be used for both positive as well as negative " "numbers." msgstr "" -#: library/string.rst:386 +#: library/string.rst:388 msgid "``'-'``" msgstr "" -#: library/string.rst:386 +#: library/string.rst:388 msgid "" -"indicates that a sign should be used only for negative numbers (this is the " +"Indicates that a sign should be used only for negative numbers (this is the " "default behavior)." msgstr "" -#: library/string.rst:389 +#: library/string.rst:391 msgid "space" msgstr "" -#: library/string.rst:389 +#: library/string.rst:391 msgid "" -"indicates that a leading space should be used on positive numbers, and a " +"Indicates that a leading space should be used on positive numbers, and a " "minus sign on negative numbers." msgstr "" -#: library/string.rst:396 +#: library/string.rst:398 msgid "" "The ``'z'`` option coerces negative zero floating-point values to positive " "zero after rounding to the format precision. This option is only valid for " "floating-point presentation types." msgstr "" -#: library/string.rst:400 +#: library/string.rst:402 msgid "Added the ``'z'`` option (see also :pep:`682`)." msgstr "" -#: library/string.rst:405 +#: library/string.rst:407 msgid "" "The ``'#'`` option causes the \"alternate form\" to be used for the " "conversion. The alternate form is defined differently for different types. " @@ -540,51 +540,69 @@ msgstr "" #: library/string.rst:419 msgid "" -"The ``','`` option signals the use of a comma for a thousands separator for " -"floating-point presentation types and for integer presentation type ``'d'``. " -"For other presentation types, this option is an error. For a locale aware " -"separator, use the ``'n'`` integer presentation type instead." +"The *width* is a decimal integer defining the minimum total field width, " +"including any prefixes, separators, and other formatting characters. If not " +"specified, then the field width will be determined by the content." msgstr "" -#: library/string.rst:425 -msgid "Added the ``','`` option (see also :pep:`378`)." +#: library/string.rst:423 +msgid "" +"When no explicit alignment is given, preceding the *width* field by a zero " +"(``'0'``) character enables sign-aware zero-padding for numeric types, " +"excluding :class:`complex`. This is equivalent to a *fill* character of " +"``'0'`` with an *alignment* type of ``'='``." msgstr "" -#: library/string.rst:430 +#: library/string.rst:428 msgid "" -"The ``'_'`` option signals the use of an underscore for a thousands " -"separator for floating-point presentation types and for integer presentation " -"type ``'d'``. For integer presentation types ``'b'``, ``'o'``, ``'x'``, and " -"``'X'``, underscores will be inserted every 4 digits. For other " -"presentation types, specifying this option is an error." +"Preceding the *width* field by ``'0'`` no longer affects the default " +"alignment for strings." msgstr "" -#: library/string.rst:437 -msgid "Added the ``'_'`` option (see also :pep:`515`)." +#: library/string.rst:433 +msgid "" +"The *grouping* option after the *width* field specifies a digit group " +"separator for the integral part of a number. It can be one of the following:" msgstr "" -#: library/string.rst:440 -msgid "" -"*width* is a decimal integer defining the minimum total field width, " -"including any prefixes, separators, and other formatting characters. If not " -"specified, then the field width will be determined by the content." +#: library/string.rst:444 +msgid "``','``" msgstr "" #: library/string.rst:444 msgid "" -"When no explicit alignment is given, preceding the *width* field by a zero " -"(``'0'``) character enables sign-aware zero-padding for numeric types, " -"excluding :class:`complex`. This is equivalent to a *fill* character of " -"``'0'`` with an *alignment* type of ``'='``." +"Inserts a comma every 3 digits for integer presentation type ``'d'`` and " +"floating-point presentation types, excluding ``'n'``. For other presentation " +"types, this option is not supported." msgstr "" -#: library/string.rst:449 +#: library/string.rst:450 +msgid "``'_'``" +msgstr "" + +#: library/string.rst:450 msgid "" -"Preceding the *width* field by ``'0'`` no longer affects the default " -"alignment for strings." +"Inserts an underscore every 3 digits for integer presentation type ``'d'`` " +"and floating-point presentation types, excluding ``'n'``. For integer " +"presentation types ``'b'``, ``'o'``, ``'x'``, and ``'X'``, underscores are " +"inserted every 4 digits. For other presentation types, this option is not " +"supported." +msgstr "" + +#: library/string.rst:460 +msgid "" +"For a locale aware separator, use the ``'n'`` presentation type instead." +msgstr "" + +#: library/string.rst:462 +msgid "Added the ``','`` option (see also :pep:`378`)." +msgstr "" + +#: library/string.rst:465 +msgid "Added the ``'_'`` option (see also :pep:`515`)." msgstr "" -#: library/string.rst:453 +#: library/string.rst:468 msgid "" "The *precision* is a decimal integer indicating how many digits should be " "displayed after the decimal point for presentation types ``'f'`` and " @@ -595,108 +613,108 @@ msgid "" "types." msgstr "" -#: library/string.rst:461 +#: library/string.rst:476 msgid "Finally, the *type* determines how the data should be presented." msgstr "" -#: library/string.rst:463 +#: library/string.rst:478 msgid "The available string presentation types are:" msgstr "" -#: library/string.rst:477 library/string.rst:512 +#: library/string.rst:492 library/string.rst:527 msgid "Type" msgstr "" -#: library/string.rst:468 +#: library/string.rst:483 msgid "``'s'``" msgstr "" -#: library/string.rst:468 +#: library/string.rst:483 msgid "String format. This is the default type for strings and may be omitted." msgstr "" -#: library/string.rst:500 library/string.rst:585 +#: library/string.rst:515 library/string.rst:601 msgid "None" msgstr "" -#: library/string.rst:471 +#: library/string.rst:486 msgid "The same as ``'s'``." msgstr "" -#: library/string.rst:474 +#: library/string.rst:489 msgid "The available integer presentation types are:" msgstr "" -#: library/string.rst:479 +#: library/string.rst:494 msgid "``'b'``" msgstr "" -#: library/string.rst:479 +#: library/string.rst:494 msgid "Binary format. Outputs the number in base 2." msgstr "" -#: library/string.rst:481 +#: library/string.rst:496 msgid "``'c'``" msgstr "" -#: library/string.rst:481 +#: library/string.rst:496 msgid "" "Character. Converts the integer to the corresponding unicode character " "before printing." msgstr "" -#: library/string.rst:484 +#: library/string.rst:499 msgid "``'d'``" msgstr "" -#: library/string.rst:484 +#: library/string.rst:499 msgid "Decimal Integer. Outputs the number in base 10." msgstr "" -#: library/string.rst:486 +#: library/string.rst:501 msgid "``'o'``" msgstr "" -#: library/string.rst:486 +#: library/string.rst:501 msgid "Octal format. Outputs the number in base 8." msgstr "" -#: library/string.rst:488 +#: library/string.rst:503 msgid "``'x'``" msgstr "" -#: library/string.rst:488 +#: library/string.rst:503 msgid "" "Hex format. Outputs the number in base 16, using lower-case letters for the " "digits above 9." msgstr "" -#: library/string.rst:491 +#: library/string.rst:506 msgid "``'X'``" msgstr "" -#: library/string.rst:491 +#: library/string.rst:506 msgid "" "Hex format. Outputs the number in base 16, using upper-case letters for the " "digits above 9. In case ``'#'`` is specified, the prefix ``'0x'`` will be " "upper-cased to ``'0X'`` as well." msgstr "" -#: library/string.rst:578 +#: library/string.rst:593 msgid "``'n'``" msgstr "" -#: library/string.rst:496 +#: library/string.rst:511 msgid "" "Number. This is the same as ``'d'``, except that it uses the current locale " -"setting to insert the appropriate number separator characters." +"setting to insert the appropriate digit group separators." msgstr "" -#: library/string.rst:500 +#: library/string.rst:515 msgid "The same as ``'d'``." msgstr "" -#: library/string.rst:503 +#: library/string.rst:518 msgid "" "In addition to the above presentation types, integers can be formatted with " "the floating-point presentation types listed below (except ``'n'`` and " @@ -704,17 +722,17 @@ msgid "" "floating-point number before formatting." msgstr "" -#: library/string.rst:508 +#: library/string.rst:523 msgid "" "The available presentation types for :class:`float` and :class:`~decimal." "Decimal` values are:" msgstr "" -#: library/string.rst:514 +#: library/string.rst:529 msgid "``'e'``" msgstr "" -#: library/string.rst:514 +#: library/string.rst:529 msgid "" "Scientific notation. For a given precision ``p``, formats the number in " "scientific notation with the letter 'e' separating the coefficient from the " @@ -726,21 +744,21 @@ msgid "" "is used." msgstr "" -#: library/string.rst:525 +#: library/string.rst:540 msgid "``'E'``" msgstr "" -#: library/string.rst:525 +#: library/string.rst:540 msgid "" "Scientific notation. Same as ``'e'`` except it uses an upper case 'E' as the " "separator character." msgstr "" -#: library/string.rst:528 +#: library/string.rst:543 msgid "``'f'``" msgstr "" -#: library/string.rst:528 +#: library/string.rst:543 msgid "" "Fixed-point notation. For a given precision ``p``, formats the number as a " "decimal number with exactly ``p`` digits following the decimal point. With " @@ -750,21 +768,21 @@ msgid "" "point is omitted unless the ``#`` option is used." msgstr "" -#: library/string.rst:537 +#: library/string.rst:552 msgid "``'F'``" msgstr "" -#: library/string.rst:537 +#: library/string.rst:552 msgid "" "Fixed-point notation. Same as ``'f'``, but converts ``nan`` to ``NAN`` and " "``inf`` to ``INF``." msgstr "" -#: library/string.rst:540 +#: library/string.rst:555 msgid "``'g'``" msgstr "" -#: library/string.rst:540 +#: library/string.rst:555 msgid "" "General format. For a given precision ``p >= 1``, this rounds the number to " "``p`` significant digits and then formats the result in either fixed-point " @@ -772,7 +790,7 @@ msgid "" "``0`` is treated as equivalent to a precision of ``1``." msgstr "" -#: library/string.rst:547 +#: library/string.rst:562 msgid "" "The precise rules are as follows: suppose that the result formatted with " "presentation type ``'e'`` and precision ``p-1`` would have exponent " @@ -785,7 +803,7 @@ msgid "" "unless the ``'#'`` option is used." msgstr "" -#: library/string.rst:560 +#: library/string.rst:575 msgid "" "With no precision given, uses a precision of ``6`` significant digits for :" "class:`float`. For :class:`~decimal.Decimal`, the coefficient of the result " @@ -795,40 +813,41 @@ msgid "" "notation is used otherwise." msgstr "" -#: library/string.rst:569 +#: library/string.rst:584 msgid "" "Positive and negative infinity, positive and negative zero, and nans, are " "formatted as ``inf``, ``-inf``, ``0``, ``-0`` and ``nan`` respectively, " "regardless of the precision." msgstr "" -#: library/string.rst:574 +#: library/string.rst:589 msgid "``'G'``" msgstr "" -#: library/string.rst:574 +#: library/string.rst:589 msgid "" "General format. Same as ``'g'`` except switches to ``'E'`` if the number " "gets too large. The representations of infinity and NaN are uppercased, too." msgstr "" -#: library/string.rst:578 +#: library/string.rst:593 msgid "" "Number. This is the same as ``'g'``, except that it uses the current locale " -"setting to insert the appropriate number separator characters." +"setting to insert the appropriate digit group separators for the integral " +"part of a number." msgstr "" -#: library/string.rst:582 +#: library/string.rst:598 msgid "``'%'``" msgstr "" -#: library/string.rst:582 +#: library/string.rst:598 msgid "" "Percentage. Multiplies the number by 100 and displays in fixed (``'f'``) " "format, followed by a percent sign." msgstr "" -#: library/string.rst:585 +#: library/string.rst:601 msgid "" "For :class:`float` this is like the ``'g'`` type, except that when fixed-" "point notation is used to format the result, it always includes at least one " @@ -837,20 +856,20 @@ msgid "" "as large as needed to represent the given value faithfully." msgstr "" -#: library/string.rst:593 +#: library/string.rst:609 msgid "" "For :class:`~decimal.Decimal`, this is the same as either ``'g'`` or ``'G'`` " "depending on the value of ``context.capitals`` for the current decimal " "context." msgstr "" -#: library/string.rst:597 +#: library/string.rst:613 msgid "" "The overall effect is to match the output of :func:`str` as altered by the " "other format modifiers." msgstr "" -#: library/string.rst:601 +#: library/string.rst:617 msgid "" "The result should be correctly rounded to a given precision ``p`` of digits " "after the decimal point. The rounding mode for :class:`float` matches that " @@ -858,7 +877,7 @@ msgid "" "mode of the current :ref:`context ` will be used." msgstr "" -#: library/string.rst:606 +#: library/string.rst:622 msgid "" "The available presentation types for :class:`complex` are the same as those " "for :class:`float` (``'%'`` is not allowed). Both the real and imaginary " @@ -870,34 +889,34 @@ msgid "" "surrounded by parentheses), possibly altered by other format modifiers." msgstr "" -#: library/string.rst:619 +#: library/string.rst:635 msgid "Format examples" msgstr "" -#: library/string.rst:621 +#: library/string.rst:637 msgid "" "This section contains examples of the :meth:`str.format` syntax and " "comparison with the old ``%``-formatting." msgstr "" -#: library/string.rst:624 +#: library/string.rst:640 msgid "" "In most of the cases the syntax is similar to the old ``%``-formatting, with " "the addition of the ``{}`` and with ``:`` used instead of ``%``. For " "example, ``'%03.2f'`` can be translated to ``'{:03.2f}'``." msgstr "" -#: library/string.rst:628 +#: library/string.rst:644 msgid "" "The new format syntax also supports new and different options, shown in the " "following examples." msgstr "" -#: library/string.rst:631 +#: library/string.rst:647 msgid "Accessing arguments by position::" msgstr "" -#: library/string.rst:633 +#: library/string.rst:649 msgid "" ">>> '{0}, {1}, {2}'.format('a', 'b', 'c')\n" "'a, b, c'\n" @@ -912,11 +931,11 @@ msgid "" "'abracadabra'" msgstr "" -#: library/string.rst:644 +#: library/string.rst:660 msgid "Accessing arguments by name::" msgstr "" -#: library/string.rst:646 +#: library/string.rst:662 msgid "" ">>> 'Coordinates: {latitude}, {longitude}'.format(latitude='37.24N', " "longitude='-115.81W')\n" @@ -926,11 +945,11 @@ msgid "" "'Coordinates: 37.24N, -115.81W'" msgstr "" -#: library/string.rst:652 +#: library/string.rst:668 msgid "Accessing arguments' attributes::" msgstr "" -#: library/string.rst:654 +#: library/string.rst:670 msgid "" ">>> c = 3-5j\n" ">>> ('The complex number {0} is formed from the real part {0.real} '\n" @@ -947,33 +966,33 @@ msgid "" "'Point(4, 2)'" msgstr "" -#: library/string.rst:667 +#: library/string.rst:683 msgid "Accessing arguments' items::" msgstr "" -#: library/string.rst:669 +#: library/string.rst:685 msgid "" ">>> coord = (3, 5)\n" ">>> 'X: {0[0]}; Y: {0[1]}'.format(coord)\n" "'X: 3; Y: 5'" msgstr "" -#: library/string.rst:673 +#: library/string.rst:689 msgid "Replacing ``%s`` and ``%r``::" msgstr "" -#: library/string.rst:675 +#: library/string.rst:691 msgid "" ">>> \"repr() shows quotes: {!r}; str() doesn't: {!s}\".format('test1', " "'test2')\n" "\"repr() shows quotes: 'test1'; str() doesn't: test2\"" msgstr "" -#: library/string.rst:678 +#: library/string.rst:694 msgid "Aligning the text and specifying a width::" msgstr "" -#: library/string.rst:680 +#: library/string.rst:696 msgid "" ">>> '{:<30}'.format('left aligned')\n" "'left aligned '\n" @@ -985,11 +1004,11 @@ msgid "" "'***********centered***********'" msgstr "" -#: library/string.rst:689 +#: library/string.rst:705 msgid "Replacing ``%+f``, ``%-f``, and ``% f`` and specifying a sign::" msgstr "" -#: library/string.rst:691 +#: library/string.rst:707 msgid "" ">>> '{:+f}; {:+f}'.format(3.14, -3.14) # show it always\n" "'+3.140000; -3.140000'\n" @@ -1000,12 +1019,12 @@ msgid "" "'3.140000; -3.140000'" msgstr "" -#: library/string.rst:698 +#: library/string.rst:714 msgid "" "Replacing ``%x`` and ``%o`` and converting the value to different bases::" msgstr "" -#: library/string.rst:700 +#: library/string.rst:716 msgid "" ">>> # format also supports binary numbers\n" ">>> \"int: {0:d}; hex: {0:x}; oct: {0:o}; bin: {0:b}\".format(42)\n" @@ -1015,21 +1034,27 @@ msgid "" "'int: 42; hex: 0x2a; oct: 0o52; bin: 0b101010'" msgstr "" -#: library/string.rst:707 -msgid "Using the comma as a thousands separator::" +#: library/string.rst:723 +msgid "Using the comma or the underscore as a digit group separator::" msgstr "" -#: library/string.rst:709 +#: library/string.rst:725 msgid "" ">>> '{:,}'.format(1234567890)\n" -"'1,234,567,890'" +"'1,234,567,890'\n" +">>> '{:_}'.format(1234567890)\n" +"'1_234_567_890'\n" +">>> '{:_b}'.format(1234567890)\n" +"'100_1001_1001_0110_0000_0010_1101_0010'\n" +">>> '{:_x}'.format(1234567890)\n" +"'4996_02d2'" msgstr "" -#: library/string.rst:712 +#: library/string.rst:734 msgid "Expressing a percentage::" msgstr "" -#: library/string.rst:714 +#: library/string.rst:736 msgid "" ">>> points = 19\n" ">>> total = 22\n" @@ -1037,11 +1062,11 @@ msgid "" "'Correct answers: 86.36%'" msgstr "" -#: library/string.rst:719 +#: library/string.rst:741 msgid "Using type-specific formatting::" msgstr "" -#: library/string.rst:721 +#: library/string.rst:743 msgid "" ">>> import datetime\n" ">>> d = datetime.datetime(2010, 7, 4, 12, 15, 58)\n" @@ -1049,11 +1074,11 @@ msgid "" "'2010-07-04 12:15:58'" msgstr "" -#: library/string.rst:726 +#: library/string.rst:748 msgid "Nesting arguments and more complex examples::" msgstr "" -#: library/string.rst:728 +#: library/string.rst:750 msgid "" ">>> for align, text in zip('<^>', ['left', 'center', 'right']):\n" "... '{0:{fill}{align}16}'.format(text, fill=align, align=align)\n" @@ -1069,7 +1094,7 @@ msgid "" "3232235521\n" ">>>\n" ">>> width = 5\n" -">>> for num in range(5,12): \n" +">>> for num in range(5,12):\n" "... for base in 'dXob':\n" "... print('{0:{width}{base}}'.format(num, base=base, width=width), " "end=' ')\n" @@ -1084,11 +1109,11 @@ msgid "" " 11 B 13 1011" msgstr "" -#: library/string.rst:760 +#: library/string.rst:782 msgid "Template strings" msgstr "" -#: library/string.rst:762 +#: library/string.rst:784 msgid "" "Template strings provide simpler string substitutions as described in :pep:" "`292`. A primary use case for template strings is for internationalization " @@ -1098,17 +1123,17 @@ msgid "" "the `flufl.i18n `_ package." msgstr "" -#: library/string.rst:772 +#: library/string.rst:794 msgid "" "Template strings support ``$``-based substitutions, using the following " "rules:" msgstr "" -#: library/string.rst:774 +#: library/string.rst:796 msgid "``$$`` is an escape; it is replaced with a single ``$``." msgstr "" -#: library/string.rst:776 +#: library/string.rst:798 msgid "" "``$identifier`` names a substitution placeholder matching a mapping key of " "``\"identifier\"``. By default, ``\"identifier\"`` is restricted to any " @@ -1118,30 +1143,30 @@ msgid "" "specification." msgstr "" -#: library/string.rst:783 +#: library/string.rst:805 msgid "" "``${identifier}`` is equivalent to ``$identifier``. It is required when " "valid identifier characters follow the placeholder but are not part of the " "placeholder, such as ``\"${noun}ification\"``." msgstr "" -#: library/string.rst:787 +#: library/string.rst:809 msgid "" "Any other appearance of ``$`` in the string will result in a :exc:" "`ValueError` being raised." msgstr "" -#: library/string.rst:790 +#: library/string.rst:812 msgid "" "The :mod:`string` module provides a :class:`Template` class that implements " "these rules. The methods of :class:`Template` are:" msgstr "" -#: library/string.rst:796 +#: library/string.rst:818 msgid "The constructor takes a single argument which is the template string." msgstr "" -#: library/string.rst:801 +#: library/string.rst:823 msgid "" "Performs the template substitution, returning a new string. *mapping* is " "any dictionary-like object with keys that match the placeholders in the " @@ -1150,7 +1175,7 @@ msgid "" "there are duplicates, the placeholders from *kwds* take precedence." msgstr "" -#: library/string.rst:810 +#: library/string.rst:832 msgid "" "Like :meth:`substitute`, except that if placeholders are missing from " "*mapping* and *kwds*, instead of raising a :exc:`KeyError` exception, the " @@ -1159,7 +1184,7 @@ msgid "" "simply return ``$`` instead of raising :exc:`ValueError`." msgstr "" -#: library/string.rst:816 +#: library/string.rst:838 msgid "" "While other exceptions may still occur, this method is called \"safe\" " "because it always tries to return a usable string instead of raising an " @@ -1169,33 +1194,33 @@ msgid "" "Python identifiers." msgstr "" -#: library/string.rst:826 +#: library/string.rst:848 msgid "" "Returns false if the template has invalid placeholders that will cause :meth:" "`substitute` to raise :exc:`ValueError`." msgstr "" -#: library/string.rst:834 +#: library/string.rst:856 msgid "" "Returns a list of the valid identifiers in the template, in the order they " "first appear, ignoring any invalid identifiers." msgstr "" -#: library/string.rst:839 +#: library/string.rst:861 msgid ":class:`Template` instances also provide one public data attribute:" msgstr "" -#: library/string.rst:843 +#: library/string.rst:865 msgid "" "This is the object passed to the constructor's *template* argument. In " "general, you shouldn't change it, but read-only access is not enforced." msgstr "" -#: library/string.rst:846 +#: library/string.rst:868 msgid "Here is an example of how to use a Template::" msgstr "" -#: library/string.rst:848 +#: library/string.rst:870 msgid "" ">>> from string import Template\n" ">>> s = Template('$who likes $what')\n" @@ -1214,7 +1239,7 @@ msgid "" "'tim likes $what'" msgstr "" -#: library/string.rst:864 +#: library/string.rst:886 msgid "" "Advanced usage: you can derive subclasses of :class:`Template` to customize " "the placeholder syntax, delimiter character, or the entire regular " @@ -1222,7 +1247,7 @@ msgid "" "these class attributes:" msgstr "" -#: library/string.rst:869 +#: library/string.rst:891 msgid "" "*delimiter* -- This is the literal string describing a placeholder " "introducing delimiter. The default value is ``$``. Note that this should " @@ -1232,7 +1257,7 @@ msgid "" "the subclass's class namespace)." msgstr "" -#: library/string.rst:876 +#: library/string.rst:898 msgid "" "*idpattern* -- This is the regular expression describing the pattern for non-" "braced placeholders. The default value is the regular expression ``(?a:[_a-" @@ -1240,19 +1265,19 @@ msgid "" "pattern will also apply to braced placeholders." msgstr "" -#: library/string.rst:883 +#: library/string.rst:905 msgid "" "Since default *flags* is ``re.IGNORECASE``, pattern ``[a-z]`` can match with " "some non-ASCII characters. That's why we use the local ``a`` flag here." msgstr "" -#: library/string.rst:887 +#: library/string.rst:909 msgid "" "*braceidpattern* can be used to define separate patterns used inside and " "outside the braces." msgstr "" -#: library/string.rst:891 +#: library/string.rst:913 msgid "" "*braceidpattern* -- This is like *idpattern* but describes the pattern for " "braced placeholders. Defaults to ``None`` which means to fall back to " @@ -1261,7 +1286,7 @@ msgid "" "unbraced placeholders." msgstr "" -#: library/string.rst:899 +#: library/string.rst:921 msgid "" "*flags* -- The regular expression flags that will be applied when compiling " "the regular expression used for recognizing substitutions. The default " @@ -1270,7 +1295,7 @@ msgid "" "regular expressions." msgstr "" -#: library/string.rst:907 +#: library/string.rst:929 msgid "" "Alternatively, you can provide the entire regular expression pattern by " "overriding the class attribute *pattern*. If you do this, the value must be " @@ -1279,41 +1304,41 @@ msgid "" "placeholder rule:" msgstr "" -#: library/string.rst:913 +#: library/string.rst:935 msgid "" "*escaped* -- This group matches the escape sequence, e.g. ``$$``, in the " "default pattern." msgstr "" -#: library/string.rst:916 +#: library/string.rst:938 msgid "" "*named* -- This group matches the unbraced placeholder name; it should not " "include the delimiter in capturing group." msgstr "" -#: library/string.rst:919 +#: library/string.rst:941 msgid "" "*braced* -- This group matches the brace enclosed placeholder name; it " "should not include either the delimiter or braces in the capturing group." msgstr "" -#: library/string.rst:922 +#: library/string.rst:944 msgid "" "*invalid* -- This group matches any other delimiter pattern (usually a " "single delimiter), and it should appear last in the regular expression." msgstr "" -#: library/string.rst:925 +#: library/string.rst:947 msgid "" "The methods on this class will raise :exc:`ValueError` if the pattern " "matches the template without one of these named groups matching." msgstr "" -#: library/string.rst:930 +#: library/string.rst:952 msgid "Helper functions" msgstr "" -#: library/string.rst:934 +#: library/string.rst:956 msgid "" "Split the argument into words using :meth:`str.split`, capitalize each word " "using :meth:`str.capitalize`, and join the capitalized words using :meth:" @@ -1327,8 +1352,7 @@ msgstr "" msgid "{} (curly brackets)" msgstr "" -#: library/string.rst:342 library/string.rst:394 library/string.rst:417 -#: library/string.rst:428 +#: library/string.rst:344 library/string.rst:396 library/string.rst:437 msgid "in string formatting" msgstr "" @@ -1348,50 +1372,50 @@ msgstr "" msgid ": (colon)" msgstr "" -#: library/string.rst:342 +#: library/string.rst:344 msgid "< (less)" msgstr "" -#: library/string.rst:342 +#: library/string.rst:344 msgid "> (greater)" msgstr "" -#: library/string.rst:342 +#: library/string.rst:344 msgid "= (equals)" msgstr "" -#: library/string.rst:342 +#: library/string.rst:344 msgid "^ (caret)" msgstr "" -#: library/string.rst:375 +#: library/string.rst:377 msgid "+ (plus)" msgstr "" -#: library/string.rst:375 +#: library/string.rst:377 msgid "- (minus)" msgstr "" -#: library/string.rst:394 +#: library/string.rst:396 msgid "z" msgstr "" -#: library/string.rst:403 +#: library/string.rst:405 msgid "# (hash)" msgstr "" -#: library/string.rst:417 +#: library/string.rst:437 msgid ", (comma)" msgstr "" -#: library/string.rst:428 +#: library/string.rst:437 msgid "_ (underscore)" msgstr "" -#: library/string.rst:770 +#: library/string.rst:792 msgid "$ (dollar)" msgstr "" -#: library/string.rst:770 +#: library/string.rst:792 msgid "in template strings" msgstr "" diff --git a/library/stringprep.po b/library/stringprep.po index 9a3a9a56..1a31aecb 100644 --- a/library/stringprep.po +++ b/library/stringprep.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/struct.po b/library/struct.po index 63f6b68b..743f07eb 100644 --- a/library/struct.po +++ b/library/struct.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2025-03-09 16:55+0200\n" "Last-Translator: Marios Giannopoulos \n" "Language-Team: PyGreece \n" diff --git a/library/subprocess.po b/library/subprocess.po index 66e4ac28..570a74cf 100644 --- a/library/subprocess.po +++ b/library/subprocess.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/sunau.po b/library/sunau.po index 38feb052..7426fb11 100644 --- a/library/sunau.po +++ b/library/sunau.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/superseded.po b/library/superseded.po index 5e8e4116..066ec4b6 100644 --- a/library/superseded.po +++ b/library/superseded.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/symtable.po b/library/symtable.po index 52153b06..d150b61c 100644 --- a/library/symtable.po +++ b/library/symtable.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/sys.monitoring.po b/library/sys.monitoring.po index ca04e6dc..e07108f6 100644 --- a/library/sys.monitoring.po +++ b/library/sys.monitoring.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/sys.po b/library/sys.po index 75d7e501..d5b296d6 100644 --- a/library/sys.po +++ b/library/sys.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -959,8 +959,8 @@ msgstr "" #: library/sys.rst:754 msgid "" -"Return the name of the current default string encoding used by the Unicode " -"implementation." +"Return ``'utf-8'``. This is the name of the default string encoding, used in " +"methods like :meth:`str.encode`." msgstr "" #: library/sys.rst:760 @@ -1097,7 +1097,7 @@ msgstr "" #: library/sys.rst:873 msgid "" -"Return the interpreter's \"thread switch interval\"; see :func:" +"Return the interpreter's \"thread switch interval\" in seconds; see :func:" "`setswitchinterval`." msgstr "" diff --git a/library/sys_path_init.po b/library/sys_path_init.po index 4a54b8b4..f4d824d9 100644 --- a/library/sys_path_init.po +++ b/library/sys_path_init.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/sysconfig.po b/library/sysconfig.po index 5be30883..ceb42264 100644 --- a/library/sysconfig.po +++ b/library/sysconfig.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/syslog.po b/library/syslog.po index 6ce2b68a..86c82eeb 100644 --- a/library/syslog.po +++ b/library/syslog.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/tabnanny.po b/library/tabnanny.po index 77b30ed2..94ed96ff 100644 --- a/library/tabnanny.po +++ b/library/tabnanny.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/tarfile.po b/library/tarfile.po index bff03659..c099d600 100644 --- a/library/tarfile.po +++ b/library/tarfile.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/telnetlib.po b/library/telnetlib.po index 3ee84020..10e37a9c 100644 --- a/library/telnetlib.po +++ b/library/telnetlib.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/tempfile.po b/library/tempfile.po index 79ef3ca2..40d96e18 100644 --- a/library/tempfile.po +++ b/library/tempfile.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/termios.po b/library/termios.po index 3c9b10b8..f4e12932 100644 --- a/library/termios.po +++ b/library/termios.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/test.po b/library/test.po index 71f4ccf3..ce1b7c39 100644 --- a/library/test.po +++ b/library/test.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/text.po b/library/text.po index 9e8ab8a3..2351ecc6 100644 --- a/library/text.po +++ b/library/text.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/textwrap.po b/library/textwrap.po index fdacc604..863f215a 100644 --- a/library/textwrap.po +++ b/library/textwrap.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/threading.po b/library/threading.po index ce495111..ee29904e 100644 --- a/library/threading.po +++ b/library/threading.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/time.po b/library/time.po index 9e3232c9..9d90e069 100644 --- a/library/time.po +++ b/library/time.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -70,12 +70,13 @@ msgstr "" #: library/time.rst:55 msgid "" -"UTC is Coordinated Universal Time (formerly known as Greenwich Mean Time, or " -"GMT). The acronym UTC is not a mistake but a compromise between English and " -"French." +"UTC is `Coordinated Universal Time`_ and superseded `Greenwich Mean Time`_ " +"or GMT as the basis of international timekeeping. The acronym UTC is not a " +"mistake but conforms to an earlier, language-agnostic naming scheme for time " +"standards such as UT0, UT1, and UT2." msgstr "" -#: library/time.rst:61 +#: library/time.rst:65 msgid "" "DST is Daylight Saving Time, an adjustment of the timezone by (usually) one " "hour during part of the year. DST rules are magic (determined by local law) " @@ -84,14 +85,14 @@ msgid "" "only source of True Wisdom in this respect." msgstr "" -#: library/time.rst:67 +#: library/time.rst:71 msgid "" "The precision of the various real-time functions may be less than suggested " "by the units in which their value or argument is expressed. E.g. on most " "Unix systems, the clock \"ticks\" only 50 or 100 times a second." msgstr "" -#: library/time.rst:71 +#: library/time.rst:75 msgid "" "On the other hand, the precision of :func:`.time` and :func:`sleep` is " "better than their Unix equivalents: times are expressed as floating-point " @@ -101,7 +102,7 @@ msgid "" "this, where available)." msgstr "" -#: library/time.rst:78 +#: library/time.rst:82 msgid "" "The time value as returned by :func:`gmtime`, :func:`localtime`, and :func:" "`strptime`, and accepted by :func:`asctime`, :func:`mktime` and :func:" @@ -110,72 +111,72 @@ msgid "" "for individual fields." msgstr "" -#: library/time.rst:84 +#: library/time.rst:88 msgid "See :class:`struct_time` for a description of these objects." msgstr "" -#: library/time.rst:86 +#: library/time.rst:90 msgid "" "The :class:`struct_time` type was extended to provide the :attr:" "`~struct_time.tm_gmtoff` and :attr:`~struct_time.tm_zone` attributes when " "platform supports corresponding ``struct tm`` members." msgstr "" -#: library/time.rst:92 +#: library/time.rst:96 msgid "" "The :class:`struct_time` attributes :attr:`~struct_time.tm_gmtoff` and :attr:" "`~struct_time.tm_zone` are now available on all platforms." msgstr "" -#: library/time.rst:97 +#: library/time.rst:101 msgid "Use the following functions to convert between time representations:" msgstr "" -#: library/time.rst:100 +#: library/time.rst:104 msgid "From" msgstr "" -#: library/time.rst:100 +#: library/time.rst:104 msgid "To" msgstr "" -#: library/time.rst:100 +#: library/time.rst:104 msgid "Use" msgstr "" -#: library/time.rst:102 library/time.rst:108 library/time.rst:111 +#: library/time.rst:106 library/time.rst:112 library/time.rst:115 msgid "seconds since the epoch" msgstr "" -#: library/time.rst:108 +#: library/time.rst:112 msgid ":class:`struct_time` in UTC" msgstr "" -#: library/time.rst:102 +#: library/time.rst:106 msgid ":func:`gmtime`" msgstr "" -#: library/time.rst:111 +#: library/time.rst:115 msgid ":class:`struct_time` in local time" msgstr "" -#: library/time.rst:105 +#: library/time.rst:109 msgid ":func:`localtime`" msgstr "" -#: library/time.rst:108 +#: library/time.rst:112 msgid ":func:`calendar.timegm`" msgstr "" -#: library/time.rst:111 +#: library/time.rst:115 msgid ":func:`mktime`" msgstr "" -#: library/time.rst:119 +#: library/time.rst:123 msgid "Functions" msgstr "" -#: library/time.rst:123 +#: library/time.rst:127 msgid "" "Convert a tuple or :class:`struct_time` representing a time as returned by :" "func:`gmtime` or :func:`localtime` to a string of the following form: ``'Sun " @@ -183,89 +184,89 @@ msgid "" "padded if the day is a single digit, e.g.: ``'Wed Jun 9 04:26:40 1993'``." msgstr "" -#: library/time.rst:129 +#: library/time.rst:133 msgid "" "If *t* is not provided, the current time as returned by :func:`localtime` is " "used. Locale information is not used by :func:`asctime`." msgstr "" -#: library/time.rst:134 +#: library/time.rst:138 msgid "" "Unlike the C function of the same name, :func:`asctime` does not add a " "trailing newline." msgstr "" -#: library/time.rst:139 +#: library/time.rst:143 msgid "" "Return the *clk_id* of the thread-specific CPU-time clock for the specified " "*thread_id*." msgstr "" -#: library/time.rst:141 +#: library/time.rst:145 msgid "" "Use :func:`threading.get_ident` or the :attr:`~threading.Thread.ident` " "attribute of :class:`threading.Thread` objects to get a suitable value for " "*thread_id*." msgstr "" -#: library/time.rst:146 +#: library/time.rst:150 msgid "" "Passing an invalid or expired *thread_id* may result in undefined behavior, " "such as segmentation fault." msgstr "" -#: library/time.rst:161 library/time.rst:183 library/time.rst:205 -#: library/time.rst:738 library/time.rst:845 library/time.rst:865 -#: library/time.rst:883 library/time.rst:902 library/time.rst:924 -#: library/time.rst:937 +#: library/time.rst:165 library/time.rst:187 library/time.rst:209 +#: library/time.rst:742 library/time.rst:849 library/time.rst:869 +#: library/time.rst:887 library/time.rst:906 library/time.rst:928 +#: library/time.rst:941 msgid "Availability" msgstr "" -#: library/time.rst:151 +#: library/time.rst:155 msgid "" "See the man page for :manpage:`pthread_getcpuclockid(3)` for further " "information." msgstr "" -#: library/time.rst:158 +#: library/time.rst:162 msgid "" "Return the resolution (precision) of the specified clock *clk_id*. Refer " "to :ref:`time-clock-id-constants` for a list of accepted values for *clk_id*." msgstr "" -#: library/time.rst:168 +#: library/time.rst:172 msgid "" "Return the time of the specified clock *clk_id*. Refer to :ref:`time-clock-" "id-constants` for a list of accepted values for *clk_id*." msgstr "" -#: library/time.rst:171 +#: library/time.rst:175 msgid "" "Use :func:`clock_gettime_ns` to avoid the precision loss caused by the :" "class:`float` type." msgstr "" -#: library/time.rst:181 +#: library/time.rst:185 msgid "Similar to :func:`clock_gettime` but return time as nanoseconds." msgstr "" -#: library/time.rst:190 +#: library/time.rst:194 msgid "" "Set the time of the specified clock *clk_id*. Currently, :data:" "`CLOCK_REALTIME` is the only accepted value for *clk_id*." msgstr "" -#: library/time.rst:193 +#: library/time.rst:197 msgid "" "Use :func:`clock_settime_ns` to avoid the precision loss caused by the :" "class:`float` type." msgstr "" -#: library/time.rst:203 +#: library/time.rst:207 msgid "Similar to :func:`clock_settime` but set time with nanoseconds." msgstr "" -#: library/time.rst:212 +#: library/time.rst:216 msgid "" "Convert a time expressed in seconds since the epoch_ to a string of a form: " "``'Sun Jun 20 23:21:05 1993'`` representing local time. The day field is two " @@ -273,7 +274,7 @@ msgid "" "``'Wed Jun 9 04:26:40 1993'``." msgstr "" -#: library/time.rst:217 +#: library/time.rst:221 msgid "" "If *secs* is not provided or :const:`None`, the current time as returned by :" "func:`.time` is used. ``ctime(secs)`` is equivalent to " @@ -281,58 +282,58 @@ msgid "" "`ctime`." msgstr "" -#: library/time.rst:225 +#: library/time.rst:229 msgid "" "Get information on the specified clock as a namespace object. Supported " "clock names and the corresponding functions to read their value are:" msgstr "" -#: library/time.rst:229 +#: library/time.rst:233 msgid "``'monotonic'``: :func:`time.monotonic`" msgstr "" -#: library/time.rst:230 +#: library/time.rst:234 msgid "``'perf_counter'``: :func:`time.perf_counter`" msgstr "" -#: library/time.rst:231 +#: library/time.rst:235 msgid "``'process_time'``: :func:`time.process_time`" msgstr "" -#: library/time.rst:232 +#: library/time.rst:236 msgid "``'thread_time'``: :func:`time.thread_time`" msgstr "" -#: library/time.rst:233 +#: library/time.rst:237 msgid "``'time'``: :func:`time.time`" msgstr "" -#: library/time.rst:235 +#: library/time.rst:239 msgid "The result has the following attributes:" msgstr "" -#: library/time.rst:237 +#: library/time.rst:241 msgid "" "*adjustable*: ``True`` if the clock can be changed automatically (e.g. by a " "NTP daemon) or manually by the system administrator, ``False`` otherwise" msgstr "" -#: library/time.rst:239 +#: library/time.rst:243 msgid "" "*implementation*: The name of the underlying C function used to get the " "clock value. Refer to :ref:`time-clock-id-constants` for possible values." msgstr "" -#: library/time.rst:241 +#: library/time.rst:245 msgid "" "*monotonic*: ``True`` if the clock cannot go backward, ``False`` otherwise" msgstr "" -#: library/time.rst:243 +#: library/time.rst:247 msgid "*resolution*: The resolution of the clock in seconds (:class:`float`)" msgstr "" -#: library/time.rst:250 +#: library/time.rst:254 msgid "" "Convert a time expressed in seconds since the epoch_ to a :class:" "`struct_time` in UTC in which the dst flag is always zero. If *secs* is not " @@ -342,14 +343,14 @@ msgid "" "of this function." msgstr "" -#: library/time.rst:260 +#: library/time.rst:264 msgid "" "Like :func:`gmtime` but converts to local time. If *secs* is not provided " "or :const:`None`, the current time as returned by :func:`.time` is used. " "The dst flag is set to ``1`` when DST applies to the given time." msgstr "" -#: library/time.rst:264 +#: library/time.rst:268 msgid "" ":func:`localtime` may raise :exc:`OverflowError`, if the timestamp is " "outside the range of values supported by the platform C :c:func:`localtime` " @@ -358,7 +359,7 @@ msgid "" "between 1970 and 2038." msgstr "" -#: library/time.rst:273 +#: library/time.rst:277 msgid "" "This is the inverse function of :func:`localtime`. Its argument is the :" "class:`struct_time` or full 9-tuple (since the dst flag is needed; use " @@ -371,7 +372,7 @@ msgid "" "dependent." msgstr "" -#: library/time.rst:285 +#: library/time.rst:289 msgid "" "Return the value (in fractional seconds) of a monotonic clock, i.e. a clock " "that cannot go backwards. The clock is not affected by system clock " @@ -379,25 +380,25 @@ msgid "" "only the difference between the results of two calls is valid." msgstr "" -#: library/time.rst:290 +#: library/time.rst:294 msgid "" "Use :func:`monotonic_ns` to avoid the precision loss caused by the :class:" "`float` type." msgstr "" -#: library/time.rst:295 +#: library/time.rst:299 msgid "The function is now always available and always system-wide." msgstr "" -#: library/time.rst:298 +#: library/time.rst:302 msgid "On macOS, the function is now system-wide." msgstr "" -#: library/time.rst:304 +#: library/time.rst:308 msgid "Similar to :func:`monotonic`, but return time as nanoseconds." msgstr "" -#: library/time.rst:313 +#: library/time.rst:317 msgid "" "Return the value (in fractional seconds) of a performance counter, i.e. a " "clock with the highest available resolution to measure a short duration. It " @@ -406,21 +407,21 @@ msgid "" "between the results of two calls is valid." msgstr "" -#: library/time.rst:319 +#: library/time.rst:323 msgid "" "Use :func:`perf_counter_ns` to avoid the precision loss caused by the :class:" "`float` type." msgstr "" -#: library/time.rst:324 +#: library/time.rst:328 msgid "On Windows, the function is now system-wide." msgstr "" -#: library/time.rst:329 +#: library/time.rst:333 msgid "Similar to :func:`perf_counter`, but return time as nanoseconds." msgstr "" -#: library/time.rst:341 +#: library/time.rst:345 msgid "" "Return the value (in fractional seconds) of the sum of the system and user " "CPU time of the current process. It does not include time elapsed during " @@ -429,40 +430,40 @@ msgid "" "of two calls is valid." msgstr "" -#: library/time.rst:347 +#: library/time.rst:351 msgid "" "Use :func:`process_time_ns` to avoid the precision loss caused by the :class:" "`float` type." msgstr "" -#: library/time.rst:354 +#: library/time.rst:358 msgid "Similar to :func:`process_time` but return time as nanoseconds." msgstr "" -#: library/time.rst:360 +#: library/time.rst:364 msgid "" "Suspend execution of the calling thread for the given number of seconds. The " "argument may be a floating-point number to indicate a more precise sleep " "time." msgstr "" -#: library/time.rst:364 +#: library/time.rst:368 msgid "" "If the sleep is interrupted by a signal and no exception is raised by the " "signal handler, the sleep is restarted with a recomputed timeout." msgstr "" -#: library/time.rst:367 +#: library/time.rst:371 msgid "" "The suspension time may be longer than requested by an arbitrary amount, " "because of the scheduling of other activity in the system." msgstr "" -#: library/time.rst:371 +#: library/time.rst:375 msgid "Windows implementation" msgstr "" -#: library/time.rst:372 +#: library/time.rst:376 msgid "" "On Windows, if *secs* is zero, the thread relinquishes the remainder of its " "time slice to any other thread that is ready to run. If there are no other " @@ -473,47 +474,47 @@ msgid "" "nanoseconds. If *secs* is zero, ``Sleep(0)`` is used." msgstr "" -#: library/time.rst:381 +#: library/time.rst:385 msgid "Unix implementation" msgstr "" -#: library/time.rst:382 +#: library/time.rst:386 msgid "Use ``clock_nanosleep()`` if available (resolution: 1 nanosecond);" msgstr "" -#: library/time.rst:383 +#: library/time.rst:387 msgid "Or use ``nanosleep()`` if available (resolution: 1 nanosecond);" msgstr "" -#: library/time.rst:384 +#: library/time.rst:388 msgid "Or use ``select()`` (resolution: 1 microsecond)." msgstr "" -#: library/time.rst:388 +#: library/time.rst:392 msgid "" "To emulate a \"no-op\", use :keyword:`pass` instead of ``time.sleep(0)``." msgstr "" -#: library/time.rst:390 +#: library/time.rst:394 msgid "" "To voluntarily relinquish the CPU, specify a real-time :ref:`scheduling " "policy ` and use :func:`os.sched_yield` instead." msgstr "" -#: library/time.rst:393 +#: library/time.rst:397 msgid "" "The function now sleeps at least *secs* even if the sleep is interrupted by " "a signal, except if the signal handler raises an exception (see :pep:`475` " "for the rationale)." msgstr "" -#: library/time.rst:398 +#: library/time.rst:402 msgid "" "On Unix, the ``clock_nanosleep()`` and ``nanosleep()`` functions are now " "used if available. On Windows, a waitable timer is now used." msgstr "" -#: library/time.rst:407 +#: library/time.rst:411 msgid "" "Convert a tuple or :class:`struct_time` representing a time as returned by :" "func:`gmtime` or :func:`localtime` to a string as specified by the *format* " @@ -522,287 +523,287 @@ msgid "" "raised if any field in *t* is outside of the allowed range." msgstr "" -#: library/time.rst:413 +#: library/time.rst:417 msgid "" "0 is a legal argument for any position in the time tuple; if it is normally " "illegal the value is forced to a correct one." msgstr "" -#: library/time.rst:416 +#: library/time.rst:420 msgid "" "The following directives can be embedded in the *format* string. They are " "shown without the optional field width and precision specification, and are " "replaced by the indicated characters in the :func:`strftime` result:" msgstr "" -#: library/time.rst:421 +#: library/time.rst:425 msgid "Directive" msgstr "" -#: library/time.rst:421 +#: library/time.rst:425 msgid "Meaning" msgstr "" -#: library/time.rst:421 +#: library/time.rst:425 msgid "Notes" msgstr "" -#: library/time.rst:423 +#: library/time.rst:427 msgid "``%a``" msgstr "" -#: library/time.rst:423 +#: library/time.rst:427 msgid "Locale's abbreviated weekday name." msgstr "" -#: library/time.rst:426 +#: library/time.rst:430 msgid "``%A``" msgstr "" -#: library/time.rst:426 +#: library/time.rst:430 msgid "Locale's full weekday name." msgstr "" -#: library/time.rst:428 +#: library/time.rst:432 msgid "``%b``" msgstr "" -#: library/time.rst:428 +#: library/time.rst:432 msgid "Locale's abbreviated month name." msgstr "" -#: library/time.rst:431 +#: library/time.rst:435 msgid "``%B``" msgstr "" -#: library/time.rst:431 +#: library/time.rst:435 msgid "Locale's full month name." msgstr "" -#: library/time.rst:433 +#: library/time.rst:437 msgid "``%c``" msgstr "" -#: library/time.rst:433 +#: library/time.rst:437 msgid "Locale's appropriate date and time representation." msgstr "" -#: library/time.rst:436 +#: library/time.rst:440 msgid "``%d``" msgstr "" -#: library/time.rst:436 +#: library/time.rst:440 msgid "Day of the month as a decimal number [01,31]." msgstr "" -#: library/time.rst:439 +#: library/time.rst:443 msgid "``%f``" msgstr "" -#: library/time.rst:439 +#: library/time.rst:443 msgid "Microseconds as a decimal number" msgstr "" -#: library/time.rst:440 +#: library/time.rst:444 msgid "[000000,999999]." msgstr "" -#: library/time.rst:439 +#: library/time.rst:443 msgid "\\(1)" msgstr "" -#: library/time.rst:443 +#: library/time.rst:447 msgid "``%H``" msgstr "" -#: library/time.rst:443 +#: library/time.rst:447 msgid "Hour (24-hour clock) as a decimal number [00,23]." msgstr "" -#: library/time.rst:446 +#: library/time.rst:450 msgid "``%I``" msgstr "" -#: library/time.rst:446 +#: library/time.rst:450 msgid "Hour (12-hour clock) as a decimal number [01,12]." msgstr "" -#: library/time.rst:449 +#: library/time.rst:453 msgid "``%j``" msgstr "" -#: library/time.rst:449 +#: library/time.rst:453 msgid "Day of the year as a decimal number [001,366]." msgstr "" -#: library/time.rst:452 +#: library/time.rst:456 msgid "``%m``" msgstr "" -#: library/time.rst:452 +#: library/time.rst:456 msgid "Month as a decimal number [01,12]." msgstr "" -#: library/time.rst:455 +#: library/time.rst:459 msgid "``%M``" msgstr "" -#: library/time.rst:455 +#: library/time.rst:459 msgid "Minute as a decimal number [00,59]." msgstr "" -#: library/time.rst:458 +#: library/time.rst:462 msgid "``%p``" msgstr "" -#: library/time.rst:458 +#: library/time.rst:462 msgid "Locale's equivalent of either AM or PM." msgstr "" -#: library/time.rst:458 +#: library/time.rst:462 msgid "\\(2)" msgstr "" -#: library/time.rst:461 +#: library/time.rst:465 msgid "``%S``" msgstr "" -#: library/time.rst:461 +#: library/time.rst:465 msgid "Second as a decimal number [00,61]." msgstr "" -#: library/time.rst:461 +#: library/time.rst:465 msgid "\\(3)" msgstr "" -#: library/time.rst:464 +#: library/time.rst:468 msgid "``%U``" msgstr "" -#: library/time.rst:464 +#: library/time.rst:468 msgid "" "Week number of the year (Sunday as the first day of the week) as a decimal " "number [00,53]. All days in a new year preceding the first Sunday are " "considered to be in week 0." msgstr "" -#: library/time.rst:478 +#: library/time.rst:482 msgid "\\(4)" msgstr "" -#: library/time.rst:472 +#: library/time.rst:476 msgid "``%u``" msgstr "" -#: library/time.rst:472 +#: library/time.rst:476 msgid "Day of the week (Monday is 1; Sunday is 7) as a decimal number [1, 7]." msgstr "" -#: library/time.rst:475 +#: library/time.rst:479 msgid "``%w``" msgstr "" -#: library/time.rst:475 +#: library/time.rst:479 msgid "Weekday as a decimal number [0(Sunday),6]." msgstr "" -#: library/time.rst:478 +#: library/time.rst:482 msgid "``%W``" msgstr "" -#: library/time.rst:478 +#: library/time.rst:482 msgid "" "Week number of the year (Monday as the first day of the week) as a decimal " "number [00,53]. All days in a new year preceding the first Monday are " "considered to be in week 0." msgstr "" -#: library/time.rst:486 +#: library/time.rst:490 msgid "``%x``" msgstr "" -#: library/time.rst:486 +#: library/time.rst:490 msgid "Locale's appropriate date representation." msgstr "" -#: library/time.rst:489 +#: library/time.rst:493 msgid "``%X``" msgstr "" -#: library/time.rst:489 +#: library/time.rst:493 msgid "Locale's appropriate time representation." msgstr "" -#: library/time.rst:492 +#: library/time.rst:496 msgid "``%y``" msgstr "" -#: library/time.rst:492 +#: library/time.rst:496 msgid "Year without century as a decimal number [00,99]." msgstr "" -#: library/time.rst:495 +#: library/time.rst:499 msgid "``%Y``" msgstr "" -#: library/time.rst:495 +#: library/time.rst:499 msgid "Year with century as a decimal number." msgstr "" -#: library/time.rst:498 +#: library/time.rst:502 msgid "``%z``" msgstr "" -#: library/time.rst:498 +#: library/time.rst:502 msgid "" "Time zone offset indicating a positive or negative time difference from UTC/" "GMT of the form +HHMM or -HHMM, where H represents decimal hour digits and M " "represents decimal minute digits [-23:59, +23:59]. [1]_" msgstr "" -#: library/time.rst:504 +#: library/time.rst:508 msgid "``%Z``" msgstr "" -#: library/time.rst:504 +#: library/time.rst:508 msgid "Time zone name (no characters if no time zone exists). Deprecated. [1]_" msgstr "" -#: library/time.rst:507 +#: library/time.rst:511 msgid "``%G``" msgstr "" -#: library/time.rst:507 +#: library/time.rst:511 msgid "" "ISO 8601 year (similar to ``%Y`` but follows the rules for the ISO 8601 " "calendar year). The year starts with the week that contains the first " "Thursday of the calendar year." msgstr "" -#: library/time.rst:512 +#: library/time.rst:516 msgid "``%V``" msgstr "" -#: library/time.rst:512 +#: library/time.rst:516 msgid "" "ISO 8601 week number (as a decimal number [01,53]). The first week of the " "year is the one that contains the first Thursday of the year. Weeks start on " "Monday." msgstr "" -#: library/time.rst:517 +#: library/time.rst:521 msgid "``%%``" msgstr "" -#: library/time.rst:517 +#: library/time.rst:521 msgid "A literal ``'%'`` character." msgstr "" -#: library/time.rst:520 +#: library/time.rst:524 msgid "Notes:" msgstr "" -#: library/time.rst:523 +#: library/time.rst:527 msgid "" "The ``%f`` format directive only applies to :func:`strptime`, not to :func:" "`strftime`. However, see also :meth:`datetime.datetime.strptime` and :meth:" @@ -810,40 +811,40 @@ msgid "" "to microseconds `." msgstr "" -#: library/time.rst:529 +#: library/time.rst:533 msgid "" "When used with the :func:`strptime` function, the ``%p`` directive only " "affects the output hour field if the ``%I`` directive is used to parse the " "hour." msgstr "" -#: library/time.rst:535 +#: library/time.rst:539 msgid "" "The range really is ``0`` to ``61``; value ``60`` is valid in timestamps " "representing `leap seconds`_ and value ``61`` is supported for historical " "reasons." msgstr "" -#: library/time.rst:540 +#: library/time.rst:544 msgid "" "When used with the :func:`strptime` function, ``%U`` and ``%W`` are only " "used in calculations when the day of the week and the year are specified." msgstr "" -#: library/time.rst:543 +#: library/time.rst:547 msgid "" "Here is an example, a format for dates compatible with that specified in " "the :rfc:`2822` Internet email standard. [1]_ ::" msgstr "" -#: library/time.rst:546 +#: library/time.rst:550 msgid "" ">>> from time import gmtime, strftime\n" ">>> strftime(\"%a, %d %b %Y %H:%M:%S +0000\", gmtime())\n" "'Thu, 28 Jun 2001 14:17:15 +0000'" msgstr "" -#: library/time.rst:550 +#: library/time.rst:554 msgid "" "Additional directives may be supported on certain platforms, but only the " "ones listed here have a meaning standardized by ANSI C. To see the full set " @@ -851,7 +852,7 @@ msgid "" "`strftime(3)` documentation." msgstr "" -#: library/time.rst:555 +#: library/time.rst:559 msgid "" "On some platforms, an optional field width and precision specification can " "immediately follow the initial ``'%'`` of a directive in the following " @@ -859,13 +860,13 @@ msgid "" "``%j`` where it is 3." msgstr "" -#: library/time.rst:566 +#: library/time.rst:570 msgid "" "Parse a string representing a time according to a format. The return value " "is a :class:`struct_time` as returned by :func:`gmtime` or :func:`localtime`." msgstr "" -#: library/time.rst:570 +#: library/time.rst:574 msgid "" "The *format* parameter uses the same directives as those used by :func:" "`strftime`; it defaults to ``\"%a %b %d %H:%M:%S %Y\"`` which matches the " @@ -876,11 +877,11 @@ msgid "" "Both *string* and *format* must be strings." msgstr "" -#: library/time.rst:578 +#: library/time.rst:582 msgid "For example:" msgstr "" -#: library/time.rst:585 +#: library/time.rst:589 msgid "" "Support for the ``%Z`` directive is based on the values contained in " "``tzname`` and whether ``daylight`` is true. Because of this, it is " @@ -888,7 +889,7 @@ msgid "" "(and are considered to be non-daylight savings timezones)." msgstr "" -#: library/time.rst:590 +#: library/time.rst:594 msgid "" "Only the directives specified in the documentation are supported. Because " "``strftime()`` is implemented per platform it can sometimes offer more " @@ -897,7 +898,7 @@ msgid "" "are not documented as supported." msgstr "" -#: library/time.rst:599 +#: library/time.rst:603 msgid "" "The type of the time value sequence returned by :func:`gmtime`, :func:" "`localtime`, and :func:`strptime`. It is an object with a :term:`named " @@ -905,109 +906,109 @@ msgid "" "The following values are present:" msgstr "" -#: library/time.rst:606 +#: library/time.rst:610 msgid "Index" msgstr "" -#: library/time.rst:607 +#: library/time.rst:611 msgid "Attribute" msgstr "" -#: library/time.rst:608 +#: library/time.rst:612 msgid "Values" msgstr "" -#: library/time.rst:610 +#: library/time.rst:614 msgid "0" msgstr "" -#: library/time.rst:612 +#: library/time.rst:616 msgid "(for example, 1993)" msgstr "" -#: library/time.rst:614 +#: library/time.rst:618 msgid "1" msgstr "" -#: library/time.rst:616 +#: library/time.rst:620 msgid "range [1, 12]" msgstr "" -#: library/time.rst:618 +#: library/time.rst:622 msgid "2" msgstr "" -#: library/time.rst:620 +#: library/time.rst:624 msgid "range [1, 31]" msgstr "" -#: library/time.rst:622 +#: library/time.rst:626 msgid "3" msgstr "" -#: library/time.rst:624 +#: library/time.rst:628 msgid "range [0, 23]" msgstr "" -#: library/time.rst:626 +#: library/time.rst:630 msgid "4" msgstr "" -#: library/time.rst:628 +#: library/time.rst:632 msgid "range [0, 59]" msgstr "" -#: library/time.rst:630 +#: library/time.rst:634 msgid "5" msgstr "" -#: library/time.rst:632 +#: library/time.rst:636 msgid "range [0, 61]; see :ref:`Note (2) ` in :func:`strftime`" msgstr "" -#: library/time.rst:634 +#: library/time.rst:638 msgid "6" msgstr "" -#: library/time.rst:636 +#: library/time.rst:640 msgid "range [0, 6]; Monday is 0" msgstr "" -#: library/time.rst:638 +#: library/time.rst:642 msgid "7" msgstr "" -#: library/time.rst:640 +#: library/time.rst:644 msgid "range [1, 366]" msgstr "" -#: library/time.rst:642 +#: library/time.rst:646 msgid "8" msgstr "" -#: library/time.rst:644 +#: library/time.rst:648 msgid "0, 1 or -1; see below" msgstr "" -#: library/time.rst:650 +#: library/time.rst:654 msgid "N/A" msgstr "" -#: library/time.rst:648 +#: library/time.rst:652 msgid "abbreviation of timezone name" msgstr "" -#: library/time.rst:652 +#: library/time.rst:656 msgid "offset east of UTC in seconds" msgstr "" -#: library/time.rst:654 +#: library/time.rst:658 msgid "" "Note that unlike the C structure, the month value is a range of [1, 12], not " "[0, 11]." msgstr "" -#: library/time.rst:657 +#: library/time.rst:661 msgid "" "In calls to :func:`mktime`, :attr:`tm_isdst` may be set to 1 when daylight " "savings time is in effect, and 0 when it is not. A value of -1 indicates " @@ -1015,14 +1016,14 @@ msgid "" "filled in." msgstr "" -#: library/time.rst:661 +#: library/time.rst:665 msgid "" "When a tuple with an incorrect length is passed to a function expecting a :" "class:`struct_time`, or having elements of the wrong type, a :exc:" "`TypeError` is raised." msgstr "" -#: library/time.rst:667 +#: library/time.rst:671 msgid "" "Return the time in seconds since the epoch_ as a floating-point number. The " "handling of `leap seconds`_ is platform dependent. On Windows and most Unix " @@ -1031,7 +1032,7 @@ msgid "" "org/wiki/Unix_time>`_." msgstr "" -#: library/time.rst:673 +#: library/time.rst:677 msgid "" "Note that even though the time is always returned as a floating-point " "number, not all systems provide time with a better precision than 1 second. " @@ -1040,7 +1041,7 @@ msgid "" "between the two calls." msgstr "" -#: library/time.rst:679 +#: library/time.rst:683 msgid "" "The number returned by :func:`.time` may be converted into a more common " "time format (i.e. year, month, day, hour, etc...) in UTC by passing it to :" @@ -1050,19 +1051,19 @@ msgid "" "attributes." msgstr "" -#: library/time.rst:686 +#: library/time.rst:690 msgid "" "Use :func:`time_ns` to avoid the precision loss caused by the :class:`float` " "type." msgstr "" -#: library/time.rst:692 +#: library/time.rst:696 msgid "" "Similar to :func:`~time.time` but returns time as an integer number of " "nanoseconds since the epoch_." msgstr "" -#: library/time.rst:705 +#: library/time.rst:709 msgid "" "Return the value (in fractional seconds) of the sum of the system and user " "CPU time of the current thread. It does not include time elapsed during " @@ -1071,21 +1072,21 @@ msgid "" "of two calls in the same thread is valid." msgstr "" -#: library/time.rst:711 +#: library/time.rst:715 msgid "" "Use :func:`thread_time_ns` to avoid the precision loss caused by the :class:" "`float` type." msgstr "" -#: library/time.rst:716 +#: library/time.rst:720 msgid "Unix systems supporting ``CLOCK_THREAD_CPUTIME_ID``." msgstr "" -#: library/time.rst:723 +#: library/time.rst:727 msgid "Similar to :func:`thread_time` but return time as nanoseconds." msgstr "" -#: library/time.rst:730 +#: library/time.rst:734 msgid "" "Reset the time conversion rules used by the library routines. The " "environment variable :envvar:`TZ` specifies how this is done. It will also " @@ -1096,46 +1097,46 @@ msgid "" "when daylight saving time applies)." msgstr "" -#: library/time.rst:742 +#: library/time.rst:746 msgid "" "Although in many cases, changing the :envvar:`TZ` environment variable may " "affect the output of functions like :func:`localtime` without calling :func:" "`tzset`, this behavior should not be relied on." msgstr "" -#: library/time.rst:746 +#: library/time.rst:750 msgid "The :envvar:`TZ` environment variable should contain no whitespace." msgstr "" -#: library/time.rst:748 +#: library/time.rst:752 msgid "" "The standard format of the :envvar:`TZ` environment variable is (whitespace " "added for clarity)::" msgstr "" -#: library/time.rst:751 +#: library/time.rst:755 msgid "std offset [dst [offset [,start[/time], end[/time]]]]" msgstr "" -#: library/time.rst:753 +#: library/time.rst:757 msgid "Where the components are:" msgstr "" -#: library/time.rst:755 +#: library/time.rst:759 msgid "``std`` and ``dst``" msgstr "" -#: library/time.rst:756 +#: library/time.rst:760 msgid "" "Three or more alphanumerics giving the timezone abbreviations. These will be " "propagated into time.tzname" msgstr "" -#: library/time.rst:759 +#: library/time.rst:763 msgid "``offset``" msgstr "" -#: library/time.rst:760 +#: library/time.rst:764 msgid "" "The offset has the form: ``± hh[:mm[:ss]]``. This indicates the value added " "the local time to arrive at UTC. If preceded by a '-', the timezone is east " @@ -1143,41 +1144,41 @@ msgid "" "summer time is assumed to be one hour ahead of standard time." msgstr "" -#: library/time.rst:765 +#: library/time.rst:769 msgid "``start[/time], end[/time]``" msgstr "" -#: library/time.rst:766 +#: library/time.rst:770 msgid "" "Indicates when to change to and back from DST. The format of the start and " "end dates are one of the following:" msgstr "" -#: library/time.rst:769 +#: library/time.rst:773 msgid ":samp:`J{n}`" msgstr "" -#: library/time.rst:770 +#: library/time.rst:774 msgid "" "The Julian day *n* (1 <= *n* <= 365). Leap days are not counted, so in all " "years February 28 is day 59 and March 1 is day 60." msgstr "" -#: library/time.rst:773 +#: library/time.rst:777 msgid ":samp:`{n}`" msgstr "" -#: library/time.rst:774 +#: library/time.rst:778 msgid "" "The zero-based Julian day (0 <= *n* <= 365). Leap days are counted, and it " "is possible to refer to February 29." msgstr "" -#: library/time.rst:777 +#: library/time.rst:781 msgid ":samp:`M{m}.{n}.{d}`" msgstr "" -#: library/time.rst:778 +#: library/time.rst:782 msgid "" "The *d*'th day (0 <= *d* <= 6) of week *n* of month *m* of the year (1 <= " "*n* <= 5, 1 <= *m* <= 12, where week 5 means \"the last *d* day in month " @@ -1185,13 +1186,13 @@ msgid "" "first week in which the *d*'th day occurs. Day zero is a Sunday." msgstr "" -#: library/time.rst:784 +#: library/time.rst:788 msgid "" "``time`` has the same format as ``offset`` except that no leading sign ('-' " "or '+') is allowed. The default, if time is not given, is 02:00:00." msgstr "" -#: library/time.rst:789 +#: library/time.rst:793 msgid "" ">>> os.environ['TZ'] = 'EST+05EDT,M4.1.0,M10.5.0'\n" ">>> time.tzset()\n" @@ -1203,7 +1204,7 @@ msgid "" "'16:08:12 05/08/03 AEST'" msgstr "" -#: library/time.rst:798 +#: library/time.rst:802 msgid "" "On many Unix systems (including \\*BSD, Linux, Solaris, and Darwin), it is " "more convenient to use the system's zoneinfo (:manpage:`tzfile(5)`) " @@ -1214,7 +1215,7 @@ msgid "" "``'Australia/Melbourne'``, ``'Egypt'`` or ``'Europe/Amsterdam'``. ::" msgstr "" -#: library/time.rst:806 +#: library/time.rst:810 msgid "" ">>> os.environ['TZ'] = 'US/Eastern'\n" ">>> time.tzset()\n" @@ -1226,23 +1227,23 @@ msgid "" "('EET', 'EEST')" msgstr "" -#: library/time.rst:819 +#: library/time.rst:823 msgid "Clock ID Constants" msgstr "" -#: library/time.rst:821 +#: library/time.rst:825 msgid "" "These constants are used as parameters for :func:`clock_getres` and :func:" "`clock_gettime`." msgstr "" -#: library/time.rst:826 +#: library/time.rst:830 msgid "" "Identical to :data:`CLOCK_MONOTONIC`, except it also includes any time that " "the system is suspended." msgstr "" -#: library/time.rst:829 +#: library/time.rst:833 msgid "" "This allows applications to get a suspend-aware monotonic clock without " "having to deal with the complications of :data:`CLOCK_REALTIME`, which may " @@ -1250,75 +1251,75 @@ msgid "" "similar." msgstr "" -#: library/time.rst:841 +#: library/time.rst:845 msgid "" "The Solaris OS has a ``CLOCK_HIGHRES`` timer that attempts to use an optimal " "hardware source, and may give close to nanosecond resolution. " "``CLOCK_HIGHRES`` is the nonadjustable, high-resolution clock." msgstr "" -#: library/time.rst:852 +#: library/time.rst:856 msgid "" "Clock that cannot be set and represents monotonic time since some " "unspecified starting point." msgstr "" -#: library/time.rst:862 +#: library/time.rst:866 msgid "" "Similar to :data:`CLOCK_MONOTONIC`, but provides access to a raw hardware-" "based time that is not subject to NTP adjustments." msgstr "" -#: library/time.rst:881 +#: library/time.rst:885 msgid "High-resolution per-process timer from the CPU." msgstr "" -#: library/time.rst:889 +#: library/time.rst:893 msgid "" "`International Atomic Time `_" msgstr "" -#: library/time.rst:891 +#: library/time.rst:895 msgid "" "The system must have a current leap second table in order for this to give " "the correct answer. PTP or NTP software can maintain a leap second table." msgstr "" -#: library/time.rst:900 +#: library/time.rst:904 msgid "Thread-specific CPU-time clock." msgstr "" -#: library/time.rst:909 +#: library/time.rst:913 msgid "" "Time whose absolute value is the time the system has been running and not " "suspended, providing accurate uptime measurement, both absolute and interval." msgstr "" -#: library/time.rst:920 +#: library/time.rst:924 msgid "" "Clock that increments monotonically, tracking the time since an arbitrary " "point, unaffected by frequency or time adjustments and not incremented while " "the system is asleep." msgstr "" -#: library/time.rst:928 +#: library/time.rst:932 msgid "" "The following constant is the only parameter that can be sent to :func:" "`clock_settime`." msgstr "" -#: library/time.rst:934 +#: library/time.rst:938 msgid "" "System-wide real-time clock. Setting this clock requires appropriate " "privileges." msgstr "" -#: library/time.rst:945 +#: library/time.rst:949 msgid "Timezone Constants" msgstr "" -#: library/time.rst:949 +#: library/time.rst:953 msgid "" "The offset of the local DST timezone, in seconds west of UTC, if one is " "defined. This is negative if the local DST timezone is east of UTC (as in " @@ -1326,25 +1327,25 @@ msgid "" "nonzero. See note below." msgstr "" -#: library/time.rst:955 +#: library/time.rst:959 msgid "Nonzero if a DST timezone is defined. See note below." msgstr "" -#: library/time.rst:959 +#: library/time.rst:963 msgid "" "The offset of the local (non-DST) timezone, in seconds west of UTC (negative " "in most of Western Europe, positive in the US, zero in the UK). See note " "below." msgstr "" -#: library/time.rst:964 +#: library/time.rst:968 msgid "" "A tuple of two strings: the first is the name of the local non-DST timezone, " "the second is the name of the local DST timezone. If no DST timezone is " "defined, the second string should not be used. See note below." msgstr "" -#: library/time.rst:970 +#: library/time.rst:974 msgid "" "For the above Timezone constants (:data:`altzone`, :data:`daylight`, :data:" "`timezone`, and :data:`tzname`), the value is determined by the timezone " @@ -1354,40 +1355,40 @@ msgid "" "func:`localtime` to obtain timezone information." msgstr "" -#: library/time.rst:979 +#: library/time.rst:983 msgid "Module :mod:`datetime`" msgstr "" -#: library/time.rst:980 +#: library/time.rst:984 msgid "More object-oriented interface to dates and times." msgstr "" -#: library/time.rst:982 +#: library/time.rst:986 msgid "Module :mod:`locale`" msgstr "" -#: library/time.rst:983 +#: library/time.rst:987 msgid "" "Internationalization services. The locale setting affects the " "interpretation of many format specifiers in :func:`strftime` and :func:" "`strptime`." msgstr "" -#: library/time.rst:986 +#: library/time.rst:990 msgid "Module :mod:`calendar`" msgstr "" -#: library/time.rst:987 +#: library/time.rst:991 msgid "" "General calendar-related functions. :func:`~calendar.timegm` is the " "inverse of :func:`gmtime` from this module." msgstr "" -#: library/time.rst:991 +#: library/time.rst:995 msgid "Footnotes" msgstr "" -#: library/time.rst:992 +#: library/time.rst:996 msgid "" "The use of ``%Z`` is now deprecated, but the ``%z`` escape that expands to " "the preferred hour/minute offset is not supported by all ANSI C libraries. " @@ -1422,26 +1423,26 @@ msgstr "" msgid "Greenwich Mean Time" msgstr "" -#: library/time.rst:59 +#: library/time.rst:63 msgid "Daylight Saving Time" msgstr "" -#: library/time.rst:336 library/time.rst:700 +#: library/time.rst:340 library/time.rst:704 msgid "benchmarking" msgstr "" -#: library/time.rst:700 +#: library/time.rst:704 msgid "CPU time" msgstr "" -#: library/time.rst:700 +#: library/time.rst:704 msgid "processor time" msgstr "" -#: library/time.rst:561 +#: library/time.rst:565 msgid "% (percent)" msgstr "" -#: library/time.rst:561 +#: library/time.rst:565 msgid "datetime format" msgstr "" diff --git a/library/timeit.po b/library/timeit.po index da5b60f3..389b0763 100644 --- a/library/timeit.po +++ b/library/timeit.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/tk.po b/library/tk.po index bb626c7d..2e3fc9a4 100644 --- a/library/tk.po +++ b/library/tk.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/tkinter.colorchooser.po b/library/tkinter.colorchooser.po index 6fb0c7a4..6118e92b 100644 --- a/library/tkinter.colorchooser.po +++ b/library/tkinter.colorchooser.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/tkinter.dnd.po b/library/tkinter.dnd.po index b707c7eb..ac804e9b 100644 --- a/library/tkinter.dnd.po +++ b/library/tkinter.dnd.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/tkinter.font.po b/library/tkinter.font.po index bcd85a73..42e3c408 100644 --- a/library/tkinter.font.po +++ b/library/tkinter.font.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/tkinter.messagebox.po b/library/tkinter.messagebox.po index 8649ea89..4386b397 100644 --- a/library/tkinter.messagebox.po +++ b/library/tkinter.messagebox.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/tkinter.po b/library/tkinter.po index 159f2615..bfba2aeb 100644 --- a/library/tkinter.po +++ b/library/tkinter.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/tkinter.scrolledtext.po b/library/tkinter.scrolledtext.po index 9c1330a9..32ae741f 100644 --- a/library/tkinter.scrolledtext.po +++ b/library/tkinter.scrolledtext.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/tkinter.tix.po b/library/tkinter.tix.po index 30bb777c..f09c00e0 100644 --- a/library/tkinter.tix.po +++ b/library/tkinter.tix.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/tkinter.ttk.po b/library/tkinter.ttk.po index d3a59989..50984372 100644 --- a/library/tkinter.ttk.po +++ b/library/tkinter.ttk.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/token.po b/library/token.po index 8c1f5f2f..42eaf08d 100644 --- a/library/token.po +++ b/library/token.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/tokenize.po b/library/tokenize.po index cce90fb3..f27b18a5 100644 --- a/library/tokenize.po +++ b/library/tokenize.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/tomllib.po b/library/tomllib.po index fedfb057..9ba6d425 100644 --- a/library/tomllib.po +++ b/library/tomllib.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/trace.po b/library/trace.po index aeb92da5..38f35bfd 100644 --- a/library/trace.po +++ b/library/trace.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/traceback.po b/library/traceback.po index c3cba72d..7b8a3c4e 100644 --- a/library/traceback.po +++ b/library/traceback.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -160,15 +160,15 @@ msgstr "" #: library/traceback.rst:114 msgid "" -"This is a shorthand for ``print_exception(sys.exception(), limit, file, " -"chain)``." +"This is a shorthand for ``print_exception(sys.exception(), limit=limit, " +"file=file, chain=chain)``." msgstr "" #: library/traceback.rst:120 msgid "" -"This is a shorthand for ``print_exception(sys.last_exc, limit, file, " -"chain)``. In general it will work only after an exception has reached an " -"interactive prompt (see :data:`sys.last_exc`)." +"This is a shorthand for ``print_exception(sys.last_exc, limit=limit, " +"file=file, chain=chain)``. In general it will work only after an exception " +"has reached an interactive prompt (see :data:`sys.last_exc`)." msgstr "" #: library/traceback.rst:127 @@ -542,7 +542,7 @@ msgid "" "objects>` in a :ref:`traceback `." msgstr "" -#: library/traceback.rst:483 +#: library/traceback.rst:485 msgid "" "Represents a single :ref:`frame ` in the :ref:`traceback " "` or stack that is being formatted or printed. It may " @@ -556,38 +556,56 @@ msgid "" "display." msgstr "" -#: library/traceback.rst:494 +#: library/traceback.rst:496 msgid ":class:`!FrameSummary` instances have the following attributes:" msgstr "" -#: library/traceback.rst:498 +#: library/traceback.rst:500 msgid "" "The filename of the source code for this frame. Equivalent to accessing :" "attr:`f.f_code.co_filename ` on a :ref:`frame object " "` *f*." msgstr "" -#: library/traceback.rst:504 +#: library/traceback.rst:506 msgid "The line number of the source code for this frame." msgstr "" -#: library/traceback.rst:508 +#: library/traceback.rst:510 msgid "" "Equivalent to accessing :attr:`f.f_code.co_name ` on a :" "ref:`frame object ` *f*." msgstr "" -#: library/traceback.rst:513 +#: library/traceback.rst:515 msgid "" "A string representing the source code for this frame, with leading and " "trailing whitespace stripped. If the source is not available, it is ``None``." msgstr "" -#: library/traceback.rst:520 +#: library/traceback.rst:521 +msgid "" +"The last line number of the source code for this frame. By default, it is " +"set to ``None`` and indexation starts from 1." +msgstr "" + +#: library/traceback.rst:526 +msgid "" +"The column number of the source code for this frame. By default, it is " +"``None`` and indexation starts from 0." +msgstr "" + +#: library/traceback.rst:531 +msgid "" +"The last column number of the source code for this frame. By default, it is " +"``None`` and indexation starts from 0." +msgstr "" + +#: library/traceback.rst:538 msgid "Examples of Using the Module-Level Functions" msgstr "" -#: library/traceback.rst:522 +#: library/traceback.rst:540 msgid "" "This simple example implements a basic read-eval-print loop, similar to (but " "less useful than) the standard Python interactive interpreter loop. For a " @@ -595,7 +613,7 @@ msgid "" "`code` module. ::" msgstr "" -#: library/traceback.rst:527 +#: library/traceback.rst:545 msgid "" "import sys, traceback\n" "\n" @@ -614,13 +632,13 @@ msgid "" " run_user_code(envdir)" msgstr "" -#: library/traceback.rst:544 +#: library/traceback.rst:562 msgid "" "The following example demonstrates the different ways to print and format " "the exception and traceback:" msgstr "" -#: library/traceback.rst:547 +#: library/traceback.rst:565 msgid "" "import sys, traceback\n" "\n" @@ -652,11 +670,11 @@ msgid "" " print(\"*** tb_lineno:\", exc.__traceback__.tb_lineno)" msgstr "" -#: library/traceback.rst:578 +#: library/traceback.rst:596 msgid "The output for the example would look similar to this:" msgstr "" -#: library/traceback.rst:580 +#: library/traceback.rst:598 msgid "" "*** print_tb:\n" " File \"\", line 10, in \n" @@ -701,13 +719,13 @@ msgid "" "*** tb_lineno: 10" msgstr "" -#: library/traceback.rst:620 +#: library/traceback.rst:638 msgid "" "The following example shows the different ways to print and format the " "stack::" msgstr "" -#: library/traceback.rst:622 +#: library/traceback.rst:640 msgid "" ">>> import traceback\n" ">>> def another_function():\n" @@ -735,11 +753,11 @@ msgid "" "format_stack()))\\n']" msgstr "" -#: library/traceback.rst:646 +#: library/traceback.rst:664 msgid "This last example demonstrates the final few formatting functions:" msgstr "" -#: library/traceback.rst:648 +#: library/traceback.rst:666 msgid "" ">>> import traceback\n" ">>> traceback.format_list([('spam.py', 3, '', 'spam.eggs()'),\n" @@ -751,15 +769,15 @@ msgid "" "['IndexError: tuple index out of range\\n']" msgstr "" -#: library/traceback.rst:662 +#: library/traceback.rst:680 msgid "Examples of Using :class:`TracebackException`" msgstr "" -#: library/traceback.rst:664 +#: library/traceback.rst:682 msgid "With the helper class, we have more options::" msgstr "" -#: library/traceback.rst:666 +#: library/traceback.rst:684 msgid "" ">>> import sys\n" ">>> from traceback import TracebackException\n" diff --git a/library/tracemalloc.po b/library/tracemalloc.po index ae92bee8..ad82d615 100644 --- a/library/tracemalloc.po +++ b/library/tracemalloc.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/tty.po b/library/tty.po index 5b1d6735..266ffb8a 100644 --- a/library/tty.po +++ b/library/tty.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/turtle.po b/library/turtle.po index ac52b009..6adc8032 100644 --- a/library/turtle.po +++ b/library/turtle.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/types.po b/library/types.po index 97ffb83b..79aa950d 100644 --- a/library/types.po +++ b/library/types.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/typing.po b/library/typing.po index 209f1697..bd14c969 100644 --- a/library/typing.po +++ b/library/typing.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -92,8 +92,7 @@ msgid "" msgstr "" #: library/typing.rst:56 -msgid "" -"`\"Static Typing with Python\" `_" +msgid "`\"Static Typing with Python\" `_" msgstr "" #: library/typing.rst:57 @@ -110,7 +109,7 @@ msgstr "" msgid "" "The canonical, up-to-date specification of the Python type system can be " "found at `\"Specification for the Python type system\" `_." +"python.org/en/latest/spec/index.html>`_." msgstr "" #: library/typing.rst:72 @@ -327,7 +326,7 @@ msgid "" "of type :class:`int` and returns a :class:`str`." msgstr "" -#: library/typing.rst:2916 library/typing.rst:3064 +#: library/typing.rst:2907 library/typing.rst:3055 msgid "For example:" msgstr "" @@ -416,7 +415,7 @@ msgid "" "ReturnType]`` respectively." msgstr "" -#: library/typing.rst:3543 +#: library/typing.rst:3534 msgid "" "``Callable`` now supports :class:`ParamSpec` and :data:`Concatenate`. See :" "pep:`612` for more details." @@ -1245,8 +1244,8 @@ msgid "" "or :class:`bytes` arguments but cannot allow the two to mix." msgstr "" -#: library/typing.rst:961 library/typing.rst:1184 library/typing.rst:1467 -#: library/typing.rst:2856 +#: library/typing.rst:961 library/typing.rst:1184 library/typing.rst:1453 +#: library/typing.rst:2847 msgid "For example::" msgstr "" @@ -1292,7 +1291,7 @@ msgid "" "``LiteralString``." msgstr "" -#: library/typing.rst:1982 +#: library/typing.rst:1968 msgid "Example:" msgstr "" @@ -1682,7 +1681,7 @@ msgid "" "sum_threadsafe([1.1, 2.2, 3.3])" msgstr "" -#: library/typing.rst:1950 +#: library/typing.rst:1936 msgid "" ":pep:`612` -- Parameter Specification Variables (the PEP which introduced " "``ParamSpec`` and ``Concatenate``)" @@ -1692,7 +1691,7 @@ msgstr "" msgid ":class:`ParamSpec`" msgstr "" -#: library/typing.rst:1953 +#: library/typing.rst:1939 msgid ":ref:`annotating-callables`" msgstr "" @@ -1793,7 +1792,7 @@ msgid "" " TIMEOUT = 1 # Error reported by type checker" msgstr "" -#: library/typing.rst:2872 +#: library/typing.rst:2863 msgid "" "There is no runtime checking of these properties. See :pep:`591` for more " "details." @@ -1876,26 +1875,22 @@ msgid "" msgstr "" #: library/typing.rst:1318 -msgid "Details of the syntax:" -msgstr "" - -#: library/typing.rst:1320 -msgid "The first argument to ``Annotated`` must be a valid type" -msgstr "" - -#: library/typing.rst:1322 msgid "" -"Multiple metadata elements can be supplied (``Annotated`` supports variadic " -"arguments)::" +"The first argument to ``Annotated`` must be a valid type. Multiple metadata " +"elements can be supplied as ``Annotated`` supports variadic arguments. The " +"order of the metadata elements is preserved and matters for equality checks::" msgstr "" -#: library/typing.rst:1325 +#: library/typing.rst:1322 msgid "" "@dataclass\n" "class ctype:\n" -" kind: str\n" +" kind: str\n" +"\n" +"a1 = Annotated[int, ValueRange(3, 10), ctype(\"char\")]\n" +"a2 = Annotated[int, ctype(\"char\"), ValueRange(3, 10)]\n" "\n" -"Annotated[int, ValueRange(3, 10), ctype(\"char\")]" +"assert a1 != a2 # Order matters" msgstr "" #: library/typing.rst:1331 @@ -1907,30 +1902,11 @@ msgstr "" #: library/typing.rst:1335 msgid "" -"``Annotated`` must be subscripted with at least two arguments " -"( ``Annotated[int]`` is not valid)" -msgstr "" - -#: library/typing.rst:1338 -msgid "" -"The order of the metadata elements is preserved and matters for equality " -"checks::" -msgstr "" - -#: library/typing.rst:1341 -msgid "" -"assert Annotated[int, ValueRange(3, 10), ctype(\"char\")] != Annotated[\n" -" int, ctype(\"char\"), ValueRange(3, 10)\n" -"]" -msgstr "" - -#: library/typing.rst:1345 -msgid "" "Nested ``Annotated`` types are flattened. The order of the metadata elements " "starts with the innermost annotation::" msgstr "" -#: library/typing.rst:1348 +#: library/typing.rst:1338 msgid "" "assert Annotated[Annotated[int, ValueRange(3, 10)], ctype(\"char\")] == " "Annotated[\n" @@ -1938,22 +1914,22 @@ msgid "" "]" msgstr "" -#: library/typing.rst:1352 +#: library/typing.rst:1342 msgid "Duplicated metadata elements are not removed::" msgstr "" -#: library/typing.rst:1354 +#: library/typing.rst:1344 msgid "" "assert Annotated[int, ValueRange(3, 10)] != Annotated[\n" " int, ValueRange(3, 10), ValueRange(3, 10)\n" "]" msgstr "" -#: library/typing.rst:1358 +#: library/typing.rst:1348 msgid "``Annotated`` can be used with nested and generic aliases:" msgstr "" -#: library/typing.rst:1360 +#: library/typing.rst:1350 msgid "" "@dataclass\n" "class MaxLen:\n" @@ -1967,35 +1943,29 @@ msgid "" "type V = Vec[int]" msgstr "" -#: library/typing.rst:1372 +#: library/typing.rst:1362 msgid "``Annotated`` cannot be used with an unpacked :class:`TypeVarTuple`::" msgstr "" -#: library/typing.rst:1374 -msgid "type Variadic[*Ts] = Annotated[*Ts, Ann1] # NOT valid" -msgstr "" - -#: library/typing.rst:1376 -msgid "This would be equivalent to::" -msgstr "" - -#: library/typing.rst:1378 -msgid "Annotated[T1, T2, T3, ..., Ann1]" +#: library/typing.rst:1364 +msgid "" +"type Variadic[*Ts] = Annotated[*Ts, Ann1] = Annotated[T1, T2, T3, ..., " +"Ann1] # NOT valid" msgstr "" -#: library/typing.rst:1380 +#: library/typing.rst:1366 msgid "" -"where ``T1``, ``T2``, etc. are :class:`TypeVars `. This would be " -"invalid: only one type should be passed to Annotated." +"where ``T1``, ``T2``, ... are :class:`TypeVars `. This is invalid " +"as only one type should be passed to Annotated." msgstr "" -#: library/typing.rst:1383 +#: library/typing.rst:1369 msgid "" "By default, :func:`get_type_hints` strips the metadata from annotations. " "Pass ``include_extras=True`` to have the metadata preserved:" msgstr "" -#: library/typing.rst:1386 +#: library/typing.rst:1372 msgid "" ">>> from typing import Annotated, get_type_hints\n" ">>> def func(x: Annotated[int, \"metadata\"]) -> None: pass\n" @@ -2006,13 +1976,13 @@ msgid "" "{'x': typing.Annotated[int, 'metadata'], 'return': }" msgstr "" -#: library/typing.rst:1396 +#: library/typing.rst:1382 msgid "" "At runtime, the metadata associated with an ``Annotated`` type can be " "retrieved via the :attr:`!__metadata__` attribute:" msgstr "" -#: library/typing.rst:1399 +#: library/typing.rst:1385 msgid "" ">>> from typing import Annotated\n" ">>> X = Annotated[int, \"very\", \"important\", \"metadata\"]\n" @@ -2022,13 +1992,13 @@ msgid "" "('very', 'important', 'metadata')" msgstr "" -#: library/typing.rst:1408 +#: library/typing.rst:1394 msgid "" -"At runtime, if you want to retrieve the original type wrapped by " -"``Annotated``, use the :attr:`!__origin__` attribute:" +"If you want to retrieve the original type wrapped by ``Annotated``, use the :" +"attr:`!__origin__` attribute:" msgstr "" -#: library/typing.rst:1411 +#: library/typing.rst:1397 msgid "" ">>> from typing import Annotated, get_origin\n" ">>> Password = Annotated[str, \"secret\"]\n" @@ -2036,36 +2006,36 @@ msgid "" "" msgstr "" -#: library/typing.rst:1418 +#: library/typing.rst:1404 msgid "Note that using :func:`get_origin` will return ``Annotated`` itself:" msgstr "" -#: library/typing.rst:1420 +#: library/typing.rst:1406 msgid "" ">>> get_origin(Password)\n" "" msgstr "" -#: library/typing.rst:1427 +#: library/typing.rst:1413 msgid ":pep:`593` - Flexible function and variable annotations" msgstr "" -#: library/typing.rst:1428 +#: library/typing.rst:1414 msgid "The PEP introducing ``Annotated`` to the standard library." msgstr "" -#: library/typing.rst:1435 +#: library/typing.rst:1421 msgid "Special typing construct for marking user-defined type guard functions." msgstr "" -#: library/typing.rst:1437 +#: library/typing.rst:1423 msgid "" "``TypeGuard`` can be used to annotate the return type of a user-defined type " "guard function. ``TypeGuard`` only accepts a single type argument. At " "runtime, functions marked this way should return a boolean." msgstr "" -#: library/typing.rst:1441 +#: library/typing.rst:1427 msgid "" "``TypeGuard`` aims to benefit *type narrowing* -- a technique used by static " "type checkers to determine a more precise type of an expression within a " @@ -2074,7 +2044,7 @@ msgid "" "conditional expression here is sometimes referred to as a \"type guard\"::" msgstr "" -#: library/typing.rst:1447 +#: library/typing.rst:1433 msgid "" "def is_str(val: str | float):\n" " # \"isinstance\" type guard\n" @@ -2086,30 +2056,30 @@ msgid "" " ..." msgstr "" -#: library/typing.rst:1456 +#: library/typing.rst:1442 msgid "" "Sometimes it would be convenient to use a user-defined boolean function as a " "type guard. Such a function should use ``TypeGuard[...]`` as its return " "type to alert static type checkers to this intention." msgstr "" -#: library/typing.rst:1460 +#: library/typing.rst:1446 msgid "" "Using ``-> TypeGuard`` tells the static type checker that for a given " "function:" msgstr "" -#: library/typing.rst:1463 +#: library/typing.rst:1449 msgid "The return value is a boolean." msgstr "" -#: library/typing.rst:1464 +#: library/typing.rst:1450 msgid "" "If the return value is ``True``, the type of its argument is the type inside " "``TypeGuard``." msgstr "" -#: library/typing.rst:1469 +#: library/typing.rst:1455 msgid "" "def is_str_list(val: list[object]) -> TypeGuard[list[str]]:\n" " '''Determines whether all objects in the list are strings'''\n" @@ -2124,21 +2094,21 @@ msgid "" " print(\"Not a list of strings!\")" msgstr "" -#: library/typing.rst:1481 +#: library/typing.rst:1467 msgid "" "If ``is_str_list`` is a class or instance method, then the type in " "``TypeGuard`` maps to the type of the second parameter (after ``cls`` or " "``self``)." msgstr "" -#: library/typing.rst:1485 +#: library/typing.rst:1471 msgid "" "In short, the form ``def foo(arg: TypeA) -> TypeGuard[TypeB]: ...``, means " "that if ``foo(arg)`` returns ``True``, then ``arg`` narrows from ``TypeA`` " "to ``TypeB``." msgstr "" -#: library/typing.rst:1491 +#: library/typing.rst:1477 msgid "" "``TypeB`` need not be a narrower form of ``TypeA`` -- it can even be a wider " "form. The main reason is to allow for things like narrowing ``list[object]`` " @@ -2147,24 +2117,24 @@ msgid "" "guards is left to the user." msgstr "" -#: library/typing.rst:1497 +#: library/typing.rst:1483 msgid "" "``TypeGuard`` also works with type variables. See :pep:`647` for more " "details." msgstr "" -#: library/typing.rst:1504 +#: library/typing.rst:1490 msgid "Typing operator to conceptually mark an object as having been unpacked." msgstr "" -#: library/typing.rst:1506 +#: library/typing.rst:1492 msgid "" "For example, using the unpack operator ``*`` on a :ref:`type variable tuple " "` is equivalent to using ``Unpack`` to mark the type variable " "tuple as having been unpacked::" msgstr "" -#: library/typing.rst:1510 +#: library/typing.rst:1496 msgid "" "Ts = TypeVarTuple('Ts')\n" "tup: tuple[*Ts]\n" @@ -2172,7 +2142,7 @@ msgid "" "tup: tuple[Unpack[Ts]]" msgstr "" -#: library/typing.rst:1515 +#: library/typing.rst:1501 msgid "" "In fact, ``Unpack`` can be used interchangeably with ``*`` in the context " "of :class:`typing.TypeVarTuple ` and :class:`builtins.tuple " @@ -2180,7 +2150,7 @@ msgid "" "versions of Python, where ``*`` couldn't be used in certain places::" msgstr "" -#: library/typing.rst:1521 +#: library/typing.rst:1507 msgid "" "# In older versions of Python, TypeVarTuple and Unpack\n" "# are located in the `typing_extensions` backports package.\n" @@ -2191,13 +2161,13 @@ msgid "" "tup: tuple[Unpack[Ts]] # Semantically equivalent, and backwards-compatible" msgstr "" -#: library/typing.rst:1529 +#: library/typing.rst:1515 msgid "" "``Unpack`` can also be used along with :class:`typing.TypedDict` for typing " "``**kwargs`` in a function signature::" msgstr "" -#: library/typing.rst:1532 +#: library/typing.rst:1518 msgid "" "from typing import TypedDict, Unpack\n" "\n" @@ -2210,23 +2180,23 @@ msgid "" "def foo(**kwargs: Unpack[Movie]): ..." msgstr "" -#: library/typing.rst:1542 +#: library/typing.rst:1528 msgid "" "See :pep:`692` for more details on using ``Unpack`` for ``**kwargs`` typing." msgstr "" -#: library/typing.rst:1547 +#: library/typing.rst:1533 msgid "Building generic types and type aliases" msgstr "" -#: library/typing.rst:1549 +#: library/typing.rst:1535 msgid "" "The following classes should not be used directly as annotations. Their " "intended purpose is to be building blocks for creating generic types and " "type aliases." msgstr "" -#: library/typing.rst:1553 +#: library/typing.rst:1539 msgid "" "These objects can be created through special syntax (:ref:`type parameter " "lists ` and the :keyword:`type` statement). For compatibility " @@ -2234,17 +2204,17 @@ msgid "" "syntax, as documented below." msgstr "" -#: library/typing.rst:1560 +#: library/typing.rst:1546 msgid "Abstract base class for generic types." msgstr "" -#: library/typing.rst:1562 +#: library/typing.rst:1548 msgid "" "A generic type is typically declared by adding a list of type parameters " "after the class name::" msgstr "" -#: library/typing.rst:1565 +#: library/typing.rst:1551 msgid "" "class Mapping[KT, VT]:\n" " def __getitem__(self, key: KT) -> VT:\n" @@ -2252,17 +2222,17 @@ msgid "" " # Etc." msgstr "" -#: library/typing.rst:1570 +#: library/typing.rst:1556 msgid "" "Such a class implicitly inherits from ``Generic``. The runtime semantics of " "this syntax are discussed in the :ref:`Language Reference `." msgstr "" -#: library/typing.rst:1574 +#: library/typing.rst:1560 msgid "This class can then be used as follows::" msgstr "" -#: library/typing.rst:1576 +#: library/typing.rst:1562 msgid "" "def lookup_name[X, Y](mapping: Mapping[X, Y], key: X, default: Y) -> Y:\n" " try:\n" @@ -2271,20 +2241,20 @@ msgid "" " return default" msgstr "" -#: library/typing.rst:1582 +#: library/typing.rst:1568 msgid "" "Here the brackets after the function name indicate a :ref:`generic function " "`." msgstr "" -#: library/typing.rst:1585 +#: library/typing.rst:1571 msgid "" "For backwards compatibility, generic classes can also be declared by " "explicitly inheriting from ``Generic``. In this case, the type parameters " "must be declared separately::" msgstr "" -#: library/typing.rst:1590 +#: library/typing.rst:1576 msgid "" "KT = TypeVar('KT')\n" "VT = TypeVar('VT')\n" @@ -2295,30 +2265,30 @@ msgid "" " # Etc." msgstr "" -#: library/typing.rst:1602 +#: library/typing.rst:1588 msgid "Type variable." msgstr "" -#: library/typing.rst:1604 +#: library/typing.rst:1590 msgid "" "The preferred way to construct a type variable is via the dedicated syntax " "for :ref:`generic functions `, :ref:`generic classes " "`, and :ref:`generic type aliases `::" msgstr "" -#: library/typing.rst:1609 +#: library/typing.rst:1595 msgid "" "class Sequence[T]: # T is a TypeVar\n" " ..." msgstr "" -#: library/typing.rst:1612 +#: library/typing.rst:1598 msgid "" "This syntax can also be used to create bounded and constrained type " "variables::" msgstr "" -#: library/typing.rst:1615 +#: library/typing.rst:1601 msgid "" "class StrSequence[S: str]: # S is a TypeVar with a `str` upper bound;\n" " ... # we can say that S is \"bounded by `str`\"\n" @@ -2329,20 +2299,20 @@ msgid "" " ..." msgstr "" -#: library/typing.rst:1622 +#: library/typing.rst:1608 msgid "" "However, if desired, reusable type variables can also be constructed " "manually, like so::" msgstr "" -#: library/typing.rst:1624 +#: library/typing.rst:1610 msgid "" "T = TypeVar('T') # Can be anything\n" "S = TypeVar('S', bound=str) # Can be any subtype of str\n" "A = TypeVar('A', str, bytes) # Must be exactly str or bytes" msgstr "" -#: library/typing.rst:1628 +#: library/typing.rst:1614 msgid "" "Type variables exist primarily for the benefit of static type checkers. " "They serve as the parameters for generic types as well as for generic " @@ -2350,7 +2320,7 @@ msgid "" "information on generic types. Generic functions work as follows::" msgstr "" -#: library/typing.rst:1634 +#: library/typing.rst:1620 msgid "" "def repeat[T](x: T, n: int) -> Sequence[T]:\n" " \"\"\"Return a list containing n references to x.\"\"\"\n" @@ -2368,13 +2338,13 @@ msgid "" " return x + y" msgstr "" -#: library/typing.rst:1649 +#: library/typing.rst:1635 msgid "" "Note that type variables can be *bounded*, *constrained*, or neither, but " "cannot be both bounded *and* constrained." msgstr "" -#: library/typing.rst:1652 +#: library/typing.rst:1638 msgid "" "The variance of type variables is inferred by type checkers when they are " "created through the :ref:`type parameter syntax ` or when " @@ -2384,14 +2354,14 @@ msgid "" "invariant. See :pep:`484` and :pep:`695` for more details." msgstr "" -#: library/typing.rst:1660 +#: library/typing.rst:1646 msgid "" "Bounded type variables and constrained type variables have different " "semantics in several important ways. Using a *bounded* type variable means " "that the ``TypeVar`` will be solved using the most specific type possible::" msgstr "" -#: library/typing.rst:1664 +#: library/typing.rst:1650 msgid "" "x = print_capitalized('a string')\n" "reveal_type(x) # revealed type is str\n" @@ -2405,13 +2375,13 @@ msgid "" "z = print_capitalized(45) # error: int is not a subtype of str" msgstr "" -#: library/typing.rst:1675 +#: library/typing.rst:1661 msgid "" "The upper bound of a type variable can be a concrete type, abstract type " "(ABC or Protocol), or even a union of types::" msgstr "" -#: library/typing.rst:1678 +#: library/typing.rst:1664 msgid "" "# Can be anything with an __abs__ method\n" "def print_abs[T: SupportsAbs](arg: T) -> None:\n" @@ -2422,13 +2392,13 @@ msgid "" "V = TypeVar('V', bound=SupportsAbs) # Can be anything with an __abs__ method" msgstr "" -#: library/typing.rst:1687 +#: library/typing.rst:1673 msgid "" "Using a *constrained* type variable, however, means that the ``TypeVar`` can " "only ever be solved as being exactly one of the constraints given::" msgstr "" -#: library/typing.rst:1690 +#: library/typing.rst:1676 msgid "" "a = concatenate('one', 'two')\n" "reveal_type(a) # revealed type is str\n" @@ -2441,80 +2411,80 @@ msgid "" "or bytes in a function call, but not both" msgstr "" -#: library/typing.rst:1698 +#: library/typing.rst:1684 msgid "At runtime, ``isinstance(x, T)`` will raise :exc:`TypeError`." msgstr "" -#: library/typing.rst:1702 +#: library/typing.rst:1688 msgid "The name of the type variable." msgstr "" -#: library/typing.rst:1706 +#: library/typing.rst:1692 msgid "Whether the type var has been explicitly marked as covariant." msgstr "" -#: library/typing.rst:1710 +#: library/typing.rst:1696 msgid "Whether the type var has been explicitly marked as contravariant." msgstr "" -#: library/typing.rst:1714 +#: library/typing.rst:1700 msgid "" "Whether the type variable's variance should be inferred by type checkers." msgstr "" -#: library/typing.rst:1720 +#: library/typing.rst:1706 msgid "The upper bound of the type variable, if any." msgstr "" -#: library/typing.rst:1724 +#: library/typing.rst:1710 msgid "" "For type variables created through :ref:`type parameter syntax `, the bound is evaluated only when the attribute is accessed, not " "when the type variable is created (see :ref:`lazy-evaluation`)." msgstr "" -#: library/typing.rst:1730 +#: library/typing.rst:1716 msgid "A tuple containing the constraints of the type variable, if any." msgstr "" -#: library/typing.rst:1734 +#: library/typing.rst:1720 msgid "" "For type variables created through :ref:`type parameter syntax `, the constraints are evaluated only when the attribute is accessed, " "not when the type variable is created (see :ref:`lazy-evaluation`)." msgstr "" -#: library/typing.rst:1740 +#: library/typing.rst:1726 msgid "" "Type variables can now be declared using the :ref:`type parameter ` syntax introduced by :pep:`695`. The ``infer_variance`` parameter " "was added." msgstr "" -#: library/typing.rst:1748 +#: library/typing.rst:1734 msgid "" "Type variable tuple. A specialized form of :ref:`type variable ` " "that enables *variadic* generics." msgstr "" -#: library/typing.rst:1751 +#: library/typing.rst:1737 msgid "" "Type variable tuples can be declared in :ref:`type parameter lists ` using a single asterisk (``*``) before the name::" msgstr "" -#: library/typing.rst:1754 +#: library/typing.rst:1740 msgid "" "def move_first_element_to_last[T, *Ts](tup: tuple[T, *Ts]) -> tuple[*Ts, " "T]:\n" " return (*tup[1:], tup[0])" msgstr "" -#: library/typing.rst:1757 +#: library/typing.rst:1743 msgid "Or by explicitly invoking the ``TypeVarTuple`` constructor::" msgstr "" -#: library/typing.rst:1759 +#: library/typing.rst:1745 msgid "" "T = TypeVar(\"T\")\n" "Ts = TypeVarTuple(\"Ts\")\n" @@ -2523,7 +2493,7 @@ msgid "" " return (*tup[1:], tup[0])" msgstr "" -#: library/typing.rst:1765 +#: library/typing.rst:1751 msgid "" "A normal type variable enables parameterization with a single type. A type " "variable tuple, in contrast, allows parameterization with an *arbitrary* " @@ -2531,7 +2501,7 @@ msgid "" "wrapped in a tuple. For example::" msgstr "" -#: library/typing.rst:1770 +#: library/typing.rst:1756 msgid "" "# T is bound to int, Ts is bound to ()\n" "# Return value is (1,), which has type tuple[int]\n" @@ -2551,7 +2521,7 @@ msgid "" "move_first_element_to_last(tup=())" msgstr "" -#: library/typing.rst:1787 +#: library/typing.rst:1773 msgid "" "Note the use of the unpacking operator ``*`` in ``tuple[T, *Ts]``. " "Conceptually, you can think of ``Ts`` as a tuple of type variables ``(T1, " @@ -2561,26 +2531,26 @@ msgid "" "` instead, as ``Unpack[Ts]``.)" msgstr "" -#: library/typing.rst:1795 +#: library/typing.rst:1781 msgid "" "Type variable tuples must *always* be unpacked. This helps distinguish type " "variable tuples from normal type variables::" msgstr "" -#: library/typing.rst:1798 +#: library/typing.rst:1784 msgid "" "x: Ts # Not valid\n" "x: tuple[Ts] # Not valid\n" "x: tuple[*Ts] # The correct way to do it" msgstr "" -#: library/typing.rst:1802 +#: library/typing.rst:1788 msgid "" "Type variable tuples can be used in the same contexts as normal type " "variables. For example, in class definitions, arguments, and return types::" msgstr "" -#: library/typing.rst:1805 +#: library/typing.rst:1791 msgid "" "class Array[*Shape]:\n" " def __getitem__(self, key: tuple[*Shape]) -> float: ...\n" @@ -2588,12 +2558,12 @@ msgid "" " def get_shape(self) -> tuple[*Shape]: ..." msgstr "" -#: library/typing.rst:1810 +#: library/typing.rst:1796 msgid "" "Type variable tuples can be happily combined with normal type variables:" msgstr "" -#: library/typing.rst:1812 +#: library/typing.rst:1798 msgid "" "class Array[DType, *Shape]: # This is fine\n" " pass\n" @@ -2608,26 +2578,26 @@ msgid "" "int_array_2d: Array[int, Height, Width] = Array() # Yup, fine too" msgstr "" -#: library/typing.rst:1826 +#: library/typing.rst:1812 msgid "" "However, note that at most one type variable tuple may appear in a single " "list of type arguments or type parameters::" msgstr "" -#: library/typing.rst:1829 +#: library/typing.rst:1815 msgid "" "x: tuple[*Ts, *Ts] # Not valid\n" "class Array[*Shape, *Shape]: # Not valid\n" " pass" msgstr "" -#: library/typing.rst:1833 +#: library/typing.rst:1819 msgid "" "Finally, an unpacked type variable tuple can be used as the type annotation " "of ``*args``::" msgstr "" -#: library/typing.rst:1836 +#: library/typing.rst:1822 msgid "" "def call_soon[*Ts](\n" " callback: Callable[[*Ts], None],\n" @@ -2637,7 +2607,7 @@ msgid "" " callback(*args)" msgstr "" -#: library/typing.rst:1843 +#: library/typing.rst:1829 msgid "" "In contrast to non-unpacked annotations of ``*args`` - e.g. ``*args: int``, " "which would specify that *all* arguments are ``int`` - ``*args: *Ts`` " @@ -2646,47 +2616,47 @@ msgid "" "``call_soon`` match the types of the (positional) arguments of ``callback``." msgstr "" -#: library/typing.rst:1850 +#: library/typing.rst:1836 msgid "See :pep:`646` for more details on type variable tuples." msgstr "" -#: library/typing.rst:1854 +#: library/typing.rst:1840 msgid "The name of the type variable tuple." msgstr "" -#: library/typing.rst:1860 +#: library/typing.rst:1846 msgid "" "Type variable tuples can now be declared using the :ref:`type parameter " "` syntax introduced by :pep:`695`." msgstr "" -#: library/typing.rst:1865 +#: library/typing.rst:1851 msgid "" "Parameter specification variable. A specialized version of :ref:`type " "variables `." msgstr "" -#: library/typing.rst:1868 +#: library/typing.rst:1854 msgid "" "In :ref:`type parameter lists `, parameter specifications can " "be declared with two asterisks (``**``)::" msgstr "" -#: library/typing.rst:1871 +#: library/typing.rst:1857 msgid "type IntFunc[**P] = Callable[P, int]" msgstr "" -#: library/typing.rst:1873 +#: library/typing.rst:1859 msgid "" "For compatibility with Python 3.11 and earlier, ``ParamSpec`` objects can " "also be created as follows::" msgstr "" -#: library/typing.rst:1876 +#: library/typing.rst:1862 msgid "P = ParamSpec('P')" msgstr "" -#: library/typing.rst:1878 +#: library/typing.rst:1864 msgid "" "Parameter specification variables exist primarily for the benefit of static " "type checkers. They are used to forward the parameter types of one callable " @@ -2696,7 +2666,7 @@ msgid "" "See :class:`Generic` for more information on generic types." msgstr "" -#: library/typing.rst:1885 +#: library/typing.rst:1871 msgid "" "For example, to add basic logging to a function, one can create a decorator " "``add_logging`` to log function calls. The parameter specification variable " @@ -2704,7 +2674,7 @@ msgid "" "new callable returned by it have inter-dependent type parameters::" msgstr "" -#: library/typing.rst:1890 +#: library/typing.rst:1876 msgid "" "from collections.abc import Callable\n" "import logging\n" @@ -2722,27 +2692,27 @@ msgid "" " return x + y" msgstr "" -#: library/typing.rst:1905 +#: library/typing.rst:1891 msgid "" "Without ``ParamSpec``, the simplest way to annotate this previously was to " "use a :class:`TypeVar` with upper bound ``Callable[..., Any]``. However " "this causes two problems:" msgstr "" -#: library/typing.rst:1909 +#: library/typing.rst:1895 msgid "" "The type checker can't type check the ``inner`` function because ``*args`` " "and ``**kwargs`` have to be typed :data:`Any`." msgstr "" -#: library/typing.rst:1911 +#: library/typing.rst:1897 msgid "" ":func:`~cast` may be required in the body of the ``add_logging`` decorator " "when returning the ``inner`` function, or the static type checker must be " "told to ignore the ``return inner``." msgstr "" -#: library/typing.rst:1918 +#: library/typing.rst:1904 msgid "" "Since ``ParamSpec`` captures both positional and keyword parameters, ``P." "args`` and ``P.kwargs`` can be used to split a ``ParamSpec`` into its " @@ -2755,11 +2725,11 @@ msgid "" "`ParamSpecKwargs`." msgstr "" -#: library/typing.rst:1930 +#: library/typing.rst:1916 msgid "The name of the parameter specification." msgstr "" -#: library/typing.rst:1932 +#: library/typing.rst:1918 msgid "" "Parameter specification variables created with ``covariant=True`` or " "``contravariant=True`` can be used to declare covariant or contravariant " @@ -2768,23 +2738,23 @@ msgid "" "decided." msgstr "" -#: library/typing.rst:1942 +#: library/typing.rst:1928 msgid "" "Parameter specifications can now be declared using the :ref:`type parameter " "` syntax introduced by :pep:`695`." msgstr "" -#: library/typing.rst:1946 +#: library/typing.rst:1932 msgid "" "Only parameter specification variables defined in global scope can be " "pickled." msgstr "" -#: library/typing.rst:1952 +#: library/typing.rst:1938 msgid ":data:`Concatenate`" msgstr "" -#: library/typing.rst:1958 +#: library/typing.rst:1944 msgid "" "Arguments and keyword arguments attributes of a :class:`ParamSpec`. The ``P." "args`` attribute of a ``ParamSpec`` is an instance of ``ParamSpecArgs``, and " @@ -2792,13 +2762,13 @@ msgid "" "runtime introspection and have no special meaning to static type checkers." msgstr "" -#: library/typing.rst:1963 +#: library/typing.rst:1949 msgid "" "Calling :func:`get_origin` on either of these objects will return the " "original ``ParamSpec``:" msgstr "" -#: library/typing.rst:1966 +#: library/typing.rst:1952 msgid "" ">>> from typing import ParamSpec, get_origin\n" ">>> P = ParamSpec(\"P\")\n" @@ -2808,46 +2778,46 @@ msgid "" "True" msgstr "" -#: library/typing.rst:1980 +#: library/typing.rst:1966 msgid "The type of type aliases created through the :keyword:`type` statement." msgstr "" -#: library/typing.rst:1984 +#: library/typing.rst:1970 msgid "" ">>> type Alias = int\n" ">>> type(Alias)\n" "" msgstr "" -#: library/typing.rst:1994 +#: library/typing.rst:1980 msgid "The name of the type alias:" msgstr "" -#: library/typing.rst:1996 +#: library/typing.rst:1982 msgid "" ">>> type Alias = int\n" ">>> Alias.__name__\n" "'Alias'" msgstr "" -#: library/typing.rst:2004 +#: library/typing.rst:1990 msgid "The module in which the type alias was defined::" msgstr "" -#: library/typing.rst:2006 +#: library/typing.rst:1992 msgid "" ">>> type Alias = int\n" ">>> Alias.__module__\n" "'__main__'" msgstr "" -#: library/typing.rst:2012 +#: library/typing.rst:1998 msgid "" "The type parameters of the type alias, or an empty tuple if the alias is not " "generic:" msgstr "" -#: library/typing.rst:2015 +#: library/typing.rst:2001 msgid "" ">>> type ListOrSet[T] = list[T] | set[T]\n" ">>> ListOrSet.__type_params__\n" @@ -2857,14 +2827,14 @@ msgid "" "()" msgstr "" -#: library/typing.rst:2026 +#: library/typing.rst:2012 msgid "" "The type alias's value. This is :ref:`lazily evaluated `, " "so names used in the definition of the alias are not resolved until the " "``__value__`` attribute is accessed:" msgstr "" -#: library/typing.rst:2030 +#: library/typing.rst:2016 msgid "" ">>> type Mutually = Recursive\n" ">>> type Recursive = Mutually\n" @@ -2878,46 +2848,46 @@ msgid "" "Mutually" msgstr "" -#: library/typing.rst:2044 +#: library/typing.rst:2030 msgid "Other special directives" msgstr "" -#: library/typing.rst:2046 +#: library/typing.rst:2032 msgid "" "These functions and classes should not be used directly as annotations. " "Their intended purpose is to be building blocks for creating and declaring " "types." msgstr "" -#: library/typing.rst:2052 +#: library/typing.rst:2038 msgid "Typed version of :func:`collections.namedtuple`." msgstr "" -#: library/typing.rst:2133 library/typing.rst:3104 +#: library/typing.rst:2119 library/typing.rst:3095 msgid "Usage::" msgstr "" -#: library/typing.rst:2056 +#: library/typing.rst:2042 msgid "" "class Employee(NamedTuple):\n" " name: str\n" " id: int" msgstr "" -#: library/typing.rst:2060 +#: library/typing.rst:2046 msgid "This is equivalent to::" msgstr "" -#: library/typing.rst:2062 +#: library/typing.rst:2048 msgid "Employee = collections.namedtuple('Employee', ['name', 'id'])" msgstr "" -#: library/typing.rst:2064 +#: library/typing.rst:2050 msgid "" "To give a field a default value, you can assign to it in the class body::" msgstr "" -#: library/typing.rst:2066 +#: library/typing.rst:2052 msgid "" "class Employee(NamedTuple):\n" " name: str\n" @@ -2927,12 +2897,12 @@ msgid "" "assert employee.id == 3" msgstr "" -#: library/typing.rst:2073 +#: library/typing.rst:2059 msgid "" "Fields with a default value must come after any fields without a default." msgstr "" -#: library/typing.rst:2075 +#: library/typing.rst:2061 msgid "" "The resulting class has an extra attribute ``__annotations__`` giving a dict " "that maps the field names to the field types. (The field names are in the " @@ -2941,11 +2911,11 @@ msgid "" "API.)" msgstr "" -#: library/typing.rst:2081 +#: library/typing.rst:2067 msgid "``NamedTuple`` subclasses can also have docstrings and methods::" msgstr "" -#: library/typing.rst:2083 +#: library/typing.rst:2069 msgid "" "class Employee(NamedTuple):\n" " \"\"\"Represents an employee.\"\"\"\n" @@ -2956,22 +2926,22 @@ msgid "" " return f''" msgstr "" -#: library/typing.rst:2091 +#: library/typing.rst:2077 msgid "``NamedTuple`` subclasses can be generic::" msgstr "" -#: library/typing.rst:2093 +#: library/typing.rst:2079 msgid "" "class Group[T](NamedTuple):\n" " key: T\n" " group: list[T]" msgstr "" -#: library/typing.rst:2097 +#: library/typing.rst:2083 msgid "Backward-compatible usage::" msgstr "" -#: library/typing.rst:2099 +#: library/typing.rst:2085 msgid "" "# For creating a generic NamedTuple on Python 3.11\n" "T = TypeVar(\"T\")\n" @@ -2984,85 +2954,85 @@ msgid "" "Employee = NamedTuple('Employee', [('name', str), ('id', int)])" msgstr "" -#: library/typing.rst:2109 +#: library/typing.rst:2095 msgid "Added support for :pep:`526` variable annotation syntax." msgstr "" -#: library/typing.rst:2112 +#: library/typing.rst:2098 msgid "Added support for default values, methods, and docstrings." msgstr "" -#: library/typing.rst:2115 +#: library/typing.rst:2101 msgid "" "The ``_field_types`` and ``__annotations__`` attributes are now regular " "dictionaries instead of instances of ``OrderedDict``." msgstr "" -#: library/typing.rst:2119 +#: library/typing.rst:2105 msgid "" "Removed the ``_field_types`` attribute in favor of the more standard " "``__annotations__`` attribute which has the same information." msgstr "" -#: library/typing.rst:2123 +#: library/typing.rst:2109 msgid "Added support for generic namedtuples." msgstr "" -#: library/typing.rst:2128 +#: library/typing.rst:2114 msgid "Helper class to create low-overhead :ref:`distinct types `." msgstr "" -#: library/typing.rst:2130 +#: library/typing.rst:2116 msgid "" "A ``NewType`` is considered a distinct type by a typechecker. At runtime, " "however, calling a ``NewType`` returns its argument unchanged." msgstr "" -#: library/typing.rst:2135 +#: library/typing.rst:2121 msgid "" "UserId = NewType('UserId', int) # Declare the NewType \"UserId\"\n" "first_user = UserId(1) # \"UserId\" returns the argument unchanged at " "runtime" msgstr "" -#: library/typing.rst:2140 +#: library/typing.rst:2126 msgid "The module in which the new type is defined." msgstr "" -#: library/typing.rst:2144 +#: library/typing.rst:2130 msgid "The name of the new type." msgstr "" -#: library/typing.rst:2148 +#: library/typing.rst:2134 msgid "The type that the new type is based on." msgstr "" -#: library/typing.rst:2152 +#: library/typing.rst:2138 msgid "``NewType`` is now a class rather than a function." msgstr "" -#: library/typing.rst:2157 +#: library/typing.rst:2143 msgid "Base class for protocol classes." msgstr "" -#: library/typing.rst:2159 +#: library/typing.rst:2145 msgid "Protocol classes are defined like this::" msgstr "" -#: library/typing.rst:2161 +#: library/typing.rst:2147 msgid "" "class Proto(Protocol):\n" " def meth(self) -> int:\n" " ..." msgstr "" -#: library/typing.rst:2165 +#: library/typing.rst:2151 msgid "" "Such classes are primarily used with static type checkers that recognize " "structural subtyping (static duck-typing), for example::" msgstr "" -#: library/typing.rst:2168 +#: library/typing.rst:2154 msgid "" "class C:\n" " def meth(self) -> int:\n" @@ -3074,7 +3044,7 @@ msgid "" "func(C()) # Passes static type check" msgstr "" -#: library/typing.rst:2177 +#: library/typing.rst:2163 msgid "" "See :pep:`544` for more details. Protocol classes decorated with :func:" "`runtime_checkable` (described later) act as simple-minded runtime protocols " @@ -3082,24 +3052,24 @@ msgid "" "signatures." msgstr "" -#: library/typing.rst:2182 +#: library/typing.rst:2168 msgid "Protocol classes can be generic, for example::" msgstr "" -#: library/typing.rst:2184 +#: library/typing.rst:2170 msgid "" "class GenProto[T](Protocol):\n" " def meth(self) -> T:\n" " ..." msgstr "" -#: library/typing.rst:2188 +#: library/typing.rst:2174 msgid "" "In code that needs to be compatible with Python 3.11 or older, generic " "Protocols can be written as follows::" msgstr "" -#: library/typing.rst:2191 +#: library/typing.rst:2177 msgid "" "T = TypeVar(\"T\")\n" "\n" @@ -3108,11 +3078,11 @@ msgid "" " ..." msgstr "" -#: library/typing.rst:2201 +#: library/typing.rst:2187 msgid "Mark a protocol class as a runtime protocol." msgstr "" -#: library/typing.rst:2203 +#: library/typing.rst:2189 msgid "" "Such a protocol can be used with :func:`isinstance` and :func:`issubclass`. " "This raises :exc:`TypeError` when applied to a non-protocol class. This " @@ -3121,7 +3091,7 @@ msgid "" "Iterable`. For example::" msgstr "" -#: library/typing.rst:2208 +#: library/typing.rst:2194 msgid "" "@runtime_checkable\n" "class Closable(Protocol):\n" @@ -3137,7 +3107,7 @@ msgid "" "assert isinstance(threading.Thread(name='Bob'), Named)" msgstr "" -#: library/typing.rst:2223 +#: library/typing.rst:2209 msgid "" ":func:`!runtime_checkable` will check only the presence of the required " "methods or attributes, not their type signatures or types. For example, :" @@ -3148,7 +3118,7 @@ msgid "" "(instantiate) :class:`ssl.SSLObject`." msgstr "" -#: library/typing.rst:2234 +#: library/typing.rst:2220 msgid "" "An :func:`isinstance` check against a runtime-checkable protocol can be " "surprisingly slow compared to an ``isinstance()`` check against a non-" @@ -3156,7 +3126,7 @@ msgid "" "calls for structural checks in performance-sensitive code." msgstr "" -#: library/typing.rst:2242 +#: library/typing.rst:2228 msgid "" "The internal implementation of :func:`isinstance` checks against runtime-" "checkable protocols now uses :func:`inspect.getattr_static` to look up " @@ -3166,7 +3136,7 @@ msgid "" "versa. Most users are unlikely to be affected by this change." msgstr "" -#: library/typing.rst:2251 +#: library/typing.rst:2237 msgid "" "The members of a runtime-checkable protocol are now considered \"frozen\" at " "runtime as soon as the class has been created. Monkey-patching attributes " @@ -3175,13 +3145,13 @@ msgid "" "`\"What's new in Python 3.12\" ` for more details." msgstr "" -#: library/typing.rst:2262 +#: library/typing.rst:2248 msgid "" "Special construct to add type hints to a dictionary. At runtime it is a " "plain :class:`dict`." msgstr "" -#: library/typing.rst:2265 +#: library/typing.rst:2251 msgid "" "``TypedDict`` declares a dictionary type that expects all of its instances " "to have a certain set of keys, where each key is associated with a value of " @@ -3189,7 +3159,7 @@ msgid "" "enforced by type checkers. Usage::" msgstr "" -#: library/typing.rst:2271 +#: library/typing.rst:2257 msgid "" "class Point2D(TypedDict):\n" " x: int\n" @@ -3202,60 +3172,65 @@ msgid "" "assert Point2D(x=1, y=2, label='first') == dict(x=1, y=2, label='first')" msgstr "" -#: library/typing.rst:2281 +#: library/typing.rst:2267 msgid "" "To allow using this feature with older versions of Python that do not " "support :pep:`526`, ``TypedDict`` supports two additional equivalent " "syntactic forms:" msgstr "" -#: library/typing.rst:2285 +#: library/typing.rst:2271 msgid "Using a literal :class:`dict` as the second argument::" msgstr "" -#: library/typing.rst:2287 +#: library/typing.rst:2273 msgid "Point2D = TypedDict('Point2D', {'x': int, 'y': int, 'label': str})" msgstr "" -#: library/typing.rst:2289 +#: library/typing.rst:2275 msgid "Using keyword arguments::" msgstr "" -#: library/typing.rst:2291 +#: library/typing.rst:2277 msgid "Point2D = TypedDict('Point2D', x=int, y=int, label=str)" msgstr "" -#: library/typing.rst:2293 +#: library/typing.rst:2279 msgid "" "The keyword-argument syntax is deprecated in 3.11 and will be removed in " "3.13. It may also be unsupported by static type checkers." msgstr "" -#: library/typing.rst:2297 +#: library/typing.rst:2283 msgid "" -"The functional syntax should also be used when any of the keys are not " -"valid :ref:`identifiers `, for example because they are " -"keywords or contain hyphens. Example::" +"This functional syntax allows defining keys which are not valid :ref:" +"`identifiers `, for example because they are keywords or " +"contain hyphens, or when key names must not be :ref:`mangled ` like regular private names::" msgstr "" -#: library/typing.rst:2301 +#: library/typing.rst:2288 msgid "" "# raises SyntaxError\n" "class Point2D(TypedDict):\n" " in: int # 'in' is a keyword\n" " x-y: int # name with hyphens\n" "\n" +"class Definition(TypedDict):\n" +" __schema: str # mangled to `_Definition__schema`\n" +"\n" "# OK, functional syntax\n" -"Point2D = TypedDict('Point2D', {'in': int, 'x-y': int})" +"Point2D = TypedDict('Point2D', {'in': int, 'x-y': int})\n" +"Definition = TypedDict('Definition', {'__schema': str}) # not mangled" msgstr "" -#: library/typing.rst:2309 +#: library/typing.rst:2300 msgid "" "By default, all keys must be present in a ``TypedDict``. It is possible to " "mark individual keys as non-required using :data:`NotRequired`::" msgstr "" -#: library/typing.rst:2312 +#: library/typing.rst:2303 msgid "" "class Point2D(TypedDict):\n" " x: int\n" @@ -3267,19 +3242,19 @@ msgid "" "NotRequired[str]})" msgstr "" -#: library/typing.rst:2320 +#: library/typing.rst:2311 msgid "" "This means that a ``Point2D`` ``TypedDict`` can have the ``label`` key " "omitted." msgstr "" -#: library/typing.rst:2323 +#: library/typing.rst:2314 msgid "" "It is also possible to mark all keys as non-required by default by " "specifying a totality of ``False``::" msgstr "" -#: library/typing.rst:2326 +#: library/typing.rst:2317 msgid "" "class Point2D(TypedDict, total=False):\n" " x: int\n" @@ -3289,7 +3264,7 @@ msgid "" "Point2D = TypedDict('Point2D', {'x': int, 'y': int}, total=False)" msgstr "" -#: library/typing.rst:2333 +#: library/typing.rst:2324 msgid "" "This means that a ``Point2D`` ``TypedDict`` can have any of the keys " "omitted. A type checker is only expected to support a literal ``False`` or " @@ -3297,13 +3272,13 @@ msgid "" "and makes all items defined in the class body required." msgstr "" -#: library/typing.rst:2338 +#: library/typing.rst:2329 msgid "" "Individual keys of a ``total=False`` ``TypedDict`` can be marked as required " "using :data:`Required`::" msgstr "" -#: library/typing.rst:2341 +#: library/typing.rst:2332 msgid "" "class Point2D(TypedDict, total=False):\n" " x: Required[int]\n" @@ -3318,25 +3293,25 @@ msgid "" "}, total=False)" msgstr "" -#: library/typing.rst:2353 +#: library/typing.rst:2344 msgid "" "It is possible for a ``TypedDict`` type to inherit from one or more other " "``TypedDict`` types using the class-based syntax. Usage::" msgstr "" -#: library/typing.rst:2357 +#: library/typing.rst:2348 msgid "" "class Point3D(Point2D):\n" " z: int" msgstr "" -#: library/typing.rst:2360 +#: library/typing.rst:2351 msgid "" "``Point3D`` has three items: ``x``, ``y`` and ``z``. It is equivalent to " "this definition::" msgstr "" -#: library/typing.rst:2363 +#: library/typing.rst:2354 msgid "" "class Point3D(TypedDict):\n" " x: int\n" @@ -3344,13 +3319,13 @@ msgid "" " z: int" msgstr "" -#: library/typing.rst:2368 +#: library/typing.rst:2359 msgid "" "A ``TypedDict`` cannot inherit from a non-\\ ``TypedDict`` class, except " "for :class:`Generic`. For example::" msgstr "" -#: library/typing.rst:2371 +#: library/typing.rst:2362 msgid "" "class X(TypedDict):\n" " x: int\n" @@ -3365,24 +3340,24 @@ msgid "" "class XZ(X, Z): pass # raises TypeError" msgstr "" -#: library/typing.rst:2383 +#: library/typing.rst:2374 msgid "A ``TypedDict`` can be generic::" msgstr "" -#: library/typing.rst:2385 +#: library/typing.rst:2376 msgid "" "class Group[T](TypedDict):\n" " key: T\n" " group: list[T]" msgstr "" -#: library/typing.rst:2389 +#: library/typing.rst:2380 msgid "" "To create a generic ``TypedDict`` that is compatible with Python 3.11 or " "lower, inherit from :class:`Generic` explicitly:" msgstr "" -#: library/typing.rst:2392 +#: library/typing.rst:2383 msgid "" "T = TypeVar(\"T\")\n" "\n" @@ -3391,19 +3366,19 @@ msgid "" " group: list[T]" msgstr "" -#: library/typing.rst:2400 +#: library/typing.rst:2391 msgid "" "A ``TypedDict`` can be introspected via annotations dicts (see :ref:" "`annotations-howto` for more information on annotations best practices), :" "attr:`__total__`, :attr:`__required_keys__`, and :attr:`__optional_keys__`." msgstr "" -#: library/typing.rst:2406 +#: library/typing.rst:2397 msgid "" "``Point2D.__total__`` gives the value of the ``total`` argument. Example:" msgstr "" -#: library/typing.rst:2409 +#: library/typing.rst:2400 msgid "" ">>> from typing import TypedDict\n" ">>> class Point2D(TypedDict): pass\n" @@ -3417,7 +3392,7 @@ msgid "" "True" msgstr "" -#: library/typing.rst:2422 +#: library/typing.rst:2413 msgid "" "This attribute reflects *only* the value of the ``total`` argument to the " "current ``TypedDict`` class, not whether the class is semantically total. " @@ -3428,21 +3403,21 @@ msgid "" "introspection." msgstr "" -#: library/typing.rst:2435 +#: library/typing.rst:2426 msgid "" "``Point2D.__required_keys__`` and ``Point2D.__optional_keys__`` return :" "class:`frozenset` objects containing required and non-required keys, " "respectively." msgstr "" -#: library/typing.rst:2438 +#: library/typing.rst:2429 msgid "" "Keys marked with :data:`Required` will always appear in " "``__required_keys__`` and keys marked with :data:`NotRequired` will always " "appear in ``__optional_keys__``." msgstr "" -#: library/typing.rst:2441 +#: library/typing.rst:2432 msgid "" "For backwards compatibility with Python 3.10 and below, it is also possible " "to use inheritance to declare both required and non-required keys in the " @@ -3451,7 +3426,7 @@ msgid "" "``TypedDict`` with a different value for ``total``:" msgstr "" -#: library/typing.rst:2448 +#: library/typing.rst:2439 msgid "" ">>> class Point2D(TypedDict, total=False):\n" "... x: int\n" @@ -3466,7 +3441,7 @@ msgid "" "True" msgstr "" -#: library/typing.rst:2466 +#: library/typing.rst:2457 msgid "" "If ``from __future__ import annotations`` is used or if annotations are " "given as strings, annotations are not evaluated when the ``TypedDict`` is " @@ -3475,121 +3450,121 @@ msgid "" "attributes may be incorrect." msgstr "" -#: library/typing.rst:2472 +#: library/typing.rst:2463 msgid "" "See :pep:`589` for more examples and detailed rules of using ``TypedDict``." msgstr "" -#: library/typing.rst:2476 +#: library/typing.rst:2467 msgid "" "Added support for marking individual keys as :data:`Required` or :data:" "`NotRequired`. See :pep:`655`." msgstr "" -#: library/typing.rst:2480 +#: library/typing.rst:2471 msgid "Added support for generic ``TypedDict``\\ s." msgstr "" -#: library/typing.rst:2484 +#: library/typing.rst:2475 msgid "Protocols" msgstr "" -#: library/typing.rst:2486 +#: library/typing.rst:2477 msgid "" "The following protocols are provided by the typing module. All are decorated " "with :func:`@runtime_checkable `." msgstr "" -#: library/typing.rst:2491 +#: library/typing.rst:2482 msgid "" "An ABC with one abstract method ``__abs__`` that is covariant in its return " "type." msgstr "" -#: library/typing.rst:2496 +#: library/typing.rst:2487 msgid "An ABC with one abstract method ``__bytes__``." msgstr "" -#: library/typing.rst:2500 +#: library/typing.rst:2491 msgid "An ABC with one abstract method ``__complex__``." msgstr "" -#: library/typing.rst:2504 +#: library/typing.rst:2495 msgid "An ABC with one abstract method ``__float__``." msgstr "" -#: library/typing.rst:2508 +#: library/typing.rst:2499 msgid "An ABC with one abstract method ``__index__``." msgstr "" -#: library/typing.rst:2514 +#: library/typing.rst:2505 msgid "An ABC with one abstract method ``__int__``." msgstr "" -#: library/typing.rst:2518 +#: library/typing.rst:2509 msgid "" "An ABC with one abstract method ``__round__`` that is covariant in its " "return type." msgstr "" -#: library/typing.rst:2522 +#: library/typing.rst:2513 msgid "ABCs for working with IO" msgstr "" -#: library/typing.rst:2528 +#: library/typing.rst:2519 msgid "" "Generic type ``IO[AnyStr]`` and its subclasses ``TextIO(IO[str])`` and " "``BinaryIO(IO[bytes])`` represent the types of I/O streams such as returned " "by :func:`open`." msgstr "" -#: library/typing.rst:2534 +#: library/typing.rst:2525 msgid "Functions and decorators" msgstr "" -#: library/typing.rst:2538 +#: library/typing.rst:2529 msgid "Cast a value to a type." msgstr "" -#: library/typing.rst:2540 +#: library/typing.rst:2531 msgid "" "This returns the value unchanged. To the type checker this signals that the " "return value has the designated type, but at runtime we intentionally don't " "check anything (we want this to be as fast as possible)." msgstr "" -#: library/typing.rst:2547 +#: library/typing.rst:2538 msgid "" "Ask a static type checker to confirm that *val* has an inferred type of " "*typ*." msgstr "" -#: library/typing.rst:2549 +#: library/typing.rst:2540 msgid "" "At runtime this does nothing: it returns the first argument unchanged with " "no checks or side effects, no matter the actual type of the argument." msgstr "" -#: library/typing.rst:2552 +#: library/typing.rst:2543 msgid "" "When a static type checker encounters a call to ``assert_type()``, it emits " "an error if the value is not of the specified type::" msgstr "" -#: library/typing.rst:2555 +#: library/typing.rst:2546 msgid "" "def greet(name: str) -> None:\n" " assert_type(name, str) # OK, inferred type of `name` is `str`\n" " assert_type(name, int) # type checker error" msgstr "" -#: library/typing.rst:2559 +#: library/typing.rst:2550 msgid "" "This function is useful for ensuring the type checker's understanding of a " "script is in line with the developer's intentions::" msgstr "" -#: library/typing.rst:2562 +#: library/typing.rst:2553 msgid "" "def complex_function(arg: object):\n" " # Do some complex type-narrowing logic,\n" @@ -3599,16 +3574,16 @@ msgid "" " assert_type(arg, int)" msgstr "" -#: library/typing.rst:2573 +#: library/typing.rst:2564 msgid "" "Ask a static type checker to confirm that a line of code is unreachable." msgstr "" -#: library/typing.rst:2575 +#: library/typing.rst:2566 msgid "Example::" msgstr "" -#: library/typing.rst:2577 +#: library/typing.rst:2568 msgid "" "def int_or_str(arg: int | str) -> None:\n" " match arg:\n" @@ -3620,14 +3595,14 @@ msgid "" " assert_never(unreachable)" msgstr "" -#: library/typing.rst:2586 +#: library/typing.rst:2577 msgid "" "Here, the annotations allow the type checker to infer that the last case can " "never execute, because ``arg`` is either an :class:`int` or a :class:`str`, " "and both options are covered by earlier cases." msgstr "" -#: library/typing.rst:2591 +#: library/typing.rst:2582 msgid "" "If a type checker finds that a call to ``assert_never()`` is reachable, it " "will emit an error. For example, if the type annotation for ``arg`` was " @@ -3637,59 +3612,59 @@ msgid "" "passed in must be the bottom type, :data:`Never`, and nothing else." msgstr "" -#: library/typing.rst:2599 +#: library/typing.rst:2590 msgid "At runtime, this throws an exception when called." msgstr "" -#: library/typing.rst:2602 +#: library/typing.rst:2593 msgid "" -"`Unreachable Code and Exhaustiveness Checking `__ has more information about " -"exhaustiveness checking with static typing." +"`Unreachable Code and Exhaustiveness Checking `__ has more information about exhaustiveness " +"checking with static typing." msgstr "" -#: library/typing.rst:2610 +#: library/typing.rst:2601 msgid "Ask a static type checker to reveal the inferred type of an expression." msgstr "" -#: library/typing.rst:2612 +#: library/typing.rst:2603 msgid "" "When a static type checker encounters a call to this function, it emits a " "diagnostic with the inferred type of the argument. For example::" msgstr "" -#: library/typing.rst:2615 +#: library/typing.rst:2606 msgid "" "x: int = 1\n" "reveal_type(x) # Revealed type is \"builtins.int\"" msgstr "" -#: library/typing.rst:2618 +#: library/typing.rst:2609 msgid "" "This can be useful when you want to debug how your type checker handles a " "particular piece of code." msgstr "" -#: library/typing.rst:2621 +#: library/typing.rst:2612 msgid "" "At runtime, this function prints the runtime type of its argument to :data:" "`sys.stderr` and returns the argument unchanged (allowing the call to be " "used within an expression)::" msgstr "" -#: library/typing.rst:2625 +#: library/typing.rst:2616 msgid "" "x = reveal_type(1) # prints \"Runtime type is int\"\n" "print(x) # prints \"1\"" msgstr "" -#: library/typing.rst:2628 +#: library/typing.rst:2619 msgid "" "Note that the runtime type may be different from (more or less specific " "than) the type statically inferred by a type checker." msgstr "" -#: library/typing.rst:2631 +#: library/typing.rst:2622 msgid "" "Most type checkers support ``reveal_type()`` anywhere, even if the name is " "not imported from ``typing``. Importing the name from ``typing``, however, " @@ -3697,13 +3672,13 @@ msgid "" "clearly." msgstr "" -#: library/typing.rst:2642 +#: library/typing.rst:2633 msgid "" "Decorator to mark an object as providing :func:`dataclass `-like behavior." msgstr "" -#: library/typing.rst:2645 +#: library/typing.rst:2636 msgid "" "``dataclass_transform`` may be used to decorate a class, metaclass, or a " "function that is itself a decorator. The presence of " @@ -3712,11 +3687,11 @@ msgid "" "to :func:`@dataclasses.dataclass `." msgstr "" -#: library/typing.rst:2652 +#: library/typing.rst:2643 msgid "Example usage with a decorator function:" msgstr "" -#: library/typing.rst:2654 +#: library/typing.rst:2645 msgid "" "@dataclass_transform()\n" "def create_model[T](cls: type[T]) -> type[T]:\n" @@ -3729,11 +3704,11 @@ msgid "" " name: str" msgstr "" -#: library/typing.rst:2666 +#: library/typing.rst:2657 msgid "On a base class::" msgstr "" -#: library/typing.rst:2668 +#: library/typing.rst:2659 msgid "" "@dataclass_transform()\n" "class ModelBase: ...\n" @@ -3743,11 +3718,11 @@ msgid "" " name: str" msgstr "" -#: library/typing.rst:2675 +#: library/typing.rst:2666 msgid "On a metaclass::" msgstr "" -#: library/typing.rst:2677 +#: library/typing.rst:2668 msgid "" "@dataclass_transform()\n" "class ModelMeta(type): ...\n" @@ -3759,7 +3734,7 @@ msgid "" " name: str" msgstr "" -#: library/typing.rst:2686 +#: library/typing.rst:2677 msgid "" "The ``CustomerModel`` classes defined above will be treated by type checkers " "similarly to classes created with :func:`@dataclasses.dataclass None:\n" @@ -3965,24 +3940,24 @@ msgid "" " ... # actual implementation goes here" msgstr "" -#: library/typing.rst:2814 +#: library/typing.rst:2805 msgid "" "See :pep:`484` for more details and comparison with other typing semantics." msgstr "" -#: library/typing.rst:2816 +#: library/typing.rst:2807 msgid "" "Overloaded functions can now be introspected at runtime using :func:" "`get_overloads`." msgstr "" -#: library/typing.rst:2823 +#: library/typing.rst:2814 msgid "" "Return a sequence of :func:`@overload `-decorated definitions for " "*func*." msgstr "" -#: library/typing.rst:2826 +#: library/typing.rst:2817 msgid "" "*func* is the function object for the implementation of the overloaded " "function. For example, given the definition of ``process`` in the " @@ -3992,32 +3967,32 @@ msgid "" "returns an empty sequence." msgstr "" -#: library/typing.rst:2833 +#: library/typing.rst:2824 msgid "" "``get_overloads()`` can be used for introspecting an overloaded function at " "runtime." msgstr "" -#: library/typing.rst:2841 +#: library/typing.rst:2832 msgid "Clear all registered overloads in the internal registry." msgstr "" -#: library/typing.rst:2843 +#: library/typing.rst:2834 msgid "This can be used to reclaim the memory used by the registry." msgstr "" -#: library/typing.rst:2850 +#: library/typing.rst:2841 msgid "Decorator to indicate final methods and final classes." msgstr "" -#: library/typing.rst:2852 +#: library/typing.rst:2843 msgid "" "Decorating a method with ``@final`` indicates to a type checker that the " "method cannot be overridden in a subclass. Decorating a class with " "``@final`` indicates that it cannot be subclassed." msgstr "" -#: library/typing.rst:2858 +#: library/typing.rst:2849 msgid "" "class Base:\n" " @final\n" @@ -4034,7 +4009,7 @@ msgid "" " ..." msgstr "" -#: library/typing.rst:2877 +#: library/typing.rst:2868 msgid "" "The decorator will now attempt to set a ``__final__`` attribute to ``True`` " "on the decorated object. Thus, a check like ``if getattr(obj, \"__final__\", " @@ -4044,11 +4019,11 @@ msgid "" "exception." msgstr "" -#: library/typing.rst:2888 +#: library/typing.rst:2879 msgid "Decorator to indicate that annotations are not type hints." msgstr "" -#: library/typing.rst:2890 +#: library/typing.rst:2881 msgid "" "This works as a class or function :term:`decorator`. With a class, it " "applies recursively to all methods and classes defined in that class (but " @@ -4056,34 +4031,34 @@ msgid "" "will ignore all annotations in a function or class with this decorator." msgstr "" -#: library/typing.rst:2896 +#: library/typing.rst:2887 msgid "``@no_type_check`` mutates the decorated object in place." msgstr "" -#: library/typing.rst:2900 +#: library/typing.rst:2891 msgid "Decorator to give another decorator the :func:`no_type_check` effect." msgstr "" -#: library/typing.rst:2902 +#: library/typing.rst:2893 msgid "" "This wraps the decorator with something that wraps the decorated function " "in :func:`no_type_check`." msgstr "" -#: library/typing.rst:2908 +#: library/typing.rst:2899 msgid "" "Decorator to indicate that a method in a subclass is intended to override a " "method or attribute in a superclass." msgstr "" -#: library/typing.rst:2911 +#: library/typing.rst:2902 msgid "" "Type checkers should emit an error if a method decorated with ``@override`` " "does not, in fact, override anything. This helps prevent bugs that may occur " "when a base class is changed without an equivalent change to a child class." msgstr "" -#: library/typing.rst:2918 +#: library/typing.rst:2909 msgid "" "class Base:\n" " def log_status(self) -> None:\n" @@ -4099,11 +4074,11 @@ msgid "" " ..." msgstr "" -#: library/typing.rst:2933 +#: library/typing.rst:2924 msgid "There is no runtime checking of this property." msgstr "" -#: library/typing.rst:2935 +#: library/typing.rst:2926 msgid "" "The decorator will attempt to set an ``__override__`` attribute to ``True`` " "on the decorated object. Thus, a check like ``if getattr(obj, " @@ -4113,22 +4088,22 @@ msgid "" "without raising an exception." msgstr "" -#: library/typing.rst:2942 +#: library/typing.rst:2933 msgid "See :pep:`698` for more details." msgstr "" -#: library/typing.rst:2949 +#: library/typing.rst:2940 msgid "Decorator to mark a class or function as unavailable at runtime." msgstr "" -#: library/typing.rst:2951 +#: library/typing.rst:2942 msgid "" "This decorator is itself not available at runtime. It is mainly intended to " "mark classes that are defined in type stub files if an implementation " "returns an instance of a private class::" msgstr "" -#: library/typing.rst:2955 +#: library/typing.rst:2946 msgid "" "@type_check_only\n" "class Response: # private or not available at runtime\n" @@ -4138,29 +4113,29 @@ msgid "" "def fetch_response() -> Response: ..." msgstr "" -#: library/typing.rst:2962 +#: library/typing.rst:2953 msgid "" "Note that returning instances of private classes is not recommended. It is " "usually preferable to make such classes public." msgstr "" -#: library/typing.rst:2966 +#: library/typing.rst:2957 msgid "Introspection helpers" msgstr "" -#: library/typing.rst:2970 +#: library/typing.rst:2961 msgid "" "Return a dictionary containing type hints for a function, method, module or " "class object." msgstr "" -#: library/typing.rst:2973 +#: library/typing.rst:2964 msgid "" "This is often the same as ``obj.__annotations__``, but this function makes " "the following changes to the annotations dictionary:" msgstr "" -#: library/typing.rst:2976 +#: library/typing.rst:2967 msgid "" "Forward references encoded as string literals or :class:`ForwardRef` objects " "are handled by evaluating them in *globalns*, *localns*, and (where " @@ -4169,17 +4144,17 @@ msgid "" "inferred from *obj*." msgstr "" -#: library/typing.rst:2981 +#: library/typing.rst:2972 msgid "``None`` is replaced with :class:`types.NoneType`." msgstr "" -#: library/typing.rst:2982 +#: library/typing.rst:2973 msgid "" "If :func:`@no_type_check ` has been applied to *obj*, an " "empty dictionary is returned." msgstr "" -#: library/typing.rst:2984 +#: library/typing.rst:2975 msgid "" "If *obj* is a class ``C``, the function returns a dictionary that merges " "annotations from ``C``'s base classes with those on ``C`` directly. This is " @@ -4189,20 +4164,20 @@ msgid "" "annotations on classes appearing later in the method resolution order." msgstr "" -#: library/typing.rst:2991 +#: library/typing.rst:2982 msgid "" "The function recursively replaces all occurrences of ``Annotated[T, ...]`` " "with ``T``, unless *include_extras* is set to ``True`` (see :class:" "`Annotated` for more information)." msgstr "" -#: library/typing.rst:2995 +#: library/typing.rst:2986 msgid "" "See also :func:`inspect.get_annotations`, a lower-level function that " "returns annotations more directly." msgstr "" -#: library/typing.rst:3000 +#: library/typing.rst:2991 msgid "" "If any forward references in the annotations of *obj* are not resolvable or " "are not valid Python code, this function will raise an exception such as :" @@ -4211,26 +4186,26 @@ msgid "" "imported under :data:`if TYPE_CHECKING `." msgstr "" -#: library/typing.rst:3006 +#: library/typing.rst:2997 msgid "" "Added ``include_extras`` parameter as part of :pep:`593`. See the " "documentation on :data:`Annotated` for more information." msgstr "" -#: library/typing.rst:3010 +#: library/typing.rst:3001 msgid "" "Previously, ``Optional[t]`` was added for function and method annotations if " "a default value equal to ``None`` was set. Now the annotation is returned " "unchanged." msgstr "" -#: library/typing.rst:3017 +#: library/typing.rst:3008 msgid "" "Get the unsubscripted version of a type: for a typing object of the form " "``X[Y, Z, ...]`` return ``X``." msgstr "" -#: library/typing.rst:3020 +#: library/typing.rst:3011 msgid "" "If ``X`` is a typing-module alias for a builtin or :mod:`collections` class, " "it will be normalized to the original class. If ``X`` is an instance of :" @@ -4238,11 +4213,11 @@ msgid "" "class:`ParamSpec`. Return ``None`` for unsupported objects." msgstr "" -#: library/typing.rst:3050 +#: library/typing.rst:3041 msgid "Examples:" msgstr "" -#: library/typing.rst:3028 +#: library/typing.rst:3019 msgid "" "assert get_origin(str) is None\n" "assert get_origin(Dict[str, int]) is dict\n" @@ -4253,13 +4228,13 @@ msgid "" "assert get_origin(P.kwargs) is P" msgstr "" -#: library/typing.rst:3042 +#: library/typing.rst:3033 msgid "" "Get type arguments with all substitutions performed: for a typing object of " "the form ``X[Y, Z, ...]`` return ``(Y, Z, ...)``." msgstr "" -#: library/typing.rst:3045 +#: library/typing.rst:3036 msgid "" "If ``X`` is a union or :class:`Literal` contained in another generic type, " "the order of ``(Y, Z, ...)`` may be different from the order of the original " @@ -4267,18 +4242,18 @@ msgid "" "objects." msgstr "" -#: library/typing.rst:3052 +#: library/typing.rst:3043 msgid "" "assert get_args(int) == ()\n" "assert get_args(Dict[int, str]) == (int, str)\n" "assert get_args(Union[int, str]) == (int, str)" msgstr "" -#: library/typing.rst:3062 +#: library/typing.rst:3053 msgid "Check if a type is a :class:`TypedDict`." msgstr "" -#: library/typing.rst:3066 +#: library/typing.rst:3057 msgid "" "class Film(TypedDict):\n" " title: str\n" @@ -4292,36 +4267,36 @@ msgid "" "assert not is_typeddict(TypedDict)" msgstr "" -#: library/typing.rst:3083 +#: library/typing.rst:3074 msgid "" "Class used for internal typing representation of string forward references." msgstr "" -#: library/typing.rst:3085 +#: library/typing.rst:3076 msgid "" "For example, ``List[\"SomeClass\"]`` is implicitly transformed into " "``List[ForwardRef(\"SomeClass\")]``. ``ForwardRef`` should not be " "instantiated by a user, but may be used by introspection tools." msgstr "" -#: library/typing.rst:3090 +#: library/typing.rst:3081 msgid "" ":pep:`585` generic types such as ``list[\"SomeClass\"]`` will not be " "implicitly transformed into ``list[ForwardRef(\"SomeClass\")]`` and thus " "will not automatically resolve to ``list[SomeClass]``." msgstr "" -#: library/typing.rst:3097 +#: library/typing.rst:3088 msgid "Constant" msgstr "" -#: library/typing.rst:3101 +#: library/typing.rst:3092 msgid "" "A special constant that is assumed to be ``True`` by 3rd party static type " "checkers. It is ``False`` at runtime." msgstr "" -#: library/typing.rst:3106 +#: library/typing.rst:3097 msgid "" "if TYPE_CHECKING:\n" " import expensive_mod\n" @@ -4330,7 +4305,7 @@ msgid "" " local_var: expensive_mod.AnotherType = other_fun()" msgstr "" -#: library/typing.rst:3112 +#: library/typing.rst:3103 msgid "" "The first type annotation must be enclosed in quotes, making it a \"forward " "reference\", to hide the ``expensive_mod`` reference from the interpreter " @@ -4338,7 +4313,7 @@ msgid "" "second annotation does not need to be enclosed in quotes." msgstr "" -#: library/typing.rst:3119 +#: library/typing.rst:3110 msgid "" "If ``from __future__ import annotations`` is used, annotations are not " "evaluated at function definition time. Instead, they are stored as strings " @@ -4346,11 +4321,11 @@ msgid "" "annotation (see :pep:`563`)." msgstr "" -#: library/typing.rst:3131 +#: library/typing.rst:3122 msgid "Deprecated aliases" msgstr "" -#: library/typing.rst:3133 +#: library/typing.rst:3124 msgid "" "This module defines several deprecated aliases to pre-existing standard " "library classes. These were originally included in the typing module in " @@ -4359,7 +4334,7 @@ msgid "" "existing classes were enhanced to support ``[]`` (see :pep:`585`)." msgstr "" -#: library/typing.rst:3140 +#: library/typing.rst:3131 msgid "" "The redundant types are deprecated as of Python 3.9. However, while the " "aliases may be removed at some point, removal of these aliases is not " @@ -4367,7 +4342,7 @@ msgid "" "the interpreter for these aliases." msgstr "" -#: library/typing.rst:3145 +#: library/typing.rst:3136 msgid "" "If at some point it is decided to remove these deprecated aliases, a " "deprecation warning will be issued by the interpreter for at least two " @@ -4375,38 +4350,38 @@ msgid "" "typing module without deprecation warnings until at least Python 3.14." msgstr "" -#: library/typing.rst:3150 +#: library/typing.rst:3141 msgid "" "Type checkers are encouraged to flag uses of the deprecated types if the " "program they are checking targets a minimum Python version of 3.9 or newer." msgstr "" -#: library/typing.rst:3156 +#: library/typing.rst:3147 msgid "Aliases to built-in types" msgstr "" -#: library/typing.rst:3160 +#: library/typing.rst:3151 msgid "Deprecated alias to :class:`dict`." msgstr "" -#: library/typing.rst:3162 +#: library/typing.rst:3153 msgid "" "Note that to annotate arguments, it is preferred to use an abstract " "collection type such as :class:`~collections.abc.Mapping` rather than to " "use :class:`dict` or :class:`!typing.Dict`." msgstr "" -#: library/typing.rst:3166 +#: library/typing.rst:3157 msgid "" ":class:`builtins.dict ` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3172 +#: library/typing.rst:3163 msgid "Deprecated alias to :class:`list`." msgstr "" -#: library/typing.rst:3174 +#: library/typing.rst:3165 msgid "" "Note that to annotate arguments, it is preferred to use an abstract " "collection type such as :class:`~collections.abc.Sequence` or :class:" @@ -4414,142 +4389,142 @@ msgid "" "typing.List`." msgstr "" -#: library/typing.rst:3179 +#: library/typing.rst:3170 msgid "" ":class:`builtins.list ` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3185 +#: library/typing.rst:3176 msgid "Deprecated alias to :class:`builtins.set `." msgstr "" -#: library/typing.rst:3187 +#: library/typing.rst:3178 msgid "" "Note that to annotate arguments, it is preferred to use an abstract " "collection type such as :class:`collections.abc.Set` rather than to use :" "class:`set` or :class:`typing.Set`." msgstr "" -#: library/typing.rst:3191 +#: library/typing.rst:3182 msgid "" ":class:`builtins.set ` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3197 +#: library/typing.rst:3188 msgid "Deprecated alias to :class:`builtins.frozenset `." msgstr "" -#: library/typing.rst:3199 +#: library/typing.rst:3190 msgid "" ":class:`builtins.frozenset ` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3206 +#: library/typing.rst:3197 msgid "Deprecated alias for :class:`tuple`." msgstr "" -#: library/typing.rst:3208 +#: library/typing.rst:3199 msgid "" ":class:`tuple` and ``Tuple`` are special-cased in the type system; see :ref:" "`annotating-tuples` for more details." msgstr "" -#: library/typing.rst:3211 +#: library/typing.rst:3202 msgid "" ":class:`builtins.tuple ` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3217 +#: library/typing.rst:3208 msgid "Deprecated alias to :class:`type`." msgstr "" -#: library/typing.rst:3219 +#: library/typing.rst:3210 msgid "" "See :ref:`type-of-class-objects` for details on using :class:`type` or " "``typing.Type`` in type annotations." msgstr "" -#: library/typing.rst:3224 +#: library/typing.rst:3215 msgid "" ":class:`builtins.type ` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3231 +#: library/typing.rst:3222 msgid "Aliases to types in :mod:`collections`" msgstr "" -#: library/typing.rst:3235 +#: library/typing.rst:3226 msgid "Deprecated alias to :class:`collections.defaultdict`." msgstr "" -#: library/typing.rst:3239 +#: library/typing.rst:3230 msgid "" ":class:`collections.defaultdict` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3245 +#: library/typing.rst:3236 msgid "Deprecated alias to :class:`collections.OrderedDict`." msgstr "" -#: library/typing.rst:3249 +#: library/typing.rst:3240 msgid "" ":class:`collections.OrderedDict` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3255 +#: library/typing.rst:3246 msgid "Deprecated alias to :class:`collections.ChainMap`." msgstr "" -#: library/typing.rst:3259 +#: library/typing.rst:3250 msgid "" ":class:`collections.ChainMap` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3265 +#: library/typing.rst:3256 msgid "Deprecated alias to :class:`collections.Counter`." msgstr "" -#: library/typing.rst:3269 +#: library/typing.rst:3260 msgid "" ":class:`collections.Counter` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3275 +#: library/typing.rst:3266 msgid "Deprecated alias to :class:`collections.deque`." msgstr "" -#: library/typing.rst:3279 +#: library/typing.rst:3270 msgid "" ":class:`collections.deque` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3286 +#: library/typing.rst:3277 msgid "Aliases to other concrete types" msgstr "" -#: library/typing.rst:3288 +#: library/typing.rst:3279 msgid "" "The ``typing.io`` namespace is deprecated and will be removed. These types " "should be directly imported from ``typing`` instead." msgstr "" -#: library/typing.rst:3295 +#: library/typing.rst:3286 msgid "" "Deprecated aliases corresponding to the return types from :func:`re.compile` " "and :func:`re.match`." msgstr "" -#: library/typing.rst:3298 +#: library/typing.rst:3289 msgid "" "These types (and the corresponding functions) are generic over :data:" "`AnyStr`. ``Pattern`` can be specialised as ``Pattern[str]`` or " @@ -4557,361 +4532,361 @@ msgid "" "``Match[bytes]``." msgstr "" -#: library/typing.rst:3303 +#: library/typing.rst:3294 msgid "" "The ``typing.re`` namespace is deprecated and will be removed. These types " "should be directly imported from ``typing`` instead." msgstr "" -#: library/typing.rst:3307 +#: library/typing.rst:3298 msgid "" "Classes ``Pattern`` and ``Match`` from :mod:`re` now support ``[]``. See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3313 +#: library/typing.rst:3304 msgid "Deprecated alias for :class:`str`." msgstr "" -#: library/typing.rst:3315 +#: library/typing.rst:3306 msgid "" "``Text`` is provided to supply a forward compatible path for Python 2 code: " "in Python 2, ``Text`` is an alias for ``unicode``." msgstr "" -#: library/typing.rst:3319 +#: library/typing.rst:3310 msgid "" "Use ``Text`` to indicate that a value must contain a unicode string in a " "manner that is compatible with both Python 2 and Python 3::" msgstr "" -#: library/typing.rst:3322 +#: library/typing.rst:3313 msgid "" "def add_unicode_checkmark(text: Text) -> Text:\n" " return text + u' \\u2713'" msgstr "" -#: library/typing.rst:3327 +#: library/typing.rst:3318 msgid "" "Python 2 is no longer supported, and most type checkers also no longer " "support type checking Python 2 code. Removal of the alias is not currently " "planned, but users are encouraged to use :class:`str` instead of ``Text``." msgstr "" -#: library/typing.rst:3337 +#: library/typing.rst:3328 msgid "Aliases to container ABCs in :mod:`collections.abc`" msgstr "" -#: library/typing.rst:3341 +#: library/typing.rst:3332 msgid "Deprecated alias to :class:`collections.abc.Set`." msgstr "" -#: library/typing.rst:3343 +#: library/typing.rst:3334 msgid "" ":class:`collections.abc.Set` now supports subscripting (``[]``). See :pep:" "`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3349 +#: library/typing.rst:3340 msgid "" "This type represents the types :class:`bytes`, :class:`bytearray`, and :" "class:`memoryview` of byte sequences." msgstr "" -#: library/typing.rst:3352 +#: library/typing.rst:3343 msgid "" "Prefer :class:`collections.abc.Buffer`, or a union like ``bytes | bytearray " "| memoryview``." msgstr "" -#: library/typing.rst:3357 +#: library/typing.rst:3348 msgid "Deprecated alias to :class:`collections.abc.Collection`." msgstr "" -#: library/typing.rst:3361 +#: library/typing.rst:3352 msgid "" ":class:`collections.abc.Collection` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3367 +#: library/typing.rst:3358 msgid "Deprecated alias to :class:`collections.abc.Container`." msgstr "" -#: library/typing.rst:3369 +#: library/typing.rst:3360 msgid "" ":class:`collections.abc.Container` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3375 +#: library/typing.rst:3366 msgid "Deprecated alias to :class:`collections.abc.ItemsView`." msgstr "" -#: library/typing.rst:3377 +#: library/typing.rst:3368 msgid "" ":class:`collections.abc.ItemsView` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3383 +#: library/typing.rst:3374 msgid "Deprecated alias to :class:`collections.abc.KeysView`." msgstr "" -#: library/typing.rst:3385 +#: library/typing.rst:3376 msgid "" ":class:`collections.abc.KeysView` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3391 +#: library/typing.rst:3382 msgid "Deprecated alias to :class:`collections.abc.Mapping`." msgstr "" -#: library/typing.rst:3393 +#: library/typing.rst:3384 msgid "" ":class:`collections.abc.Mapping` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3399 +#: library/typing.rst:3390 msgid "Deprecated alias to :class:`collections.abc.MappingView`." msgstr "" -#: library/typing.rst:3401 +#: library/typing.rst:3392 msgid "" ":class:`collections.abc.MappingView` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3407 +#: library/typing.rst:3398 msgid "Deprecated alias to :class:`collections.abc.MutableMapping`." msgstr "" -#: library/typing.rst:3409 +#: library/typing.rst:3400 msgid "" ":class:`collections.abc.MutableMapping` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3416 +#: library/typing.rst:3407 msgid "Deprecated alias to :class:`collections.abc.MutableSequence`." msgstr "" -#: library/typing.rst:3418 +#: library/typing.rst:3409 msgid "" ":class:`collections.abc.MutableSequence` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3425 +#: library/typing.rst:3416 msgid "Deprecated alias to :class:`collections.abc.MutableSet`." msgstr "" -#: library/typing.rst:3427 +#: library/typing.rst:3418 msgid "" ":class:`collections.abc.MutableSet` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3433 +#: library/typing.rst:3424 msgid "Deprecated alias to :class:`collections.abc.Sequence`." msgstr "" -#: library/typing.rst:3435 +#: library/typing.rst:3426 msgid "" ":class:`collections.abc.Sequence` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3441 +#: library/typing.rst:3432 msgid "Deprecated alias to :class:`collections.abc.ValuesView`." msgstr "" -#: library/typing.rst:3443 +#: library/typing.rst:3434 msgid "" ":class:`collections.abc.ValuesView` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3450 +#: library/typing.rst:3441 msgid "Aliases to asynchronous ABCs in :mod:`collections.abc`" msgstr "" -#: library/typing.rst:3454 +#: library/typing.rst:3445 msgid "Deprecated alias to :class:`collections.abc.Coroutine`." msgstr "" -#: library/typing.rst:3456 +#: library/typing.rst:3447 msgid "" "See :ref:`annotating-generators-and-coroutines` for details on using :class:" "`collections.abc.Coroutine` and ``typing.Coroutine`` in type annotations." msgstr "" -#: library/typing.rst:3462 +#: library/typing.rst:3453 msgid "" ":class:`collections.abc.Coroutine` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3468 +#: library/typing.rst:3459 msgid "Deprecated alias to :class:`collections.abc.AsyncGenerator`." msgstr "" -#: library/typing.rst:3470 +#: library/typing.rst:3461 msgid "" "See :ref:`annotating-generators-and-coroutines` for details on using :class:" "`collections.abc.AsyncGenerator` and ``typing.AsyncGenerator`` in type " "annotations." msgstr "" -#: library/typing.rst:3476 +#: library/typing.rst:3467 msgid "" ":class:`collections.abc.AsyncGenerator` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3483 +#: library/typing.rst:3474 msgid "Deprecated alias to :class:`collections.abc.AsyncIterable`." msgstr "" -#: library/typing.rst:3487 +#: library/typing.rst:3478 msgid "" ":class:`collections.abc.AsyncIterable` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3493 +#: library/typing.rst:3484 msgid "Deprecated alias to :class:`collections.abc.AsyncIterator`." msgstr "" -#: library/typing.rst:3497 +#: library/typing.rst:3488 msgid "" ":class:`collections.abc.AsyncIterator` now supports subscripting (``[]``). " "See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3503 +#: library/typing.rst:3494 msgid "Deprecated alias to :class:`collections.abc.Awaitable`." msgstr "" -#: library/typing.rst:3507 +#: library/typing.rst:3498 msgid "" ":class:`collections.abc.Awaitable` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3514 +#: library/typing.rst:3505 msgid "Aliases to other ABCs in :mod:`collections.abc`" msgstr "" -#: library/typing.rst:3518 +#: library/typing.rst:3509 msgid "Deprecated alias to :class:`collections.abc.Iterable`." msgstr "" -#: library/typing.rst:3520 +#: library/typing.rst:3511 msgid "" ":class:`collections.abc.Iterable` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3526 +#: library/typing.rst:3517 msgid "Deprecated alias to :class:`collections.abc.Iterator`." msgstr "" -#: library/typing.rst:3528 +#: library/typing.rst:3519 msgid "" ":class:`collections.abc.Iterator` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3534 +#: library/typing.rst:3525 msgid "Deprecated alias to :class:`collections.abc.Callable`." msgstr "" -#: library/typing.rst:3536 +#: library/typing.rst:3527 msgid "" "See :ref:`annotating-callables` for details on how to use :class:" "`collections.abc.Callable` and ``typing.Callable`` in type annotations." msgstr "" -#: library/typing.rst:3539 +#: library/typing.rst:3530 msgid "" ":class:`collections.abc.Callable` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3549 +#: library/typing.rst:3540 msgid "Deprecated alias to :class:`collections.abc.Generator`." msgstr "" -#: library/typing.rst:3551 +#: library/typing.rst:3542 msgid "" "See :ref:`annotating-generators-and-coroutines` for details on using :class:" "`collections.abc.Generator` and ``typing.Generator`` in type annotations." msgstr "" -#: library/typing.rst:3555 +#: library/typing.rst:3546 msgid "" ":class:`collections.abc.Generator` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3561 +#: library/typing.rst:3552 msgid "Deprecated alias to :class:`collections.abc.Hashable`." msgstr "" -#: library/typing.rst:3563 +#: library/typing.rst:3554 msgid "Use :class:`collections.abc.Hashable` directly instead." msgstr "" -#: library/typing.rst:3568 +#: library/typing.rst:3559 msgid "Deprecated alias to :class:`collections.abc.Reversible`." msgstr "" -#: library/typing.rst:3570 +#: library/typing.rst:3561 msgid "" ":class:`collections.abc.Reversible` now supports subscripting (``[]``). See :" "pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3576 +#: library/typing.rst:3567 msgid "Deprecated alias to :class:`collections.abc.Sized`." msgstr "" -#: library/typing.rst:3578 +#: library/typing.rst:3569 msgid "Use :class:`collections.abc.Sized` directly instead." msgstr "" -#: library/typing.rst:3584 +#: library/typing.rst:3575 msgid "Aliases to :mod:`contextlib` ABCs" msgstr "" -#: library/typing.rst:3588 +#: library/typing.rst:3579 msgid "Deprecated alias to :class:`contextlib.AbstractContextManager`." msgstr "" -#: library/typing.rst:3592 +#: library/typing.rst:3583 msgid "" ":class:`contextlib.AbstractContextManager` now supports subscripting " "(``[]``). See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3599 +#: library/typing.rst:3590 msgid "Deprecated alias to :class:`contextlib.AbstractAsyncContextManager`." msgstr "" -#: library/typing.rst:3603 +#: library/typing.rst:3594 msgid "" ":class:`contextlib.AbstractAsyncContextManager` now supports subscripting " "(``[]``). See :pep:`585` and :ref:`types-genericalias`." msgstr "" -#: library/typing.rst:3609 +#: library/typing.rst:3600 msgid "Deprecation Timeline of Major Features" msgstr "" -#: library/typing.rst:3611 +#: library/typing.rst:3602 msgid "" "Certain features in ``typing`` are deprecated and may be removed in a future " "version of Python. The following table summarizes major deprecations for " @@ -4919,98 +4894,98 @@ msgid "" "listed." msgstr "" -#: library/typing.rst:3618 +#: library/typing.rst:3609 msgid "Feature" msgstr "" -#: library/typing.rst:3619 +#: library/typing.rst:3610 msgid "Deprecated in" msgstr "" -#: library/typing.rst:3620 +#: library/typing.rst:3611 msgid "Projected removal" msgstr "" -#: library/typing.rst:3621 +#: library/typing.rst:3612 msgid "PEP/issue" msgstr "" -#: library/typing.rst:3622 +#: library/typing.rst:3613 msgid "``typing.io`` and ``typing.re`` submodules" msgstr "" -#: library/typing.rst:3623 +#: library/typing.rst:3614 msgid "3.8" msgstr "" -#: library/typing.rst:3624 +#: library/typing.rst:3615 msgid "3.13" msgstr "" -#: library/typing.rst:3625 +#: library/typing.rst:3616 msgid ":issue:`38291`" msgstr "" -#: library/typing.rst:3626 +#: library/typing.rst:3617 msgid "``typing`` versions of standard collections" msgstr "" -#: library/typing.rst:3631 +#: library/typing.rst:3622 msgid "3.9" msgstr "" -#: library/typing.rst:3628 +#: library/typing.rst:3619 msgid "Undecided (see :ref:`deprecated-aliases` for more information)" msgstr "" -#: library/typing.rst:3629 +#: library/typing.rst:3620 msgid ":pep:`585`" msgstr "" -#: library/typing.rst:3630 +#: library/typing.rst:3621 msgid ":class:`typing.ByteString`" msgstr "" -#: library/typing.rst:3632 +#: library/typing.rst:3623 msgid "3.14" msgstr "" -#: library/typing.rst:3633 +#: library/typing.rst:3624 msgid ":gh:`91896`" msgstr "" -#: library/typing.rst:3634 +#: library/typing.rst:3625 msgid ":data:`typing.Text`" msgstr "" -#: library/typing.rst:3635 +#: library/typing.rst:3626 msgid "3.11" msgstr "" -#: library/typing.rst:3640 library/typing.rst:3644 +#: library/typing.rst:3631 library/typing.rst:3635 msgid "Undecided" msgstr "" -#: library/typing.rst:3637 +#: library/typing.rst:3628 msgid ":gh:`92332`" msgstr "" -#: library/typing.rst:3638 +#: library/typing.rst:3629 msgid ":class:`typing.Hashable` and :class:`typing.Sized`" msgstr "" -#: library/typing.rst:3643 +#: library/typing.rst:3634 msgid "3.12" msgstr "" -#: library/typing.rst:3641 +#: library/typing.rst:3632 msgid ":gh:`94309`" msgstr "" -#: library/typing.rst:3642 +#: library/typing.rst:3633 msgid ":data:`typing.TypeAlias`" msgstr "" -#: library/typing.rst:3645 +#: library/typing.rst:3636 msgid ":pep:`695`" msgstr "" diff --git a/library/unicodedata.po b/library/unicodedata.po index 36b89668..92ff5cac 100644 --- a/library/unicodedata.po +++ b/library/unicodedata.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/unittest.mock-examples.po b/library/unittest.mock-examples.po index 243a724e..5ee43046 100644 --- a/library/unittest.mock-examples.po +++ b/library/unittest.mock-examples.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/unittest.mock.po b/library/unittest.mock.po index c329356f..68f3a13e 100644 --- a/library/unittest.mock.po +++ b/library/unittest.mock.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -399,7 +399,7 @@ msgid "" ">>> mock('hello')\n" "5\n" ">>> mock.reset_mock(return_value=True)\n" -">>> mock('hello') \n" +">>> mock('hello')\n" "" msgstr "" @@ -416,7 +416,7 @@ msgid "" " ...\n" "ValueError\n" ">>> mock.reset_mock(side_effect=True)\n" -">>> mock('hello') \n" +">>> mock('hello')\n" "" msgstr "" diff --git a/library/unittest.po b/library/unittest.po index 6c5971d1..f4916874 100644 --- a/library/unittest.po +++ b/library/unittest.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -2187,7 +2187,7 @@ msgid "" "coroutines as test functions." msgstr "" -#: library/unittest.rst:1576 +#: library/unittest.rst:1577 msgid "" "Method called to prepare the test fixture. This is called after :meth:" "`setUp`. This is called immediately before calling the test method; other " @@ -2196,7 +2196,7 @@ msgid "" "implementation does nothing." msgstr "" -#: library/unittest.rst:1584 +#: library/unittest.rst:1586 msgid "" "Method called immediately after the test method has been called and the " "result recorded. This is called before :meth:`tearDown`. This is called " @@ -2209,11 +2209,11 @@ msgid "" "the outcome of the test method. The default implementation does nothing." msgstr "" -#: library/unittest.rst:1596 +#: library/unittest.rst:1598 msgid "This method accepts a coroutine that can be used as a cleanup function." msgstr "" -#: library/unittest.rst:1600 +#: library/unittest.rst:1603 msgid "" "Enter the supplied :term:`asynchronous context manager`. If successful, " "also add its :meth:`~object.__aexit__` method as a cleanup function by :meth:" @@ -2221,7 +2221,7 @@ msgid "" "method." msgstr "" -#: library/unittest.rst:1610 +#: library/unittest.rst:1613 msgid "" "Sets up a new event loop to run the test, collecting the result into the :" "class:`TestResult` object passed as *result*. If *result* is omitted or " @@ -2231,11 +2231,11 @@ msgid "" "cancelled." msgstr "" -#: library/unittest.rst:1618 +#: library/unittest.rst:1621 msgid "An example illustrating the order::" msgstr "" -#: library/unittest.rst:1620 +#: library/unittest.rst:1623 msgid "" "from unittest import IsolatedAsyncioTestCase\n" "\n" @@ -2273,14 +2273,14 @@ msgid "" " unittest.main()" msgstr "" -#: library/unittest.rst:1654 +#: library/unittest.rst:1657 msgid "" "After running the test, ``events`` would contain ``[\"setUp\", " "\"asyncSetUp\", \"test_response\", \"asyncTearDown\", \"tearDown\", " "\"cleanup\"]``." msgstr "" -#: library/unittest.rst:1659 +#: library/unittest.rst:1662 msgid "" "This class implements the portion of the :class:`TestCase` interface which " "allows the test runner to drive the test, but does not provide the methods " @@ -2289,11 +2289,11 @@ msgid "" "`unittest`-based test framework." msgstr "" -#: library/unittest.rst:1669 +#: library/unittest.rst:1672 msgid "Grouping tests" msgstr "" -#: library/unittest.rst:1673 +#: library/unittest.rst:1676 msgid "" "This class represents an aggregation of individual test cases and test " "suites. The class presents the interface needed by the test runner to allow " @@ -2301,14 +2301,14 @@ msgid "" "is the same as iterating over the suite, running each test individually." msgstr "" -#: library/unittest.rst:1678 +#: library/unittest.rst:1681 msgid "" "If *tests* is given, it must be an iterable of individual test cases or " "other test suites that will be used to build the suite initially. Additional " "methods are provided to add test cases and suites to the collection later on." msgstr "" -#: library/unittest.rst:1682 +#: library/unittest.rst:1685 msgid "" ":class:`TestSuite` objects behave much like :class:`TestCase` objects, " "except they do not actually implement a test. Instead, they are used to " @@ -2317,47 +2317,47 @@ msgid "" "instances:" msgstr "" -#: library/unittest.rst:1690 +#: library/unittest.rst:1693 msgid "Add a :class:`TestCase` or :class:`TestSuite` to the suite." msgstr "" -#: library/unittest.rst:1695 +#: library/unittest.rst:1698 msgid "" "Add all the tests from an iterable of :class:`TestCase` and :class:" "`TestSuite` instances to this test suite." msgstr "" -#: library/unittest.rst:1698 +#: library/unittest.rst:1701 msgid "" "This is equivalent to iterating over *tests*, calling :meth:`addTest` for " "each element." msgstr "" -#: library/unittest.rst:1701 +#: library/unittest.rst:1704 msgid ":class:`TestSuite` shares the following methods with :class:`TestCase`:" msgstr "" -#: library/unittest.rst:1706 +#: library/unittest.rst:1709 msgid "" "Run the tests associated with this suite, collecting the result into the " "test result object passed as *result*. Note that unlike :meth:`TestCase." "run`, :meth:`TestSuite.run` requires the result object to be passed in." msgstr "" -#: library/unittest.rst:1714 +#: library/unittest.rst:1717 msgid "" "Run the tests associated with this suite without collecting the result. This " "allows exceptions raised by the test to be propagated to the caller and can " "be used to support running tests under a debugger." msgstr "" -#: library/unittest.rst:1721 +#: library/unittest.rst:1724 msgid "" "Return the number of tests represented by this test object, including all " "individual tests and sub-suites." msgstr "" -#: library/unittest.rst:1727 +#: library/unittest.rst:1730 msgid "" "Tests grouped by a :class:`TestSuite` are always accessed by iteration. " "Subclasses can lazily provide tests by overriding :meth:`!__iter__`. Note " @@ -2369,31 +2369,31 @@ msgid "" "overrides :meth:`TestSuite._removeTestAtIndex` to preserve test references." msgstr "" -#: library/unittest.rst:1737 +#: library/unittest.rst:1740 msgid "" "In earlier versions the :class:`TestSuite` accessed tests directly rather " "than through iteration, so overriding :meth:`!__iter__` wasn't sufficient " "for providing tests." msgstr "" -#: library/unittest.rst:1742 +#: library/unittest.rst:1745 msgid "" "In earlier versions the :class:`TestSuite` held references to each :class:" "`TestCase` after :meth:`TestSuite.run`. Subclasses can restore that behavior " "by overriding :meth:`TestSuite._removeTestAtIndex`." msgstr "" -#: library/unittest.rst:1747 +#: library/unittest.rst:1750 msgid "" "In the typical usage of a :class:`TestSuite` object, the :meth:`run` method " "is invoked by a :class:`TestRunner` rather than by the end-user test harness." msgstr "" -#: library/unittest.rst:1752 +#: library/unittest.rst:1755 msgid "Loading and running tests" msgstr "" -#: library/unittest.rst:1756 +#: library/unittest.rst:1759 msgid "" "The :class:`TestLoader` class is used to create test suites from classes and " "modules. Normally, there is no need to create an instance of this class; " @@ -2402,11 +2402,11 @@ msgid "" "customization of some configurable properties." msgstr "" -#: library/unittest.rst:1762 +#: library/unittest.rst:1765 msgid ":class:`TestLoader` objects have the following attributes:" msgstr "" -#: library/unittest.rst:1767 +#: library/unittest.rst:1770 msgid "" "A list of the non-fatal errors encountered while loading tests. Not reset by " "the loader at any point. Fatal errors are signalled by the relevant method " @@ -2414,17 +2414,17 @@ msgid "" "synthetic test that will raise the original error when run." msgstr "" -#: library/unittest.rst:1776 +#: library/unittest.rst:1779 msgid ":class:`TestLoader` objects have the following methods:" msgstr "" -#: library/unittest.rst:1781 +#: library/unittest.rst:1784 msgid "" "Return a suite of all test cases contained in the :class:`TestCase`\\ -" "derived :class:`testCaseClass`." msgstr "" -#: library/unittest.rst:1784 +#: library/unittest.rst:1787 msgid "" "A test case instance is created for each method named by :meth:" "`getTestCaseNames`. By default these are the method names beginning with " @@ -2433,14 +2433,14 @@ msgid "" "method instead." msgstr "" -#: library/unittest.rst:1793 +#: library/unittest.rst:1796 msgid "" "Return a suite of all test cases contained in the given module. This method " "searches *module* for classes derived from :class:`TestCase` and creates an " "instance of the class for each test method defined for the class." msgstr "" -#: library/unittest.rst:1800 +#: library/unittest.rst:1803 msgid "" "While using a hierarchy of :class:`TestCase`\\ -derived classes can be " "convenient in sharing fixtures and helper functions, defining test methods " @@ -2449,7 +2449,7 @@ msgid "" "fixtures are different and defined in subclasses." msgstr "" -#: library/unittest.rst:1806 +#: library/unittest.rst:1809 msgid "" "If a module provides a ``load_tests`` function it will be called to load the " "tests. This allows modules to customize test loading. This is the " @@ -2457,24 +2457,24 @@ msgid "" "argument to ``load_tests``." msgstr "" -#: library/unittest.rst:1811 +#: library/unittest.rst:1814 msgid "Support for ``load_tests`` added." msgstr "" -#: library/unittest.rst:1814 +#: library/unittest.rst:1817 msgid "Support for a keyword-only argument *pattern* has been added." msgstr "" -#: library/unittest.rst:1817 +#: library/unittest.rst:1820 msgid "" "The undocumented and unofficial *use_load_tests* parameter has been removed." msgstr "" -#: library/unittest.rst:1824 +#: library/unittest.rst:1827 msgid "Return a suite of all test cases given a string specifier." msgstr "" -#: library/unittest.rst:1826 +#: library/unittest.rst:1829 msgid "" "The specifier *name* is a \"dotted name\" that may resolve either to a " "module, a test case class, a test method within a test case class, a :class:" @@ -2485,7 +2485,7 @@ msgid "" "object\"." msgstr "" -#: library/unittest.rst:1834 +#: library/unittest.rst:1837 msgid "" "For example, if you have a module :mod:`SampleTests` containing a :class:" "`TestCase`\\ -derived class :class:`SampleTestCase` with three test methods " @@ -2498,31 +2498,31 @@ msgid "" "a side-effect." msgstr "" -#: library/unittest.rst:1844 +#: library/unittest.rst:1847 msgid "The method optionally resolves *name* relative to the given *module*." msgstr "" -#: library/unittest.rst:1846 +#: library/unittest.rst:1849 msgid "" "If an :exc:`ImportError` or :exc:`AttributeError` occurs while traversing " "*name* then a synthetic test that raises that error when run will be " "returned. These errors are included in the errors accumulated by self.errors." msgstr "" -#: library/unittest.rst:1855 +#: library/unittest.rst:1858 msgid "" "Similar to :meth:`loadTestsFromName`, but takes a sequence of names rather " "than a single name. The return value is a test suite which supports all the " "tests defined for each name." msgstr "" -#: library/unittest.rst:1862 +#: library/unittest.rst:1865 msgid "" "Return a sorted sequence of method names found within *testCaseClass*; this " "should be a subclass of :class:`TestCase`." msgstr "" -#: library/unittest.rst:1868 +#: library/unittest.rst:1871 msgid "" "Find all the test modules by recursing into subdirectories from the " "specified start directory, and return a TestSuite object containing them. " @@ -2531,14 +2531,14 @@ msgid "" "Python identifiers) will be loaded." msgstr "" -#: library/unittest.rst:1874 +#: library/unittest.rst:1877 msgid "" "All test modules must be importable from the top level of the project. If " "the start directory is not the top level directory then *top_level_dir* must " "be specified separately." msgstr "" -#: library/unittest.rst:1878 +#: library/unittest.rst:1881 msgid "" "If importing a module fails, for example due to a syntax error, then this " "will be recorded as a single error and discovery will continue. If the " @@ -2546,7 +2546,7 @@ msgid "" "as a skip instead of an error." msgstr "" -#: library/unittest.rst:1883 +#: library/unittest.rst:1886 msgid "" "If a package (a directory containing a file named :file:`__init__.py`) is " "found, the package will be checked for a ``load_tests`` function. If this " @@ -2556,103 +2556,103 @@ msgid "" "itself calls ``loader.discover``." msgstr "" -#: library/unittest.rst:1891 +#: library/unittest.rst:1894 msgid "" "If ``load_tests`` exists then discovery does *not* recurse into the package, " "``load_tests`` is responsible for loading all tests in the package." msgstr "" -#: library/unittest.rst:1895 +#: library/unittest.rst:1898 msgid "" "The pattern is deliberately not stored as a loader attribute so that " "packages can continue discovery themselves." msgstr "" -#: library/unittest.rst:1898 +#: library/unittest.rst:1901 msgid "" "*top_level_dir* is stored internally, and used as a default to any nested " "calls to ``discover()``. That is, if a package's ``load_tests`` calls " "``loader.discover()``, it does not need to pass this argument." msgstr "" -#: library/unittest.rst:1902 +#: library/unittest.rst:1905 msgid "*start_dir* can be a dotted module name as well as a directory." msgstr "" -#: library/unittest.rst:1906 +#: library/unittest.rst:1909 msgid "" "Modules that raise :exc:`SkipTest` on import are recorded as skips, not " "errors." msgstr "" -#: library/unittest.rst:1910 +#: library/unittest.rst:1913 msgid "*start_dir* can be a :term:`namespace packages `." msgstr "" -#: library/unittest.rst:1913 +#: library/unittest.rst:1916 msgid "" "Paths are sorted before being imported so that execution order is the same " "even if the underlying file system's ordering is not dependent on file name." msgstr "" -#: library/unittest.rst:1918 +#: library/unittest.rst:1921 msgid "" "Found packages are now checked for ``load_tests`` regardless of whether " "their path matches *pattern*, because it is impossible for a package name to " "match the default pattern." msgstr "" -#: library/unittest.rst:1923 +#: library/unittest.rst:1926 msgid "" "*start_dir* can not be a :term:`namespace packages `. It " "has been broken since Python 3.7 and Python 3.11 officially remove it." msgstr "" -#: library/unittest.rst:1927 +#: library/unittest.rst:1930 msgid "*top_level_dir* is only stored for the duration of *discover* call." msgstr "" -#: library/unittest.rst:1931 +#: library/unittest.rst:1934 msgid "" "The following attributes of a :class:`TestLoader` can be configured either " "by subclassing or assignment on an instance:" msgstr "" -#: library/unittest.rst:1937 +#: library/unittest.rst:1940 msgid "" "String giving the prefix of method names which will be interpreted as test " "methods. The default value is ``'test'``." msgstr "" -#: library/unittest.rst:1940 +#: library/unittest.rst:1943 msgid "" "This affects :meth:`getTestCaseNames` and all the ``loadTestsFrom*`` methods." msgstr "" -#: library/unittest.rst:1946 +#: library/unittest.rst:1949 msgid "" "Function to be used to compare method names when sorting them in :meth:" "`getTestCaseNames` and all the ``loadTestsFrom*`` methods." msgstr "" -#: library/unittest.rst:1952 +#: library/unittest.rst:1955 msgid "" "Callable object that constructs a test suite from a list of tests. No " "methods on the resulting object are needed. The default value is the :class:" "`TestSuite` class." msgstr "" -#: library/unittest.rst:1969 +#: library/unittest.rst:1972 msgid "This affects all the ``loadTestsFrom*`` methods." msgstr "" -#: library/unittest.rst:1960 +#: library/unittest.rst:1963 msgid "" "List of Unix shell-style wildcard test name patterns that test methods have " "to match to be included in test suites (see ``-k`` option)." msgstr "" -#: library/unittest.rst:1963 +#: library/unittest.rst:1966 msgid "" "If this attribute is not ``None`` (the default), all test methods to be " "included in test suites must match one of the patterns in this list. Note " @@ -2661,13 +2661,13 @@ msgid "" "have to be converted using ``*`` wildcards." msgstr "" -#: library/unittest.rst:1976 +#: library/unittest.rst:1979 msgid "" "This class is used to compile information about which tests have succeeded " "and which have failed." msgstr "" -#: library/unittest.rst:1979 +#: library/unittest.rst:1982 msgid "" "A :class:`TestResult` object stores the results of a set of tests. The :" "class:`TestCase` and :class:`TestSuite` classes ensure that results are " @@ -2675,7 +2675,7 @@ msgid "" "outcome of tests." msgstr "" -#: library/unittest.rst:1984 +#: library/unittest.rst:1987 msgid "" "Testing frameworks built on top of :mod:`unittest` may want access to the :" "class:`TestResult` object generated by running a set of tests for reporting " @@ -2683,61 +2683,61 @@ msgid "" "`TestRunner.run` method for this purpose." msgstr "" -#: library/unittest.rst:1989 +#: library/unittest.rst:1992 msgid "" ":class:`TestResult` instances have the following attributes that will be of " "interest when inspecting the results of running a set of tests:" msgstr "" -#: library/unittest.rst:1995 +#: library/unittest.rst:1998 msgid "" "A list containing 2-tuples of :class:`TestCase` instances and strings " "holding formatted tracebacks. Each tuple represents a test which raised an " "unexpected exception." msgstr "" -#: library/unittest.rst:2001 +#: library/unittest.rst:2004 msgid "" "A list containing 2-tuples of :class:`TestCase` instances and strings " "holding formatted tracebacks. Each tuple represents a test where a failure " "was explicitly signalled using the :ref:`assert\\* methods `." msgstr "" -#: library/unittest.rst:2007 +#: library/unittest.rst:2010 msgid "" "A list containing 2-tuples of :class:`TestCase` instances and strings " "holding the reason for skipping the test." msgstr "" -#: library/unittest.rst:2014 +#: library/unittest.rst:2017 msgid "" "A list containing 2-tuples of :class:`TestCase` instances and strings " "holding formatted tracebacks. Each tuple represents an expected failure or " "error of the test case." msgstr "" -#: library/unittest.rst:2020 +#: library/unittest.rst:2023 msgid "" "A list containing :class:`TestCase` instances that were marked as expected " "failures, but succeeded." msgstr "" -#: library/unittest.rst:2025 +#: library/unittest.rst:2028 msgid "" "A list containing 2-tuples of test case names and floats representing the " "elapsed time of each test which was run." msgstr "" -#: library/unittest.rst:2032 +#: library/unittest.rst:2035 msgid "" "Set to ``True`` when the execution of tests should stop by :meth:`stop`." msgstr "" -#: library/unittest.rst:2036 +#: library/unittest.rst:2039 msgid "The total number of tests run so far." msgstr "" -#: library/unittest.rst:2040 +#: library/unittest.rst:2043 msgid "" "If set to true, ``sys.stdout`` and ``sys.stderr`` will be buffered in " "between :meth:`startTest` and :meth:`stopTest` being called. Collected " @@ -2746,29 +2746,29 @@ msgid "" "error message." msgstr "" -#: library/unittest.rst:2049 +#: library/unittest.rst:2052 msgid "" "If set to true :meth:`stop` will be called on the first failure or error, " "halting the test run." msgstr "" -#: library/unittest.rst:2056 +#: library/unittest.rst:2059 msgid "If set to true then local variables will be shown in tracebacks." msgstr "" -#: library/unittest.rst:2062 +#: library/unittest.rst:2065 msgid "" "Return ``True`` if all tests run so far have passed, otherwise returns " "``False``." msgstr "" -#: library/unittest.rst:2065 +#: library/unittest.rst:2068 msgid "" "Returns ``False`` if there were any :attr:`unexpectedSuccesses` from tests " "marked with the :func:`expectedFailure` decorator." msgstr "" -#: library/unittest.rst:2071 +#: library/unittest.rst:2074 msgid "" "This method can be called to signal that the set of tests being run should " "be aborted by setting the :attr:`shouldStop` attribute to ``True``. :class:" @@ -2776,7 +2776,7 @@ msgid "" "additional tests." msgstr "" -#: library/unittest.rst:2076 +#: library/unittest.rst:2079 msgid "" "For example, this feature is used by the :class:`TextTestRunner` class to " "stop the test framework when the user signals an interrupt from the " @@ -2784,7 +2784,7 @@ msgid "" "implementations can use this in a similar manner." msgstr "" -#: library/unittest.rst:2081 +#: library/unittest.rst:2084 msgid "" "The following methods of the :class:`TestResult` class are used to maintain " "the internal data structures, and may be extended in subclasses to support " @@ -2792,141 +2792,141 @@ msgid "" "tools which support interactive reporting while tests are being run." msgstr "" -#: library/unittest.rst:2089 +#: library/unittest.rst:2092 msgid "Called when the test case *test* is about to be run." msgstr "" -#: library/unittest.rst:2093 +#: library/unittest.rst:2096 msgid "" "Called after the test case *test* has been executed, regardless of the " "outcome." msgstr "" -#: library/unittest.rst:2098 +#: library/unittest.rst:2101 msgid "Called once before any tests are executed." msgstr "" -#: library/unittest.rst:2105 +#: library/unittest.rst:2108 msgid "Called once after all tests are executed." msgstr "" -#: library/unittest.rst:2112 +#: library/unittest.rst:2115 msgid "" "Called when the test case *test* raises an unexpected exception. *err* is a " "tuple of the form returned by :func:`sys.exc_info`: ``(type, value, " "traceback)``." msgstr "" -#: library/unittest.rst:2116 +#: library/unittest.rst:2119 msgid "" "The default implementation appends a tuple ``(test, formatted_err)`` to the " "instance's :attr:`errors` attribute, where *formatted_err* is a formatted " "traceback derived from *err*." msgstr "" -#: library/unittest.rst:2123 +#: library/unittest.rst:2126 msgid "" "Called when the test case *test* signals a failure. *err* is a tuple of the " "form returned by :func:`sys.exc_info`: ``(type, value, traceback)``." msgstr "" -#: library/unittest.rst:2126 +#: library/unittest.rst:2129 msgid "" "The default implementation appends a tuple ``(test, formatted_err)`` to the " "instance's :attr:`failures` attribute, where *formatted_err* is a formatted " "traceback derived from *err*." msgstr "" -#: library/unittest.rst:2133 +#: library/unittest.rst:2136 msgid "Called when the test case *test* succeeds." msgstr "" -#: library/unittest.rst:2135 +#: library/unittest.rst:2138 msgid "The default implementation does nothing." msgstr "" -#: library/unittest.rst:2140 +#: library/unittest.rst:2143 msgid "" "Called when the test case *test* is skipped. *reason* is the reason the " "test gave for skipping." msgstr "" -#: library/unittest.rst:2143 +#: library/unittest.rst:2146 msgid "" "The default implementation appends a tuple ``(test, reason)`` to the " "instance's :attr:`skipped` attribute." msgstr "" -#: library/unittest.rst:2149 +#: library/unittest.rst:2152 msgid "" "Called when the test case *test* fails or errors, but was marked with the :" "func:`expectedFailure` decorator." msgstr "" -#: library/unittest.rst:2152 +#: library/unittest.rst:2155 msgid "" "The default implementation appends a tuple ``(test, formatted_err)`` to the " "instance's :attr:`expectedFailures` attribute, where *formatted_err* is a " "formatted traceback derived from *err*." msgstr "" -#: library/unittest.rst:2159 +#: library/unittest.rst:2162 msgid "" "Called when the test case *test* was marked with the :func:`expectedFailure` " "decorator, but succeeded." msgstr "" -#: library/unittest.rst:2162 +#: library/unittest.rst:2165 msgid "" "The default implementation appends the test to the instance's :attr:" "`unexpectedSuccesses` attribute." msgstr "" -#: library/unittest.rst:2168 +#: library/unittest.rst:2171 msgid "" "Called when a subtest finishes. *test* is the test case corresponding to " "the test method. *subtest* is a custom :class:`TestCase` instance " "describing the subtest." msgstr "" -#: library/unittest.rst:2172 +#: library/unittest.rst:2175 msgid "" "If *outcome* is :const:`None`, the subtest succeeded. Otherwise, it failed " "with an exception where *outcome* is a tuple of the form returned by :func:" "`sys.exc_info`: ``(type, value, traceback)``." msgstr "" -#: library/unittest.rst:2176 +#: library/unittest.rst:2179 msgid "" "The default implementation does nothing when the outcome is a success, and " "records subtest failures as normal failures." msgstr "" -#: library/unittest.rst:2183 +#: library/unittest.rst:2186 msgid "" "Called when the test case finishes. *elapsed* is the time represented in " "seconds, and it includes the execution of cleanup functions." msgstr "" -#: library/unittest.rst:2190 +#: library/unittest.rst:2193 msgid "" "A concrete implementation of :class:`TestResult` used by the :class:" "`TextTestRunner`. Subclasses should accept ``**kwargs`` to ensure " "compatibility as the interface changes." msgstr "" -#: library/unittest.rst:2196 +#: library/unittest.rst:2199 msgid "Added the *durations* keyword parameter." msgstr "" -#: library/unittest.rst:2201 +#: library/unittest.rst:2204 msgid "" "Instance of the :class:`TestLoader` class intended to be shared. If no " "customization of the :class:`TestLoader` is needed, this instance can be " "used instead of repeatedly creating new instances." msgstr "" -#: library/unittest.rst:2210 +#: library/unittest.rst:2213 msgid "" "A basic test runner implementation that outputs results to a stream. If " "*stream* is ``None``, the default, :data:`sys.stderr` is used as the output " @@ -2937,7 +2937,7 @@ msgid "" "unittest." msgstr "" -#: library/unittest.rst:2217 +#: library/unittest.rst:2220 msgid "" "By default this runner shows :exc:`DeprecationWarning`, :exc:" "`PendingDeprecationWarning`, :exc:`ResourceWarning` and :exc:`ImportWarning` " @@ -2947,32 +2947,32 @@ msgid "" "``None``." msgstr "" -#: library/unittest.rst:2225 +#: library/unittest.rst:2228 msgid "Added the *warnings* parameter." msgstr "" -#: library/unittest.rst:2228 +#: library/unittest.rst:2231 msgid "" "The default stream is set to :data:`sys.stderr` at instantiation time rather " "than import time." msgstr "" -#: library/unittest.rst:2232 +#: library/unittest.rst:2235 msgid "Added the *tb_locals* parameter." msgstr "" -#: library/unittest.rst:2235 +#: library/unittest.rst:2238 msgid "Added the *durations* parameter." msgstr "" -#: library/unittest.rst:2240 +#: library/unittest.rst:2243 msgid "" "This method returns the instance of ``TestResult`` used by :meth:`run`. It " "is not intended to be called directly, but can be overridden in subclasses " "to provide a custom ``TestResult``." msgstr "" -#: library/unittest.rst:2244 +#: library/unittest.rst:2247 msgid "" "``_makeResult()`` instantiates the class or callable passed in the " "``TextTestRunner`` constructor as the ``resultclass`` argument. It defaults " @@ -2980,11 +2980,11 @@ msgid "" "class is instantiated with the following arguments::" msgstr "" -#: library/unittest.rst:2249 +#: library/unittest.rst:2252 msgid "stream, descriptions, verbosity" msgstr "" -#: library/unittest.rst:2253 +#: library/unittest.rst:2256 msgid "" "This method is the main public interface to the ``TextTestRunner``. This " "method takes a :class:`TestSuite` or :class:`TestCase` instance. A :class:" @@ -2992,7 +2992,7 @@ msgid "" "run and the results printed to stdout." msgstr "" -#: library/unittest.rst:2264 +#: library/unittest.rst:2267 msgid "" "A command-line program that loads a set of tests from *module* and runs " "them; this is primarily for making test modules conveniently executable. The " @@ -3000,25 +3000,25 @@ msgid "" "of a test script::" msgstr "" -#: library/unittest.rst:2269 +#: library/unittest.rst:2272 msgid "" "if __name__ == '__main__':\n" " unittest.main()" msgstr "" -#: library/unittest.rst:2272 +#: library/unittest.rst:2275 msgid "" "You can run tests with more detailed information by passing in the verbosity " "argument::" msgstr "" -#: library/unittest.rst:2275 +#: library/unittest.rst:2278 msgid "" "if __name__ == '__main__':\n" " unittest.main(verbosity=2)" msgstr "" -#: library/unittest.rst:2278 +#: library/unittest.rst:2281 msgid "" "The *defaultTest* argument is either the name of a single test or an " "iterable of test names to run if no test names are specified via *argv*. If " @@ -3026,14 +3026,14 @@ msgid "" "tests found in *module* are run." msgstr "" -#: library/unittest.rst:2283 +#: library/unittest.rst:2286 msgid "" "The *argv* argument can be a list of options passed to the program, with the " "first element being the program name. If not specified or ``None``, the " "values of :data:`sys.argv` are used." msgstr "" -#: library/unittest.rst:2287 +#: library/unittest.rst:2290 msgid "" "The *testRunner* argument can either be a test runner class or an already " "created instance of it. By default ``main`` calls :func:`sys.exit` with an " @@ -3041,32 +3041,32 @@ msgid "" "code of 5 indicates that no tests were run or skipped." msgstr "" -#: library/unittest.rst:2292 +#: library/unittest.rst:2295 msgid "" "The *testLoader* argument has to be a :class:`TestLoader` instance, and " "defaults to :data:`defaultTestLoader`." msgstr "" -#: library/unittest.rst:2295 +#: library/unittest.rst:2298 msgid "" "``main`` supports being used from the interactive interpreter by passing in " "the argument ``exit=False``. This displays the result on standard output " "without calling :func:`sys.exit`::" msgstr "" -#: library/unittest.rst:2299 +#: library/unittest.rst:2302 msgid "" ">>> from unittest import main\n" ">>> main(module='test_module', exit=False)" msgstr "" -#: library/unittest.rst:2302 +#: library/unittest.rst:2305 msgid "" "The *failfast*, *catchbreak* and *buffer* parameters have the same effect as " "the same-name `command-line options`_." msgstr "" -#: library/unittest.rst:2305 +#: library/unittest.rst:2308 msgid "" "The *warnings* argument specifies the :ref:`warning filter ` " "that should be used while running the tests. If it's not specified, it will " @@ -3075,60 +3075,60 @@ msgid "" "to ``'default'``." msgstr "" -#: library/unittest.rst:2311 +#: library/unittest.rst:2314 msgid "" "Calling ``main`` returns an object with the ``result`` attribute that " "contains the result of the tests run as a :class:`unittest.TestResult`." msgstr "" -#: library/unittest.rst:2314 +#: library/unittest.rst:2317 msgid "The *exit* parameter was added." msgstr "" -#: library/unittest.rst:2317 +#: library/unittest.rst:2320 msgid "" "The *verbosity*, *failfast*, *catchbreak*, *buffer* and *warnings* " "parameters were added." msgstr "" -#: library/unittest.rst:2321 +#: library/unittest.rst:2324 msgid "" "The *defaultTest* parameter was changed to also accept an iterable of test " "names." msgstr "" -#: library/unittest.rst:2329 +#: library/unittest.rst:2332 msgid "load_tests Protocol" msgstr "" -#: library/unittest.rst:2333 +#: library/unittest.rst:2336 msgid "" "Modules or packages can customize how tests are loaded from them during " "normal test runs or test discovery by implementing a function called " "``load_tests``." msgstr "" -#: library/unittest.rst:2336 +#: library/unittest.rst:2339 msgid "" "If a test module defines ``load_tests`` it will be called by :meth:" "`TestLoader.loadTestsFromModule` with the following arguments::" msgstr "" -#: library/unittest.rst:2371 +#: library/unittest.rst:2374 msgid "load_tests(loader, standard_tests, pattern)" msgstr "" -#: library/unittest.rst:2341 +#: library/unittest.rst:2344 msgid "" "where *pattern* is passed straight through from ``loadTestsFromModule``. It " "defaults to ``None``." msgstr "" -#: library/unittest.rst:2344 +#: library/unittest.rst:2347 msgid "It should return a :class:`TestSuite`." msgstr "" -#: library/unittest.rst:2346 +#: library/unittest.rst:2349 msgid "" "*loader* is the instance of :class:`TestLoader` doing the loading. " "*standard_tests* are the tests that would be loaded by default from the " @@ -3137,13 +3137,13 @@ msgid "" "packages as part of test discovery." msgstr "" -#: library/unittest.rst:2352 +#: library/unittest.rst:2355 msgid "" "A typical ``load_tests`` function that loads tests from a specific set of :" "class:`TestCase` classes may look like::" msgstr "" -#: library/unittest.rst:2355 +#: library/unittest.rst:2358 msgid "" "test_cases = (TestCase1, TestCase2, TestCase3)\n" "\n" @@ -3155,7 +3155,7 @@ msgid "" " return suite" msgstr "" -#: library/unittest.rst:2364 +#: library/unittest.rst:2367 msgid "" "If discovery is started in a directory containing a package, either from the " "command line or by calling :meth:`TestLoader.discover`, then the package :" @@ -3165,21 +3165,21 @@ msgid "" "left up to ``load_tests`` which is called with the following arguments::" msgstr "" -#: library/unittest.rst:2373 +#: library/unittest.rst:2376 msgid "" "This should return a :class:`TestSuite` representing all the tests from the " "package. (``standard_tests`` will only contain tests collected from :file:" "`__init__.py`.)" msgstr "" -#: library/unittest.rst:2377 +#: library/unittest.rst:2380 msgid "" "Because the pattern is passed into ``load_tests`` the package is free to " "continue (and potentially modify) test discovery. A 'do nothing' " "``load_tests`` function for a test package would look like::" msgstr "" -#: library/unittest.rst:2381 +#: library/unittest.rst:2384 msgid "" "def load_tests(loader, standard_tests, pattern):\n" " # top level directory cached on loader instance\n" @@ -3189,17 +3189,17 @@ msgid "" " return standard_tests" msgstr "" -#: library/unittest.rst:2388 +#: library/unittest.rst:2391 msgid "" "Discovery no longer checks package names for matching *pattern* due to the " "impossibility of package names matching the default pattern." msgstr "" -#: library/unittest.rst:2395 +#: library/unittest.rst:2398 msgid "Class and Module Fixtures" msgstr "" -#: library/unittest.rst:2397 +#: library/unittest.rst:2400 msgid "" "Class and module level fixtures are implemented in :class:`TestSuite`. When " "the test suite encounters a test from a new class then :meth:`tearDownClass` " @@ -3207,27 +3207,27 @@ msgid "" "`setUpClass` from the new class." msgstr "" -#: library/unittest.rst:2402 +#: library/unittest.rst:2405 msgid "" "Similarly if a test is from a different module from the previous test then " "``tearDownModule`` from the previous module is run, followed by " "``setUpModule`` from the new module." msgstr "" -#: library/unittest.rst:2406 +#: library/unittest.rst:2409 msgid "" "After all the tests have run the final ``tearDownClass`` and " "``tearDownModule`` are run." msgstr "" -#: library/unittest.rst:2409 +#: library/unittest.rst:2412 msgid "" "Note that shared fixtures do not play well with [potential] features like " "test parallelization and they break test isolation. They should be used with " "care." msgstr "" -#: library/unittest.rst:2412 +#: library/unittest.rst:2415 msgid "" "The default ordering of tests created by the unittest test loaders is to " "group all tests from the same modules and classes together. This will lead " @@ -3237,14 +3237,14 @@ msgid "" "functions may be called multiple times in a single test run." msgstr "" -#: library/unittest.rst:2419 +#: library/unittest.rst:2422 msgid "" "Shared fixtures are not intended to work with suites with non-standard " "ordering. A ``BaseTestSuite`` still exists for frameworks that don't want to " "support shared fixtures." msgstr "" -#: library/unittest.rst:2423 +#: library/unittest.rst:2426 msgid "" "If there are any exceptions raised during one of the shared fixture " "functions the test is reported as an error. Because there is no " @@ -3254,15 +3254,15 @@ msgid "" "matter, but if you are a framework author it may be relevant." msgstr "" -#: library/unittest.rst:2432 +#: library/unittest.rst:2435 msgid "setUpClass and tearDownClass" msgstr "" -#: library/unittest.rst:2434 +#: library/unittest.rst:2437 msgid "These must be implemented as class methods::" msgstr "" -#: library/unittest.rst:2436 +#: library/unittest.rst:2439 msgid "" "import unittest\n" "\n" @@ -3276,14 +3276,14 @@ msgid "" " cls._connection.destroy()" msgstr "" -#: library/unittest.rst:2447 +#: library/unittest.rst:2450 msgid "" "If you want the ``setUpClass`` and ``tearDownClass`` on base classes called " "then you must call up to them yourself. The implementations in :class:" "`TestCase` are empty." msgstr "" -#: library/unittest.rst:2451 +#: library/unittest.rst:2454 msgid "" "If an exception is raised during a ``setUpClass`` then the tests in the " "class are not run and the ``tearDownClass`` is not run. Skipped classes will " @@ -3292,15 +3292,15 @@ msgid "" "instead of as an error." msgstr "" -#: library/unittest.rst:2459 +#: library/unittest.rst:2462 msgid "setUpModule and tearDownModule" msgstr "" -#: library/unittest.rst:2461 +#: library/unittest.rst:2464 msgid "These should be implemented as functions::" msgstr "" -#: library/unittest.rst:2463 +#: library/unittest.rst:2466 msgid "" "def setUpModule():\n" " createConnection()\n" @@ -3309,7 +3309,7 @@ msgid "" " closeConnection()" msgstr "" -#: library/unittest.rst:2469 +#: library/unittest.rst:2472 msgid "" "If an exception is raised in a ``setUpModule`` then none of the tests in the " "module will be run and the ``tearDownModule`` will not be run. If the " @@ -3317,13 +3317,13 @@ msgid "" "having been skipped instead of as an error." msgstr "" -#: library/unittest.rst:2474 +#: library/unittest.rst:2477 msgid "" "To add cleanup code that must be run even in the case of an exception, use " "``addModuleCleanup``:" msgstr "" -#: library/unittest.rst:2480 +#: library/unittest.rst:2483 msgid "" "Add a function to be called after :func:`tearDownModule` to cleanup " "resources used during the test class. Functions will be called in reverse " @@ -3332,13 +3332,13 @@ msgid "" "`addModuleCleanup` when they are added." msgstr "" -#: library/unittest.rst:2486 +#: library/unittest.rst:2489 msgid "" "If :meth:`setUpModule` fails, meaning that :func:`tearDownModule` is not " "called, then any cleanup functions added will still be called." msgstr "" -#: library/unittest.rst:2494 +#: library/unittest.rst:2497 msgid "" "Enter the supplied :term:`context manager`. If successful, also add its :" "meth:`~object.__exit__` method as a cleanup function by :func:" @@ -3346,30 +3346,30 @@ msgid "" "method." msgstr "" -#: library/unittest.rst:2504 +#: library/unittest.rst:2507 msgid "" "This function is called unconditionally after :func:`tearDownModule`, or " "after :func:`setUpModule` if :func:`setUpModule` raises an exception." msgstr "" -#: library/unittest.rst:2507 +#: library/unittest.rst:2510 msgid "" "It is responsible for calling all the cleanup functions added by :func:" "`addModuleCleanup`. If you need cleanup functions to be called *prior* to :" "func:`tearDownModule` then you can call :func:`doModuleCleanups` yourself." msgstr "" -#: library/unittest.rst:2512 +#: library/unittest.rst:2515 msgid "" ":func:`doModuleCleanups` pops methods off the stack of cleanup functions one " "at a time, so it can be called at any time." msgstr "" -#: library/unittest.rst:2519 +#: library/unittest.rst:2522 msgid "Signal Handling" msgstr "" -#: library/unittest.rst:2523 +#: library/unittest.rst:2526 msgid "" "The :option:`-c/--catch ` command-line option to unittest, " "along with the ``catchbreak`` parameter to :func:`unittest.main`, provide " @@ -3379,7 +3379,7 @@ msgid "" "A second control-c will raise a :exc:`KeyboardInterrupt` in the usual way." msgstr "" -#: library/unittest.rst:2530 +#: library/unittest.rst:2533 msgid "" "The control-c handling signal handler attempts to remain compatible with " "code or tests that install their own :const:`signal.SIGINT` handler. If the " @@ -3391,48 +3391,48 @@ msgid "" "disabled the :func:`removeHandler` decorator can be used." msgstr "" -#: library/unittest.rst:2539 +#: library/unittest.rst:2542 msgid "" "There are a few utility functions for framework authors to enable control-c " "handling functionality within test frameworks." msgstr "" -#: library/unittest.rst:2544 +#: library/unittest.rst:2547 msgid "" "Install the control-c handler. When a :const:`signal.SIGINT` is received " "(usually in response to the user pressing control-c) all registered results " "have :meth:`~TestResult.stop` called." msgstr "" -#: library/unittest.rst:2551 +#: library/unittest.rst:2554 msgid "" "Register a :class:`TestResult` object for control-c handling. Registering a " "result stores a weak reference to it, so it doesn't prevent the result from " "being garbage collected." msgstr "" -#: library/unittest.rst:2555 +#: library/unittest.rst:2558 msgid "" "Registering a :class:`TestResult` object has no side-effects if control-c " "handling is not enabled, so test frameworks can unconditionally register all " "results they create independently of whether or not handling is enabled." msgstr "" -#: library/unittest.rst:2562 +#: library/unittest.rst:2565 msgid "" "Remove a registered result. Once a result has been removed then :meth:" "`~TestResult.stop` will no longer be called on that result object in " "response to a control-c." msgstr "" -#: library/unittest.rst:2569 +#: library/unittest.rst:2572 msgid "" "When called without arguments this function removes the control-c handler if " "it has been installed. This function can also be used as a test decorator to " "temporarily remove the handler while the test is being executed::" msgstr "" -#: library/unittest.rst:2573 +#: library/unittest.rst:2576 msgid "" "@unittest.removeHandler\n" "def test_signal_handling(self):\n" diff --git a/library/unix.po b/library/unix.po index 26682f84..e56f6031 100644 --- a/library/unix.po +++ b/library/unix.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/urllib.error.po b/library/urllib.error.po index 5d0c77e7..e52c7425 100644 --- a/library/urllib.error.po +++ b/library/urllib.error.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/urllib.parse.po b/library/urllib.parse.po index c4e12048..f2effb64 100644 --- a/library/urllib.parse.po +++ b/library/urllib.parse.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/urllib.po b/library/urllib.po index 0ee6fcb4..78364396 100644 --- a/library/urllib.po +++ b/library/urllib.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/library/urllib.request.po b/library/urllib.request.po index 2fc0a558..fa8aba82 100644 --- a/library/urllib.request.po +++ b/library/urllib.request.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -1357,7 +1357,7 @@ msgstr "" #: library/urllib.request.rst:1210 msgid "" "This example gets the python.org main page and displays the first 300 bytes " -"of it. ::" +"of it::" msgstr "" #: library/urllib.request.rst:1213 @@ -1366,16 +1366,13 @@ msgid "" ">>> with urllib.request.urlopen('http://www.python.org/') as f:\n" "... print(f.read(300))\n" "...\n" -"b'\\n\\n\\n\\n\\n\\n\n" -"\\n\n" -"Python Programming '" +"b'<!doctype html>\\n<!--[if lt IE 7]> <html class=\"no-js ie6 lt-ie7 lt-" +"ie8 lt-ie9\"> <![endif]-->\\n<!--[if IE 7]> <html class=\"no-js ie7 " +"lt-ie8 lt-ie9\"> <![endif]-->\\n<!--[if IE 8]> <html " +"class=\"no-js ie8 lt-ie9\">" msgstr "" -#: library/urllib.request.rst:1223 +#: library/urllib.request.rst:1219 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 " @@ -1384,51 +1381,65 @@ msgid "" "appropriate encoding." msgstr "" -#: library/urllib.request.rst:1229 +#: library/urllib.request.rst:1225 msgid "" -"The following W3C document, https://www.w3.org/International/O-charset\\ , " -"lists the various ways in which an (X)HTML or an XML document could have " +"The following HTML spec document, https://html.spec.whatwg.org/#charset, " +"lists the various ways in which an HTML or an XML document could have " "specified its encoding information." msgstr "" -#: library/urllib.request.rst:1233 +#: library/urllib.request.rst:1229 +msgid "" +"For additional information, see the W3C document: https://www.w3.org/" +"International/questions/qa-html-encoding-declarations." +msgstr "" + +#: library/urllib.request.rst:1231 msgid "" "As the python.org website uses *utf-8* encoding as specified in its meta " -"tag, we will use the same for decoding the bytes object. ::" +"tag, we will use the same for decoding the bytes object::" msgstr "" -#: library/urllib.request.rst:1236 +#: library/urllib.request.rst:1234 msgid "" ">>> with urllib.request.urlopen('http://www.python.org/') as f:\n" "... print(f.read(100).decode('utf-8'))\n" "...\n" -"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n" -"\"http://www.w3.org/TR/xhtml1/DTD/xhtm" +"<!doctype html>\n" +"<!--[if lt IE 7]> <html class=\"no-js ie6 lt-ie7 lt-ie8 lt-ie9\"> <!" +"[endif]-->\n" +"<!-" msgstr "" -#: library/urllib.request.rst:1242 +#: library/urllib.request.rst:1241 msgid "" "It is also possible to achieve the same result without using the :term:" -"`context manager` approach. ::" +"`context manager` approach::" msgstr "" -#: library/urllib.request.rst:1245 +#: library/urllib.request.rst:1244 msgid "" ">>> import urllib.request\n" ">>> f = urllib.request.urlopen('http://www.python.org/')\n" -">>> print(f.read(100).decode('utf-8'))\n" -"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n" -"\"http://www.w3.org/TR/xhtml1/DTD/xhtm" +">>> try:\n" +"... print(f.read(100).decode('utf-8'))\n" +"... finally:\n" +"... f.close()\n" +"...\n" +"<!doctype html>\n" +"<!--[if lt IE 7]> <html class=\"no-js ie6 lt-ie7 lt-ie8 lt-ie9\"> <!" +"[endif]-->\n" +"<!--" msgstr "" -#: library/urllib.request.rst:1251 +#: library/urllib.request.rst:1255 msgid "" "In the following example, we are sending a data-stream to the stdin of a CGI " "and reading the data it returns to us. Note that this example will only work " "when the Python installation supports SSL. ::" msgstr "" -#: library/urllib.request.rst:1255 +#: library/urllib.request.rst:1259 msgid "" ">>> import urllib.request\n" ">>> req = urllib.request.Request(url='https://localhost/cgi-bin/test.cgi',\n" @@ -1439,11 +1450,11 @@ msgid "" "Got Data: \"This data is passed to stdin of the CGI\"" msgstr "" -#: library/urllib.request.rst:1263 +#: library/urllib.request.rst:1267 msgid "The code for the sample CGI used in the above example is::" msgstr "" -#: library/urllib.request.rst:1265 +#: library/urllib.request.rst:1269 msgid "" "#!/usr/bin/env python\n" "import sys\n" @@ -1451,11 +1462,11 @@ msgid "" "print('Content-type: text/plain\\n\\nGot Data: \"%s\"' % data)" msgstr "" -#: library/urllib.request.rst:1270 +#: library/urllib.request.rst:1274 msgid "Here is an example of doing a ``PUT`` request using :class:`Request`::" msgstr "" -#: library/urllib.request.rst:1272 +#: library/urllib.request.rst:1276 msgid "" "import urllib.request\n" "DATA = b'some data'\n" @@ -1467,11 +1478,11 @@ msgid "" "print(f.reason)" msgstr "" -#: library/urllib.request.rst:1280 +#: library/urllib.request.rst:1284 msgid "Use of Basic HTTP Authentication::" msgstr "" -#: library/urllib.request.rst:1282 +#: library/urllib.request.rst:1286 msgid "" "import urllib.request\n" "# Create an OpenerDirector with support for Basic HTTP Authentication...\n" @@ -1483,10 +1494,11 @@ msgid "" "opener = urllib.request.build_opener(auth_handler)\n" "# ...and install it globally so it can be used with urlopen.\n" "urllib.request.install_opener(opener)\n" -"urllib.request.urlopen('http://www.example.com/login.html')" +"with urllib.request.urlopen('http://www.example.com/login.html') as f:\n" +" print(f.read().decode('utf-8'))" msgstr "" -#: library/urllib.request.rst:1294 +#: library/urllib.request.rst:1299 msgid "" ":func:`build_opener` provides many handlers by default, including a :class:" "`ProxyHandler`. By default, :class:`ProxyHandler` uses the environment " @@ -1495,14 +1507,14 @@ msgid "" "read to obtain the HTTP proxy's URL." msgstr "" -#: library/urllib.request.rst:1300 +#: library/urllib.request.rst:1305 msgid "" "This example replaces the default :class:`ProxyHandler` with one that uses " "programmatically supplied proxy URLs, and adds proxy authorization support " "with :class:`ProxyBasicAuthHandler`. ::" msgstr "" -#: library/urllib.request.rst:1304 +#: library/urllib.request.rst:1309 msgid "" "proxy_handler = urllib.request.ProxyHandler({'http': 'http://www.example." "com:3128/'})\n" @@ -1511,55 +1523,58 @@ msgid "" "\n" "opener = urllib.request.build_opener(proxy_handler, proxy_auth_handler)\n" "# This time, rather than install the OpenerDirector, we use it directly:\n" -"opener.open('http://www.example.com/login.html')" +"with opener.open('http://www.example.com/login.html') as f:\n" +" print(f.read().decode('utf-8'))" msgstr "" -#: library/urllib.request.rst:1312 +#: library/urllib.request.rst:1318 msgid "Adding HTTP headers:" msgstr "" -#: library/urllib.request.rst:1314 +#: library/urllib.request.rst:1320 msgid "Use the *headers* argument to the :class:`Request` constructor, or::" msgstr "" -#: library/urllib.request.rst:1316 +#: library/urllib.request.rst:1322 msgid "" "import urllib.request\n" "req = urllib.request.Request('http://www.example.com/')\n" "req.add_header('Referer', 'http://www.python.org/')\n" "# Customize the default User-Agent header value:\n" "req.add_header('User-Agent', 'urllib-example/0.1 (Contact: . . .)')\n" -"r = urllib.request.urlopen(req)" +"with urllib.request.urlopen(req) as f:\n" +" print(f.read().decode('utf-8'))" msgstr "" -#: library/urllib.request.rst:1323 +#: library/urllib.request.rst:1331 msgid "" ":class:`OpenerDirector` automatically adds a :mailheader:`User-Agent` header " "to every :class:`Request`. To change this::" msgstr "" -#: library/urllib.request.rst:1326 +#: library/urllib.request.rst:1334 msgid "" "import urllib.request\n" "opener = urllib.request.build_opener()\n" "opener.addheaders = [('User-agent', 'Mozilla/5.0')]\n" -"opener.open('http://www.example.com/')" +"with opener.open('http://www.example.com/') as f:\n" +" print(f.read().decode('utf-8'))" msgstr "" -#: library/urllib.request.rst:1331 +#: library/urllib.request.rst:1340 msgid "" "Also, remember that a few standard headers (:mailheader:`Content-Length`, :" "mailheader:`Content-Type` and :mailheader:`Host`) are added when the :class:" "`Request` is passed to :func:`urlopen` (or :meth:`OpenerDirector.open`)." msgstr "" -#: library/urllib.request.rst:1338 +#: library/urllib.request.rst:1347 msgid "" "Here is an example session that uses the ``GET`` method to retrieve a URL " "containing parameters::" msgstr "" -#: library/urllib.request.rst:1341 +#: library/urllib.request.rst:1350 msgid "" ">>> import urllib.request\n" ">>> import urllib.parse\n" @@ -1570,14 +1585,14 @@ msgid "" "..." msgstr "" -#: library/urllib.request.rst:1349 +#: library/urllib.request.rst:1358 msgid "" "The following example uses the ``POST`` method instead. Note that params " "output from urlencode is encoded to bytes before it is sent to urlopen as " "data::" msgstr "" -#: library/urllib.request.rst:1352 +#: library/urllib.request.rst:1361 msgid "" ">>> import urllib.request\n" ">>> import urllib.parse\n" @@ -1589,13 +1604,13 @@ msgid "" "..." msgstr "" -#: library/urllib.request.rst:1360 +#: library/urllib.request.rst:1369 msgid "" "The following example uses an explicitly specified HTTP proxy, overriding " "environment settings::" msgstr "" -#: library/urllib.request.rst:1363 +#: library/urllib.request.rst:1372 msgid "" ">>> import urllib.request\n" ">>> proxies = {'http': 'http://proxy.example.com:8080/'}\n" @@ -1605,13 +1620,13 @@ msgid "" "..." msgstr "" -#: library/urllib.request.rst:1370 +#: library/urllib.request.rst:1379 msgid "" "The following example uses no proxies at all, overriding environment " "settings::" msgstr "" -#: library/urllib.request.rst:1372 +#: library/urllib.request.rst:1381 msgid "" ">>> import urllib.request\n" ">>> opener = urllib.request.FancyURLopener({})\n" @@ -1620,18 +1635,18 @@ msgid "" "..." msgstr "" -#: library/urllib.request.rst:1380 +#: library/urllib.request.rst:1389 msgid "Legacy interface" msgstr "" -#: library/urllib.request.rst:1382 +#: library/urllib.request.rst:1391 msgid "" "The following functions and classes are ported from the Python 2 module " "``urllib`` (as opposed to ``urllib2``). They might become deprecated at " "some point in the future." msgstr "" -#: library/urllib.request.rst:1388 +#: library/urllib.request.rst:1397 msgid "" "Copy a network object denoted by a URL to a local file. If the URL points to " "a local file, the object will not be copied unless filename is supplied. " @@ -1641,7 +1656,7 @@ msgid "" "a remote object). Exceptions are the same as for :func:`urlopen`." msgstr "" -#: library/urllib.request.rst:1395 +#: library/urllib.request.rst:1404 msgid "" "The second argument, if present, specifies the file location to copy to (if " "absent, the location will be a tempfile with a generated name). The third " @@ -1653,11 +1668,11 @@ msgid "" "file size in response to a retrieval request." msgstr "" -#: library/urllib.request.rst:1404 +#: library/urllib.request.rst:1413 msgid "The following example illustrates the most common usage scenario::" msgstr "" -#: library/urllib.request.rst:1406 +#: library/urllib.request.rst:1415 msgid "" ">>> import urllib.request\n" ">>> local_filename, headers = urllib.request.urlretrieve('http://python." @@ -1666,7 +1681,7 @@ msgid "" ">>> html.close()" msgstr "" -#: library/urllib.request.rst:1411 +#: library/urllib.request.rst:1420 msgid "" "If the *url* uses the :file:`http:` scheme identifier, the optional *data* " "argument may be given to specify a ``POST`` request (normally the request " @@ -1675,7 +1690,7 @@ msgid "" "parse.urlencode` function." msgstr "" -#: library/urllib.request.rst:1417 +#: library/urllib.request.rst:1426 msgid "" ":func:`urlretrieve` will raise :exc:`~urllib.error.ContentTooShortError` " "when it detects that the amount of data available was less than the " @@ -1683,40 +1698,40 @@ msgid "" "This can occur, for example, when the download is interrupted." msgstr "" -#: library/urllib.request.rst:1422 +#: library/urllib.request.rst:1431 msgid "" "The *Content-Length* is treated as a lower bound: if there's more data to " "read, urlretrieve reads more data, but if less data is available, it raises " "the exception." msgstr "" -#: library/urllib.request.rst:1426 +#: library/urllib.request.rst:1435 msgid "" "You can still retrieve the downloaded data in this case, it is stored in " "the :attr:`!content` attribute of the exception instance." msgstr "" -#: library/urllib.request.rst:1429 +#: library/urllib.request.rst:1438 msgid "" "If no *Content-Length* header was supplied, urlretrieve can not check the " "size of the data it has downloaded, and just returns it. In this case you " "just have to assume that the download was successful." msgstr "" -#: library/urllib.request.rst:1435 +#: library/urllib.request.rst:1444 msgid "" "Cleans up temporary files that may have been left behind by previous calls " "to :func:`urlretrieve`." msgstr "" -#: library/urllib.request.rst:1442 +#: library/urllib.request.rst:1451 msgid "" "Base class for opening and reading URLs. Unless you need to support opening " "objects using schemes other than :file:`http:`, :file:`ftp:`, or :file:`file:" "`, you probably want to use :class:`FancyURLopener`." msgstr "" -#: library/urllib.request.rst:1446 +#: library/urllib.request.rst:1455 msgid "" "By default, the :class:`URLopener` class sends a :mailheader:`User-Agent` " "header of ``urllib/VVV``, where *VVV* is the :mod:`urllib` version number. " @@ -1726,7 +1741,7 @@ msgid "" "subclass definition." msgstr "" -#: library/urllib.request.rst:1452 +#: library/urllib.request.rst:1461 msgid "" "The optional *proxies* parameter should be a dictionary mapping scheme names " "to proxy URLs, where an empty dictionary turns proxies off completely. Its " @@ -1734,7 +1749,7 @@ msgid "" "be used if present, as discussed in the definition of :func:`urlopen`, above." msgstr "" -#: library/urllib.request.rst:1457 +#: library/urllib.request.rst:1466 msgid "" "Additional keyword parameters, collected in *x509*, may be used for " "authentication of the client when using the :file:`https:` scheme. The " @@ -1742,13 +1757,13 @@ msgid "" "certificate; both are needed to support client authentication." msgstr "" -#: library/urllib.request.rst:1462 +#: library/urllib.request.rst:1471 msgid "" ":class:`URLopener` objects will raise an :exc:`OSError` exception if the " "server returns an error code." msgstr "" -#: library/urllib.request.rst:1467 +#: library/urllib.request.rst:1476 msgid "" "Open *fullurl* using the appropriate protocol. This method sets up cache " "and proxy information, then calls the appropriate open method with its input " @@ -1757,15 +1772,15 @@ msgid "" "`urlopen`." msgstr "" -#: library/urllib.request.rst:1473 +#: library/urllib.request.rst:1482 msgid "This method always quotes *fullurl* using :func:`~urllib.parse.quote`." msgstr "" -#: library/urllib.request.rst:1477 +#: library/urllib.request.rst:1486 msgid "Overridable interface to open unknown URL types." msgstr "" -#: library/urllib.request.rst:1482 +#: library/urllib.request.rst:1491 msgid "" "Retrieves the contents of *url* and places it in *filename*. The return " "value is a tuple consisting of a local filename and either an :class:`email." @@ -1782,7 +1797,7 @@ msgid "" "*reporthook* is ignored for local URLs." msgstr "" -#: library/urllib.request.rst:1495 +#: library/urllib.request.rst:1504 msgid "" "If the *url* uses the :file:`http:` scheme identifier, the optional *data* " "argument may be given to specify a ``POST`` request (normally the request " @@ -1791,7 +1806,7 @@ msgid "" "urlencode` function." msgstr "" -#: library/urllib.request.rst:1504 +#: library/urllib.request.rst:1513 msgid "" "Variable that specifies the user agent of the opener object. To get :mod:" "`urllib` to tell servers that it is a particular user agent, set this in a " @@ -1799,7 +1814,7 @@ msgid "" "constructor." msgstr "" -#: library/urllib.request.rst:1514 +#: library/urllib.request.rst:1523 msgid "" ":class:`FancyURLopener` subclasses :class:`URLopener` providing default " "handling for the following HTTP response codes: 301, 302, 303, 307 and 401. " @@ -1810,14 +1825,14 @@ msgid "" "defaults to 10." msgstr "" -#: library/urllib.request.rst:1521 +#: library/urllib.request.rst:1530 msgid "" "For all other response codes, the method :meth:`~BaseHandler." "http_error_default` is called which you can override in subclasses to handle " "the error appropriately." msgstr "" -#: library/urllib.request.rst:1526 +#: library/urllib.request.rst:1535 msgid "" "According to the letter of :rfc:`2616`, 301 and 302 responses to POST " "requests must not be automatically redirected without confirmation by the " @@ -1826,13 +1841,13 @@ msgid "" "behaviour." msgstr "" -#: library/urllib.request.rst:1531 +#: library/urllib.request.rst:1540 msgid "" "The parameters to the constructor are the same as those for :class:" "`URLopener`." msgstr "" -#: library/urllib.request.rst:1535 +#: library/urllib.request.rst:1544 msgid "" "When performing basic authentication, a :class:`FancyURLopener` instance " "calls its :meth:`prompt_user_passwd` method. The default implementation " @@ -1841,59 +1856,59 @@ msgid "" "needed." msgstr "" -#: library/urllib.request.rst:1540 +#: library/urllib.request.rst:1549 msgid "" "The :class:`FancyURLopener` class offers one additional method that should " "be overloaded to provide the appropriate behavior:" msgstr "" -#: library/urllib.request.rst:1545 +#: library/urllib.request.rst:1554 msgid "" "Return information needed to authenticate the user at the given host in the " "specified security realm. The return value should be a tuple, ``(user, " "password)``, which can be used for basic authentication." msgstr "" -#: library/urllib.request.rst:1549 +#: library/urllib.request.rst:1558 msgid "" "The implementation prompts for this information on the terminal; an " "application should override this method to use an appropriate interaction " "model in the local environment." msgstr "" -#: library/urllib.request.rst:1555 +#: library/urllib.request.rst:1564 msgid ":mod:`urllib.request` Restrictions" msgstr "" -#: library/urllib.request.rst:1561 +#: library/urllib.request.rst:1570 msgid "" "Currently, only the following protocols are supported: HTTP (versions 0.9 " "and 1.0), FTP, local files, and data URLs." msgstr "" -#: library/urllib.request.rst:1564 +#: library/urllib.request.rst:1573 msgid "Added support for data URLs." msgstr "" -#: library/urllib.request.rst:1566 +#: library/urllib.request.rst:1575 msgid "" "The caching feature of :func:`urlretrieve` has been disabled until someone " "finds the time to hack proper processing of Expiration time headers." msgstr "" -#: library/urllib.request.rst:1569 +#: library/urllib.request.rst:1578 msgid "" "There should be a function to query whether a particular URL is in the cache." msgstr "" -#: library/urllib.request.rst:1571 +#: library/urllib.request.rst:1580 msgid "" "For backward compatibility, if a URL appears to point to a local file but " "the file can't be opened, the URL is re-interpreted using the FTP protocol. " "This can sometimes cause confusing error messages." msgstr "" -#: library/urllib.request.rst:1575 +#: library/urllib.request.rst:1584 msgid "" "The :func:`urlopen` and :func:`urlretrieve` functions can cause arbitrarily " "long delays while waiting for a network connection to be set up. This means " @@ -1901,7 +1916,7 @@ msgid "" "functions without using threads." msgstr "" -#: library/urllib.request.rst:1584 +#: library/urllib.request.rst:1593 msgid "" "The data returned by :func:`urlopen` or :func:`urlretrieve` is the raw data " "returned by the server. This may be binary data (such as an image), plain " @@ -1911,7 +1926,7 @@ msgid "" "module :mod:`html.parser` to parse it." msgstr "" -#: library/urllib.request.rst:1593 +#: library/urllib.request.rst:1602 msgid "" "The code handling the FTP protocol cannot differentiate between a file and a " "directory. This can lead to unexpected behavior when attempting to read a " @@ -1929,11 +1944,11 @@ msgid "" "meet your needs." msgstr "" -#: library/urllib.request.rst:1610 +#: library/urllib.request.rst:1619 msgid ":mod:`urllib.response` --- Response classes used by urllib" msgstr "" -#: library/urllib.request.rst:1615 +#: library/urllib.request.rst:1624 msgid "" "The :mod:`urllib.response` module defines functions and classes which define " "a minimal file-like interface, including ``read()`` and ``readline()``. " @@ -1942,46 +1957,46 @@ msgid "" "addinfourl` instance:" msgstr "" -#: library/urllib.request.rst:1624 +#: library/urllib.request.rst:1633 msgid "" "URL of the resource retrieved, commonly used to determine if a redirect was " "followed." msgstr "" -#: library/urllib.request.rst:1628 +#: library/urllib.request.rst:1637 msgid "" "Returns the headers of the response in the form of an :class:`~email.message." "EmailMessage` instance." msgstr "" -#: library/urllib.request.rst:1634 +#: library/urllib.request.rst:1643 msgid "Status code returned by server." msgstr "" -#: library/urllib.request.rst:1638 +#: library/urllib.request.rst:1647 msgid "Deprecated in favor of :attr:`~addinfourl.url`." msgstr "" -#: library/urllib.request.rst:1643 +#: library/urllib.request.rst:1652 msgid "Deprecated in favor of :attr:`~addinfourl.headers`." msgstr "" -#: library/urllib.request.rst:1648 library/urllib.request.rst:1653 +#: library/urllib.request.rst:1657 library/urllib.request.rst:1662 msgid "Deprecated in favor of :attr:`~addinfourl.status`." msgstr "" -#: library/urllib.request.rst:1557 library/urllib.request.rst:1580 +#: library/urllib.request.rst:1566 library/urllib.request.rst:1589 msgid "HTTP" msgstr "" -#: library/urllib.request.rst:1557 library/urllib.request.rst:1580 +#: library/urllib.request.rst:1566 library/urllib.request.rst:1589 msgid "protocol" msgstr "" -#: library/urllib.request.rst:1557 library/urllib.request.rst:1591 +#: library/urllib.request.rst:1566 library/urllib.request.rst:1600 msgid "FTP" msgstr "" -#: library/urllib.request.rst:1580 +#: library/urllib.request.rst:1589 msgid "HTML" msgstr "" diff --git a/library/urllib.robotparser.po b/library/urllib.robotparser.po index 495d839f..f3c9704b 100644 --- a/library/urllib.robotparser.po +++ b/library/urllib.robotparser.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/library/uu.po b/library/uu.po index 817e6cbc..bab919c1 100644 --- a/library/uu.po +++ b/library/uu.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/library/uuid.po b/library/uuid.po index ee34c9a7..281eef2b 100644 --- a/library/uuid.po +++ b/library/uuid.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -220,7 +220,7 @@ msgid "" "unique, while the latter are not." msgstr "" -#: library/uuid.rst:187 +#: library/uuid.rst:185 msgid "" "Generate a UUID from a host ID, sequence number, and the current time. If " "*node* is not given, :func:`getnode` is used to obtain the hardware address. " @@ -228,111 +228,111 @@ msgid "" "random 14-bit sequence number is chosen." msgstr "" -#: library/uuid.rst:197 +#: library/uuid.rst:193 msgid "" "Generate a UUID based on the MD5 hash of a namespace identifier (which is a " "UUID) and a name (which is a :class:`bytes` object or a string that will be " "encoded using UTF-8)." msgstr "" -#: library/uuid.rst:206 +#: library/uuid.rst:200 msgid "Generate a random UUID." msgstr "" -#: library/uuid.rst:213 +#: library/uuid.rst:205 msgid "" "Generate a UUID based on the SHA-1 hash of a namespace identifier (which is " "a UUID) and a name (which is a :class:`bytes` object or a string that will " "be encoded using UTF-8)." msgstr "" -#: library/uuid.rst:219 +#: library/uuid.rst:210 msgid "" "The :mod:`uuid` module defines the following namespace identifiers for use " "with :func:`uuid3` or :func:`uuid5`." msgstr "" -#: library/uuid.rst:225 +#: library/uuid.rst:216 msgid "" "When this namespace is specified, the *name* string is a fully qualified " "domain name." msgstr "" -#: library/uuid.rst:231 +#: library/uuid.rst:222 msgid "When this namespace is specified, the *name* string is a URL." msgstr "" -#: library/uuid.rst:236 +#: library/uuid.rst:227 msgid "When this namespace is specified, the *name* string is an ISO OID." msgstr "" -#: library/uuid.rst:241 +#: library/uuid.rst:232 msgid "" "When this namespace is specified, the *name* string is an X.500 DN in DER or " "a text output format." msgstr "" -#: library/uuid.rst:244 +#: library/uuid.rst:235 msgid "" "The :mod:`uuid` module defines the following constants for the possible " "values of the :attr:`~UUID.variant` attribute:" msgstr "" -#: library/uuid.rst:250 +#: library/uuid.rst:241 msgid "Reserved for NCS compatibility." msgstr "" -#: library/uuid.rst:255 +#: library/uuid.rst:246 msgid "Specifies the UUID layout given in :rfc:`4122`." msgstr "" -#: library/uuid.rst:260 +#: library/uuid.rst:251 msgid "Reserved for Microsoft compatibility." msgstr "" -#: library/uuid.rst:265 +#: library/uuid.rst:256 msgid "Reserved for future definition." msgstr "" -#: library/uuid.rst:270 +#: library/uuid.rst:261 msgid ":rfc:`4122` - A Universally Unique IDentifier (UUID) URN Namespace" msgstr "" -#: library/uuid.rst:271 +#: library/uuid.rst:262 msgid "" "This specification defines a Uniform Resource Name namespace for UUIDs, the " "internal format of UUIDs, and methods of generating UUIDs." msgstr "" -#: library/uuid.rst:278 +#: library/uuid.rst:269 msgid "Command-Line Usage" msgstr "" -#: library/uuid.rst:282 +#: library/uuid.rst:273 msgid "" "The :mod:`uuid` module can be executed as a script from the command line." msgstr "" -#: library/uuid.rst:284 +#: library/uuid.rst:275 msgid "" "python -m uuid [-h] [-u {uuid1,uuid3,uuid4,uuid5}] [-n NAMESPACE] [-N NAME]" msgstr "" -#: library/uuid.rst:288 +#: library/uuid.rst:279 msgid "The following options are accepted:" msgstr "" -#: library/uuid.rst:294 +#: library/uuid.rst:285 msgid "Show the help message and exit." msgstr "" -#: library/uuid.rst:299 +#: library/uuid.rst:290 msgid "" "Specify the function name to use to generate the uuid. By default :func:" "`uuid4` is used." msgstr "" -#: library/uuid.rst:305 +#: library/uuid.rst:296 msgid "" "The namespace is a ``UUID``, or ``@ns`` where ``ns`` is a well-known " "predefined UUID addressed by namespace name. Such as ``@dns``, ``@url``, " @@ -340,21 +340,21 @@ msgid "" "functions." msgstr "" -#: library/uuid.rst:312 +#: library/uuid.rst:303 msgid "" "The name used as part of generating the uuid. Only required for :func:" "`uuid3` / :func:`uuid5` functions." msgstr "" -#: library/uuid.rst:319 +#: library/uuid.rst:310 msgid "Example" msgstr "" -#: library/uuid.rst:321 +#: library/uuid.rst:312 msgid "Here are some examples of typical usage of the :mod:`uuid` module::" msgstr "" -#: library/uuid.rst:323 +#: library/uuid.rst:314 msgid "" ">>> import uuid\n" "\n" @@ -390,17 +390,17 @@ msgid "" "UUID('00010203-0405-0607-0809-0a0b0c0d0e0f')" msgstr "" -#: library/uuid.rst:360 +#: library/uuid.rst:351 msgid "Command-Line Example" msgstr "" -#: library/uuid.rst:362 +#: library/uuid.rst:353 msgid "" "Here are some examples of typical usage of the :mod:`uuid` command line " "interface:" msgstr "" -#: library/uuid.rst:364 +#: library/uuid.rst:355 msgid "" "# generate a random uuid - by default uuid4() is used\n" "$ python -m uuid\n" @@ -411,23 +411,3 @@ msgid "" "# generate a uuid using uuid5\n" "$ python -m uuid -u uuid5 -n @url -N example.com" msgstr "" - -#: library/uuid.rst:182 -msgid "getnode" -msgstr "" - -#: library/uuid.rst:192 -msgid "uuid1" -msgstr "" - -#: library/uuid.rst:201 -msgid "uuid3" -msgstr "" - -#: library/uuid.rst:208 -msgid "uuid4" -msgstr "" - -#: library/uuid.rst:217 -msgid "uuid5" -msgstr "" diff --git a/library/venv.po b/library/venv.po index c9c652b3..5ad28a20 100644 --- a/library/venv.po +++ b/library/venv.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/library/warnings.po b/library/warnings.po index 61d471b9..0fa6e111 100644 --- a/library/warnings.po +++ b/library/warnings.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/library/wave.po b/library/wave.po index c42d9abb..92980c79 100644 --- a/library/wave.po +++ b/library/wave.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/library/weakref.po b/library/weakref.po index c078d195..523f31fe 100644 --- a/library/weakref.po +++ b/library/weakref.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/library/webbrowser.po b/library/webbrowser.po index 0c338379..c6ab0a16 100644 --- a/library/webbrowser.po +++ b/library/webbrowser.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -59,16 +59,26 @@ msgid "" "launch a new browser and wait." msgstr "" -#: library/webbrowser.rst:36 +#: library/webbrowser.rst:38 msgid "" "The script :program:`webbrowser` can be used as a command-line interface for " "the module. It accepts a URL as the argument. It accepts the following " -"optional parameters: ``-n`` opens the URL in a new browser window, if " -"possible; ``-t`` opens the URL in a new browser page (\"tab\"). The options " -"are, naturally, mutually exclusive. Usage example::" +"optional parameters:" msgstr "" -#: library/webbrowser.rst:42 +#: library/webbrowser.rst:44 +msgid "Opens the URL in a new browser window, if possible." +msgstr "" + +#: library/webbrowser.rst:48 +msgid "Opens the URL in a new browser tab." +msgstr "" + +#: library/webbrowser.rst:50 +msgid "The options are, naturally, mutually exclusive. Usage example:" +msgstr "" + +#: library/webbrowser.rst:52 msgid "python -m webbrowser -t \"https://www.python.org\"" msgstr "" @@ -83,19 +93,19 @@ msgid "" "more information." msgstr "" -#: library/webbrowser.rst:46 +#: library/webbrowser.rst:58 msgid "The following exception is defined:" msgstr "" -#: library/webbrowser.rst:51 +#: library/webbrowser.rst:63 msgid "Exception raised when a browser control error occurs." msgstr "" -#: library/webbrowser.rst:53 +#: library/webbrowser.rst:65 msgid "The following functions are defined:" msgstr "" -#: library/webbrowser.rst:58 +#: library/webbrowser.rst:70 msgid "" "Display *url* using the default browser. If *new* is 0, the *url* is opened " "in the same browser window if possible. If *new* is 1, a new browser window " @@ -105,44 +115,44 @@ msgid "" "the setting of this variable)." msgstr "" -#: library/webbrowser.rst:79 library/webbrowser.rst:87 +#: library/webbrowser.rst:91 library/webbrowser.rst:99 msgid "" "Returns ``True`` if a browser was successfully launched, ``False`` otherwise." msgstr "" -#: library/webbrowser.rst:67 +#: library/webbrowser.rst:79 msgid "" "Note that on some platforms, trying to open a filename using this function, " "may work and start the operating system's associated program. However, this " "is neither supported nor portable." msgstr "" -#: library/webbrowser.rst:71 +#: library/webbrowser.rst:83 msgid "" "Raises an :ref:`auditing event <auditing>` ``webbrowser.open`` with argument " "``url``." msgstr "" -#: library/webbrowser.rst:76 +#: library/webbrowser.rst:88 msgid "" "Open *url* in a new window of the default browser, if possible, otherwise, " "open *url* in the only browser window." msgstr "" -#: library/webbrowser.rst:84 +#: library/webbrowser.rst:96 msgid "" "Open *url* in a new page (\"tab\") of the default browser, if possible, " "otherwise equivalent to :func:`open_new`." msgstr "" -#: library/webbrowser.rst:92 +#: library/webbrowser.rst:104 msgid "" "Return a controller object for the browser type *using*. If *using* is " "``None``, return a controller for a default browser appropriate to the " "caller's environment." msgstr "" -#: library/webbrowser.rst:99 +#: library/webbrowser.rst:111 msgid "" "Register the browser type *name*. Once a browser type is registered, the :" "func:`get` function can return a controller for that browser type. If " @@ -151,7 +161,7 @@ msgid "" "provided, *constructor* will never be called, and may be ``None``." msgstr "" -#: library/webbrowser.rst:105 +#: library/webbrowser.rst:117 msgid "" "Setting *preferred* to ``True`` makes this browser a preferred result for a :" "func:`get` call with no argument. Otherwise, this entry point is only " @@ -160,178 +170,178 @@ msgid "" "declare." msgstr "" -#: library/webbrowser.rst:111 +#: library/webbrowser.rst:123 msgid "*preferred* keyword-only parameter was added." msgstr "" -#: library/webbrowser.rst:114 +#: library/webbrowser.rst:126 msgid "" "A number of browser types are predefined. This table gives the type names " "that may be passed to the :func:`get` function and the corresponding " "instantiations for the controller classes, all defined in this module." msgstr "" -#: library/webbrowser.rst:119 +#: library/webbrowser.rst:131 msgid "Type Name" msgstr "" -#: library/webbrowser.rst:119 +#: library/webbrowser.rst:131 msgid "Class Name" msgstr "" -#: library/webbrowser.rst:119 +#: library/webbrowser.rst:131 msgid "Notes" msgstr "" -#: library/webbrowser.rst:121 +#: library/webbrowser.rst:133 msgid "``'mozilla'``" msgstr "" -#: library/webbrowser.rst:123 +#: library/webbrowser.rst:135 msgid ":class:`Mozilla('mozilla')`" msgstr "" -#: library/webbrowser.rst:123 +#: library/webbrowser.rst:135 msgid "``'firefox'``" msgstr "" -#: library/webbrowser.rst:125 +#: library/webbrowser.rst:137 msgid "``'epiphany'``" msgstr "" -#: library/webbrowser.rst:125 +#: library/webbrowser.rst:137 msgid ":class:`Epiphany('epiphany')`" msgstr "" -#: library/webbrowser.rst:127 +#: library/webbrowser.rst:139 msgid "``'kfmclient'``" msgstr "" -#: library/webbrowser.rst:129 library/webbrowser.rst:131 +#: library/webbrowser.rst:141 library/webbrowser.rst:143 msgid ":class:`Konqueror()`" msgstr "" -#: library/webbrowser.rst:129 library/webbrowser.rst:131 +#: library/webbrowser.rst:141 library/webbrowser.rst:143 msgid "\\(1)" msgstr "" -#: library/webbrowser.rst:129 +#: library/webbrowser.rst:141 msgid "``'konqueror'``" msgstr "" -#: library/webbrowser.rst:131 +#: library/webbrowser.rst:143 msgid "``'kfm'``" msgstr "" -#: library/webbrowser.rst:133 +#: library/webbrowser.rst:145 msgid "``'opera'``" msgstr "" -#: library/webbrowser.rst:133 +#: library/webbrowser.rst:145 msgid ":class:`Opera()`" msgstr "" -#: library/webbrowser.rst:135 +#: library/webbrowser.rst:147 msgid "``'links'``" msgstr "" -#: library/webbrowser.rst:135 +#: library/webbrowser.rst:147 msgid ":class:`GenericBrowser('links')`" msgstr "" -#: library/webbrowser.rst:137 +#: library/webbrowser.rst:149 msgid "``'elinks'``" msgstr "" -#: library/webbrowser.rst:137 +#: library/webbrowser.rst:149 msgid ":class:`Elinks('elinks')`" msgstr "" -#: library/webbrowser.rst:139 +#: library/webbrowser.rst:151 msgid "``'lynx'``" msgstr "" -#: library/webbrowser.rst:139 +#: library/webbrowser.rst:151 msgid ":class:`GenericBrowser('lynx')`" msgstr "" -#: library/webbrowser.rst:141 +#: library/webbrowser.rst:153 msgid "``'w3m'``" msgstr "" -#: library/webbrowser.rst:141 +#: library/webbrowser.rst:153 msgid ":class:`GenericBrowser('w3m')`" msgstr "" -#: library/webbrowser.rst:143 +#: library/webbrowser.rst:155 msgid "``'windows-default'``" msgstr "" -#: library/webbrowser.rst:143 +#: library/webbrowser.rst:155 msgid ":class:`WindowsDefault`" msgstr "" -#: library/webbrowser.rst:143 +#: library/webbrowser.rst:155 msgid "\\(2)" msgstr "" -#: library/webbrowser.rst:145 +#: library/webbrowser.rst:157 msgid "``'macosx'``" msgstr "" -#: library/webbrowser.rst:145 +#: library/webbrowser.rst:157 msgid ":class:`MacOSXOSAScript('default')`" msgstr "" -#: library/webbrowser.rst:147 +#: library/webbrowser.rst:159 msgid "\\(3)" msgstr "" -#: library/webbrowser.rst:147 +#: library/webbrowser.rst:159 msgid "``'safari'``" msgstr "" -#: library/webbrowser.rst:147 +#: library/webbrowser.rst:159 msgid ":class:`MacOSXOSAScript('safari')`" msgstr "" -#: library/webbrowser.rst:149 +#: library/webbrowser.rst:161 msgid "``'google-chrome'``" msgstr "" -#: library/webbrowser.rst:149 +#: library/webbrowser.rst:161 msgid ":class:`Chrome('google-chrome')`" msgstr "" -#: library/webbrowser.rst:151 +#: library/webbrowser.rst:163 msgid "``'chrome'``" msgstr "" -#: library/webbrowser.rst:151 +#: library/webbrowser.rst:163 msgid ":class:`Chrome('chrome')`" msgstr "" -#: library/webbrowser.rst:153 +#: library/webbrowser.rst:165 msgid "``'chromium'``" msgstr "" -#: library/webbrowser.rst:153 +#: library/webbrowser.rst:165 msgid ":class:`Chromium('chromium')`" msgstr "" -#: library/webbrowser.rst:155 +#: library/webbrowser.rst:167 msgid "``'chromium-browser'``" msgstr "" -#: library/webbrowser.rst:155 +#: library/webbrowser.rst:167 msgid ":class:`Chromium('chromium-browser')`" msgstr "" -#: library/webbrowser.rst:158 +#: library/webbrowser.rst:170 msgid "Notes:" msgstr "" -#: library/webbrowser.rst:161 +#: library/webbrowser.rst:173 msgid "" "\"Konqueror\" is the file manager for the KDE desktop environment for Unix, " "and only makes sense to use if KDE is running. Some way of reliably " @@ -341,34 +351,34 @@ msgid "" "best strategy for running Konqueror." msgstr "" -#: library/webbrowser.rst:168 +#: library/webbrowser.rst:180 msgid "Only on Windows platforms." msgstr "" -#: library/webbrowser.rst:171 +#: library/webbrowser.rst:183 msgid "Only on macOS platform." msgstr "" -#: library/webbrowser.rst:173 +#: library/webbrowser.rst:185 msgid "Support for Chrome/Chromium has been added." msgstr "" -#: library/webbrowser.rst:176 +#: library/webbrowser.rst:188 msgid "" "Support for several obsolete browsers has been removed. Removed browsers " "include Grail, Mosaic, Netscape, Galeon, Skipstone, Iceape, and Firefox " "versions 35 and below." msgstr "" -#: library/webbrowser.rst:181 +#: library/webbrowser.rst:193 msgid ":class:`MacOSX` is deprecated, use :class:`MacOSXOSAScript` instead." msgstr "" -#: library/webbrowser.rst:184 +#: library/webbrowser.rst:196 msgid "Here are some simple examples::" msgstr "" -#: library/webbrowser.rst:186 +#: library/webbrowser.rst:198 msgid "" "url = 'https://docs.python.org/'\n" "\n" @@ -379,45 +389,45 @@ msgid "" "webbrowser.open_new(url)" msgstr "" -#: library/webbrowser.rst:198 +#: library/webbrowser.rst:210 msgid "Browser Controller Objects" msgstr "" -#: library/webbrowser.rst:200 +#: library/webbrowser.rst:212 msgid "" "Browser controllers provide these methods which parallel three of the module-" "level convenience functions:" msgstr "" -#: library/webbrowser.rst:206 +#: library/webbrowser.rst:218 msgid "System-dependent name for the browser." msgstr "" -#: library/webbrowser.rst:211 +#: library/webbrowser.rst:223 msgid "" "Display *url* using the browser handled by this controller. If *new* is 1, a " "new browser window is opened if possible. If *new* is 2, a new browser page " "(\"tab\") is opened if possible." msgstr "" -#: library/webbrowser.rst:218 +#: library/webbrowser.rst:230 msgid "" "Open *url* in a new window of the browser handled by this controller, if " "possible, otherwise, open *url* in the only browser window. Alias :func:" "`open_new`." msgstr "" -#: library/webbrowser.rst:225 +#: library/webbrowser.rst:237 msgid "" "Open *url* in a new page (\"tab\") of the browser handled by this " "controller, if possible, otherwise equivalent to :func:`open_new`." msgstr "" -#: library/webbrowser.rst:230 +#: library/webbrowser.rst:242 msgid "Footnotes" msgstr "" -#: library/webbrowser.rst:231 +#: library/webbrowser.rst:243 msgid "" "Executables named here without a full path will be searched in the " "directories given in the :envvar:`PATH` environment variable." diff --git a/library/windows.po b/library/windows.po index 7a5a7db2..a494e92a 100644 --- a/library/windows.po +++ b/library/windows.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/library/winreg.po b/library/winreg.po index 6cef646f..628a1d8b 100644 --- a/library/winreg.po +++ b/library/winreg.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/library/winsound.po b/library/winsound.po index fd6f10a8..fef1b383 100644 --- a/library/winsound.po +++ b/library/winsound.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -187,18 +187,25 @@ msgstr "" msgid "Return immediately if the sound driver is busy." msgstr "" -#: library/winsound.rst:160 +#: library/winsound.rst:140 +msgid "" +"The *sound* parameter is an application-specific alias in the registry. This " +"flag can be combined with the :const:`SND_ALIAS` flag to specify an " +"application-defined sound alias." +msgstr "" + +#: library/winsound.rst:167 msgid "Play the ``SystemDefault`` sound." msgstr "" -#: library/winsound.rst:145 +#: library/winsound.rst:152 msgid "Play the ``SystemExclamation`` sound." msgstr "" -#: library/winsound.rst:150 +#: library/winsound.rst:157 msgid "Play the ``SystemHand`` sound." msgstr "" -#: library/winsound.rst:155 +#: library/winsound.rst:162 msgid "Play the ``SystemQuestion`` sound." msgstr "" diff --git a/library/wsgiref.po b/library/wsgiref.po index 23f03abd..5f46a41f 100644 --- a/library/wsgiref.po +++ b/library/wsgiref.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -160,11 +160,13 @@ msgid "" "actual WSGI servers or applications, since the data is fake!" msgstr "" -#: library/wsgiref.rst:170 library/wsgiref.rst:426 -msgid "Example usage::" +#: library/wsgiref.rst:122 +msgid "" +"Example usage (see also :func:`~wsgiref.simple_server.demo_app` for another " +"example)::" msgstr "" -#: library/wsgiref.rst:124 +#: library/wsgiref.rst:125 msgid "" "from wsgiref.util import setup_testing_defaults\n" "from wsgiref.simple_server import make_server\n" @@ -188,19 +190,19 @@ msgid "" " httpd.serve_forever()" msgstr "" -#: library/wsgiref.rst:146 +#: library/wsgiref.rst:147 msgid "" "In addition to the environment functions above, the :mod:`wsgiref.util` " "module also provides these miscellaneous utilities:" msgstr "" -#: library/wsgiref.rst:152 +#: library/wsgiref.rst:153 msgid "" "Return ``True`` if 'header_name' is an HTTP/1.1 \"Hop-by-Hop\" header, as " "defined by :rfc:`2616`." msgstr "" -#: library/wsgiref.rst:158 +#: library/wsgiref.rst:159 msgid "" "A concrete implementation of the :class:`wsgiref.types.FileWrapper` protocol " "used to convert a file-like object to an :term:`iterator`. The resulting " @@ -210,14 +212,18 @@ msgid "" "`read` returns an empty bytestring, iteration is ended and is not resumable." msgstr "" -#: library/wsgiref.rst:166 +#: library/wsgiref.rst:167 msgid "" "If *filelike* has a :meth:`close` method, the returned object will also have " "a :meth:`close` method, and it will invoke the *filelike* object's :meth:" "`close` method when called." msgstr "" -#: library/wsgiref.rst:172 +#: library/wsgiref.rst:294 library/wsgiref.rst:429 +msgid "Example usage::" +msgstr "" + +#: library/wsgiref.rst:173 msgid "" "from io import StringIO\n" "from wsgiref.util import FileWrapper\n" @@ -230,28 +236,28 @@ msgid "" " print(chunk)" msgstr "" -#: library/wsgiref.rst:182 +#: library/wsgiref.rst:183 msgid "Support for :meth:`~object.__getitem__` method has been removed." msgstr "" -#: library/wsgiref.rst:187 +#: library/wsgiref.rst:188 msgid ":mod:`wsgiref.headers` -- WSGI response header tools" msgstr "" -#: library/wsgiref.rst:193 +#: library/wsgiref.rst:194 msgid "" "This module provides a single class, :class:`Headers`, for convenient " "manipulation of WSGI response headers using a mapping-like interface." msgstr "" -#: library/wsgiref.rst:199 +#: library/wsgiref.rst:200 msgid "" "Create a mapping-like object wrapping *headers*, which must be a list of " "header name/value tuples as described in :pep:`3333`. The default value of " "*headers* is an empty list." msgstr "" -#: library/wsgiref.rst:203 +#: library/wsgiref.rst:204 msgid "" ":class:`Headers` objects support typical mapping operations including :meth:" "`~object.__getitem__`, :meth:`~dict.get`, :meth:`~object.__setitem__`, :meth:" @@ -264,7 +270,7 @@ msgid "" "the end of the wrapped list." msgstr "" -#: library/wsgiref.rst:213 +#: library/wsgiref.rst:214 msgid "" "Unlike a dictionary, :class:`Headers` objects do not raise an error when you " "try to get or delete a key that isn't in the wrapped header list. Getting a " @@ -272,7 +278,7 @@ msgid "" "does nothing." msgstr "" -#: library/wsgiref.rst:218 +#: library/wsgiref.rst:219 msgid "" ":class:`Headers` objects also support :meth:`keys`, :meth:`values`, and :" "meth:`items` methods. The lists returned by :meth:`keys` and :meth:`items` " @@ -283,7 +289,7 @@ msgid "" "list." msgstr "" -#: library/wsgiref.rst:225 +#: library/wsgiref.rst:226 msgid "" "Calling ``bytes()`` on a :class:`Headers` object returns a formatted " "bytestring suitable for transmission as HTTP response headers. Each header " @@ -292,18 +298,18 @@ msgid "" "terminated with a blank line." msgstr "" -#: library/wsgiref.rst:231 +#: library/wsgiref.rst:232 msgid "" "In addition to their mapping interface and formatting features, :class:" "`Headers` objects also have the following methods for querying and adding " "multi-valued headers, and for adding headers with MIME parameters:" msgstr "" -#: library/wsgiref.rst:238 +#: library/wsgiref.rst:239 msgid "Return a list of all the values for the named header." msgstr "" -#: library/wsgiref.rst:240 +#: library/wsgiref.rst:241 msgid "" "The returned list will be sorted in the order they appeared in the original " "header list or were added to this instance, and may contain duplicates. Any " @@ -311,13 +317,13 @@ msgid "" "no fields exist with the given name, returns an empty list." msgstr "" -#: library/wsgiref.rst:248 +#: library/wsgiref.rst:249 msgid "" "Add a (possibly multi-valued) header, with optional MIME parameters " "specified via keyword arguments." msgstr "" -#: library/wsgiref.rst:251 +#: library/wsgiref.rst:252 msgid "" "*name* is the header field to add. Keyword arguments can be used to set " "MIME parameters for the header field. Each parameter must be a string or " @@ -329,27 +335,27 @@ msgid "" "a value.) Example usage::" msgstr "" -#: library/wsgiref.rst:259 +#: library/wsgiref.rst:260 msgid "h.add_header('content-disposition', 'attachment', filename='bud.gif')" msgstr "" -#: library/wsgiref.rst:261 +#: library/wsgiref.rst:262 msgid "The above will add a header that looks like this::" msgstr "" -#: library/wsgiref.rst:263 +#: library/wsgiref.rst:264 msgid "Content-Disposition: attachment; filename=\"bud.gif\"" msgstr "" -#: library/wsgiref.rst:266 +#: library/wsgiref.rst:267 msgid "*headers* parameter is optional." msgstr "" -#: library/wsgiref.rst:271 +#: library/wsgiref.rst:272 msgid ":mod:`wsgiref.simple_server` -- a simple WSGI HTTP server" msgstr "" -#: library/wsgiref.rst:277 +#: library/wsgiref.rst:278 msgid "" "This module implements a simple HTTP server (based on :mod:`http.server`) " "that serves WSGI applications. Each server instance serves a single WSGI " @@ -360,7 +366,7 @@ msgid "" "`wsgiref.util`.)" msgstr "" -#: library/wsgiref.rst:288 +#: library/wsgiref.rst:289 msgid "" "Create a new WSGI server listening on *host* and *port*, accepting " "connections for *app*. The return value is an instance of the supplied " @@ -369,7 +375,7 @@ msgid "" "pep:`3333`." msgstr "" -#: library/wsgiref.rst:295 +#: library/wsgiref.rst:296 msgid "" "from wsgiref.simple_server import make_server, demo_app\n" "\n" @@ -383,7 +389,7 @@ msgid "" " httpd.handle_request()" msgstr "" -#: library/wsgiref.rst:309 +#: library/wsgiref.rst:310 msgid "" "This function is a small but complete WSGI application that returns a text " "page containing the message \"Hello world!\" and a list of the key/value " @@ -392,51 +398,57 @@ msgid "" "WSGI application correctly." msgstr "" -#: library/wsgiref.rst:318 +#: library/wsgiref.rst:316 +msgid "" +"The *start_response* callable should follow the :class:`.StartResponse` " +"protocol." +msgstr "" + +#: library/wsgiref.rst:321 msgid "" "Create a :class:`WSGIServer` instance. *server_address* should be a ``(host," "port)`` tuple, and *RequestHandlerClass* should be the subclass of :class:" "`http.server.BaseHTTPRequestHandler` that will be used to process requests." msgstr "" -#: library/wsgiref.rst:323 +#: library/wsgiref.rst:326 msgid "" "You do not normally need to call this constructor, as the :func:" "`make_server` function can handle all the details for you." msgstr "" -#: library/wsgiref.rst:326 +#: library/wsgiref.rst:329 msgid "" ":class:`WSGIServer` is a subclass of :class:`http.server.HTTPServer`, so all " "of its methods (such as :meth:`serve_forever` and :meth:`handle_request`) " "are available. :class:`WSGIServer` also provides these WSGI-specific methods:" msgstr "" -#: library/wsgiref.rst:333 +#: library/wsgiref.rst:336 msgid "" "Sets the callable *application* as the WSGI application that will receive " "requests." msgstr "" -#: library/wsgiref.rst:339 +#: library/wsgiref.rst:342 msgid "Returns the currently set application callable." msgstr "" -#: library/wsgiref.rst:341 +#: library/wsgiref.rst:344 msgid "" "Normally, however, you do not need to use these additional methods, as :meth:" "`set_app` is normally called by :func:`make_server`, and the :meth:`get_app` " "exists mainly for the benefit of request handler instances." msgstr "" -#: library/wsgiref.rst:348 +#: library/wsgiref.rst:351 msgid "" "Create an HTTP handler for the given *request* (i.e. a socket), " "*client_address* (a ``(host,port)`` tuple), and *server* (:class:" "`WSGIServer` instance)." msgstr "" -#: library/wsgiref.rst:351 +#: library/wsgiref.rst:354 msgid "" "You do not need to create instances of this class directly; they are " "automatically created as needed by :class:`WSGIServer` objects. You can, " @@ -445,7 +457,7 @@ msgid "" "subclasses:" msgstr "" -#: library/wsgiref.rst:360 +#: library/wsgiref.rst:363 msgid "" "Return a :data:`~wsgiref.types.WSGIEnvironment` dictionary for a request. " "The default implementation copies the contents of the :class:`WSGIServer` " @@ -455,24 +467,24 @@ msgid "" "variables as specified in :pep:`3333`." msgstr "" -#: library/wsgiref.rst:371 +#: library/wsgiref.rst:374 msgid "" "Return the object that should be used as the ``wsgi.errors`` stream. The " "default implementation just returns ``sys.stderr``." msgstr "" -#: library/wsgiref.rst:377 +#: library/wsgiref.rst:380 msgid "" "Process the HTTP request. The default implementation creates a handler " "instance using a :mod:`wsgiref.handlers` class to implement the actual WSGI " "application interface." msgstr "" -#: library/wsgiref.rst:383 +#: library/wsgiref.rst:386 msgid ":mod:`wsgiref.validate` --- WSGI conformance checker" msgstr "" -#: library/wsgiref.rst:389 +#: library/wsgiref.rst:392 msgid "" "When creating new WSGI application objects, frameworks, servers, or " "middleware, it can be useful to validate the new code's conformance using :" @@ -482,7 +494,7 @@ msgid "" "conformance." msgstr "" -#: library/wsgiref.rst:396 +#: library/wsgiref.rst:399 msgid "" "Note that this utility does not guarantee complete :pep:`3333` compliance; " "an absence of errors from this module does not necessarily mean that errors " @@ -491,13 +503,13 @@ msgid "" "compliant." msgstr "" -#: library/wsgiref.rst:401 +#: library/wsgiref.rst:404 msgid "" "This module is based on the :mod:`paste.lint` module from Ian Bicking's " "\"Python Paste\" library." msgstr "" -#: library/wsgiref.rst:407 +#: library/wsgiref.rst:410 msgid "" "Wrap *application* and return a new WSGI application object. The returned " "application will forward all requests to the original *application*, and " @@ -505,7 +517,7 @@ msgid "" "conforming to the WSGI specification and to :rfc:`2616`." msgstr "" -#: library/wsgiref.rst:412 +#: library/wsgiref.rst:415 msgid "" "Any detected nonconformance results in an :exc:`AssertionError` being " "raised; note, however, that how these errors are handled is server-" @@ -516,7 +528,7 @@ msgid "" "stream." msgstr "" -#: library/wsgiref.rst:419 +#: library/wsgiref.rst:422 msgid "" "This wrapper may also generate output using the :mod:`warnings` module to " "indicate behaviors that are questionable but which may not actually be " @@ -526,7 +538,7 @@ msgid "" "object)." msgstr "" -#: library/wsgiref.rst:428 +#: library/wsgiref.rst:431 msgid "" "from wsgiref.validate import validator\n" "from wsgiref.simple_server import make_server\n" @@ -550,11 +562,11 @@ msgid "" " httpd.serve_forever()" msgstr "" -#: library/wsgiref.rst:451 +#: library/wsgiref.rst:454 msgid ":mod:`wsgiref.handlers` -- server/gateway base classes" msgstr "" -#: library/wsgiref.rst:457 +#: library/wsgiref.rst:460 msgid "" "This module provides base handler classes for implementing WSGI servers and " "gateways. These base classes handle most of the work of communicating with " @@ -562,7 +574,7 @@ msgid "" "with input, output, and error streams." msgstr "" -#: library/wsgiref.rst:465 +#: library/wsgiref.rst:468 msgid "" "CGI-based invocation via ``sys.stdin``, ``sys.stdout``, ``sys.stderr`` and " "``os.environ``. This is useful when you have a WSGI application and want to " @@ -570,7 +582,7 @@ msgid "" "``app`` is the WSGI application object you wish to invoke." msgstr "" -#: library/wsgiref.rst:470 +#: library/wsgiref.rst:473 msgid "" "This class is a subclass of :class:`BaseCGIHandler` that sets ``wsgi." "run_once`` to true, ``wsgi.multithread`` to false, and ``wsgi.multiprocess`` " @@ -578,21 +590,21 @@ msgid "" "CGI streams and environment." msgstr "" -#: library/wsgiref.rst:478 +#: library/wsgiref.rst:481 msgid "" "A specialized alternative to :class:`CGIHandler`, for use when deploying on " "Microsoft's IIS web server, without having set the config allowPathInfo " "option (IIS>=7) or metabase allowPathInfoForScriptMappings (IIS<7)." msgstr "" -#: library/wsgiref.rst:482 +#: library/wsgiref.rst:485 msgid "" "By default, IIS gives a ``PATH_INFO`` that duplicates the ``SCRIPT_NAME`` at " "the front, causing problems for WSGI applications that wish to implement " "routing. This handler strips any such duplicated path." msgstr "" -#: library/wsgiref.rst:486 +#: library/wsgiref.rst:489 msgid "" "IIS can be configured to pass the correct ``PATH_INFO``, but this causes " "another bug where ``PATH_TRANSLATED`` is wrong. Luckily this variable is " @@ -603,7 +615,7 @@ msgid "" "because there is still no UI for it.)." msgstr "" -#: library/wsgiref.rst:494 +#: library/wsgiref.rst:497 msgid "" "There is no way for CGI code to tell whether the option was set, so a " "separate handler class is provided. It is used in the same way as :class:" @@ -611,7 +623,7 @@ msgid "" "is the WSGI application object you wish to invoke." msgstr "" -#: library/wsgiref.rst:504 +#: library/wsgiref.rst:507 msgid "" "Similar to :class:`CGIHandler`, but instead of using the :mod:`sys` and :mod:" "`os` modules, the CGI environment and I/O streams are specified explicitly. " @@ -620,7 +632,7 @@ msgid "" "the handler instance." msgstr "" -#: library/wsgiref.rst:510 +#: library/wsgiref.rst:513 msgid "" "This class is a subclass of :class:`SimpleHandler` intended for use with " "software other than HTTP \"origin servers\". If you are writing a gateway " @@ -629,14 +641,14 @@ msgid "" "this instead of :class:`SimpleHandler`." msgstr "" -#: library/wsgiref.rst:519 +#: library/wsgiref.rst:522 msgid "" "Similar to :class:`BaseCGIHandler`, but designed for use with HTTP origin " "servers. If you are writing an HTTP server implementation, you will " "probably want to subclass this instead of :class:`BaseCGIHandler`." msgstr "" -#: library/wsgiref.rst:523 +#: library/wsgiref.rst:526 msgid "" "This class is a subclass of :class:`BaseHandler`. It overrides the :meth:`!" "__init__`, :meth:`~BaseHandler.get_stdin`, :meth:`~BaseHandler.get_stderr`, :" @@ -647,41 +659,41 @@ msgid "" "`environ` attributes." msgstr "" -#: library/wsgiref.rst:532 +#: library/wsgiref.rst:535 msgid "" "The :meth:`~io.BufferedIOBase.write` method of *stdout* should write each " "chunk in full, like :class:`io.BufferedIOBase`." msgstr "" -#: library/wsgiref.rst:538 +#: library/wsgiref.rst:541 msgid "" "This is an abstract base class for running WSGI applications. Each instance " "will handle a single HTTP request, although in principle you could create a " "subclass that was reusable for multiple requests." msgstr "" -#: library/wsgiref.rst:542 +#: library/wsgiref.rst:545 msgid "" ":class:`BaseHandler` instances have only one method intended for external " "use:" msgstr "" -#: library/wsgiref.rst:547 +#: library/wsgiref.rst:550 msgid "Run the specified WSGI application, *app*." msgstr "" -#: library/wsgiref.rst:549 +#: library/wsgiref.rst:552 msgid "" "All of the other :class:`BaseHandler` methods are invoked by this method in " "the process of running the application, and thus exist primarily to allow " "customizing the process." msgstr "" -#: library/wsgiref.rst:553 +#: library/wsgiref.rst:556 msgid "The following methods MUST be overridden in a subclass:" msgstr "" -#: library/wsgiref.rst:558 +#: library/wsgiref.rst:561 msgid "" "Buffer the bytes *data* for transmission to the client. It's okay if this " "method actually transmits the data; :class:`BaseHandler` just separates " @@ -689,33 +701,33 @@ msgid "" "actually has such a distinction." msgstr "" -#: library/wsgiref.rst:566 +#: library/wsgiref.rst:569 msgid "" "Force buffered data to be transmitted to the client. It's okay if this " "method is a no-op (i.e., if :meth:`_write` actually sends the data)." msgstr "" -#: library/wsgiref.rst:572 +#: library/wsgiref.rst:575 msgid "" "Return an object compatible with :class:`~wsgiref.types.InputStream` " "suitable for use as the ``wsgi.input`` of the request currently being " "processed." msgstr "" -#: library/wsgiref.rst:579 +#: library/wsgiref.rst:582 msgid "" "Return an object compatible with :class:`~wsgiref.types.ErrorStream` " "suitable for use as the ``wsgi.errors`` of the request currently being " "processed." msgstr "" -#: library/wsgiref.rst:586 +#: library/wsgiref.rst:589 msgid "" "Insert CGI variables for the current request into the :attr:`environ` " "attribute." msgstr "" -#: library/wsgiref.rst:588 +#: library/wsgiref.rst:591 msgid "" "Here are some other methods and attributes you may wish to override. This " "list is only a summary, however, and does not include every method that can " @@ -724,32 +736,32 @@ msgid "" "`BaseHandler` subclass." msgstr "" -#: library/wsgiref.rst:594 +#: library/wsgiref.rst:597 msgid "Attributes and methods for customizing the WSGI environment:" msgstr "" -#: library/wsgiref.rst:599 +#: library/wsgiref.rst:602 msgid "" "The value to be used for the ``wsgi.multithread`` environment variable. It " "defaults to true in :class:`BaseHandler`, but may have a different default " "(or be set by the constructor) in the other subclasses." msgstr "" -#: library/wsgiref.rst:606 +#: library/wsgiref.rst:609 msgid "" "The value to be used for the ``wsgi.multiprocess`` environment variable. It " "defaults to true in :class:`BaseHandler`, but may have a different default " "(or be set by the constructor) in the other subclasses." msgstr "" -#: library/wsgiref.rst:613 +#: library/wsgiref.rst:616 msgid "" "The value to be used for the ``wsgi.run_once`` environment variable. It " "defaults to false in :class:`BaseHandler`, but :class:`CGIHandler` sets it " "to true by default." msgstr "" -#: library/wsgiref.rst:620 +#: library/wsgiref.rst:623 msgid "" "The default environment variables to be included in every request's WSGI " "environment. By default, this is a copy of ``os.environ`` at the time that :" @@ -759,7 +771,7 @@ msgid "" "classes and instances." msgstr "" -#: library/wsgiref.rst:630 +#: library/wsgiref.rst:633 msgid "" "If the :attr:`origin_server` attribute is set, this attribute's value is " "used to set the default ``SERVER_SOFTWARE`` WSGI environment variable, and " @@ -768,13 +780,13 @@ msgid "" "are not HTTP origin servers." msgstr "" -#: library/wsgiref.rst:636 +#: library/wsgiref.rst:639 msgid "" "The term \"Python\" is replaced with implementation specific term like " "\"CPython\", \"Jython\" etc." msgstr "" -#: library/wsgiref.rst:642 +#: library/wsgiref.rst:645 msgid "" "Return the URL scheme being used for the current request. The default " "implementation uses the :func:`guess_scheme` function from :mod:`wsgiref." @@ -782,7 +794,7 @@ msgid "" "the current request's :attr:`environ` variables." msgstr "" -#: library/wsgiref.rst:650 +#: library/wsgiref.rst:653 msgid "" "Set the :attr:`environ` attribute to a fully populated WSGI environment. " "The default implementation uses all of the above methods and attributes, " @@ -792,11 +804,11 @@ msgid "" "attribute is a true value and the :attr:`server_software` attribute is set." msgstr "" -#: library/wsgiref.rst:657 +#: library/wsgiref.rst:660 msgid "Methods and attributes for customizing exception handling:" msgstr "" -#: library/wsgiref.rst:662 +#: library/wsgiref.rst:665 msgid "" "Log the *exc_info* tuple in the server log. *exc_info* is a ``(type, value, " "traceback)`` tuple. The default implementation simply writes the traceback " @@ -806,33 +818,35 @@ msgid "" "suitable." msgstr "" -#: library/wsgiref.rst:671 +#: library/wsgiref.rst:674 msgid "" "The maximum number of frames to include in tracebacks output by the default :" "meth:`log_exception` method. If ``None``, all frames are included." msgstr "" -#: library/wsgiref.rst:677 +#: library/wsgiref.rst:680 msgid "" "This method is a WSGI application to generate an error page for the user. " "It is only invoked if an error occurs before headers are sent to the client." msgstr "" -#: library/wsgiref.rst:680 +#: library/wsgiref.rst:683 msgid "" "This method can access the current error using ``sys.exception()``, and " "should pass that information to *start_response* when calling it (as " -"described in the \"Error Handling\" section of :pep:`3333`)." +"described in the \"Error Handling\" section of :pep:`3333`). In particular, " +"the *start_response* callable should follow the :class:`.StartResponse` " +"protocol." msgstr "" -#: library/wsgiref.rst:684 +#: library/wsgiref.rst:689 msgid "" "The default implementation just uses the :attr:`error_status`, :attr:" "`error_headers`, and :attr:`error_body` attributes to generate an output " "page. Subclasses can override this to produce more dynamic error output." msgstr "" -#: library/wsgiref.rst:688 +#: library/wsgiref.rst:693 msgid "" "Note, however, that it's not recommended from a security perspective to spit " "out diagnostics to any old user; ideally, you should have to do something " @@ -840,40 +854,40 @@ msgid "" "doesn't include any." msgstr "" -#: library/wsgiref.rst:696 +#: library/wsgiref.rst:701 msgid "" "The HTTP status used for error responses. This should be a status string as " "defined in :pep:`3333`; it defaults to a 500 code and message." msgstr "" -#: library/wsgiref.rst:702 +#: library/wsgiref.rst:707 msgid "" "The HTTP headers used for error responses. This should be a list of WSGI " "response headers (``(name, value)`` tuples), as described in :pep:`3333`. " "The default list just sets the content type to ``text/plain``." msgstr "" -#: library/wsgiref.rst:709 +#: library/wsgiref.rst:714 msgid "" "The error response body. This should be an HTTP response body bytestring. " "It defaults to the plain text, \"A server error occurred. Please contact " "the administrator.\"" msgstr "" -#: library/wsgiref.rst:713 +#: library/wsgiref.rst:718 msgid "" "Methods and attributes for :pep:`3333`'s \"Optional Platform-Specific File " "Handling\" feature:" msgstr "" -#: library/wsgiref.rst:719 +#: library/wsgiref.rst:724 msgid "" "A ``wsgi.file_wrapper`` factory, compatible with :class:`wsgiref.types." "FileWrapper`, or ``None``. The default value of this attribute is the :" "class:`wsgiref.util.FileWrapper` class." msgstr "" -#: library/wsgiref.rst:726 +#: library/wsgiref.rst:731 msgid "" "Override to implement platform-specific file transmission. This method is " "called only if the application's return value is an instance of the class " @@ -883,11 +897,11 @@ msgid "" "of this method just returns a false value." msgstr "" -#: library/wsgiref.rst:733 +#: library/wsgiref.rst:738 msgid "Miscellaneous methods and attributes:" msgstr "" -#: library/wsgiref.rst:738 +#: library/wsgiref.rst:743 msgid "" "This attribute should be set to a true value if the handler's :meth:`_write` " "and :meth:`_flush` are being used to communicate directly to the client, " @@ -895,19 +909,19 @@ msgid "" "special ``Status:`` header." msgstr "" -#: library/wsgiref.rst:743 +#: library/wsgiref.rst:748 msgid "" "This attribute's default value is true in :class:`BaseHandler`, but false " "in :class:`BaseCGIHandler` and :class:`CGIHandler`." msgstr "" -#: library/wsgiref.rst:749 +#: library/wsgiref.rst:754 msgid "" "If :attr:`origin_server` is true, this string attribute is used to set the " "HTTP version of the response set to the client. It defaults to ``\"1.0\"``." msgstr "" -#: library/wsgiref.rst:755 +#: library/wsgiref.rst:760 msgid "" "Transcode CGI variables from ``os.environ`` to :pep:`3333` \"bytes in " "unicode\" strings, returning a new dictionary. This function is used by :" @@ -919,65 +933,68 @@ msgid "" "than ISO-8859-1 (e.g. Unix systems using UTF-8)." msgstr "" -#: library/wsgiref.rst:764 +#: library/wsgiref.rst:769 msgid "" "If you are implementing a CGI-based handler of your own, you probably want " "to use this routine instead of just copying values out of ``os.environ`` " "directly." msgstr "" -#: library/wsgiref.rst:772 +#: library/wsgiref.rst:777 msgid ":mod:`wsgiref.types` -- WSGI types for static type checking" msgstr "" -#: library/wsgiref.rst:778 +#: library/wsgiref.rst:783 msgid "" "This module provides various types for static type checking as described in :" "pep:`3333`." msgstr "" -#: library/wsgiref.rst:786 +#: library/wsgiref.rst:791 msgid "" "A :class:`typing.Protocol` describing :pep:`start_response() <3333#the-start-" "response-callable>` callables (:pep:`3333`)." msgstr "" -#: library/wsgiref.rst:792 +#: library/wsgiref.rst:797 msgid "A type alias describing a WSGI environment dictionary." msgstr "" -#: library/wsgiref.rst:796 +#: library/wsgiref.rst:801 msgid "A type alias describing a WSGI application callable." msgstr "" -#: library/wsgiref.rst:800 +#: library/wsgiref.rst:805 msgid "" "A :class:`typing.Protocol` describing a :pep:`WSGI Input Stream <3333#input-" "and-error-streams>`." msgstr "" -#: library/wsgiref.rst:805 +#: library/wsgiref.rst:810 msgid "" "A :class:`typing.Protocol` describing a :pep:`WSGI Error Stream <3333#input-" "and-error-streams>`." msgstr "" -#: library/wsgiref.rst:810 +#: library/wsgiref.rst:815 msgid "" "A :class:`typing.Protocol` describing a :pep:`file wrapper <3333#optional-" "platform-specific-file-handling>`. See :class:`wsgiref.util.FileWrapper` for " "a concrete implementation of this protocol." msgstr "" -#: library/wsgiref.rst:817 +#: library/wsgiref.rst:822 msgid "Examples" msgstr "" -#: library/wsgiref.rst:819 -msgid "This is a working \"Hello World\" WSGI application::" +#: library/wsgiref.rst:824 +msgid "" +"This is a working \"Hello World\" WSGI application, where the " +"*start_response* callable should follow the :class:`.StartResponse` " +"protocol::" msgstr "" -#: library/wsgiref.rst:821 +#: library/wsgiref.rst:827 msgid "" "\"\"\"\n" "Every WSGI application must have an application object - a callable\n" @@ -1006,13 +1023,13 @@ msgid "" " httpd.serve_forever()" msgstr "" -#: library/wsgiref.rst:848 +#: library/wsgiref.rst:854 msgid "" "Example of a WSGI application serving the current directory, accept optional " "directory and port number (default: 8000) on the command line::" msgstr "" -#: library/wsgiref.rst:851 +#: library/wsgiref.rst:857 msgid "" "\"\"\"\n" "Small wsgiref based web server. Takes a path to serve from and an\n" diff --git a/library/xdrlib.po b/library/xdrlib.po index 51770bc0..7ef7324e 100644 --- a/library/xdrlib.po +++ b/library/xdrlib.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/library/xml.dom.minidom.po b/library/xml.dom.minidom.po index fbd2030b..bc810f43 100644 --- a/library/xml.dom.minidom.po +++ b/library/xml.dom.minidom.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/library/xml.dom.po b/library/xml.dom.po index 426c133b..f3e50125 100644 --- a/library/xml.dom.po +++ b/library/xml.dom.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/library/xml.dom.pulldom.po b/library/xml.dom.pulldom.po index 3855e4c7..fcb5e1ea 100644 --- a/library/xml.dom.pulldom.po +++ b/library/xml.dom.pulldom.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/library/xml.etree.elementtree.po b/library/xml.etree.elementtree.po index b9c53b4a..01e7df1d 100644 --- a/library/xml.etree.elementtree.po +++ b/library/xml.etree.elementtree.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/library/xml.po b/library/xml.po index c2ac775e..19789d3f 100644 --- a/library/xml.po +++ b/library/xml.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/library/xml.sax.handler.po b/library/xml.sax.handler.po index 37341c11..ca1a5774 100644 --- a/library/xml.sax.handler.po +++ b/library/xml.sax.handler.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/library/xml.sax.po b/library/xml.sax.po index 014ae40f..b62baa65 100644 --- a/library/xml.sax.po +++ b/library/xml.sax.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/library/xml.sax.reader.po b/library/xml.sax.reader.po index 1554ad93..8570a978 100644 --- a/library/xml.sax.reader.po +++ b/library/xml.sax.reader.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/library/xml.sax.utils.po b/library/xml.sax.utils.po index ded7ab2e..e5645367 100644 --- a/library/xml.sax.utils.po +++ b/library/xml.sax.utils.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/library/xmlrpc.client.po b/library/xmlrpc.client.po index 1f033fb8..4ceacdd8 100644 --- a/library/xmlrpc.client.po +++ b/library/xmlrpc.client.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -85,29 +85,29 @@ msgid "" "class:`bytes` and :class:`bytearray` objects may be passed to calls. The " "*headers* parameter is an optional sequence of HTTP headers to send with " "each request, expressed as a sequence of 2-tuples representing the header " -"name and value. (e.g. ``[('Header-Name', 'value')]``). The obsolete " -"*use_datetime* flag is similar to *use_builtin_types* but it applies only to " -"date/time values." +"name and value. (e.g. ``[('Header-Name', 'value')]``). If an HTTPS URL is " +"provided, *context* may be :class:`ssl.SSLContext` and configures the SSL " +"settings of the underlying HTTPS connection. The obsolete *use_datetime* " +"flag is similar to *use_builtin_types* but it applies only to date/time " +"values." msgstr "" #: library/xmlrpc.client.rst:549 msgid "The *use_builtin_types* flag was added." msgstr "" -#: library/xmlrpc.client.rst:70 +#: library/xmlrpc.client.rst:72 msgid "The *headers* parameter was added." msgstr "" -#: library/xmlrpc.client.rst:73 +#: library/xmlrpc.client.rst:75 msgid "" "Both the HTTP and HTTPS transports support the URL syntax extension for HTTP " "Basic Authentication: ``http://user:pass@host:port/path``. The ``user:" "pass`` portion will be base64-encoded as an HTTP 'Authorization' header, and " "sent to the remote server as part of the connection process when invoking an " "XML-RPC method. You only need to use this if the remote server requires a " -"Basic Authentication user and password. If an HTTPS URL is provided, " -"*context* may be :class:`ssl.SSLContext` and configures the SSL settings of " -"the underlying HTTPS connection." +"Basic Authentication user and password." msgstr "" #: library/xmlrpc.client.rst:82 diff --git a/library/xmlrpc.po b/library/xmlrpc.po index a241b2e0..cd629bf8 100644 --- a/library/xmlrpc.po +++ b/library/xmlrpc.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/library/xmlrpc.server.po b/library/xmlrpc.server.po index 404161ce..d256e63b 100644 --- a/library/xmlrpc.server.po +++ b/library/xmlrpc.server.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/library/zipapp.po b/library/zipapp.po index 7756cf17..becbded2 100644 --- a/library/zipapp.po +++ b/library/zipapp.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/library/zipfile.po b/library/zipfile.po index c7e24a26..578367a5 100644 --- a/library/zipfile.po +++ b/library/zipfile.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -205,7 +205,7 @@ msgid "" "accepted (see :class:`bz2 <bz2.BZ2File>` for more information)." msgstr "" -#: library/zipfile.rst:735 +#: library/zipfile.rst:743 msgid "" "The *strict_timestamps* argument, when set to ``False``, allows to zip files " "older than 1980-01-01 at the cost of setting the timestamp to 1980-01-01. " @@ -264,7 +264,7 @@ msgstr "" msgid "Added support for :mod:`bzip2 <bz2>` and :mod:`lzma` compression." msgstr "" -#: library/zipfile.rst:648 +#: library/zipfile.rst:656 msgid "ZIP64 extensions are enabled by default." msgstr "" @@ -629,20 +629,31 @@ msgid "" "file.txt', 'dir/', or ''. Defaults to the empty string, indicating the root." msgstr "" -#: library/zipfile.rst:531 +#: library/zipfile.rst:532 +msgid "" +"The :class:`Path` class does not sanitize filenames within the ZIP archive. " +"Unlike the :meth:`ZipFile.extract` and :meth:`ZipFile.extractall` methods, " +"it is the caller's responsibility to validate or sanitize filenames to " +"prevent path traversal vulnerabilities (e.g., filenames containing \"..\" or " +"absolute paths). When handling untrusted archives, consider resolving " +"filenames using :func:`os.path.abspath` and checking against the target " +"directory with :func:`os.path.commonpath`." +msgstr "" + +#: library/zipfile.rst:539 msgid "" "Path objects expose the following features of :mod:`pathlib.Path` objects:" msgstr "" -#: library/zipfile.rst:534 +#: library/zipfile.rst:542 msgid "Path objects are traversable using the ``/`` operator or ``joinpath``." msgstr "" -#: library/zipfile.rst:538 +#: library/zipfile.rst:546 msgid "The final path component." msgstr "" -#: library/zipfile.rst:542 +#: library/zipfile.rst:550 msgid "" "Invoke :meth:`ZipFile.open` on the current path. Allows opening for read or " "write, text or binary through supported modes: 'r', 'w', 'rb', 'wb'. " @@ -651,12 +662,12 @@ msgid "" "``pwd`` parameter to :meth:`ZipFile.open`." msgstr "" -#: library/zipfile.rst:551 +#: library/zipfile.rst:559 msgid "" "Added support for text and binary modes for open. Default mode is now text." msgstr "" -#: library/zipfile.rst:606 +#: library/zipfile.rst:614 msgid "" "The ``encoding`` parameter can be supplied as a positional argument without " "causing a :exc:`TypeError`. As it could in 3.9. Code needing to be " @@ -664,124 +675,124 @@ msgid "" "TextIOWrapper` arguments, ``encoding`` included, as keywords." msgstr "" -#: library/zipfile.rst:563 +#: library/zipfile.rst:571 msgid "Enumerate the children of the current directory." msgstr "" -#: library/zipfile.rst:567 +#: library/zipfile.rst:575 msgid "Return ``True`` if the current context references a directory." msgstr "" -#: library/zipfile.rst:571 +#: library/zipfile.rst:579 msgid "Return ``True`` if the current context references a file." msgstr "" -#: library/zipfile.rst:575 +#: library/zipfile.rst:583 msgid "" "Return ``True`` if the current context references a file or directory in the " "zip file." msgstr "" -#: library/zipfile.rst:580 +#: library/zipfile.rst:588 msgid "The file extension of the final component." msgstr "" -#: library/zipfile.rst:582 +#: library/zipfile.rst:590 msgid "Added :data:`Path.suffix` property." msgstr "" -#: library/zipfile.rst:587 +#: library/zipfile.rst:595 msgid "The final path component, without its suffix." msgstr "" -#: library/zipfile.rst:589 +#: library/zipfile.rst:597 msgid "Added :data:`Path.stem` property." msgstr "" -#: library/zipfile.rst:594 +#: library/zipfile.rst:602 msgid "A list of the path’s file extensions." msgstr "" -#: library/zipfile.rst:596 +#: library/zipfile.rst:604 msgid "Added :data:`Path.suffixes` property." msgstr "" -#: library/zipfile.rst:601 +#: library/zipfile.rst:609 msgid "" "Read the current file as unicode text. Positional and keyword arguments are " "passed through to :class:`io.TextIOWrapper` (except ``buffer``, which is " "implied by the context)." msgstr "" -#: library/zipfile.rst:614 +#: library/zipfile.rst:622 msgid "Read the current file as bytes." msgstr "" -#: library/zipfile.rst:618 +#: library/zipfile.rst:626 msgid "" "Return a new Path object with each of the *other* arguments joined. The " "following are equivalent::" msgstr "" -#: library/zipfile.rst:621 +#: library/zipfile.rst:629 msgid "" ">>> Path(...).joinpath('child').joinpath('grandchild')\n" ">>> Path(...).joinpath('child', 'grandchild')\n" ">>> Path(...) / 'child' / 'grandchild'" msgstr "" -#: library/zipfile.rst:625 +#: library/zipfile.rst:633 msgid "" "Prior to 3.10, ``joinpath`` was undocumented and accepted exactly one " "parameter." msgstr "" -#: library/zipfile.rst:629 +#: library/zipfile.rst:637 msgid "" "The :pypi:`zipp` project provides backports of the latest path object " "functionality to older Pythons. Use ``zipp.Path`` in place of ``zipfile." "Path`` for early access to changes." msgstr "" -#: library/zipfile.rst:637 +#: library/zipfile.rst:645 msgid "PyZipFile Objects" msgstr "" -#: library/zipfile.rst:639 +#: library/zipfile.rst:647 msgid "" "The :class:`PyZipFile` constructor takes the same parameters as the :class:" "`ZipFile` constructor, and one additional parameter, *optimize*." msgstr "" -#: library/zipfile.rst:645 +#: library/zipfile.rst:653 msgid "Added the *optimize* parameter." msgstr "" -#: library/zipfile.rst:651 +#: library/zipfile.rst:659 msgid "" "Instances have one method in addition to those of :class:`ZipFile` objects:" msgstr "" -#: library/zipfile.rst:655 +#: library/zipfile.rst:663 msgid "" "Search for files :file:`\\*.py` and add the corresponding file to the " "archive." msgstr "" -#: library/zipfile.rst:658 +#: library/zipfile.rst:666 msgid "" "If the *optimize* parameter to :class:`PyZipFile` was not given or ``-1``, " "the corresponding file is a :file:`\\*.pyc` file, compiling if necessary." msgstr "" -#: library/zipfile.rst:661 +#: library/zipfile.rst:669 msgid "" "If the *optimize* parameter to :class:`PyZipFile` was ``0``, ``1`` or ``2``, " "only files with that optimization level (see :func:`compile`) are added to " "the archive, compiling if necessary." msgstr "" -#: library/zipfile.rst:665 +#: library/zipfile.rst:673 msgid "" "If *pathname* is a file, the filename must end with :file:`.py`, and just " "the (corresponding :file:`\\*.pyc`) file is added at the top level (no path " @@ -794,11 +805,11 @@ msgid "" "in sorted order." msgstr "" -#: library/zipfile.rst:675 +#: library/zipfile.rst:683 msgid "*basename* is intended for internal use only." msgstr "" -#: library/zipfile.rst:677 +#: library/zipfile.rst:685 msgid "" "*filterfunc*, if given, must be a function taking a single string argument. " "It will be passed each path (including each individual full file path) " @@ -809,7 +820,7 @@ msgid "" "exclude them::" msgstr "" -#: library/zipfile.rst:685 +#: library/zipfile.rst:693 msgid "" ">>> zf = PyZipFile('myprog.zip')\n" ">>> def notests(s):\n" @@ -819,11 +830,11 @@ msgid "" ">>> zf.writepy('myprog', filterfunc=notests)" msgstr "" -#: library/zipfile.rst:692 +#: library/zipfile.rst:700 msgid "The :meth:`writepy` method makes archives with file names like this::" msgstr "" -#: library/zipfile.rst:695 +#: library/zipfile.rst:703 msgid "" "string.pyc # Top level name\n" "test/__init__.pyc # Package directory\n" @@ -832,302 +843,302 @@ msgid "" "test/bogus/myfile.pyc # Submodule test.bogus.myfile" msgstr "" -#: library/zipfile.rst:701 +#: library/zipfile.rst:709 msgid "Added the *filterfunc* parameter." msgstr "" -#: library/zipfile.rst:704 +#: library/zipfile.rst:712 msgid "The *pathname* parameter accepts a :term:`path-like object`." msgstr "" -#: library/zipfile.rst:707 +#: library/zipfile.rst:715 msgid "Recursion sorts directory entries." msgstr "" -#: library/zipfile.rst:714 +#: library/zipfile.rst:722 msgid "ZipInfo Objects" msgstr "" -#: library/zipfile.rst:716 +#: library/zipfile.rst:724 msgid "" "Instances of the :class:`ZipInfo` class are returned by the :meth:`.getinfo` " "and :meth:`.infolist` methods of :class:`ZipFile` objects. Each object " "stores information about a single member of the ZIP archive." msgstr "" -#: library/zipfile.rst:720 +#: library/zipfile.rst:728 msgid "" "There is one classmethod to make a :class:`ZipInfo` instance for a " "filesystem file:" msgstr "" -#: library/zipfile.rst:726 +#: library/zipfile.rst:734 msgid "" "Construct a :class:`ZipInfo` instance for a file on the filesystem, in " "preparation for adding it to a zip file." msgstr "" -#: library/zipfile.rst:729 +#: library/zipfile.rst:737 msgid "*filename* should be the path to a file or directory on the filesystem." msgstr "" -#: library/zipfile.rst:731 +#: library/zipfile.rst:739 msgid "" "If *arcname* is specified, it is used as the name within the archive. If " "*arcname* is not specified, the name will be the same as *filename*, but " "with any drive letter and leading path separators removed." msgstr "" -#: library/zipfile.rst:743 +#: library/zipfile.rst:751 msgid "The *filename* parameter accepts a :term:`path-like object`." msgstr "" -#: library/zipfile.rst:746 +#: library/zipfile.rst:754 msgid "Added the *strict_timestamps* keyword-only parameter." msgstr "" -#: library/zipfile.rst:750 +#: library/zipfile.rst:758 msgid "Instances have the following methods and attributes:" msgstr "" -#: library/zipfile.rst:754 +#: library/zipfile.rst:762 msgid "Return ``True`` if this archive member is a directory." msgstr "" -#: library/zipfile.rst:756 +#: library/zipfile.rst:764 msgid "This uses the entry's name: directories should always end with ``/``." msgstr "" -#: library/zipfile.rst:763 +#: library/zipfile.rst:771 msgid "Name of the file in the archive." msgstr "" -#: library/zipfile.rst:768 +#: library/zipfile.rst:776 msgid "" "The time and date of the last modification to the archive member. This is a " "tuple of six values:" msgstr "" -#: library/zipfile.rst:772 +#: library/zipfile.rst:780 msgid "Index" msgstr "" -#: library/zipfile.rst:772 +#: library/zipfile.rst:780 msgid "Value" msgstr "" -#: library/zipfile.rst:774 +#: library/zipfile.rst:782 msgid "``0``" msgstr "" -#: library/zipfile.rst:774 +#: library/zipfile.rst:782 msgid "Year (>= 1980)" msgstr "" -#: library/zipfile.rst:776 +#: library/zipfile.rst:784 msgid "``1``" msgstr "" -#: library/zipfile.rst:776 +#: library/zipfile.rst:784 msgid "Month (one-based)" msgstr "" -#: library/zipfile.rst:778 +#: library/zipfile.rst:786 msgid "``2``" msgstr "" -#: library/zipfile.rst:778 +#: library/zipfile.rst:786 msgid "Day of month (one-based)" msgstr "" -#: library/zipfile.rst:780 +#: library/zipfile.rst:788 msgid "``3``" msgstr "" -#: library/zipfile.rst:780 +#: library/zipfile.rst:788 msgid "Hours (zero-based)" msgstr "" -#: library/zipfile.rst:782 +#: library/zipfile.rst:790 msgid "``4``" msgstr "" -#: library/zipfile.rst:782 +#: library/zipfile.rst:790 msgid "Minutes (zero-based)" msgstr "" -#: library/zipfile.rst:784 +#: library/zipfile.rst:792 msgid "``5``" msgstr "" -#: library/zipfile.rst:784 +#: library/zipfile.rst:792 msgid "Seconds (zero-based)" msgstr "" -#: library/zipfile.rst:789 +#: library/zipfile.rst:797 msgid "The ZIP file format does not support timestamps before 1980." msgstr "" -#: library/zipfile.rst:794 +#: library/zipfile.rst:802 msgid "Type of compression for the archive member." msgstr "" -#: library/zipfile.rst:799 +#: library/zipfile.rst:807 msgid "Comment for the individual archive member as a :class:`bytes` object." msgstr "" -#: library/zipfile.rst:804 +#: library/zipfile.rst:812 msgid "" "Expansion field data. The `PKZIP Application Note`_ contains some comments " "on the internal structure of the data contained in this :class:`bytes` " "object." msgstr "" -#: library/zipfile.rst:811 +#: library/zipfile.rst:819 msgid "System which created ZIP archive." msgstr "" -#: library/zipfile.rst:816 +#: library/zipfile.rst:824 msgid "PKZIP version which created ZIP archive." msgstr "" -#: library/zipfile.rst:821 +#: library/zipfile.rst:829 msgid "PKZIP version needed to extract archive." msgstr "" -#: library/zipfile.rst:826 +#: library/zipfile.rst:834 msgid "Must be zero." msgstr "" -#: library/zipfile.rst:831 +#: library/zipfile.rst:839 msgid "ZIP flag bits." msgstr "" -#: library/zipfile.rst:836 +#: library/zipfile.rst:844 msgid "Volume number of file header." msgstr "" -#: library/zipfile.rst:841 +#: library/zipfile.rst:849 msgid "Internal attributes." msgstr "" -#: library/zipfile.rst:846 +#: library/zipfile.rst:854 msgid "External file attributes." msgstr "" -#: library/zipfile.rst:851 +#: library/zipfile.rst:859 msgid "Byte offset to the file header." msgstr "" -#: library/zipfile.rst:856 +#: library/zipfile.rst:864 msgid "CRC-32 of the uncompressed file." msgstr "" -#: library/zipfile.rst:861 +#: library/zipfile.rst:869 msgid "Size of the compressed data." msgstr "" -#: library/zipfile.rst:866 +#: library/zipfile.rst:874 msgid "Size of the uncompressed file." msgstr "" -#: library/zipfile.rst:873 +#: library/zipfile.rst:881 msgid "Command-Line Interface" msgstr "" -#: library/zipfile.rst:875 +#: library/zipfile.rst:883 msgid "" "The :mod:`zipfile` module provides a simple command-line interface to " "interact with ZIP archives." msgstr "" -#: library/zipfile.rst:878 +#: library/zipfile.rst:886 msgid "" "If you want to create a new ZIP archive, specify its name after the :option:" "`-c` option and then list the filename(s) that should be included:" msgstr "" -#: library/zipfile.rst:881 +#: library/zipfile.rst:889 msgid "$ python -m zipfile -c monty.zip spam.txt eggs.txt" msgstr "" -#: library/zipfile.rst:885 +#: library/zipfile.rst:893 msgid "Passing a directory is also acceptable:" msgstr "" -#: library/zipfile.rst:887 +#: library/zipfile.rst:895 msgid "$ python -m zipfile -c monty.zip life-of-brian_1979/" msgstr "" -#: library/zipfile.rst:891 +#: library/zipfile.rst:899 msgid "" "If you want to extract a ZIP archive into the specified directory, use the :" "option:`-e` option:" msgstr "" -#: library/zipfile.rst:894 +#: library/zipfile.rst:902 msgid "$ python -m zipfile -e monty.zip target-dir/" msgstr "" -#: library/zipfile.rst:898 +#: library/zipfile.rst:906 msgid "For a list of the files in a ZIP archive, use the :option:`-l` option:" msgstr "" -#: library/zipfile.rst:900 +#: library/zipfile.rst:908 msgid "$ python -m zipfile -l monty.zip" msgstr "" -#: library/zipfile.rst:906 +#: library/zipfile.rst:914 msgid "Command-line options" msgstr "" -#: library/zipfile.rst:911 +#: library/zipfile.rst:919 msgid "List files in a zipfile." msgstr "" -#: library/zipfile.rst:916 +#: library/zipfile.rst:924 msgid "Create zipfile from source files." msgstr "" -#: library/zipfile.rst:921 +#: library/zipfile.rst:929 msgid "Extract zipfile into target directory." msgstr "" -#: library/zipfile.rst:926 +#: library/zipfile.rst:934 msgid "Test whether the zipfile is valid or not." msgstr "" -#: library/zipfile.rst:930 +#: library/zipfile.rst:938 msgid "" "Specify encoding of member names for :option:`-l`, :option:`-e` and :option:" "`-t`." msgstr "" -#: library/zipfile.rst:937 +#: library/zipfile.rst:945 msgid "Decompression pitfalls" msgstr "" -#: library/zipfile.rst:939 +#: library/zipfile.rst:947 msgid "" "The extraction in zipfile module might fail due to some pitfalls listed " "below." msgstr "" -#: library/zipfile.rst:942 +#: library/zipfile.rst:950 msgid "From file itself" msgstr "" -#: library/zipfile.rst:944 +#: library/zipfile.rst:952 msgid "" "Decompression may fail due to incorrect password / CRC checksum / ZIP format " "or unsupported compression method / decryption." msgstr "" -#: library/zipfile.rst:948 +#: library/zipfile.rst:956 msgid "File System limitations" msgstr "" -#: library/zipfile.rst:950 +#: library/zipfile.rst:958 msgid "" "Exceeding limitations on different file systems can cause decompression " "failed. Such as allowable characters in the directory entries, length of the " @@ -1135,33 +1146,33 @@ msgid "" "files, etc." msgstr "" -#: library/zipfile.rst:957 +#: library/zipfile.rst:965 msgid "Resources limitations" msgstr "" -#: library/zipfile.rst:959 +#: library/zipfile.rst:967 msgid "" "The lack of memory or disk volume would lead to decompression failed. For " "example, decompression bombs (aka `ZIP bomb`_) apply to zipfile library that " "can cause disk volume exhaustion." msgstr "" -#: library/zipfile.rst:964 +#: library/zipfile.rst:972 msgid "Interruption" msgstr "" -#: library/zipfile.rst:966 +#: library/zipfile.rst:974 msgid "" "Interruption during the decompression, such as pressing control-C or killing " "the decompression process may result in incomplete decompression of the " "archive." msgstr "" -#: library/zipfile.rst:970 +#: library/zipfile.rst:978 msgid "Default behaviors of extraction" msgstr "" -#: library/zipfile.rst:972 +#: library/zipfile.rst:980 msgid "" "Not knowing the default extraction behaviors can cause unexpected " "decompression results. For example, when extracting the same archive twice, " diff --git a/library/zipimport.po b/library/zipimport.po index 157480b7..772d5845 100644 --- a/library/zipimport.po +++ b/library/zipimport.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/library/zlib.po b/library/zlib.po index 6dc295eb..d801cb07 100644 --- a/library/zlib.po +++ b/library/zlib.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/library/zoneinfo.po b/library/zoneinfo.po index bd29b35a..bfb65bff 100644 --- a/library/zoneinfo.po +++ b/library/zoneinfo.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/license.po b/license.po index b98741ea..6f1f7f05 100644 --- a/license.po +++ b/license.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-04-24 22:38+0300\n" "Last-Translator: Panagiotis Skias <panagiotis.skias@gmail.com>\n" "Language-Team: PyGreece <pygreece@gmail.com>\n" diff --git a/reference/compound_stmts.po b/reference/compound_stmts.po index 2ca7d7ae..6cd30fbc 100644 --- a/reference/compound_stmts.po +++ b/reference/compound_stmts.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/reference/datamodel.po b/reference/datamodel.po index 95318f83..864acc1f 100644 --- a/reference/datamodel.po +++ b/reference/datamodel.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/reference/executionmodel.po b/reference/executionmodel.po index ea7abdac..845e3eef 100644 --- a/reference/executionmodel.po +++ b/reference/executionmodel.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-12-09 18:41+0200\n" "Last-Translator: Marios Giannopoulos <mariosgian_2002@yahoo.gr>\n" "Language-Team: PyGreece <pygreece@gmail.com>\n" diff --git a/reference/expressions.po b/reference/expressions.po index b026f75d..a3e0f306 100644 --- a/reference/expressions.po +++ b/reference/expressions.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -714,7 +714,7 @@ msgid "" "*value* may be cleared." msgstr "" -#: reference/expressions.rst:795 +#: reference/expressions.rst:798 msgid "" "The second signature \\(type\\[, value\\[, traceback\\]\\]\\) is deprecated " "and may be removed in a future version of Python." @@ -869,7 +869,7 @@ msgid "" "which are used to control the execution of a generator function." msgstr "" -#: reference/expressions.rst:750 +#: reference/expressions.rst:751 msgid "" "Returns an awaitable which when run starts to execute the asynchronous " "generator or resumes it at the last executed yield expression. When an " @@ -884,12 +884,12 @@ msgid "" "has completed." msgstr "" -#: reference/expressions.rst:762 +#: reference/expressions.rst:763 msgid "" "This method is normally called implicitly by a :keyword:`async for` loop." msgstr "" -#: reference/expressions.rst:767 +#: reference/expressions.rst:769 msgid "" "Returns an awaitable which when run resumes the execution of the " "asynchronous generator. As with the :meth:`~generator.send` method for a " @@ -904,7 +904,7 @@ msgid "" "receive the value." msgstr "" -#: reference/expressions.rst:783 +#: reference/expressions.rst:786 msgid "" "Returns an awaitable that raises an exception of type ``type`` at the point " "where the asynchronous generator was paused, and returns the next value " @@ -916,7 +916,7 @@ msgid "" "that exception propagates to the caller of the awaitable." msgstr "" -#: reference/expressions.rst:803 +#: reference/expressions.rst:807 msgid "" "Returns an awaitable that when run will throw a :exc:`GeneratorExit` into " "the asynchronous generator function at the point where it was paused. If the " @@ -932,25 +932,25 @@ msgid "" "will return an awaitable that does nothing." msgstr "" -#: reference/expressions.rst:819 +#: reference/expressions.rst:823 msgid "Primaries" msgstr "" -#: reference/expressions.rst:823 +#: reference/expressions.rst:827 msgid "" "Primaries represent the most tightly bound operations of the language. Their " "syntax is:" msgstr "" -#: reference/expressions.rst:833 +#: reference/expressions.rst:837 msgid "Attribute references" msgstr "" -#: reference/expressions.rst:839 +#: reference/expressions.rst:843 msgid "An attribute reference is a primary followed by a period and a name:" msgstr "" -#: reference/expressions.rst:849 +#: reference/expressions.rst:853 msgid "" "The primary must evaluate to an object of a type that supports attribute " "references, which most objects do. This object is then asked to produce the " @@ -959,7 +959,7 @@ msgid "" "reference may yield different objects." msgstr "" -#: reference/expressions.rst:855 +#: reference/expressions.rst:859 msgid "" "This production can be customized by overriding the :meth:`~object." "__getattribute__` method or the :meth:`~object.__getattr__` method. The :" @@ -967,17 +967,17 @@ msgid "" "or raises :exc:`AttributeError` if the attribute is not available." msgstr "" -#: reference/expressions.rst:861 +#: reference/expressions.rst:865 msgid "" "If an :exc:`AttributeError` is raised and the object has a :meth:`!" "__getattr__` method, that method is called as a fallback." msgstr "" -#: reference/expressions.rst:867 +#: reference/expressions.rst:871 msgid "Subscriptions" msgstr "" -#: reference/expressions.rst:882 +#: reference/expressions.rst:886 msgid "" "The subscription of an instance of a :ref:`container class <sequence-types>` " "will generally select an element from the container. The subscription of a :" @@ -985,13 +985,13 @@ msgid "" "`GenericAlias <types-genericalias>` object." msgstr "" -#: reference/expressions.rst:890 +#: reference/expressions.rst:894 msgid "" "When an object is subscripted, the interpreter will evaluate the primary and " "the expression list." msgstr "" -#: reference/expressions.rst:893 +#: reference/expressions.rst:897 msgid "" "The primary must evaluate to an object that supports subscription. An object " "may support subscription through defining one or both of :meth:`~object." @@ -1001,7 +1001,7 @@ msgid "" "called instead of ``__getitem__``, see :ref:`classgetitem-versus-getitem`." msgstr "" -#: reference/expressions.rst:900 +#: reference/expressions.rst:904 msgid "" "If the expression list contains at least one comma, or if any of the " "expressions are starred, the expression list will evaluate to a :class:" @@ -1009,17 +1009,17 @@ msgid "" "expression list will evaluate to the value of the list's sole member." msgstr "" -#: reference/expressions.rst:905 +#: reference/expressions.rst:909 msgid "Expressions in an expression list may be starred. See :pep:`646`." msgstr "" -#: reference/expressions.rst:908 +#: reference/expressions.rst:912 msgid "" "For built-in objects, there are two types of objects that support " "subscription via :meth:`~object.__getitem__`:" msgstr "" -#: reference/expressions.rst:911 +#: reference/expressions.rst:915 msgid "" "Mappings. If the primary is a :term:`mapping`, the expression list must " "evaluate to an object whose value is one of the keys of the mapping, and the " @@ -1027,7 +1027,7 @@ msgid "" "An example of a builtin mapping class is the :class:`dict` class." msgstr "" -#: reference/expressions.rst:915 +#: reference/expressions.rst:919 msgid "" "Sequences. If the primary is a :term:`sequence`, the expression list must " "evaluate to an :class:`int` or a :class:`slice` (as discussed in the " @@ -1035,7 +1035,7 @@ msgid "" "`str`, :class:`list` and :class:`tuple` classes." msgstr "" -#: reference/expressions.rst:920 +#: reference/expressions.rst:924 msgid "" "The formal syntax makes no special provision for negative indices in :term:" "`sequences <sequence>`. However, built-in sequences all provide a :meth:" @@ -1049,25 +1049,25 @@ msgid "" "explicitly add that support." msgstr "" -#: reference/expressions.rst:934 +#: reference/expressions.rst:938 msgid "" "A :class:`string <str>` is a special kind of sequence whose items are " "*characters*. A character is not a separate data type but a string of " "exactly one character." msgstr "" -#: reference/expressions.rst:942 +#: reference/expressions.rst:946 msgid "Slicings" msgstr "" -#: reference/expressions.rst:956 +#: reference/expressions.rst:960 msgid "" "A slicing selects a range of items in a sequence object (e.g., a string, " "tuple or list). Slicings may be used as expressions or as targets in " "assignment or :keyword:`del` statements. The syntax for a slicing:" msgstr "" -#: reference/expressions.rst:969 +#: reference/expressions.rst:973 msgid "" "There is ambiguity in the formal syntax here: anything that looks like an " "expression list also looks like a slice list, so any subscription can be " @@ -1077,7 +1077,7 @@ msgid "" "the case if the slice list contains no proper slice)." msgstr "" -#: reference/expressions.rst:981 +#: reference/expressions.rst:985 msgid "" "The semantics for a slicing are as follows. The primary is indexed (using " "the same :meth:`~object.__getitem__` method as normal subscription) with a " @@ -1092,23 +1092,23 @@ msgid "" "missing expressions." msgstr "" -#: reference/expressions.rst:1005 +#: reference/expressions.rst:1009 msgid "Calls" msgstr "" -#: reference/expressions.rst:1007 +#: reference/expressions.rst:1011 msgid "" "A call calls a callable object (e.g., a :term:`function`) with a possibly " "empty series of :term:`arguments <argument>`:" msgstr "" -#: reference/expressions.rst:1024 +#: reference/expressions.rst:1028 msgid "" "An optional trailing comma may be present after the positional and keyword " "arguments but does not affect the semantics." msgstr "" -#: reference/expressions.rst:1030 +#: reference/expressions.rst:1034 msgid "" "The primary must evaluate to a callable object (user-defined functions, " "built-in functions, methods of built-in objects, class objects, methods of " @@ -1118,7 +1118,7 @@ msgid "" "formal :term:`parameter` lists." msgstr "" -#: reference/expressions.rst:1038 +#: reference/expressions.rst:1042 msgid "" "If keyword arguments are present, they are first converted to positional " "arguments, as follows. First, a list of unfilled slots is created for the " @@ -1139,7 +1139,7 @@ msgid "" "filled slots is used as the argument list for the call." msgstr "" -#: reference/expressions.rst:1058 +#: reference/expressions.rst:1062 msgid "" "An implementation may provide built-in functions whose positional parameters " "do not have names, even if they are 'named' for the purpose of " @@ -1148,7 +1148,7 @@ msgid "" "`PyArg_ParseTuple` to parse their arguments." msgstr "" -#: reference/expressions.rst:1064 +#: reference/expressions.rst:1068 msgid "" "If there are more positional arguments than there are formal parameter " "slots, a :exc:`TypeError` exception is raised, unless a formal parameter " @@ -1157,7 +1157,7 @@ msgid "" "empty tuple if there were no excess positional arguments)." msgstr "" -#: reference/expressions.rst:1070 +#: reference/expressions.rst:1074 msgid "" "If any keyword argument does not correspond to a formal parameter name, a :" "exc:`TypeError` exception is raised, unless a formal parameter using the " @@ -1167,7 +1167,7 @@ msgid "" "(new) empty dictionary if there were no excess keyword arguments." msgstr "" -#: reference/expressions.rst:1081 +#: reference/expressions.rst:1085 msgid "" "If the syntax ``*expression`` appears in the function call, ``expression`` " "must evaluate to an :term:`iterable`. Elements from these iterables are " @@ -1177,14 +1177,14 @@ msgid "" "*y1*, ..., *yM*, *x3*, *x4*." msgstr "" -#: reference/expressions.rst:1088 +#: reference/expressions.rst:1092 msgid "" "A consequence of this is that although the ``*expression`` syntax may appear " "*after* explicit keyword arguments, it is processed *before* the keyword " "arguments (and any ``**expression`` arguments -- see below). So::" msgstr "" -#: reference/expressions.rst:1092 +#: reference/expressions.rst:1096 msgid "" ">>> def f(a, b):\n" "... print(a, b)\n" @@ -1199,13 +1199,13 @@ msgid "" "1 2" msgstr "" -#: reference/expressions.rst:1104 +#: reference/expressions.rst:1108 msgid "" "It is unusual for both keyword arguments and the ``*expression`` syntax to " "be used in the same call, so in practice this confusion does not often arise." msgstr "" -#: reference/expressions.rst:1110 +#: reference/expressions.rst:1114 msgid "" "If the syntax ``**expression`` appears in the function call, ``expression`` " "must evaluate to a :term:`mapping`, the contents of which are treated as " @@ -1214,7 +1214,7 @@ msgid "" "a :exc:`TypeError` exception is raised." msgstr "" -#: reference/expressions.rst:1116 +#: reference/expressions.rst:1120 msgid "" "When ``**expression`` is used, each key in this mapping must be a string. " "Each value from the mapping is assigned to the first formal parameter " @@ -1226,35 +1226,35 @@ msgid "" "is raised." msgstr "" -#: reference/expressions.rst:1126 +#: reference/expressions.rst:1130 msgid "" "Formal parameters using the syntax ``*identifier`` or ``**identifier`` " "cannot be used as positional argument slots or as keyword argument names." msgstr "" -#: reference/expressions.rst:1129 +#: reference/expressions.rst:1133 msgid "" "Function calls accept any number of ``*`` and ``**`` unpackings, positional " "arguments may follow iterable unpackings (``*``), and keyword arguments may " "follow dictionary unpackings (``**``). Originally proposed by :pep:`448`." msgstr "" -#: reference/expressions.rst:1135 +#: reference/expressions.rst:1139 msgid "" "A call always returns some value, possibly ``None``, unless it raises an " "exception. How this value is computed depends on the type of the callable " "object." msgstr "" -#: reference/expressions.rst:1139 +#: reference/expressions.rst:1143 msgid "If it is---" msgstr "" -#: reference/expressions.rst:1141 +#: reference/expressions.rst:1145 msgid "a user-defined function:" msgstr "" -#: reference/expressions.rst:1148 +#: reference/expressions.rst:1152 msgid "" "The code block for the function is executed, passing it the argument list. " "The first thing the code block will do is bind the formal parameters to the " @@ -1265,73 +1265,73 @@ msgid "" "``None``." msgstr "" -#: reference/expressions.rst:1155 +#: reference/expressions.rst:1159 msgid "a built-in function or method:" msgstr "" -#: reference/expressions.rst:1166 +#: reference/expressions.rst:1170 msgid "" "The result is up to the interpreter; see :ref:`built-in-funcs` for the " "descriptions of built-in functions and methods." msgstr "" -#: reference/expressions.rst:1169 +#: reference/expressions.rst:1173 msgid "a class object:" msgstr "" -#: reference/expressions.rst:1174 +#: reference/expressions.rst:1178 msgid "A new instance of that class is returned." msgstr "" -#: reference/expressions.rst:1176 +#: reference/expressions.rst:1180 msgid "a class instance method:" msgstr "" -#: reference/expressions.rst:1182 +#: reference/expressions.rst:1186 msgid "" "The corresponding user-defined function is called, with an argument list " "that is one longer than the argument list of the call: the instance becomes " "the first argument." msgstr "" -#: reference/expressions.rst:1186 +#: reference/expressions.rst:1190 msgid "a class instance:" msgstr "" -#: reference/expressions.rst:1191 +#: reference/expressions.rst:1195 msgid "" "The class must define a :meth:`~object.__call__` method; the effect is then " "the same as if that method was called." msgstr "" -#: reference/expressions.rst:1997 +#: reference/expressions.rst:2001 msgid "Await expression" msgstr "" -#: reference/expressions.rst:1201 +#: reference/expressions.rst:1205 msgid "" "Suspend the execution of :term:`coroutine` on an :term:`awaitable` object. " "Can only be used inside a :term:`coroutine function`." msgstr "" -#: reference/expressions.rst:1213 +#: reference/expressions.rst:1217 msgid "The power operator" msgstr "" -#: reference/expressions.rst:1219 +#: reference/expressions.rst:1223 msgid "" "The power operator binds more tightly than unary operators on its left; it " "binds less tightly than unary operators on its right. The syntax is:" msgstr "" -#: reference/expressions.rst:1225 +#: reference/expressions.rst:1229 msgid "" "Thus, in an unparenthesized sequence of power and unary operators, the " "operators are evaluated from right to left (this does not constrain the " "evaluation order for the operands): ``-1**2`` results in ``-1``." msgstr "" -#: reference/expressions.rst:1229 +#: reference/expressions.rst:1233 msgid "" "The power operator has the same semantics as the built-in :func:`pow` " "function, when called with two arguments: it yields its left argument raised " @@ -1339,7 +1339,7 @@ msgid "" "converted to a common type, and the result is of that type." msgstr "" -#: reference/expressions.rst:1234 +#: reference/expressions.rst:1238 msgid "" "For int operands, the result has the same type as the operands unless the " "second argument is negative; in that case, all arguments are converted to " @@ -1347,41 +1347,41 @@ msgid "" "``100``, but ``10**-2`` returns ``0.01``." msgstr "" -#: reference/expressions.rst:1239 +#: reference/expressions.rst:1243 msgid "" "Raising ``0.0`` to a negative power results in a :exc:`ZeroDivisionError`. " "Raising a negative number to a fractional power results in a :class:" "`complex` number. (In earlier versions it raised a :exc:`ValueError`.)" msgstr "" -#: reference/expressions.rst:1243 +#: reference/expressions.rst:1247 msgid "" "This operation can be customized using the special :meth:`~object.__pow__` " "and :meth:`~object.__rpow__` methods." msgstr "" -#: reference/expressions.rst:1249 +#: reference/expressions.rst:1253 msgid "Unary arithmetic and bitwise operations" msgstr "" -#: reference/expressions.rst:1255 +#: reference/expressions.rst:1259 msgid "All unary arithmetic and bitwise operations have the same priority:" msgstr "" -#: reference/expressions.rst:1266 +#: reference/expressions.rst:1270 msgid "" "The unary ``-`` (minus) operator yields the negation of its numeric " "argument; the operation can be overridden with the :meth:`~object.__neg__` " "special method." msgstr "" -#: reference/expressions.rst:1274 +#: reference/expressions.rst:1278 msgid "" "The unary ``+`` (plus) operator yields its numeric argument unchanged; the " "operation can be overridden with the :meth:`~object.__pos__` special method." msgstr "" -#: reference/expressions.rst:1281 +#: reference/expressions.rst:1285 msgid "" "The unary ``~`` (invert) operator yields the bitwise inversion of its " "integer argument. The bitwise inversion of ``x`` is defined as ``-(x+1)``. " @@ -1389,17 +1389,17 @@ msgid "" "meth:`~object.__invert__` special method." msgstr "" -#: reference/expressions.rst:1290 +#: reference/expressions.rst:1294 msgid "" "In all three cases, if the argument does not have the proper type, a :exc:" "`TypeError` exception is raised." msgstr "" -#: reference/expressions.rst:1297 +#: reference/expressions.rst:1301 msgid "Binary arithmetic operations" msgstr "" -#: reference/expressions.rst:1301 +#: reference/expressions.rst:1305 msgid "" "The binary arithmetic operations have the conventional priority levels. " "Note that some of these operations also apply to certain non-numeric types. " @@ -1407,7 +1407,7 @@ msgid "" "multiplicative operators and one for additive operators:" msgstr "" -#: reference/expressions.rst:1316 +#: reference/expressions.rst:1320 msgid "" "The ``*`` (multiplication) operator yields the product of its arguments. " "The arguments must either both be numbers, or one argument must be an " @@ -1417,25 +1417,25 @@ msgid "" "an empty sequence." msgstr "" -#: reference/expressions.rst:1322 +#: reference/expressions.rst:1326 msgid "" "This operation can be customized using the special :meth:`~object.__mul__` " "and :meth:`~object.__rmul__` methods." msgstr "" -#: reference/expressions.rst:1329 +#: reference/expressions.rst:1333 msgid "" "The ``@`` (at) operator is intended to be used for matrix multiplication. " "No builtin Python types implement this operator." msgstr "" -#: reference/expressions.rst:1332 +#: reference/expressions.rst:1336 msgid "" "This operation can be customized using the special :meth:`~object." "__matmul__` and :meth:`~object.__rmatmul__` methods." msgstr "" -#: reference/expressions.rst:1343 +#: reference/expressions.rst:1347 msgid "" "The ``/`` (division) and ``//`` (floor division) operators yield the " "quotient of their arguments. The numeric arguments are first converted to a " @@ -1445,7 +1445,7 @@ msgid "" "the :exc:`ZeroDivisionError` exception." msgstr "" -#: reference/expressions.rst:1350 +#: reference/expressions.rst:1354 msgid "" "The division operation can be customized using the special :meth:`~object." "__truediv__` and :meth:`~object.__rtruediv__` methods. The floor division " @@ -1453,7 +1453,7 @@ msgid "" "and :meth:`~object.__rfloordiv__` methods." msgstr "" -#: reference/expressions.rst:1359 +#: reference/expressions.rst:1363 msgid "" "The ``%`` (modulo) operator yields the remainder from the division of the " "first argument by the second. The numeric arguments are first converted to " @@ -1465,7 +1465,7 @@ msgid "" "absolute value of the second operand [#]_." msgstr "" -#: reference/expressions.rst:1368 +#: reference/expressions.rst:1372 msgid "" "The floor division and modulo operators are connected by the following " "identity: ``x == (x//y)*y + (x%y)``. Floor division and modulo are also " @@ -1473,7 +1473,7 @@ msgid "" "y, x%y)``. [#]_." msgstr "" -#: reference/expressions.rst:1373 +#: reference/expressions.rst:1377 msgid "" "In addition to performing the modulo operation on numbers, the ``%`` " "operator is also overloaded by string objects to perform old-style string " @@ -1482,20 +1482,20 @@ msgid "" "formatting`." msgstr "" -#: reference/expressions.rst:1378 +#: reference/expressions.rst:1382 msgid "" "The *modulo* operation can be customized using the special :meth:`~object." "__mod__` and :meth:`~object.__rmod__` methods." msgstr "" -#: reference/expressions.rst:1381 +#: reference/expressions.rst:1385 msgid "" "The floor division operator, the modulo operator, and the :func:`divmod` " "function are not defined for complex numbers. Instead, convert to a " "floating-point number using the :func:`abs` function if appropriate." msgstr "" -#: reference/expressions.rst:1390 +#: reference/expressions.rst:1394 msgid "" "The ``+`` (addition) operator yields the sum of its arguments. The " "arguments must either both be numbers or both be sequences of the same " @@ -1503,40 +1503,40 @@ msgid "" "then added together. In the latter case, the sequences are concatenated." msgstr "" -#: reference/expressions.rst:1395 +#: reference/expressions.rst:1399 msgid "" "This operation can be customized using the special :meth:`~object.__add__` " "and :meth:`~object.__radd__` methods." msgstr "" -#: reference/expressions.rst:1403 +#: reference/expressions.rst:1407 msgid "" "The ``-`` (subtraction) operator yields the difference of its arguments. " "The numeric arguments are first converted to a common type." msgstr "" -#: reference/expressions.rst:1406 +#: reference/expressions.rst:1410 msgid "" "This operation can be customized using the special :meth:`~object.__sub__` " "and :meth:`~object.__rsub__` methods." msgstr "" -#: reference/expressions.rst:1413 +#: reference/expressions.rst:1417 msgid "Shifting operations" msgstr "" -#: reference/expressions.rst:1420 +#: reference/expressions.rst:1424 msgid "" "The shifting operations have lower priority than the arithmetic operations:" msgstr "" -#: reference/expressions.rst:1425 +#: reference/expressions.rst:1429 msgid "" "These operators accept integers as arguments. They shift the first argument " "to the left or right by the number of bits given by the second argument." msgstr "" -#: reference/expressions.rst:1428 +#: reference/expressions.rst:1432 msgid "" "The left shift operation can be customized using the special :meth:`~object." "__lshift__` and :meth:`~object.__rlshift__` methods. The right shift " @@ -1544,46 +1544,46 @@ msgid "" "and :meth:`~object.__rrshift__` methods." msgstr "" -#: reference/expressions.rst:1435 +#: reference/expressions.rst:1439 msgid "" "A right shift by *n* bits is defined as floor division by ``pow(2,n)``. A " "left shift by *n* bits is defined as multiplication with ``pow(2,n)``." msgstr "" -#: reference/expressions.rst:1442 +#: reference/expressions.rst:1446 msgid "Binary bitwise operations" msgstr "" -#: reference/expressions.rst:1446 +#: reference/expressions.rst:1450 msgid "Each of the three bitwise operations has a different priority level:" msgstr "" -#: reference/expressions.rst:1457 +#: reference/expressions.rst:1461 msgid "" "The ``&`` operator yields the bitwise AND of its arguments, which must be " "integers or one of them must be a custom object overriding :meth:`~object." "__and__` or :meth:`~object.__rand__` special methods." msgstr "" -#: reference/expressions.rst:1466 +#: reference/expressions.rst:1470 msgid "" "The ``^`` operator yields the bitwise XOR (exclusive OR) of its arguments, " "which must be integers or one of them must be a custom object overriding :" "meth:`~object.__xor__` or :meth:`~object.__rxor__` special methods." msgstr "" -#: reference/expressions.rst:1475 +#: reference/expressions.rst:1479 msgid "" "The ``|`` operator yields the bitwise (inclusive) OR of its arguments, which " "must be integers or one of them must be a custom object overriding :meth:" "`~object.__or__` or :meth:`~object.__ror__` special methods." msgstr "" -#: reference/expressions.rst:1483 +#: reference/expressions.rst:1487 msgid "Comparisons" msgstr "" -#: reference/expressions.rst:1495 +#: reference/expressions.rst:1499 msgid "" "Unlike C, all comparison operations in Python have the same priority, which " "is lower than that of any arithmetic, shifting or bitwise operation. Also " @@ -1591,14 +1591,14 @@ msgid "" "conventional in mathematics:" msgstr "" -#: reference/expressions.rst:1505 +#: reference/expressions.rst:1509 msgid "" "Comparisons yield boolean values: ``True`` or ``False``. Custom :dfn:`rich " "comparison methods` may return non-boolean values. In this case Python will " "call :func:`bool` on such value in boolean contexts." msgstr "" -#: reference/expressions.rst:1511 +#: reference/expressions.rst:1515 msgid "" "Comparisons can be chained arbitrarily, e.g., ``x < y <= z`` is equivalent " "to ``x < y and y <= z``, except that ``y`` is evaluated only once (but in " @@ -1606,7 +1606,7 @@ msgid "" "false)." msgstr "" -#: reference/expressions.rst:1515 +#: reference/expressions.rst:1519 msgid "" "Formally, if *a*, *b*, *c*, ..., *y*, *z* are expressions and *op1*, " "*op2*, ..., *opN* are comparison operators, then ``a op1 b op2 c ... y opN " @@ -1614,24 +1614,24 @@ msgid "" "each expression is evaluated at most once." msgstr "" -#: reference/expressions.rst:1520 +#: reference/expressions.rst:1524 msgid "" "Note that ``a op1 b op2 c`` doesn't imply any kind of comparison between *a* " "and *c*, so that, e.g., ``x < y > z`` is perfectly legal (though perhaps not " "pretty)." msgstr "" -#: reference/expressions.rst:1527 +#: reference/expressions.rst:1531 msgid "Value comparisons" msgstr "" -#: reference/expressions.rst:1529 +#: reference/expressions.rst:1533 msgid "" "The operators ``<``, ``>``, ``==``, ``>=``, ``<=``, and ``!=`` compare the " "values of two objects. The objects do not need to have the same type." msgstr "" -#: reference/expressions.rst:1532 +#: reference/expressions.rst:1536 msgid "" "Chapter :ref:`objects` states that objects have a value (in addition to type " "and identity). The value of an object is a rather abstract notion in " @@ -1643,7 +1643,7 @@ msgid "" "indirectly, by means of their comparison implementation." msgstr "" -#: reference/expressions.rst:1541 +#: reference/expressions.rst:1545 msgid "" "Because all types are (direct or indirect) subtypes of :class:`object`, they " "inherit the default comparison behavior from :class:`object`. Types can " @@ -1651,7 +1651,7 @@ msgid "" "methods` like :meth:`~object.__lt__`, described in :ref:`customization`." msgstr "" -#: reference/expressions.rst:1547 +#: reference/expressions.rst:1551 msgid "" "The default behavior for equality comparison (``==`` and ``!=``) is based on " "the identity of the objects. Hence, equality comparison of instances with " @@ -1661,14 +1661,14 @@ msgid "" "``x is y`` implies ``x == y``)." msgstr "" -#: reference/expressions.rst:1554 +#: reference/expressions.rst:1558 msgid "" "A default order comparison (``<``, ``>``, ``<=``, and ``>=``) is not " "provided; an attempt raises :exc:`TypeError`. A motivation for this default " "behavior is the lack of a similar invariant as for equality." msgstr "" -#: reference/expressions.rst:1558 +#: reference/expressions.rst:1562 msgid "" "The behavior of the default equality comparison, that instances with " "different identities are always unequal, may be in contrast to what types " @@ -1677,13 +1677,13 @@ msgid "" "in fact, a number of built-in types have done that." msgstr "" -#: reference/expressions.rst:1564 +#: reference/expressions.rst:1568 msgid "" "The following list describes the comparison behavior of the most important " "built-in types." msgstr "" -#: reference/expressions.rst:1567 +#: reference/expressions.rst:1571 msgid "" "Numbers of built-in numeric types (:ref:`typesnumeric`) and of the standard " "library types :class:`fractions.Fraction` and :class:`decimal.Decimal` can " @@ -1693,7 +1693,7 @@ msgid "" "of precision." msgstr "" -#: reference/expressions.rst:1574 +#: reference/expressions.rst:1578 msgid "" "The not-a-number values ``float('NaN')`` and ``decimal.Decimal('NaN')`` are " "special. Any ordered comparison of a number to a not-a-number value is " @@ -1703,32 +1703,32 @@ msgid "" "is compliant with IEEE 754." msgstr "" -#: reference/expressions.rst:1581 +#: reference/expressions.rst:1585 msgid "" "``None`` and :data:`NotImplemented` are singletons. :PEP:`8` advises that " "comparisons for singletons should always be done with ``is`` or ``is not``, " "never the equality operators." msgstr "" -#: reference/expressions.rst:1585 +#: reference/expressions.rst:1589 msgid "" "Binary sequences (instances of :class:`bytes` or :class:`bytearray`) can be " "compared within and across their types. They compare lexicographically " "using the numeric values of their elements." msgstr "" -#: reference/expressions.rst:1589 +#: reference/expressions.rst:1593 msgid "" "Strings (instances of :class:`str`) compare lexicographically using the " "numerical Unicode code points (the result of the built-in function :func:" "`ord`) of their characters. [#]_" msgstr "" -#: reference/expressions.rst:1593 +#: reference/expressions.rst:1597 msgid "Strings and binary sequences cannot be directly compared." msgstr "" -#: reference/expressions.rst:1595 +#: reference/expressions.rst:1599 msgid "" "Sequences (instances of :class:`tuple`, :class:`list`, or :class:`range`) " "can be compared only within each of their types, with the restriction that " @@ -1737,7 +1737,7 @@ msgid "" "raises :exc:`TypeError`." msgstr "" -#: reference/expressions.rst:1601 +#: reference/expressions.rst:1605 msgid "" "Sequences compare lexicographically using comparison of corresponding " "elements. The built-in containers typically assume identical objects are " @@ -1745,19 +1745,19 @@ msgid "" "objects to improve performance and to maintain their internal invariants." msgstr "" -#: reference/expressions.rst:1606 +#: reference/expressions.rst:1610 msgid "" "Lexicographical comparison between built-in collections works as follows:" msgstr "" -#: reference/expressions.rst:1608 +#: reference/expressions.rst:1612 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 " "(for example, ``[1,2] == (1,2)`` is false because the type is not the same)." msgstr "" -#: reference/expressions.rst:1613 +#: reference/expressions.rst:1617 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 " @@ -1766,25 +1766,25 @@ msgid "" "true)." msgstr "" -#: reference/expressions.rst:1619 +#: reference/expressions.rst:1623 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 " "enforces reflexivity." msgstr "" -#: reference/expressions.rst:1623 +#: reference/expressions.rst:1627 msgid "" "Order comparisons (``<``, ``>``, ``<=``, and ``>=``) raise :exc:`TypeError`." msgstr "" -#: reference/expressions.rst:1625 +#: reference/expressions.rst:1629 msgid "" "Sets (instances of :class:`set` or :class:`frozenset`) can be compared " "within and across their types." msgstr "" -#: reference/expressions.rst:1628 +#: reference/expressions.rst:1632 msgid "" "They define order comparison operators to mean subset and superset tests. " "Those relations do not define total orderings (for example, the two sets " @@ -1795,110 +1795,110 @@ msgid "" "sets as inputs)." msgstr "" -#: reference/expressions.rst:1636 +#: reference/expressions.rst:1640 msgid "Comparison of sets enforces reflexivity of its elements." msgstr "" -#: reference/expressions.rst:1638 +#: reference/expressions.rst:1642 msgid "" "Most other built-in types have no comparison methods implemented, so they " "inherit the default comparison behavior." msgstr "" -#: reference/expressions.rst:1641 +#: reference/expressions.rst:1645 msgid "" "User-defined classes that customize their comparison behavior should follow " "some consistency rules, if possible:" msgstr "" -#: reference/expressions.rst:1644 +#: reference/expressions.rst:1648 msgid "" "Equality comparison should be reflexive. In other words, identical objects " "should compare equal:" msgstr "" -#: reference/expressions.rst:1647 +#: reference/expressions.rst:1651 msgid "``x is y`` implies ``x == y``" msgstr "" -#: reference/expressions.rst:1649 +#: reference/expressions.rst:1653 msgid "" "Comparison should be symmetric. In other words, the following expressions " "should have the same result:" msgstr "" -#: reference/expressions.rst:1652 +#: reference/expressions.rst:1656 msgid "``x == y`` and ``y == x``" msgstr "" -#: reference/expressions.rst:1654 +#: reference/expressions.rst:1658 msgid "``x != y`` and ``y != x``" msgstr "" -#: reference/expressions.rst:1656 +#: reference/expressions.rst:1660 msgid "``x < y`` and ``y > x``" msgstr "" -#: reference/expressions.rst:1658 +#: reference/expressions.rst:1662 msgid "``x <= y`` and ``y >= x``" msgstr "" -#: reference/expressions.rst:1660 +#: reference/expressions.rst:1664 msgid "" "Comparison should be transitive. The following (non-exhaustive) examples " "illustrate that:" msgstr "" -#: reference/expressions.rst:1663 +#: reference/expressions.rst:1667 msgid "``x > y and y > z`` implies ``x > z``" msgstr "" -#: reference/expressions.rst:1665 +#: reference/expressions.rst:1669 msgid "``x < y and y <= z`` implies ``x < z``" msgstr "" -#: reference/expressions.rst:1667 +#: reference/expressions.rst:1671 msgid "" "Inverse comparison should result in the boolean negation. In other words, " "the following expressions should have the same result:" msgstr "" -#: reference/expressions.rst:1670 +#: reference/expressions.rst:1674 msgid "``x == y`` and ``not x != y``" msgstr "" -#: reference/expressions.rst:1672 +#: reference/expressions.rst:1676 msgid "``x < y`` and ``not x >= y`` (for total ordering)" msgstr "" -#: reference/expressions.rst:1674 +#: reference/expressions.rst:1678 msgid "``x > y`` and ``not x <= y`` (for total ordering)" msgstr "" -#: reference/expressions.rst:1676 +#: reference/expressions.rst:1680 msgid "" "The last two expressions apply to totally ordered collections (e.g. to " "sequences, but not to sets or mappings). See also the :func:`~functools." "total_ordering` decorator." msgstr "" -#: reference/expressions.rst:1680 +#: reference/expressions.rst:1684 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." msgstr "" -#: reference/expressions.rst:1684 +#: reference/expressions.rst:1688 msgid "" "Python does not enforce these consistency rules. In fact, the not-a-number " "values are an example for not following these rules." msgstr "" -#: reference/expressions.rst:1693 +#: reference/expressions.rst:1697 msgid "Membership test operations" msgstr "" -#: reference/expressions.rst:1695 +#: reference/expressions.rst:1699 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`` " @@ -1909,7 +1909,7 @@ msgid "" "expression ``x in y`` is equivalent to ``any(x is e or x == e for e in y)``." msgstr "" -#: reference/expressions.rst:1703 +#: reference/expressions.rst:1707 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 " @@ -1917,14 +1917,14 @@ msgid "" "``\"\" in \"abc\"`` will return ``True``." msgstr "" -#: reference/expressions.rst:1708 +#: reference/expressions.rst:1712 msgid "" "For user-defined classes which define the :meth:`~object.__contains__` " "method, ``x in y`` returns ``True`` if ``y.__contains__(x)`` returns a true " "value, and ``False`` otherwise." msgstr "" -#: reference/expressions.rst:1712 +#: reference/expressions.rst:1716 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 " @@ -1933,7 +1933,7 @@ msgid "" "it is as if :keyword:`in` raised that exception." msgstr "" -#: reference/expressions.rst:1718 +#: reference/expressions.rst:1722 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 there is a non-" @@ -1942,17 +1942,17 @@ msgid "" "exception is raised, it is as if :keyword:`in` raised that exception)." msgstr "" -#: reference/expressions.rst:1730 +#: reference/expressions.rst:1734 msgid "" "The operator :keyword:`not in` is defined to have the inverse truth value " "of :keyword:`in`." msgstr "" -#: reference/expressions.rst:1743 +#: reference/expressions.rst:1747 msgid "Identity comparisons" msgstr "" -#: reference/expressions.rst:1745 +#: reference/expressions.rst:1749 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 " @@ -1960,11 +1960,11 @@ msgid "" "``x is not y`` yields the inverse truth value. [#]_" msgstr "" -#: reference/expressions.rst:1757 +#: reference/expressions.rst:1761 msgid "Boolean operations" msgstr "" -#: reference/expressions.rst:1768 +#: reference/expressions.rst:1772 msgid "" "In the context of Boolean operations, and also when expressions are used by " "control flow statements, the following values are interpreted as false: " @@ -1975,25 +1975,25 @@ msgid "" "__bool__` method." msgstr "" -#: reference/expressions.rst:1777 +#: reference/expressions.rst:1781 msgid "" "The operator :keyword:`not` yields ``True`` if its argument is false, " "``False`` otherwise." msgstr "" -#: reference/expressions.rst:1782 +#: reference/expressions.rst:1786 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." msgstr "" -#: reference/expressions.rst:1787 +#: reference/expressions.rst:1791 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." msgstr "" -#: reference/expressions.rst:1790 +#: reference/expressions.rst:1794 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 " @@ -2004,11 +2004,11 @@ msgid "" "argument (for example, ``not 'foo'`` produces ``False`` rather than ``''``.)" msgstr "" -#: reference/expressions.rst:1806 +#: reference/expressions.rst:1810 msgid "Assignment expressions" msgstr "" -#: reference/expressions.rst:1811 +#: reference/expressions.rst:1815 msgid "" "An assignment expression (sometimes also called a \"named expression\" or " "\"walrus\") assigns an :token:`~python-grammar:expression` to an :token:" @@ -2016,27 +2016,27 @@ msgid "" "`~python-grammar:expression`." msgstr "" -#: reference/expressions.rst:1816 +#: reference/expressions.rst:1820 msgid "One common use case is when handling matched regular expressions:" msgstr "" -#: reference/expressions.rst:1818 +#: reference/expressions.rst:1822 msgid "" "if matching := pattern.search(data):\n" " do_something(matching)" msgstr "" -#: reference/expressions.rst:1823 +#: reference/expressions.rst:1827 msgid "Or, when processing a file stream in chunks:" msgstr "" -#: reference/expressions.rst:1825 +#: reference/expressions.rst:1829 msgid "" "while chunk := file.read(9000):\n" " process(chunk)" msgstr "" -#: reference/expressions.rst:1830 +#: reference/expressions.rst:1834 msgid "" "Assignment expressions must be surrounded by parentheses when used as " "expression statements and when used as sub-expressions in slicing, " @@ -2046,36 +2046,36 @@ msgid "" "and ``while`` statements." msgstr "" -#: reference/expressions.rst:1838 +#: reference/expressions.rst:1842 msgid "See :pep:`572` for more details about assignment expressions." msgstr "" -#: reference/expressions.rst:1845 +#: reference/expressions.rst:1849 msgid "Conditional expressions" msgstr "" -#: reference/expressions.rst:1857 +#: reference/expressions.rst:1861 msgid "" "Conditional expressions (sometimes called a \"ternary operator\") have the " "lowest priority of all Python operations." msgstr "" -#: reference/expressions.rst:1860 +#: reference/expressions.rst:1864 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; " "otherwise, *y* is evaluated and its value is returned." msgstr "" -#: reference/expressions.rst:1864 +#: reference/expressions.rst:1868 msgid "See :pep:`308` for more details about conditional expressions." msgstr "" -#: reference/expressions.rst:1871 +#: reference/expressions.rst:1875 msgid "Lambdas" msgstr "" -#: reference/expressions.rst:1882 +#: reference/expressions.rst:1886 msgid "" "Lambda expressions (sometimes called lambda forms) are used to create " "anonymous functions. The expression ``lambda parameters: expression`` yields " @@ -2083,31 +2083,31 @@ msgid "" "defined with:" msgstr "" -#: reference/expressions.rst:1886 +#: reference/expressions.rst:1890 msgid "" "def <lambda>(parameters):\n" " return expression" msgstr "" -#: reference/expressions.rst:1891 +#: reference/expressions.rst:1895 msgid "" "See section :ref:`function` for the syntax of parameter lists. Note that " "functions created with lambda expressions cannot contain statements or " "annotations." msgstr "" -#: reference/expressions.rst:1899 +#: reference/expressions.rst:1903 msgid "Expression lists" msgstr "" -#: reference/expressions.rst:1915 +#: reference/expressions.rst:1919 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 " "expressions in the list. The expressions are evaluated from left to right." msgstr "" -#: reference/expressions.rst:1924 +#: reference/expressions.rst:1928 msgid "" "An asterisk ``*`` denotes :dfn:`iterable unpacking`. Its operand must be " "an :term:`iterable`. The iterable is expanded into a sequence of items, " @@ -2115,16 +2115,16 @@ msgid "" "unpacking." msgstr "" -#: reference/expressions.rst:1929 +#: reference/expressions.rst:1933 msgid "" "Iterable unpacking in expression lists, originally proposed by :pep:`448`." msgstr "" -#: reference/expressions.rst:1932 +#: reference/expressions.rst:1936 msgid "Any item in an expression list may be starred. See :pep:`646`." msgstr "" -#: reference/expressions.rst:1937 +#: reference/expressions.rst:1941 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 " @@ -2133,24 +2133,24 @@ msgid "" "``()``.)" msgstr "" -#: reference/expressions.rst:1948 +#: reference/expressions.rst:1952 msgid "Evaluation order" msgstr "" -#: reference/expressions.rst:1952 +#: reference/expressions.rst:1956 msgid "" "Python evaluates expressions from left to right. Notice that while " "evaluating an assignment, the right-hand side is evaluated before the left-" "hand side." msgstr "" -#: reference/expressions.rst:1955 +#: reference/expressions.rst:1959 msgid "" "In the following lines, expressions will be evaluated in the arithmetic " "order of their suffixes::" msgstr "" -#: reference/expressions.rst:1958 +#: reference/expressions.rst:1962 msgid "" "expr1, expr2, expr3, expr4\n" "(expr1, expr2, expr3, expr4)\n" @@ -2160,11 +2160,11 @@ msgid "" "expr3, expr4 = expr1, expr2" msgstr "" -#: reference/expressions.rst:1969 +#: reference/expressions.rst:1973 msgid "Operator precedence" msgstr "" -#: reference/expressions.rst:1974 +#: reference/expressions.rst:1978 msgid "" "The following table summarizes the operator precedence in Python, from " "highest precedence (most binding) to lowest precedence (least binding). " @@ -2174,176 +2174,176 @@ msgid "" "group from right to left)." msgstr "" -#: reference/expressions.rst:1980 +#: reference/expressions.rst:1984 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 " "the :ref:`comparisons` section." msgstr "" -#: reference/expressions.rst:1986 +#: reference/expressions.rst:1990 msgid "Operator" msgstr "" -#: reference/expressions.rst:1986 +#: reference/expressions.rst:1990 msgid "Description" msgstr "" -#: reference/expressions.rst:1988 +#: reference/expressions.rst:1992 msgid "``(expressions...)``," msgstr "" -#: reference/expressions.rst:1990 +#: reference/expressions.rst:1994 msgid "``[expressions...]``, ``{key: value...}``, ``{expressions...}``" msgstr "" -#: reference/expressions.rst:1988 +#: reference/expressions.rst:1992 msgid "" "Binding or parenthesized expression, list display, dictionary display, set " "display" msgstr "" -#: reference/expressions.rst:1994 +#: reference/expressions.rst:1998 msgid "``x[index]``, ``x[index:index]``, ``x(arguments...)``, ``x.attribute``" msgstr "" -#: reference/expressions.rst:1994 +#: reference/expressions.rst:1998 msgid "Subscription, slicing, call, attribute reference" msgstr "" -#: reference/expressions.rst:1997 +#: reference/expressions.rst:2001 msgid ":keyword:`await x <await>`" msgstr "" -#: reference/expressions.rst:1999 +#: reference/expressions.rst:2003 msgid "``**``" msgstr "" -#: reference/expressions.rst:1999 +#: reference/expressions.rst:2003 msgid "Exponentiation [#]_" msgstr "" -#: reference/expressions.rst:2001 +#: reference/expressions.rst:2005 msgid "``+x``, ``-x``, ``~x``" msgstr "" -#: reference/expressions.rst:2001 +#: reference/expressions.rst:2005 msgid "Positive, negative, bitwise NOT" msgstr "" -#: reference/expressions.rst:2003 +#: reference/expressions.rst:2007 msgid "``*``, ``@``, ``/``, ``//``, ``%``" msgstr "" -#: reference/expressions.rst:2003 +#: reference/expressions.rst:2007 msgid "" "Multiplication, matrix multiplication, division, floor division, remainder " "[#]_" msgstr "" -#: reference/expressions.rst:2007 +#: reference/expressions.rst:2011 msgid "``+``, ``-``" msgstr "" -#: reference/expressions.rst:2007 +#: reference/expressions.rst:2011 msgid "Addition and subtraction" msgstr "" -#: reference/expressions.rst:2009 +#: reference/expressions.rst:2013 msgid "``<<``, ``>>``" msgstr "" -#: reference/expressions.rst:2009 +#: reference/expressions.rst:2013 msgid "Shifts" msgstr "" -#: reference/expressions.rst:2011 +#: reference/expressions.rst:2015 msgid "``&``" msgstr "" -#: reference/expressions.rst:2011 +#: reference/expressions.rst:2015 msgid "Bitwise AND" msgstr "" -#: reference/expressions.rst:2013 +#: reference/expressions.rst:2017 msgid "``^``" msgstr "" -#: reference/expressions.rst:2013 +#: reference/expressions.rst:2017 msgid "Bitwise XOR" msgstr "" -#: reference/expressions.rst:2015 +#: reference/expressions.rst:2019 msgid "``|``" msgstr "" -#: reference/expressions.rst:2015 +#: reference/expressions.rst:2019 msgid "Bitwise OR" msgstr "" -#: reference/expressions.rst:2017 +#: reference/expressions.rst:2021 msgid "" ":keyword:`in`, :keyword:`not in`, :keyword:`is`, :keyword:`is not`, ``<``, " "``<=``, ``>``, ``>=``, ``!=``, ``==``" msgstr "" -#: reference/expressions.rst:2017 +#: reference/expressions.rst:2021 msgid "Comparisons, including membership tests and identity tests" msgstr "" -#: reference/expressions.rst:2021 +#: reference/expressions.rst:2025 msgid ":keyword:`not x <not>`" msgstr "" -#: reference/expressions.rst:2021 +#: reference/expressions.rst:2025 msgid "Boolean NOT" msgstr "" -#: reference/expressions.rst:2023 +#: reference/expressions.rst:2027 msgid ":keyword:`and`" msgstr "" -#: reference/expressions.rst:2023 +#: reference/expressions.rst:2027 msgid "Boolean AND" msgstr "" -#: reference/expressions.rst:2025 +#: reference/expressions.rst:2029 msgid ":keyword:`or`" msgstr "" -#: reference/expressions.rst:2025 +#: reference/expressions.rst:2029 msgid "Boolean OR" msgstr "" -#: reference/expressions.rst:2027 +#: reference/expressions.rst:2031 msgid ":keyword:`if <if_expr>` -- :keyword:`!else`" msgstr "" -#: reference/expressions.rst:2027 +#: reference/expressions.rst:2031 msgid "Conditional expression" msgstr "" -#: reference/expressions.rst:2029 +#: reference/expressions.rst:2033 msgid ":keyword:`lambda`" msgstr "" -#: reference/expressions.rst:2029 +#: reference/expressions.rst:2033 msgid "Lambda expression" msgstr "" -#: reference/expressions.rst:2031 +#: reference/expressions.rst:2035 msgid "``:=``" msgstr "" -#: reference/expressions.rst:2031 +#: reference/expressions.rst:2035 msgid "Assignment expression" msgstr "" -#: reference/expressions.rst:2036 +#: reference/expressions.rst:2040 msgid "Footnotes" msgstr "" -#: reference/expressions.rst:2037 +#: reference/expressions.rst:2041 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 " @@ -2355,7 +2355,7 @@ msgid "" "approach is more appropriate depends on the application." msgstr "" -#: reference/expressions.rst:2046 +#: reference/expressions.rst:2050 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, " @@ -2363,7 +2363,7 @@ msgid "" "* y + x % y`` be very close to ``x``." msgstr "" -#: reference/expressions.rst:2051 +#: reference/expressions.rst:2055 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 " @@ -2377,7 +2377,7 @@ msgid "" "(COMBINING CEDILLA)." msgstr "" -#: reference/expressions.rst:2062 +#: reference/expressions.rst:2066 msgid "" "The comparison operators on strings compare at the level of Unicode code " "points. This may be counter-intuitive to humans. For example, ``\"\\u00C7\" " @@ -2385,13 +2385,13 @@ msgid "" "same abstract character \"LATIN CAPITAL LETTER C WITH CEDILLA\"." msgstr "" -#: reference/expressions.rst:2067 +#: reference/expressions.rst:2071 msgid "" "To compare strings at the level of abstract characters (that is, in a way " "intuitive to humans), use :func:`unicodedata.normalize`." msgstr "" -#: reference/expressions.rst:2070 +#: reference/expressions.rst:2074 msgid "" "Due to automatic garbage-collection, free lists, and the dynamic nature of " "descriptors, you may notice seemingly unusual behaviour in certain uses of " @@ -2399,20 +2399,20 @@ msgid "" "instance methods, or constants. Check their documentation for more info." msgstr "" -#: reference/expressions.rst:2075 +#: reference/expressions.rst:2079 msgid "" "The power operator ``**`` binds less tightly than an arithmetic or bitwise " "unary operator on its right, that is, ``2**-1`` is ``0.5``." msgstr "" -#: reference/expressions.rst:2078 +#: reference/expressions.rst:2082 msgid "" "The ``%`` operator is also used for string formatting; the same precedence " "applies." msgstr "" -#: reference/expressions.rst:393 reference/expressions.rst:1759 -#: reference/expressions.rst:1873 reference/expressions.rst:1901 +#: reference/expressions.rst:393 reference/expressions.rst:1763 +#: reference/expressions.rst:1877 reference/expressions.rst:1905 msgid "expression" msgstr "" @@ -2420,7 +2420,7 @@ msgstr "" msgid "BNF" msgstr "" -#: reference/expressions.rst:1251 reference/expressions.rst:1299 +#: reference/expressions.rst:1255 reference/expressions.rst:1303 msgid "arithmetic" msgstr "" @@ -2441,8 +2441,8 @@ msgid "identifier" msgstr "" #: reference/expressions.rst:569 reference/expressions.rst:746 -#: reference/expressions.rst:844 reference/expressions.rst:1337 -#: reference/expressions.rst:1433 +#: reference/expressions.rst:848 reference/expressions.rst:1341 +#: reference/expressions.rst:1437 msgid "exception" msgstr "" @@ -2480,9 +2480,9 @@ msgstr "" #: reference/expressions.rst:275 reference/expressions.rst:329 #: reference/expressions.rst:393 reference/expressions.rst:736 -#: reference/expressions.rst:873 reference/expressions.rst:994 -#: reference/expressions.rst:1156 reference/expressions.rst:1177 -#: reference/expressions.rst:1913 +#: reference/expressions.rst:877 reference/expressions.rst:998 +#: reference/expressions.rst:1160 reference/expressions.rst:1181 +#: reference/expressions.rst:1917 msgid "object" msgstr "" @@ -2490,7 +2490,7 @@ msgstr "" msgid "parenthesized form" msgstr "" -#: reference/expressions.rst:393 reference/expressions.rst:994 +#: reference/expressions.rst:393 reference/expressions.rst:998 msgid "() (parentheses)" msgstr "" @@ -2502,16 +2502,16 @@ msgstr "" msgid "empty" msgstr "" -#: reference/expressions.rst:873 reference/expressions.rst:1913 +#: reference/expressions.rst:877 reference/expressions.rst:1917 msgid "tuple" msgstr "" -#: reference/expressions.rst:1935 +#: reference/expressions.rst:1939 msgid "comma" msgstr "" #: reference/expressions.rst:275 reference/expressions.rst:329 -#: reference/expressions.rst:994 reference/expressions.rst:1901 +#: reference/expressions.rst:998 reference/expressions.rst:1905 msgid ", (comma)" msgstr "" @@ -2527,7 +2527,7 @@ msgstr "" msgid "in comprehensions" msgstr "" -#: reference/expressions.rst:1847 +#: reference/expressions.rst:1851 msgid "if" msgstr "" @@ -2535,12 +2535,12 @@ msgstr "" msgid "async for" msgstr "" -#: reference/expressions.rst:1195 +#: reference/expressions.rst:1199 msgid "await" msgstr "" -#: reference/expressions.rst:844 reference/expressions.rst:950 -#: reference/expressions.rst:1901 +#: reference/expressions.rst:848 reference/expressions.rst:954 +#: reference/expressions.rst:1905 msgid "list" msgstr "" @@ -2548,7 +2548,7 @@ msgstr "" msgid "display" msgstr "" -#: reference/expressions.rst:869 +#: reference/expressions.rst:873 msgid "[] (square brackets)" msgstr "" @@ -2556,7 +2556,7 @@ msgstr "" msgid "list expression" msgstr "" -#: reference/expressions.rst:301 reference/expressions.rst:1901 +#: reference/expressions.rst:301 reference/expressions.rst:1905 msgid "expression list" msgstr "" @@ -2572,7 +2572,7 @@ msgstr "" msgid "set expression" msgstr "" -#: reference/expressions.rst:355 reference/expressions.rst:873 +#: reference/expressions.rst:355 reference/expressions.rst:877 msgid "dictionary" msgstr "" @@ -2592,7 +2592,7 @@ msgstr "" msgid "dictionary expression" msgstr "" -#: reference/expressions.rst:944 reference/expressions.rst:1873 +#: reference/expressions.rst:948 reference/expressions.rst:1877 msgid ": (colon)" msgstr "" @@ -2604,11 +2604,11 @@ msgstr "" msgid "in dictionary displays" msgstr "" -#: reference/expressions.rst:1077 reference/expressions.rst:1920 +#: reference/expressions.rst:1081 reference/expressions.rst:1924 msgid "unpacking" msgstr "" -#: reference/expressions.rst:1107 reference/expressions.rst:1215 +#: reference/expressions.rst:1111 reference/expressions.rst:1219 msgid "**" msgstr "" @@ -2624,7 +2624,7 @@ msgstr "" msgid "generator expression" msgstr "" -#: reference/expressions.rst:1195 +#: reference/expressions.rst:1199 msgid "keyword" msgstr "" @@ -2636,7 +2636,7 @@ msgstr "" msgid "from" msgstr "" -#: reference/expressions.rst:1142 reference/expressions.rst:1873 +#: reference/expressions.rst:1146 reference/expressions.rst:1877 msgid "function" msgstr "" @@ -2652,7 +2652,7 @@ msgstr "" msgid "StopIteration" msgstr "" -#: reference/expressions.rst:798 +#: reference/expressions.rst:801 msgid "GeneratorExit" msgstr "" @@ -2668,470 +2668,470 @@ msgstr "" msgid "StopAsyncIteration" msgstr "" -#: reference/expressions.rst:821 +#: reference/expressions.rst:825 msgid "primary" msgstr "" -#: reference/expressions.rst:835 +#: reference/expressions.rst:839 msgid "attribute" msgstr "" -#: reference/expressions.rst:835 +#: reference/expressions.rst:839 msgid "reference" msgstr "" -#: reference/expressions.rst:835 +#: reference/expressions.rst:839 msgid ". (dot)" msgstr "" -#: reference/expressions.rst:835 +#: reference/expressions.rst:839 msgid "attribute reference" msgstr "" -#: reference/expressions.rst:844 +#: reference/expressions.rst:848 msgid "AttributeError" msgstr "" -#: reference/expressions.rst:844 +#: reference/expressions.rst:848 msgid "module" msgstr "" -#: reference/expressions.rst:869 +#: reference/expressions.rst:873 msgid "subscription" msgstr "" -#: reference/expressions.rst:950 reference/expressions.rst:1724 +#: reference/expressions.rst:954 reference/expressions.rst:1728 msgid "sequence" msgstr "" -#: reference/expressions.rst:873 +#: reference/expressions.rst:877 msgid "mapping" msgstr "" -#: reference/expressions.rst:930 reference/expressions.rst:950 +#: reference/expressions.rst:934 reference/expressions.rst:954 msgid "string" msgstr "" -#: reference/expressions.rst:930 +#: reference/expressions.rst:934 msgid "item" msgstr "" -#: reference/expressions.rst:930 +#: reference/expressions.rst:934 msgid "character" msgstr "" -#: reference/expressions.rst:944 +#: reference/expressions.rst:948 msgid "slicing" msgstr "" -#: reference/expressions.rst:944 +#: reference/expressions.rst:948 msgid "slice" msgstr "" -#: reference/expressions.rst:976 +#: reference/expressions.rst:980 msgid "start (slice object attribute)" msgstr "" -#: reference/expressions.rst:976 +#: reference/expressions.rst:980 msgid "stop (slice object attribute)" msgstr "" -#: reference/expressions.rst:976 +#: reference/expressions.rst:980 msgid "step (slice object attribute)" msgstr "" -#: reference/expressions.rst:994 +#: reference/expressions.rst:998 msgid "callable" msgstr "" -#: reference/expressions.rst:1142 reference/expressions.rst:1170 -#: reference/expressions.rst:1187 +#: reference/expressions.rst:1146 reference/expressions.rst:1174 +#: reference/expressions.rst:1191 msgid "call" msgstr "" -#: reference/expressions.rst:994 +#: reference/expressions.rst:998 msgid "argument" msgstr "" -#: reference/expressions.rst:1027 +#: reference/expressions.rst:1031 msgid "call semantics" msgstr "" -#: reference/expressions.rst:994 +#: reference/expressions.rst:998 msgid "argument list" msgstr "" -#: reference/expressions.rst:994 +#: reference/expressions.rst:998 msgid "= (equals)" msgstr "" -#: reference/expressions.rst:1077 reference/expressions.rst:1107 +#: reference/expressions.rst:1081 reference/expressions.rst:1111 msgid "in function calls" msgstr "" -#: reference/expressions.rst:1027 +#: reference/expressions.rst:1031 msgid "parameter" msgstr "" -#: reference/expressions.rst:1312 reference/expressions.rst:1920 +#: reference/expressions.rst:1316 reference/expressions.rst:1924 msgid "* (asterisk)" msgstr "" -#: reference/expressions.rst:1142 +#: reference/expressions.rst:1146 msgid "user-defined" msgstr "" -#: reference/expressions.rst:1142 +#: reference/expressions.rst:1146 msgid "user-defined function" msgstr "" -#: reference/expressions.rst:1156 +#: reference/expressions.rst:1160 msgid "built-in function" msgstr "" -#: reference/expressions.rst:1156 +#: reference/expressions.rst:1160 msgid "method" msgstr "" -#: reference/expressions.rst:1156 +#: reference/expressions.rst:1160 msgid "built-in method" msgstr "" -#: reference/expressions.rst:1170 +#: reference/expressions.rst:1174 msgid "class" msgstr "" -#: reference/expressions.rst:1170 +#: reference/expressions.rst:1174 msgid "class object" msgstr "" -#: reference/expressions.rst:1177 +#: reference/expressions.rst:1181 msgid "class instance" msgstr "" -#: reference/expressions.rst:1187 +#: reference/expressions.rst:1191 msgid "instance" msgstr "" -#: reference/expressions.rst:1187 +#: reference/expressions.rst:1191 msgid "__call__() (object method)" msgstr "" -#: reference/expressions.rst:1215 +#: reference/expressions.rst:1219 msgid "power" msgstr "" -#: reference/expressions.rst:1251 reference/expressions.rst:1415 -#: reference/expressions.rst:1759 +#: reference/expressions.rst:1255 reference/expressions.rst:1419 +#: reference/expressions.rst:1763 msgid "operation" msgstr "" -#: reference/expressions.rst:1260 reference/expressions.rst:1277 -#: reference/expressions.rst:1325 reference/expressions.rst:1355 -#: reference/expressions.rst:1398 reference/expressions.rst:1453 -#: reference/expressions.rst:1470 reference/expressions.rst:1724 -#: reference/expressions.rst:1775 reference/expressions.rst:1785 -#: reference/expressions.rst:1971 +#: reference/expressions.rst:1264 reference/expressions.rst:1281 +#: reference/expressions.rst:1329 reference/expressions.rst:1359 +#: reference/expressions.rst:1402 reference/expressions.rst:1457 +#: reference/expressions.rst:1474 reference/expressions.rst:1728 +#: reference/expressions.rst:1779 reference/expressions.rst:1789 +#: reference/expressions.rst:1975 msgid "operator" msgstr "" -#: reference/expressions.rst:1251 +#: reference/expressions.rst:1255 msgid "unary" msgstr "" -#: reference/expressions.rst:1444 reference/expressions.rst:1461 -#: reference/expressions.rst:1470 +#: reference/expressions.rst:1448 reference/expressions.rst:1465 +#: reference/expressions.rst:1474 msgid "bitwise" msgstr "" -#: reference/expressions.rst:1260 +#: reference/expressions.rst:1264 msgid "negation" msgstr "" -#: reference/expressions.rst:1260 +#: reference/expressions.rst:1264 msgid "minus" msgstr "" -#: reference/expressions.rst:1398 +#: reference/expressions.rst:1402 msgid "- (minus)" msgstr "" -#: reference/expressions.rst:1269 +#: reference/expressions.rst:1273 msgid "unary operator" msgstr "" -#: reference/expressions.rst:1269 +#: reference/expressions.rst:1273 msgid "plus" msgstr "" -#: reference/expressions.rst:1385 +#: reference/expressions.rst:1389 msgid "+ (plus)" msgstr "" -#: reference/expressions.rst:1277 +#: reference/expressions.rst:1281 msgid "inversion" msgstr "" -#: reference/expressions.rst:1277 +#: reference/expressions.rst:1281 msgid "~ (tilde)" msgstr "" -#: reference/expressions.rst:1288 +#: reference/expressions.rst:1292 msgid "TypeError" msgstr "" -#: reference/expressions.rst:1444 +#: reference/expressions.rst:1448 msgid "binary" msgstr "" -#: reference/expressions.rst:1312 +#: reference/expressions.rst:1316 msgid "multiplication" msgstr "" -#: reference/expressions.rst:1325 +#: reference/expressions.rst:1329 msgid "matrix multiplication" msgstr "" -#: reference/expressions.rst:1325 +#: reference/expressions.rst:1329 msgid "@ (at)" msgstr "" -#: reference/expressions.rst:1337 +#: reference/expressions.rst:1341 msgid "ZeroDivisionError" msgstr "" -#: reference/expressions.rst:1337 +#: reference/expressions.rst:1341 msgid "division" msgstr "" -#: reference/expressions.rst:1337 +#: reference/expressions.rst:1341 msgid "/ (slash)" msgstr "" -#: reference/expressions.rst:1337 +#: reference/expressions.rst:1341 msgid "//" msgstr "" -#: reference/expressions.rst:1355 +#: reference/expressions.rst:1359 msgid "modulo" msgstr "" -#: reference/expressions.rst:1355 +#: reference/expressions.rst:1359 msgid "% (percent)" msgstr "" -#: reference/expressions.rst:1385 +#: reference/expressions.rst:1389 msgid "addition" msgstr "" -#: reference/expressions.rst:1398 +#: reference/expressions.rst:1402 msgid "binary operator" msgstr "" -#: reference/expressions.rst:1398 +#: reference/expressions.rst:1402 msgid "subtraction" msgstr "" -#: reference/expressions.rst:1415 +#: reference/expressions.rst:1419 msgid "shifting" msgstr "" -#: reference/expressions.rst:1415 +#: reference/expressions.rst:1419 msgid "<<" msgstr "" -#: reference/expressions.rst:1415 +#: reference/expressions.rst:1419 msgid ">>" msgstr "" -#: reference/expressions.rst:1433 +#: reference/expressions.rst:1437 msgid "ValueError" msgstr "" -#: reference/expressions.rst:1780 +#: reference/expressions.rst:1784 msgid "and" msgstr "" -#: reference/expressions.rst:1453 +#: reference/expressions.rst:1457 msgid "& (ampersand)" msgstr "" -#: reference/expressions.rst:1461 +#: reference/expressions.rst:1465 msgid "xor" msgstr "" -#: reference/expressions.rst:1461 +#: reference/expressions.rst:1465 msgid "exclusive" msgstr "" -#: reference/expressions.rst:1470 reference/expressions.rst:1785 +#: reference/expressions.rst:1474 reference/expressions.rst:1789 msgid "or" msgstr "" -#: reference/expressions.rst:1461 +#: reference/expressions.rst:1465 msgid "^ (caret)" msgstr "" -#: reference/expressions.rst:1470 +#: reference/expressions.rst:1474 msgid "inclusive" msgstr "" -#: reference/expressions.rst:1470 +#: reference/expressions.rst:1474 msgid "| (vertical bar)" msgstr "" -#: reference/expressions.rst:1485 +#: reference/expressions.rst:1489 msgid "comparison" msgstr "" -#: reference/expressions.rst:1485 +#: reference/expressions.rst:1489 msgid "C" msgstr "" -#: reference/expressions.rst:1485 +#: reference/expressions.rst:1489 msgid "language" msgstr "" -#: reference/expressions.rst:1485 +#: reference/expressions.rst:1489 msgid "< (less)" msgstr "" -#: reference/expressions.rst:1485 +#: reference/expressions.rst:1489 msgid "> (greater)" msgstr "" -#: reference/expressions.rst:1485 +#: reference/expressions.rst:1489 msgid "<=" msgstr "" -#: reference/expressions.rst:1485 +#: reference/expressions.rst:1489 msgid ">=" msgstr "" -#: reference/expressions.rst:1485 +#: reference/expressions.rst:1489 msgid "==" msgstr "" -#: reference/expressions.rst:1485 +#: reference/expressions.rst:1489 msgid "!=" msgstr "" -#: reference/expressions.rst:1509 +#: reference/expressions.rst:1513 msgid "chaining" msgstr "" -#: reference/expressions.rst:1509 +#: reference/expressions.rst:1513 msgid "comparisons" msgstr "" -#: reference/expressions.rst:1724 +#: reference/expressions.rst:1728 msgid "in" msgstr "" -#: reference/expressions.rst:1724 +#: reference/expressions.rst:1728 msgid "not in" msgstr "" -#: reference/expressions.rst:1724 +#: reference/expressions.rst:1728 msgid "membership" msgstr "" -#: reference/expressions.rst:1733 +#: reference/expressions.rst:1737 msgid "test" msgstr "" -#: reference/expressions.rst:1733 +#: reference/expressions.rst:1737 msgid "is" msgstr "" -#: reference/expressions.rst:1733 +#: reference/expressions.rst:1737 msgid "is not" msgstr "" -#: reference/expressions.rst:1733 +#: reference/expressions.rst:1737 msgid "identity" msgstr "" -#: reference/expressions.rst:1759 +#: reference/expressions.rst:1763 msgid "Conditional" msgstr "" -#: reference/expressions.rst:1759 +#: reference/expressions.rst:1763 msgid "Boolean" msgstr "" -#: reference/expressions.rst:1775 +#: reference/expressions.rst:1779 msgid "not" msgstr "" -#: reference/expressions.rst:1799 +#: reference/expressions.rst:1803 msgid ":= (colon equals)" msgstr "" -#: reference/expressions.rst:1799 +#: reference/expressions.rst:1803 msgid "assignment expression" msgstr "" -#: reference/expressions.rst:1799 +#: reference/expressions.rst:1803 msgid "walrus operator" msgstr "" -#: reference/expressions.rst:1799 +#: reference/expressions.rst:1803 msgid "named expression" msgstr "" -#: reference/expressions.rst:1847 +#: reference/expressions.rst:1851 msgid "conditional" msgstr "" -#: reference/expressions.rst:1847 +#: reference/expressions.rst:1851 msgid "ternary" msgstr "" -#: reference/expressions.rst:1847 +#: reference/expressions.rst:1851 msgid "conditional expression" msgstr "" -#: reference/expressions.rst:1847 +#: reference/expressions.rst:1851 msgid "else" msgstr "" -#: reference/expressions.rst:1873 +#: reference/expressions.rst:1877 msgid "lambda" msgstr "" -#: reference/expressions.rst:1873 +#: reference/expressions.rst:1877 msgid "form" msgstr "" -#: reference/expressions.rst:1873 +#: reference/expressions.rst:1877 msgid "anonymous" msgstr "" -#: reference/expressions.rst:1873 +#: reference/expressions.rst:1877 msgid "lambda expression" msgstr "" -#: reference/expressions.rst:1920 +#: reference/expressions.rst:1924 msgid "iterable" msgstr "" -#: reference/expressions.rst:1920 +#: reference/expressions.rst:1924 msgid "in expression lists" msgstr "" -#: reference/expressions.rst:1935 +#: reference/expressions.rst:1939 msgid "trailing" msgstr "" -#: reference/expressions.rst:1950 +#: reference/expressions.rst:1954 msgid "evaluation" msgstr "" -#: reference/expressions.rst:1950 +#: reference/expressions.rst:1954 msgid "order" msgstr "" -#: reference/expressions.rst:1971 +#: reference/expressions.rst:1975 msgid "precedence" msgstr "" diff --git a/reference/grammar.po b/reference/grammar.po index adee34d5..5fac1eef 100644 --- a/reference/grammar.po +++ b/reference/grammar.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" -"PO-Revision-Date: 2025-04-07 20:09+0300\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" +"PO-Revision-Date: 2025-05-03 00:17+0300\n" "Last-Translator: Marios Giannopoulos <mariosgian_2002@yahoo.gr>\n" "Language-Team: PyGreece <pygreece@gmail.com>\n" "Language: \n" @@ -294,8 +294,8 @@ msgid "" "import_from[stmt_ty]:\n" " | 'from' a=('.' | '...')* b=dotted_name 'import' c=import_from_targets " "{\n" -" _PyAST_ImportFrom(b->v.Name.id, c, _PyPegen_seq_count_dots(a), " -"EXTRA) }\n" +" _PyPegen_checked_future_import(p, b->v.Name.id, c, " +"_PyPegen_seq_count_dots(a), EXTRA) }\n" " | 'from' a=('.' | '...')+ 'import' b=import_from_targets {\n" " _PyAST_ImportFrom(NULL, b, _PyPegen_seq_count_dots(a), EXTRA) }\n" "import_from_targets[asdl_alias_seq*]:\n" @@ -2024,8 +2024,8 @@ msgstr "" "import_from[stmt_ty]:\n" " | 'from' a=('.' | '...')* b=dotted_name 'import' c=import_from_targets " "{\n" -" _PyAST_ImportFrom(b->v.Name.id, c, _PyPegen_seq_count_dots(a), " -"EXTRA) }\n" +" _PyPegen_checked_future_import(p, b->v.Name.id, c, " +"_PyPegen_seq_count_dots(a), EXTRA) }\n" " | 'from' a=('.' | '...')+ 'import' b=import_from_targets {\n" " _PyAST_ImportFrom(NULL, b, _PyPegen_seq_count_dots(a), EXTRA) }\n" "import_from_targets[asdl_alias_seq*]:\n" diff --git a/reference/import.po b/reference/import.po index fdae866d..e19f298a 100644 --- a/reference/import.po +++ b/reference/import.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/reference/index.po b/reference/index.po index 56386e5c..ebbd0b49 100644 --- a/reference/index.po +++ b/reference/index.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/reference/introduction.po b/reference/introduction.po index 33db319a..a9d215af 100644 --- a/reference/introduction.po +++ b/reference/introduction.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-11-25 12:27+0200\n" "Last-Translator: Stelios Rotas <steliosrotas@yahoo.com> \n" "Language-Team: PyGreece <pygreece@gmail.com>\n" diff --git a/reference/lexical_analysis.po b/reference/lexical_analysis.po index cf58f1be..f4837033 100644 --- a/reference/lexical_analysis.po +++ b/reference/lexical_analysis.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -23,12 +23,13 @@ msgstr "" #: reference/lexical_analysis.rst:10 msgid "" -"A Python program is read by a *parser*. Input to the parser is a stream of " -"*tokens*, generated by the *lexical analyzer*. This chapter describes how " -"the lexical analyzer breaks a file into tokens." +"A Python program is read by a *parser*. Input to the parser is a stream of :" +"term:`tokens <token>`, generated by the *lexical analyzer* (also known as " +"the *tokenizer*). This chapter describes how the lexical analyzer breaks a " +"file into tokens." msgstr "" -#: reference/lexical_analysis.rst:14 +#: reference/lexical_analysis.rst:15 msgid "" "Python reads program text as Unicode code points; the encoding of a source " "file can be given by an encoding declaration and defaults to UTF-8, see :pep:" @@ -36,19 +37,19 @@ msgid "" "`SyntaxError` is raised." msgstr "" -#: reference/lexical_analysis.rst:23 +#: reference/lexical_analysis.rst:24 msgid "Line structure" msgstr "" -#: reference/lexical_analysis.rst:27 +#: reference/lexical_analysis.rst:28 msgid "A Python program is divided into a number of *logical lines*." msgstr "" -#: reference/lexical_analysis.rst:33 +#: reference/lexical_analysis.rst:34 msgid "Logical lines" msgstr "" -#: reference/lexical_analysis.rst:37 +#: reference/lexical_analysis.rst:38 msgid "" "The end of a logical line is represented by the token NEWLINE. Statements " "cannot cross logical line boundaries except where NEWLINE is allowed by the " @@ -57,11 +58,11 @@ msgid "" "implicit *line joining* rules." msgstr "" -#: reference/lexical_analysis.rst:47 +#: reference/lexical_analysis.rst:48 msgid "Physical lines" msgstr "" -#: reference/lexical_analysis.rst:49 +#: reference/lexical_analysis.rst:50 msgid "" "A physical line is a sequence of characters terminated by an end-of-line " "sequence. In source files and strings, any of the standard platform line " @@ -72,18 +73,18 @@ msgid "" "input also serves as an implicit terminator for the final physical line." msgstr "" -#: reference/lexical_analysis.rst:57 +#: reference/lexical_analysis.rst:58 msgid "" "When embedding Python, source code strings should be passed to Python APIs " "using the standard C conventions for newline characters (the ``\\n`` " "character, representing ASCII LF, is the line terminator)." msgstr "" -#: reference/lexical_analysis.rst:65 +#: reference/lexical_analysis.rst:66 msgid "Comments" msgstr "" -#: reference/lexical_analysis.rst:70 +#: reference/lexical_analysis.rst:71 msgid "" "A comment starts with a hash character (``#``) that is not part of a string " "literal, and ends at the end of the physical line. A comment signifies the " @@ -91,11 +92,11 @@ msgid "" "Comments are ignored by the syntax." msgstr "" -#: reference/lexical_analysis.rst:79 +#: reference/lexical_analysis.rst:80 msgid "Encoding declarations" msgstr "" -#: reference/lexical_analysis.rst:84 +#: reference/lexical_analysis.rst:85 msgid "" "If a comment in the first or second line of the Python script matches the " "regular expression ``coding[=:]\\s*([-\\w.]+)``, this comment is processed " @@ -105,41 +106,41 @@ msgid "" "comment-only line. The recommended forms of an encoding expression are ::" msgstr "" -#: reference/lexical_analysis.rst:91 +#: reference/lexical_analysis.rst:92 msgid "# -*- coding: <encoding-name> -*-" msgstr "" -#: reference/lexical_analysis.rst:93 +#: reference/lexical_analysis.rst:94 msgid "which is recognized also by GNU Emacs, and ::" msgstr "" -#: reference/lexical_analysis.rst:95 +#: reference/lexical_analysis.rst:96 msgid "# vim:fileencoding=<encoding-name>" msgstr "" -#: reference/lexical_analysis.rst:97 +#: reference/lexical_analysis.rst:98 msgid "which is recognized by Bram Moolenaar's VIM." msgstr "" -#: reference/lexical_analysis.rst:99 +#: reference/lexical_analysis.rst:100 msgid "" "If no encoding declaration is found, the default encoding is UTF-8. If the " "implicit or explicit encoding of a file is UTF-8, an initial UTF-8 byte-" "order mark (b'\\xef\\xbb\\xbf') is ignored rather than being a syntax error." msgstr "" -#: reference/lexical_analysis.rst:103 +#: reference/lexical_analysis.rst:104 msgid "" "If an encoding is declared, the encoding name must be recognized by Python " "(see :ref:`standard-encodings`). The encoding is used for all lexical " "analysis, including string literals, comments and identifiers." msgstr "" -#: reference/lexical_analysis.rst:112 +#: reference/lexical_analysis.rst:113 msgid "Explicit line joining" msgstr "" -#: reference/lexical_analysis.rst:116 +#: reference/lexical_analysis.rst:117 msgid "" "Two or more physical lines may be joined into logical lines using backslash " "characters (``\\``), as follows: when a physical line ends in a backslash " @@ -148,7 +149,7 @@ msgid "" "following end-of-line character. For example::" msgstr "" -#: reference/lexical_analysis.rst:122 +#: reference/lexical_analysis.rst:123 msgid "" "if 1900 < year < 2100 and 1 <= month <= 12 \\\n" " and 1 <= day <= 31 and 0 <= hour < 24 \\\n" @@ -156,7 +157,7 @@ msgid "" " return 1" msgstr "" -#: reference/lexical_analysis.rst:127 +#: reference/lexical_analysis.rst:128 msgid "" "A line ending in a backslash cannot carry a comment. A backslash does not " "continue a comment. A backslash does not continue a token except for string " @@ -165,17 +166,17 @@ msgid "" "line outside a string literal." msgstr "" -#: reference/lexical_analysis.rst:137 +#: reference/lexical_analysis.rst:138 msgid "Implicit line joining" msgstr "" -#: reference/lexical_analysis.rst:139 +#: reference/lexical_analysis.rst:140 msgid "" "Expressions in parentheses, square brackets or curly braces can be split " "over more than one physical line without using backslashes. For example::" msgstr "" -#: reference/lexical_analysis.rst:142 +#: reference/lexical_analysis.rst:143 msgid "" "month_names = ['Januari', 'Februari', 'Maart', # These are the\n" " 'April', 'Mei', 'Juni', # Dutch names\n" @@ -183,7 +184,7 @@ msgid "" " 'Oktober', 'November', 'December'] # of the year" msgstr "" -#: reference/lexical_analysis.rst:147 +#: reference/lexical_analysis.rst:148 msgid "" "Implicitly continued lines can carry comments. The indentation of the " "continuation lines is not important. Blank continuation lines are allowed. " @@ -192,11 +193,11 @@ msgid "" "that case they cannot carry comments." msgstr "" -#: reference/lexical_analysis.rst:157 +#: reference/lexical_analysis.rst:158 msgid "Blank lines" msgstr "" -#: reference/lexical_analysis.rst:161 +#: reference/lexical_analysis.rst:162 msgid "" "A logical line that contains only spaces, tabs, formfeeds and possibly a " "comment, is ignored (i.e., no NEWLINE token is generated). During " @@ -207,18 +208,18 @@ msgid "" "statement." msgstr "" -#: reference/lexical_analysis.rst:172 +#: reference/lexical_analysis.rst:173 msgid "Indentation" msgstr "" -#: reference/lexical_analysis.rst:176 +#: reference/lexical_analysis.rst:177 msgid "" "Leading whitespace (spaces and tabs) at the beginning of a logical line is " "used to compute the indentation level of the line, which in turn is used to " "determine the grouping of statements." msgstr "" -#: reference/lexical_analysis.rst:180 +#: reference/lexical_analysis.rst:181 msgid "" "Tabs are replaced (from left to right) by one to eight spaces such that the " "total number of characters up to and including the replacement is a multiple " @@ -229,14 +230,14 @@ msgid "" "the indentation." msgstr "" -#: reference/lexical_analysis.rst:188 +#: reference/lexical_analysis.rst:189 msgid "" "Indentation is rejected as inconsistent if a source file mixes tabs and " "spaces in a way that makes the meaning dependent on the worth of a tab in " "spaces; a :exc:`TabError` is raised in that case." msgstr "" -#: reference/lexical_analysis.rst:192 +#: reference/lexical_analysis.rst:193 msgid "" "**Cross-platform compatibility note:** because of the nature of text editors " "on non-UNIX platforms, it is unwise to use a mixture of spaces and tabs for " @@ -244,7 +245,7 @@ msgid "" "different platforms may explicitly limit the maximum indentation level." msgstr "" -#: reference/lexical_analysis.rst:197 +#: reference/lexical_analysis.rst:198 msgid "" "A formfeed character may be present at the start of the line; it will be " "ignored for the indentation calculations above. Formfeed characters " @@ -252,13 +253,13 @@ msgid "" "instance, they may reset the space count to zero)." msgstr "" -#: reference/lexical_analysis.rst:204 +#: reference/lexical_analysis.rst:205 msgid "" "The indentation levels of consecutive lines are used to generate INDENT and " "DEDENT tokens, using a stack, as follows." msgstr "" -#: reference/lexical_analysis.rst:207 +#: reference/lexical_analysis.rst:208 msgid "" "Before the first line of the file is read, a single zero is pushed on the " "stack; this will never be popped off again. The numbers pushed on the stack " @@ -272,13 +273,13 @@ msgid "" "number remaining on the stack that is larger than zero." msgstr "" -#: reference/lexical_analysis.rst:218 +#: reference/lexical_analysis.rst:219 msgid "" "Here is an example of a correctly (though confusingly) indented piece of " "Python code::" msgstr "" -#: reference/lexical_analysis.rst:221 +#: reference/lexical_analysis.rst:222 msgid "" "def perm(l):\n" " # Compute the list of all permutations of l\n" @@ -293,11 +294,11 @@ msgid "" " return r" msgstr "" -#: reference/lexical_analysis.rst:233 +#: reference/lexical_analysis.rst:234 msgid "The following example shows various indentation errors::" msgstr "" -#: reference/lexical_analysis.rst:235 +#: reference/lexical_analysis.rst:236 msgid "" " def perm(l): # error: first line indented\n" "for i in range(len(l)): # error: not indented\n" @@ -308,18 +309,18 @@ msgid "" " return r # error: inconsistent dedent" msgstr "" -#: reference/lexical_analysis.rst:243 +#: reference/lexical_analysis.rst:244 msgid "" "(Actually, the first three errors are detected by the parser; only the last " "error is found by the lexical analyzer --- the indentation of ``return r`` " "does not match a level popped off the stack.)" msgstr "" -#: reference/lexical_analysis.rst:251 +#: reference/lexical_analysis.rst:252 msgid "Whitespace between tokens" msgstr "" -#: reference/lexical_analysis.rst:253 +#: reference/lexical_analysis.rst:254 msgid "" "Except at the beginning of a logical line or in string literals, the " "whitespace characters space, tab and formfeed can be used interchangeably to " @@ -328,11 +329,11 @@ msgid "" "is one token, but a b is two tokens)." msgstr "" -#: reference/lexical_analysis.rst:263 +#: reference/lexical_analysis.rst:264 msgid "Other tokens" msgstr "" -#: reference/lexical_analysis.rst:265 +#: reference/lexical_analysis.rst:266 msgid "" "Besides NEWLINE, INDENT and DEDENT, the following categories of tokens " "exist: *identifiers*, *keywords*, *literals*, *operators*, and *delimiters*. " @@ -342,24 +343,24 @@ msgid "" "from left to right." msgstr "" -#: reference/lexical_analysis.rst:275 +#: reference/lexical_analysis.rst:276 msgid "Identifiers and keywords" msgstr "" -#: reference/lexical_analysis.rst:279 +#: reference/lexical_analysis.rst:280 msgid "" "Identifiers (also referred to as *names*) are described by the following " "lexical definitions." msgstr "" -#: reference/lexical_analysis.rst:282 +#: reference/lexical_analysis.rst:283 msgid "" "The syntax of identifiers in Python is based on the Unicode standard annex " "UAX-31, with elaboration and changes as defined below; see also :pep:`3131` " "for further details." msgstr "" -#: reference/lexical_analysis.rst:286 +#: reference/lexical_analysis.rst:287 msgid "" "Within the ASCII range (U+0001..U+007F), the valid characters for " "identifiers include the uppercase and lowercase letters ``A`` through ``Z``, " @@ -370,90 +371,90 @@ msgid "" "`unicodedata` module." msgstr "" -#: reference/lexical_analysis.rst:294 +#: reference/lexical_analysis.rst:295 msgid "Identifiers are unlimited in length. Case is significant." msgstr "" -#: reference/lexical_analysis.rst:303 +#: reference/lexical_analysis.rst:304 msgid "The Unicode category codes mentioned above stand for:" msgstr "" -#: reference/lexical_analysis.rst:305 +#: reference/lexical_analysis.rst:306 msgid "*Lu* - uppercase letters" msgstr "" -#: reference/lexical_analysis.rst:306 +#: reference/lexical_analysis.rst:307 msgid "*Ll* - lowercase letters" msgstr "" -#: reference/lexical_analysis.rst:307 +#: reference/lexical_analysis.rst:308 msgid "*Lt* - titlecase letters" msgstr "" -#: reference/lexical_analysis.rst:308 +#: reference/lexical_analysis.rst:309 msgid "*Lm* - modifier letters" msgstr "" -#: reference/lexical_analysis.rst:309 +#: reference/lexical_analysis.rst:310 msgid "*Lo* - other letters" msgstr "" -#: reference/lexical_analysis.rst:310 +#: reference/lexical_analysis.rst:311 msgid "*Nl* - letter numbers" msgstr "" -#: reference/lexical_analysis.rst:311 +#: reference/lexical_analysis.rst:312 msgid "*Mn* - nonspacing marks" msgstr "" -#: reference/lexical_analysis.rst:312 +#: reference/lexical_analysis.rst:313 msgid "*Mc* - spacing combining marks" msgstr "" -#: reference/lexical_analysis.rst:313 +#: reference/lexical_analysis.rst:314 msgid "*Nd* - decimal numbers" msgstr "" -#: reference/lexical_analysis.rst:314 +#: reference/lexical_analysis.rst:315 msgid "*Pc* - connector punctuations" msgstr "" -#: reference/lexical_analysis.rst:315 +#: reference/lexical_analysis.rst:316 msgid "" "*Other_ID_Start* - explicit list of characters in `PropList.txt <https://www." "unicode.org/Public/15.0.0/ucd/PropList.txt>`_ to support backwards " "compatibility" msgstr "" -#: reference/lexical_analysis.rst:318 +#: reference/lexical_analysis.rst:319 msgid "*Other_ID_Continue* - likewise" msgstr "" -#: reference/lexical_analysis.rst:320 +#: reference/lexical_analysis.rst:321 msgid "" "All identifiers are converted into the normal form NFKC while parsing; " "comparison of identifiers is based on NFKC." msgstr "" -#: reference/lexical_analysis.rst:323 +#: reference/lexical_analysis.rst:324 msgid "" "A non-normative HTML file listing all valid identifier characters for " "Unicode 15.0.0 can be found at https://www.unicode.org/Public/15.0.0/ucd/" "DerivedCoreProperties.txt" msgstr "" -#: reference/lexical_analysis.rst:331 +#: reference/lexical_analysis.rst:332 msgid "Keywords" msgstr "" -#: reference/lexical_analysis.rst:337 +#: reference/lexical_analysis.rst:338 msgid "" "The following identifiers are used as reserved words, or *keywords* of the " "language, and cannot be used as ordinary identifiers. They must be spelled " "exactly as written here:" msgstr "" -#: reference/lexical_analysis.rst:341 +#: reference/lexical_analysis.rst:342 msgid "" "False await else import pass\n" "None break except in raise\n" @@ -464,11 +465,11 @@ msgid "" "async elif if or yield" msgstr "" -#: reference/lexical_analysis.rst:355 +#: reference/lexical_analysis.rst:356 msgid "Soft Keywords" msgstr "" -#: reference/lexical_analysis.rst:361 +#: reference/lexical_analysis.rst:362 msgid "" "Some identifiers are only reserved under specific contexts. These are known " "as *soft keywords*. The identifiers ``match``, ``case``, ``type`` and ``_`` " @@ -476,82 +477,82 @@ msgid "" "is done at the parser level, not when tokenizing." msgstr "" -#: reference/lexical_analysis.rst:366 +#: reference/lexical_analysis.rst:367 msgid "" "As soft keywords, their use in the grammar is possible while still " "preserving compatibility with existing code that uses these names as " "identifier names." msgstr "" -#: reference/lexical_analysis.rst:370 +#: reference/lexical_analysis.rst:371 msgid "" "``match``, ``case``, and ``_`` are used in the :keyword:`match` statement. " "``type`` is used in the :keyword:`type` statement." msgstr "" -#: reference/lexical_analysis.rst:373 +#: reference/lexical_analysis.rst:374 msgid "``type`` is now a soft keyword." msgstr "" -#: reference/lexical_analysis.rst:382 +#: reference/lexical_analysis.rst:383 msgid "Reserved classes of identifiers" msgstr "" -#: reference/lexical_analysis.rst:384 +#: reference/lexical_analysis.rst:385 msgid "" "Certain classes of identifiers (besides keywords) have special meanings. " "These classes are identified by the patterns of leading and trailing " "underscore characters:" msgstr "" -#: reference/lexical_analysis.rst:388 +#: reference/lexical_analysis.rst:389 msgid "``_*``" msgstr "" -#: reference/lexical_analysis.rst:389 +#: reference/lexical_analysis.rst:390 msgid "Not imported by ``from module import *``." msgstr "" -#: reference/lexical_analysis.rst:391 +#: reference/lexical_analysis.rst:392 msgid "``_``" msgstr "" -#: reference/lexical_analysis.rst:392 +#: reference/lexical_analysis.rst:393 msgid "" "In a ``case`` pattern within a :keyword:`match` statement, ``_`` is a :ref:" "`soft keyword <soft-keywords>` that denotes a :ref:`wildcard <wildcard-" "patterns>`." msgstr "" -#: reference/lexical_analysis.rst:396 +#: reference/lexical_analysis.rst:397 msgid "" "Separately, the interactive interpreter makes the result of the last " "evaluation available in the variable ``_``. (It is stored in the :mod:" "`builtins` module, alongside built-in functions like ``print``.)" msgstr "" -#: reference/lexical_analysis.rst:401 +#: reference/lexical_analysis.rst:402 msgid "" "Elsewhere, ``_`` is a regular identifier. It is often used to name " "\"special\" items, but it is not special to Python itself." msgstr "" -#: reference/lexical_analysis.rst:406 +#: reference/lexical_analysis.rst:407 msgid "" "The name ``_`` is often used in conjunction with internationalization; refer " "to the documentation for the :mod:`gettext` module for more information on " "this convention." msgstr "" -#: reference/lexical_analysis.rst:410 +#: reference/lexical_analysis.rst:411 msgid "It is also commonly used for unused variables." msgstr "" -#: reference/lexical_analysis.rst:412 +#: reference/lexical_analysis.rst:413 msgid "``__*__``" msgstr "" -#: reference/lexical_analysis.rst:413 +#: reference/lexical_analysis.rst:414 msgid "" "System-defined names, informally known as \"dunder\" names. These names are " "defined by the interpreter and its implementation (including the standard " @@ -561,11 +562,11 @@ msgid "" "explicitly documented use, is subject to breakage without warning." msgstr "" -#: reference/lexical_analysis.rst:420 +#: reference/lexical_analysis.rst:421 msgid "``__*``" msgstr "" -#: reference/lexical_analysis.rst:421 +#: reference/lexical_analysis.rst:422 msgid "" "Class-private names. Names in this category, when used within the context " "of a class definition, are re-written to use a mangled form to help avoid " @@ -573,23 +574,23 @@ msgid "" "section :ref:`atom-identifiers`." msgstr "" -#: reference/lexical_analysis.rst:430 +#: reference/lexical_analysis.rst:431 msgid "Literals" msgstr "" -#: reference/lexical_analysis.rst:434 +#: reference/lexical_analysis.rst:435 msgid "Literals are notations for constant values of some built-in types." msgstr "" -#: reference/lexical_analysis.rst:445 +#: reference/lexical_analysis.rst:446 msgid "String and Bytes literals" msgstr "" -#: reference/lexical_analysis.rst:447 +#: reference/lexical_analysis.rst:448 msgid "String literals are described by the following lexical definitions:" msgstr "" -#: reference/lexical_analysis.rst:472 +#: reference/lexical_analysis.rst:473 msgid "" "One syntactic restriction not indicated by these productions is that " "whitespace is not allowed between the :token:`~python-grammar:stringprefix` " @@ -599,7 +600,7 @@ msgid "" "`encodings`." msgstr "" -#: reference/lexical_analysis.rst:482 +#: reference/lexical_analysis.rst:483 msgid "" "In plain English: Both types of literals can be enclosed in matching single " "quotes (``'``) or double quotes (``\"``). They can also be enclosed in " @@ -612,7 +613,7 @@ msgid "" "sequences>` below for examples." msgstr "" -#: reference/lexical_analysis.rst:495 +#: reference/lexical_analysis.rst:496 msgid "" "Bytes literals are always prefixed with ``'b'`` or ``'B'``; they produce an " "instance of the :class:`bytes` type instead of the :class:`str` type. They " @@ -620,7 +621,7 @@ msgid "" "greater must be expressed with escapes." msgstr "" -#: reference/lexical_analysis.rst:504 +#: reference/lexical_analysis.rst:505 msgid "" "Both string and bytes literals may optionally be prefixed with a letter " "``'r'`` or ``'R'``; such constructs are called :dfn:`raw string literals` " @@ -629,20 +630,20 @@ msgid "" "escapes are not treated specially." msgstr "" -#: reference/lexical_analysis.rst:510 +#: reference/lexical_analysis.rst:511 msgid "" "The ``'rb'`` prefix of raw bytes literals has been added as a synonym of " "``'br'``." msgstr "" -#: reference/lexical_analysis.rst:514 +#: reference/lexical_analysis.rst:515 msgid "" "Support for the unicode legacy literal (``u'value'``) was reintroduced to " "simplify the maintenance of dual Python 2.x and 3.x codebases. See :pep:" "`414` for more information." msgstr "" -#: reference/lexical_analysis.rst:522 +#: reference/lexical_analysis.rst:523 msgid "" "A string literal with ``'f'`` or ``'F'`` in its prefix is a :dfn:`formatted " "string literal`; see :ref:`f-strings`. The ``'f'`` may be combined with " @@ -650,7 +651,7 @@ msgid "" "are possible, but formatted bytes literals are not." msgstr "" -#: reference/lexical_analysis.rst:527 +#: reference/lexical_analysis.rst:528 msgid "" "In triple-quoted literals, unescaped newlines and quotes are allowed (and " "are retained), except that three unescaped quotes in a row terminate the " @@ -658,250 +659,250 @@ msgid "" "either ``'`` or ``\"``.)" msgstr "" -#: reference/lexical_analysis.rst:550 +#: reference/lexical_analysis.rst:551 msgid "Escape sequences" msgstr "" -#: reference/lexical_analysis.rst:552 +#: reference/lexical_analysis.rst:553 msgid "" "Unless an ``'r'`` or ``'R'`` prefix is present, escape sequences in string " "and bytes literals are interpreted according to rules similar to those used " "by Standard C. The recognized escape sequences are:" msgstr "" -#: reference/lexical_analysis.rst:557 reference/lexical_analysis.rst:590 +#: reference/lexical_analysis.rst:558 reference/lexical_analysis.rst:591 msgid "Escape Sequence" msgstr "" -#: reference/lexical_analysis.rst:557 reference/lexical_analysis.rst:590 +#: reference/lexical_analysis.rst:558 reference/lexical_analysis.rst:591 msgid "Meaning" msgstr "" -#: reference/lexical_analysis.rst:557 reference/lexical_analysis.rst:590 +#: reference/lexical_analysis.rst:558 reference/lexical_analysis.rst:591 msgid "Notes" msgstr "" -#: reference/lexical_analysis.rst:559 +#: reference/lexical_analysis.rst:560 msgid "``\\``\\ <newline>" msgstr "" -#: reference/lexical_analysis.rst:559 +#: reference/lexical_analysis.rst:560 msgid "Backslash and newline ignored" msgstr "" -#: reference/lexical_analysis.rst:559 +#: reference/lexical_analysis.rst:560 msgid "\\(1)" msgstr "" -#: reference/lexical_analysis.rst:561 +#: reference/lexical_analysis.rst:562 msgid "``\\\\``" msgstr "" -#: reference/lexical_analysis.rst:561 +#: reference/lexical_analysis.rst:562 msgid "Backslash (``\\``)" msgstr "" -#: reference/lexical_analysis.rst:563 +#: reference/lexical_analysis.rst:564 msgid "``\\'``" msgstr "" -#: reference/lexical_analysis.rst:563 +#: reference/lexical_analysis.rst:564 msgid "Single quote (``'``)" msgstr "" -#: reference/lexical_analysis.rst:565 +#: reference/lexical_analysis.rst:566 msgid "``\\\"``" msgstr "" -#: reference/lexical_analysis.rst:565 +#: reference/lexical_analysis.rst:566 msgid "Double quote (``\"``)" msgstr "" -#: reference/lexical_analysis.rst:567 +#: reference/lexical_analysis.rst:568 msgid "``\\a``" msgstr "" -#: reference/lexical_analysis.rst:567 +#: reference/lexical_analysis.rst:568 msgid "ASCII Bell (BEL)" msgstr "" -#: reference/lexical_analysis.rst:569 +#: reference/lexical_analysis.rst:570 msgid "``\\b``" msgstr "" -#: reference/lexical_analysis.rst:569 +#: reference/lexical_analysis.rst:570 msgid "ASCII Backspace (BS)" msgstr "" -#: reference/lexical_analysis.rst:571 +#: reference/lexical_analysis.rst:572 msgid "``\\f``" msgstr "" -#: reference/lexical_analysis.rst:571 +#: reference/lexical_analysis.rst:572 msgid "ASCII Formfeed (FF)" msgstr "" -#: reference/lexical_analysis.rst:573 +#: reference/lexical_analysis.rst:574 msgid "``\\n``" msgstr "" -#: reference/lexical_analysis.rst:573 +#: reference/lexical_analysis.rst:574 msgid "ASCII Linefeed (LF)" msgstr "" -#: reference/lexical_analysis.rst:575 +#: reference/lexical_analysis.rst:576 msgid "``\\r``" msgstr "" -#: reference/lexical_analysis.rst:575 +#: reference/lexical_analysis.rst:576 msgid "ASCII Carriage Return (CR)" msgstr "" -#: reference/lexical_analysis.rst:577 +#: reference/lexical_analysis.rst:578 msgid "``\\t``" msgstr "" -#: reference/lexical_analysis.rst:577 +#: reference/lexical_analysis.rst:578 msgid "ASCII Horizontal Tab (TAB)" msgstr "" -#: reference/lexical_analysis.rst:579 +#: reference/lexical_analysis.rst:580 msgid "``\\v``" msgstr "" -#: reference/lexical_analysis.rst:579 +#: reference/lexical_analysis.rst:580 msgid "ASCII Vertical Tab (VT)" msgstr "" -#: reference/lexical_analysis.rst:581 +#: reference/lexical_analysis.rst:582 msgid ":samp:`\\\\\\\\{ooo}`" msgstr "" -#: reference/lexical_analysis.rst:581 +#: reference/lexical_analysis.rst:582 msgid "Character with octal value *ooo*" msgstr "" -#: reference/lexical_analysis.rst:581 +#: reference/lexical_analysis.rst:582 msgid "(2,4)" msgstr "" -#: reference/lexical_analysis.rst:584 +#: reference/lexical_analysis.rst:585 msgid ":samp:`\\\\x{hh}`" msgstr "" -#: reference/lexical_analysis.rst:584 +#: reference/lexical_analysis.rst:585 msgid "Character with hex value *hh*" msgstr "" -#: reference/lexical_analysis.rst:584 +#: reference/lexical_analysis.rst:585 msgid "(3,4)" msgstr "" -#: reference/lexical_analysis.rst:587 +#: reference/lexical_analysis.rst:588 msgid "Escape sequences only recognized in string literals are:" msgstr "" -#: reference/lexical_analysis.rst:592 +#: reference/lexical_analysis.rst:593 msgid ":samp:`\\\\N\\\\{{name}\\\\}`" msgstr "" -#: reference/lexical_analysis.rst:592 +#: reference/lexical_analysis.rst:593 msgid "Character named *name* in the Unicode database" msgstr "" -#: reference/lexical_analysis.rst:592 +#: reference/lexical_analysis.rst:593 msgid "\\(5)" msgstr "" -#: reference/lexical_analysis.rst:595 +#: reference/lexical_analysis.rst:596 msgid ":samp:`\\\\u{xxxx}`" msgstr "" -#: reference/lexical_analysis.rst:595 +#: reference/lexical_analysis.rst:596 msgid "Character with 16-bit hex value *xxxx*" msgstr "" -#: reference/lexical_analysis.rst:595 +#: reference/lexical_analysis.rst:596 msgid "\\(6)" msgstr "" -#: reference/lexical_analysis.rst:598 +#: reference/lexical_analysis.rst:599 msgid ":samp:`\\\\U{xxxxxxxx}`" msgstr "" -#: reference/lexical_analysis.rst:598 +#: reference/lexical_analysis.rst:599 msgid "Character with 32-bit hex value *xxxxxxxx*" msgstr "" -#: reference/lexical_analysis.rst:598 +#: reference/lexical_analysis.rst:599 msgid "\\(7)" msgstr "" -#: reference/lexical_analysis.rst:602 +#: reference/lexical_analysis.rst:603 msgid "Notes:" msgstr "" -#: reference/lexical_analysis.rst:605 +#: reference/lexical_analysis.rst:606 msgid "A backslash can be added at the end of a line to ignore the newline::" msgstr "" -#: reference/lexical_analysis.rst:607 +#: reference/lexical_analysis.rst:608 msgid "" ">>> 'This string will not include \\\n" "... backslashes or newline characters.'\n" "'This string will not include backslashes or newline characters.'" msgstr "" -#: reference/lexical_analysis.rst:611 +#: reference/lexical_analysis.rst:612 msgid "" "The same result can be achieved using :ref:`triple-quoted strings " "<strings>`, or parentheses and :ref:`string literal concatenation <string-" "concatenation>`." msgstr "" -#: reference/lexical_analysis.rst:616 +#: reference/lexical_analysis.rst:617 msgid "As in Standard C, up to three octal digits are accepted." msgstr "" -#: reference/lexical_analysis.rst:618 +#: reference/lexical_analysis.rst:619 msgid "" "Octal escapes with value larger than ``0o377`` produce a :exc:" "`DeprecationWarning`." msgstr "" -#: reference/lexical_analysis.rst:622 +#: reference/lexical_analysis.rst:623 msgid "" "Octal escapes with value larger than ``0o377`` produce a :exc:" "`SyntaxWarning`. In a future Python version they will be eventually a :exc:" "`SyntaxError`." msgstr "" -#: reference/lexical_analysis.rst:628 +#: reference/lexical_analysis.rst:629 msgid "Unlike in Standard C, exactly two hex digits are required." msgstr "" -#: reference/lexical_analysis.rst:631 +#: reference/lexical_analysis.rst:632 msgid "" "In a bytes literal, hexadecimal and octal escapes denote the byte with the " "given value. In a string literal, these escapes denote a Unicode character " "with the given value." msgstr "" -#: reference/lexical_analysis.rst:636 +#: reference/lexical_analysis.rst:637 msgid "Support for name aliases [#]_ has been added." msgstr "" -#: reference/lexical_analysis.rst:640 +#: reference/lexical_analysis.rst:641 msgid "Exactly four hex digits are required." msgstr "" -#: reference/lexical_analysis.rst:643 +#: reference/lexical_analysis.rst:644 msgid "" "Any Unicode character can be encoded this way. Exactly eight hex digits are " "required." msgstr "" -#: reference/lexical_analysis.rst:649 +#: reference/lexical_analysis.rst:650 msgid "" "Unlike Standard C, all unrecognized escape sequences are left in the string " "unchanged, i.e., *the backslash is left in the result*. (This behavior is " @@ -911,17 +912,17 @@ msgid "" "category of unrecognized escapes for bytes literals." msgstr "" -#: reference/lexical_analysis.rst:656 +#: reference/lexical_analysis.rst:657 msgid "Unrecognized escape sequences produce a :exc:`DeprecationWarning`." msgstr "" -#: reference/lexical_analysis.rst:659 +#: reference/lexical_analysis.rst:660 msgid "" "Unrecognized escape sequences produce a :exc:`SyntaxWarning`. In a future " "Python version they will be eventually a :exc:`SyntaxError`." msgstr "" -#: reference/lexical_analysis.rst:663 +#: reference/lexical_analysis.rst:664 msgid "" "Even in a raw literal, quotes can be escaped with a backslash, but the " "backslash remains in the result; for example, ``r\"\\\"\"`` is a valid " @@ -934,11 +935,11 @@ msgid "" "continuation." msgstr "" -#: reference/lexical_analysis.rst:676 +#: reference/lexical_analysis.rst:677 msgid "String literal concatenation" msgstr "" -#: reference/lexical_analysis.rst:678 +#: reference/lexical_analysis.rst:679 msgid "" "Multiple adjacent string or bytes literals (delimited by whitespace), " "possibly using different quoting conventions, are allowed, and their meaning " @@ -948,14 +949,14 @@ msgid "" "lines, or even to add comments to parts of strings, for example::" msgstr "" -#: reference/lexical_analysis.rst:685 +#: reference/lexical_analysis.rst:686 msgid "" "re.compile(\"[A-Za-z_]\" # letter or underscore\n" " \"[A-Za-z0-9_]*\" # letter, digit or underscore\n" " )" msgstr "" -#: reference/lexical_analysis.rst:689 +#: reference/lexical_analysis.rst:690 msgid "" "Note that this feature is defined at the syntactical level, but implemented " "at compile time. The '+' operator must be used to concatenate string " @@ -965,11 +966,11 @@ msgid "" "with plain string literals." msgstr "" -#: reference/lexical_analysis.rst:712 +#: reference/lexical_analysis.rst:713 msgid "f-strings" msgstr "" -#: reference/lexical_analysis.rst:716 +#: reference/lexical_analysis.rst:717 msgid "" "A :dfn:`formatted string literal` or :dfn:`f-string` is a string literal " "that is prefixed with ``'f'`` or ``'F'``. These strings may contain " @@ -978,14 +979,14 @@ msgid "" "are really expressions evaluated at run time." msgstr "" -#: reference/lexical_analysis.rst:722 +#: reference/lexical_analysis.rst:723 msgid "" "Escape sequences are decoded like in ordinary string literals (except when a " "literal is also marked as a raw string). After decoding, the grammar for " "the contents of the string is:" msgstr "" -#: reference/lexical_analysis.rst:736 +#: reference/lexical_analysis.rst:737 msgid "" "The parts of the string outside curly braces are treated literally, except " "that any doubled curly braces ``'{{'`` or ``'}}'`` are replaced with the " @@ -998,7 +999,7 @@ msgid "" "replacement field ends with a closing curly bracket ``'}'``." msgstr "" -#: reference/lexical_analysis.rst:746 +#: reference/lexical_analysis.rst:747 msgid "" "Expressions in formatted string literals are treated like regular Python " "expressions surrounded by parentheses, with a few exceptions. An empty " @@ -1012,27 +1013,27 @@ msgid "" "replacement fields must be closed in a different line." msgstr "" -#: reference/lexical_analysis.rst:757 +#: reference/lexical_analysis.rst:758 msgid "" ">>> f\"abc{a # This is a comment }\"\n" "... + 3}\"\n" "'abc5'" msgstr "" -#: reference/lexical_analysis.rst:763 +#: reference/lexical_analysis.rst:764 msgid "" "Prior to Python 3.7, an :keyword:`await` expression and comprehensions " "containing an :keyword:`async for` clause were illegal in the expressions in " "formatted string literals due to a problem with the implementation." msgstr "" -#: reference/lexical_analysis.rst:768 +#: reference/lexical_analysis.rst:769 msgid "" "Prior to Python 3.12, comments were not allowed inside f-string replacement " "fields." msgstr "" -#: reference/lexical_analysis.rst:772 +#: reference/lexical_analysis.rst:773 msgid "" "When the equal sign ``'='`` is provided, the output will have the expression " "text, the ``'='`` and the evaluated value. Spaces after the opening brace " @@ -1043,18 +1044,18 @@ msgid "" "r'`` is declared." msgstr "" -#: reference/lexical_analysis.rst:780 +#: reference/lexical_analysis.rst:781 msgid "The equal sign ``'='``." msgstr "" -#: reference/lexical_analysis.rst:783 +#: reference/lexical_analysis.rst:784 msgid "" "If a conversion is specified, the result of evaluating the expression is " "converted before formatting. Conversion ``'!s'`` calls :func:`str` on the " "result, ``'!r'`` calls :func:`repr`, and ``'!a'`` calls :func:`ascii`." msgstr "" -#: reference/lexical_analysis.rst:787 +#: reference/lexical_analysis.rst:788 msgid "" "The result is then formatted using the :func:`format` protocol. The format " "specifier is passed to the :meth:`~object.__format__` method of the " @@ -1063,7 +1064,7 @@ msgid "" "value of the whole string." msgstr "" -#: reference/lexical_analysis.rst:793 +#: reference/lexical_analysis.rst:794 msgid "" "Top-level format specifiers may include nested replacement fields. These " "nested fields may include their own conversion fields and :ref:`format " @@ -1072,17 +1073,17 @@ msgid "" "as that used by the :meth:`str.format` method." msgstr "" -#: reference/lexical_analysis.rst:799 +#: reference/lexical_analysis.rst:800 msgid "" "Formatted string literals may be concatenated, but replacement fields cannot " "be split across literals." msgstr "" -#: reference/lexical_analysis.rst:802 +#: reference/lexical_analysis.rst:803 msgid "Some examples of formatted string literals::" msgstr "" -#: reference/lexical_analysis.rst:804 +#: reference/lexical_analysis.rst:805 msgid "" ">>> name = \"Fred\"\n" ">>> f\"He said his name is {name!r}.\"\n" @@ -1114,32 +1115,32 @@ msgid "" "'line = \"The mill\\'s closed\" '" msgstr "" -#: reference/lexical_analysis.rst:834 +#: reference/lexical_analysis.rst:835 msgid "" "Reusing the outer f-string quoting type inside a replacement field is " "permitted::" msgstr "" -#: reference/lexical_analysis.rst:837 +#: reference/lexical_analysis.rst:838 msgid "" ">>> a = dict(x=2)\n" ">>> f\"abc {a[\"x\"]} def\"\n" "'abc 2 def'" msgstr "" -#: reference/lexical_analysis.rst:841 +#: reference/lexical_analysis.rst:842 msgid "" "Prior to Python 3.12, reuse of the same quoting type of the outer f-string " "inside a replacement field was not possible." msgstr "" -#: reference/lexical_analysis.rst:845 +#: reference/lexical_analysis.rst:846 msgid "" "Backslashes are also allowed in replacement fields and are evaluated the " "same way as in any other context::" msgstr "" -#: reference/lexical_analysis.rst:848 +#: reference/lexical_analysis.rst:849 msgid "" ">>> a = [\"a\", \"b\", \"c\"]\n" ">>> print(f\"List a contains:\\n{\"\\n\".join(a)}\")\n" @@ -1149,19 +1150,19 @@ msgid "" "c" msgstr "" -#: reference/lexical_analysis.rst:855 +#: reference/lexical_analysis.rst:856 msgid "" "Prior to Python 3.12, backslashes were not permitted inside an f-string " "replacement field." msgstr "" -#: reference/lexical_analysis.rst:859 +#: reference/lexical_analysis.rst:860 msgid "" "Formatted string literals cannot be used as docstrings, even if they do not " "include expressions." msgstr "" -#: reference/lexical_analysis.rst:864 +#: reference/lexical_analysis.rst:865 msgid "" ">>> def foo():\n" "... f\"Not a docstring\"\n" @@ -1170,83 +1171,83 @@ msgid "" "True" msgstr "" -#: reference/lexical_analysis.rst:870 +#: reference/lexical_analysis.rst:871 msgid "" "See also :pep:`498` for the proposal that added formatted string literals, " "and :meth:`str.format`, which uses a related format string mechanism." msgstr "" -#: reference/lexical_analysis.rst:877 +#: reference/lexical_analysis.rst:878 msgid "Numeric literals" msgstr "" -#: reference/lexical_analysis.rst:883 +#: reference/lexical_analysis.rst:884 msgid "" "There are three types of numeric literals: integers, floating-point numbers, " "and imaginary numbers. There are no complex literals (complex numbers can " "be formed by adding a real number and an imaginary number)." msgstr "" -#: reference/lexical_analysis.rst:887 +#: reference/lexical_analysis.rst:888 msgid "" "Note that numeric literals do not include a sign; a phrase like ``-1`` is " "actually an expression composed of the unary operator '``-``' and the " "literal ``1``." msgstr "" -#: reference/lexical_analysis.rst:901 +#: reference/lexical_analysis.rst:902 msgid "Integer literals" msgstr "" -#: reference/lexical_analysis.rst:903 +#: reference/lexical_analysis.rst:904 msgid "Integer literals are described by the following lexical definitions:" msgstr "" -#: reference/lexical_analysis.rst:917 +#: reference/lexical_analysis.rst:918 msgid "" "There is no limit for the length of integer literals apart from what can be " "stored in available memory." msgstr "" -#: reference/lexical_analysis.rst:920 +#: reference/lexical_analysis.rst:921 msgid "" "Underscores are ignored for determining the numeric value of the literal. " "They can be used to group digits for enhanced readability. One underscore " "can occur between digits, and after base specifiers like ``0x``." msgstr "" -#: reference/lexical_analysis.rst:924 +#: reference/lexical_analysis.rst:925 msgid "" "Note that leading zeros in a non-zero decimal number are not allowed. This " "is for disambiguation with C-style octal literals, which Python used before " "version 3.0." msgstr "" -#: reference/lexical_analysis.rst:928 +#: reference/lexical_analysis.rst:929 msgid "Some examples of integer literals::" msgstr "" -#: reference/lexical_analysis.rst:930 +#: reference/lexical_analysis.rst:931 msgid "" "7 2147483647 0o177 0b100110111\n" "3 79228162514264337593543950336 0o377 0xdeadbeef\n" " 100_000_000_000 0b_1110_0101" msgstr "" -#: reference/lexical_analysis.rst:934 reference/lexical_analysis.rst:966 +#: reference/lexical_analysis.rst:935 reference/lexical_analysis.rst:967 msgid "Underscores are now allowed for grouping purposes in literals." msgstr "" -#: reference/lexical_analysis.rst:945 +#: reference/lexical_analysis.rst:946 msgid "Floating-point literals" msgstr "" -#: reference/lexical_analysis.rst:947 +#: reference/lexical_analysis.rst:948 msgid "" "Floating-point literals are described by the following lexical definitions:" msgstr "" -#: reference/lexical_analysis.rst:957 +#: reference/lexical_analysis.rst:958 msgid "" "Note that the integer and exponent parts are always interpreted using radix " "10. For example, ``077e010`` is legal, and denotes the same number as " @@ -1255,23 +1256,23 @@ msgid "" "grouping." msgstr "" -#: reference/lexical_analysis.rst:962 +#: reference/lexical_analysis.rst:963 msgid "Some examples of floating-point literals::" msgstr "" -#: reference/lexical_analysis.rst:964 +#: reference/lexical_analysis.rst:965 msgid "3.14 10. .001 1e100 3.14e-10 0e0 3.14_15_93" msgstr "" -#: reference/lexical_analysis.rst:975 +#: reference/lexical_analysis.rst:976 msgid "Imaginary literals" msgstr "" -#: reference/lexical_analysis.rst:977 +#: reference/lexical_analysis.rst:978 msgid "Imaginary literals are described by the following lexical definitions:" msgstr "" -#: reference/lexical_analysis.rst:982 +#: reference/lexical_analysis.rst:983 msgid "" "An imaginary literal yields a complex number with a real part of 0.0. " "Complex numbers are represented as a pair of floating-point numbers and have " @@ -1280,34 +1281,34 @@ msgid "" "Some examples of imaginary literals::" msgstr "" -#: reference/lexical_analysis.rst:988 +#: reference/lexical_analysis.rst:989 msgid "3.14j 10.j 10j .001j 1e100j 3.14e-10j 3.14_15_93j" msgstr "" -#: reference/lexical_analysis.rst:994 +#: reference/lexical_analysis.rst:995 msgid "Operators" msgstr "" -#: reference/lexical_analysis.rst:998 +#: reference/lexical_analysis.rst:999 msgid "The following tokens are operators:" msgstr "" -#: reference/lexical_analysis.rst:1000 +#: reference/lexical_analysis.rst:1001 msgid "" "+ - * ** / // % @\n" "<< >> & | ^ ~ :=\n" "< > <= >= == !=" msgstr "" -#: reference/lexical_analysis.rst:1011 +#: reference/lexical_analysis.rst:1012 msgid "Delimiters" msgstr "" -#: reference/lexical_analysis.rst:1015 +#: reference/lexical_analysis.rst:1016 msgid "The following tokens serve as delimiters in the grammar:" msgstr "" -#: reference/lexical_analysis.rst:1017 +#: reference/lexical_analysis.rst:1018 msgid "" "( ) [ ] { }\n" ", : ! . ; @ =\n" @@ -1315,7 +1316,7 @@ msgid "" "@= &= |= ^= >>= <<= **=" msgstr "" -#: reference/lexical_analysis.rst:1024 +#: reference/lexical_analysis.rst:1025 msgid "" "The period can also occur in floating-point and imaginary literals. A " "sequence of three periods has a special meaning as an ellipsis literal. The " @@ -1323,31 +1324,31 @@ msgid "" "as delimiters, but also perform an operation." msgstr "" -#: reference/lexical_analysis.rst:1029 +#: reference/lexical_analysis.rst:1030 msgid "" "The following printing ASCII characters have special meaning as part of " "other tokens or are otherwise significant to the lexical analyzer:" msgstr "" -#: reference/lexical_analysis.rst:1032 +#: reference/lexical_analysis.rst:1033 msgid "' \" # \\" msgstr "" -#: reference/lexical_analysis.rst:1036 +#: reference/lexical_analysis.rst:1037 msgid "" "The following printing ASCII characters are not used in Python. Their " "occurrence outside string literals and comments is an unconditional error:" msgstr "" -#: reference/lexical_analysis.rst:1039 +#: reference/lexical_analysis.rst:1040 msgid "$ ? `" msgstr "" -#: reference/lexical_analysis.rst:1045 +#: reference/lexical_analysis.rst:1046 msgid "Footnotes" msgstr "" -#: reference/lexical_analysis.rst:1046 +#: reference/lexical_analysis.rst:1047 msgid "https://www.unicode.org/Public/15.0.0/ucd/NameAliases.txt" msgstr "" @@ -1363,404 +1364,404 @@ msgstr "" msgid "token" msgstr "" -#: reference/lexical_analysis.rst:25 +#: reference/lexical_analysis.rst:26 msgid "line structure" msgstr "" -#: reference/lexical_analysis.rst:35 +#: reference/lexical_analysis.rst:36 msgid "logical line" msgstr "" -#: reference/lexical_analysis.rst:35 reference/lexical_analysis.rst:114 -#: reference/lexical_analysis.rst:531 +#: reference/lexical_analysis.rst:36 reference/lexical_analysis.rst:115 +#: reference/lexical_analysis.rst:532 msgid "physical line" msgstr "" -#: reference/lexical_analysis.rst:35 reference/lexical_analysis.rst:114 +#: reference/lexical_analysis.rst:36 reference/lexical_analysis.rst:115 msgid "line joining" msgstr "" -#: reference/lexical_analysis.rst:35 +#: reference/lexical_analysis.rst:36 msgid "NEWLINE token" msgstr "" -#: reference/lexical_analysis.rst:67 +#: reference/lexical_analysis.rst:68 msgid "comment" msgstr "" -#: reference/lexical_analysis.rst:67 +#: reference/lexical_analysis.rst:68 msgid "hash character" msgstr "" -#: reference/lexical_analysis.rst:67 reference/lexical_analysis.rst:81 +#: reference/lexical_analysis.rst:68 reference/lexical_analysis.rst:82 msgid "# (hash)" msgstr "" -#: reference/lexical_analysis.rst:81 +#: reference/lexical_analysis.rst:82 msgid "source character set" msgstr "" -#: reference/lexical_analysis.rst:81 +#: reference/lexical_analysis.rst:82 msgid "encoding declarations (source file)" msgstr "" -#: reference/lexical_analysis.rst:81 +#: reference/lexical_analysis.rst:82 msgid "source encoding declaration" msgstr "" -#: reference/lexical_analysis.rst:114 +#: reference/lexical_analysis.rst:115 msgid "line continuation" msgstr "" -#: reference/lexical_analysis.rst:114 +#: reference/lexical_analysis.rst:115 msgid "backslash character" msgstr "" -#: reference/lexical_analysis.rst:159 +#: reference/lexical_analysis.rst:160 msgid "blank line" msgstr "" -#: reference/lexical_analysis.rst:174 +#: reference/lexical_analysis.rst:175 msgid "indentation" msgstr "" -#: reference/lexical_analysis.rst:174 +#: reference/lexical_analysis.rst:175 msgid "leading whitespace" msgstr "" -#: reference/lexical_analysis.rst:174 +#: reference/lexical_analysis.rst:175 msgid "space" msgstr "" -#: reference/lexical_analysis.rst:174 +#: reference/lexical_analysis.rst:175 msgid "tab" msgstr "" -#: reference/lexical_analysis.rst:174 +#: reference/lexical_analysis.rst:175 msgid "grouping" msgstr "" -#: reference/lexical_analysis.rst:174 +#: reference/lexical_analysis.rst:175 msgid "statement grouping" msgstr "" -#: reference/lexical_analysis.rst:202 +#: reference/lexical_analysis.rst:203 msgid "INDENT token" msgstr "" -#: reference/lexical_analysis.rst:202 +#: reference/lexical_analysis.rst:203 msgid "DEDENT token" msgstr "" -#: reference/lexical_analysis.rst:277 +#: reference/lexical_analysis.rst:278 msgid "identifier" msgstr "" -#: reference/lexical_analysis.rst:277 +#: reference/lexical_analysis.rst:278 msgid "name" msgstr "" -#: reference/lexical_analysis.rst:333 reference/lexical_analysis.rst:357 +#: reference/lexical_analysis.rst:334 reference/lexical_analysis.rst:358 msgid "keyword" msgstr "" -#: reference/lexical_analysis.rst:333 +#: reference/lexical_analysis.rst:334 msgid "reserved word" msgstr "" -#: reference/lexical_analysis.rst:357 +#: reference/lexical_analysis.rst:358 msgid "soft keyword" msgstr "" -#: reference/lexical_analysis.rst:376 +#: reference/lexical_analysis.rst:377 msgid "_, identifiers" msgstr "" -#: reference/lexical_analysis.rst:376 +#: reference/lexical_analysis.rst:377 msgid "__, identifiers" msgstr "" -#: reference/lexical_analysis.rst:432 +#: reference/lexical_analysis.rst:433 msgid "literal" msgstr "" -#: reference/lexical_analysis.rst:432 +#: reference/lexical_analysis.rst:433 msgid "constant" msgstr "" -#: reference/lexical_analysis.rst:437 reference/lexical_analysis.rst:478 +#: reference/lexical_analysis.rst:438 reference/lexical_analysis.rst:479 msgid "string literal" msgstr "" -#: reference/lexical_analysis.rst:437 reference/lexical_analysis.rst:491 +#: reference/lexical_analysis.rst:438 reference/lexical_analysis.rst:492 msgid "bytes literal" msgstr "" -#: reference/lexical_analysis.rst:437 +#: reference/lexical_analysis.rst:438 msgid "ASCII" msgstr "" -#: reference/lexical_analysis.rst:437 +#: reference/lexical_analysis.rst:438 msgid "' (single quote)" msgstr "" -#: reference/lexical_analysis.rst:437 +#: reference/lexical_analysis.rst:438 msgid "\" (double quote)" msgstr "" -#: reference/lexical_analysis.rst:437 +#: reference/lexical_analysis.rst:438 msgid "u'" msgstr "" -#: reference/lexical_analysis.rst:437 +#: reference/lexical_analysis.rst:438 msgid "u\"" msgstr "" -#: reference/lexical_analysis.rst:478 +#: reference/lexical_analysis.rst:479 msgid "triple-quoted string" msgstr "" -#: reference/lexical_analysis.rst:478 +#: reference/lexical_analysis.rst:479 msgid "Unicode Consortium" msgstr "" -#: reference/lexical_analysis.rst:478 +#: reference/lexical_analysis.rst:479 msgid "raw string" msgstr "" -#: reference/lexical_analysis.rst:478 +#: reference/lexical_analysis.rst:479 msgid "\"\"\"" msgstr "" -#: reference/lexical_analysis.rst:478 +#: reference/lexical_analysis.rst:479 msgid "'''" msgstr "" -#: reference/lexical_analysis.rst:491 +#: reference/lexical_analysis.rst:492 msgid "b'" msgstr "" -#: reference/lexical_analysis.rst:491 +#: reference/lexical_analysis.rst:492 msgid "b\"" msgstr "" -#: reference/lexical_analysis.rst:500 +#: reference/lexical_analysis.rst:501 msgid "r'" msgstr "" -#: reference/lexical_analysis.rst:500 +#: reference/lexical_analysis.rst:501 msgid "raw string literal" msgstr "" -#: reference/lexical_analysis.rst:500 +#: reference/lexical_analysis.rst:501 msgid "r\"" msgstr "" -#: reference/lexical_analysis.rst:518 +#: reference/lexical_analysis.rst:519 msgid "f'" msgstr "" -#: reference/lexical_analysis.rst:518 reference/lexical_analysis.rst:696 +#: reference/lexical_analysis.rst:519 reference/lexical_analysis.rst:697 msgid "formatted string literal" msgstr "" -#: reference/lexical_analysis.rst:518 +#: reference/lexical_analysis.rst:519 msgid "f\"" msgstr "" -#: reference/lexical_analysis.rst:531 +#: reference/lexical_analysis.rst:532 msgid "escape sequence" msgstr "" -#: reference/lexical_analysis.rst:531 +#: reference/lexical_analysis.rst:532 msgid "Standard C" msgstr "" -#: reference/lexical_analysis.rst:531 +#: reference/lexical_analysis.rst:532 msgid "C" msgstr "" -#: reference/lexical_analysis.rst:531 +#: reference/lexical_analysis.rst:532 msgid "\\ (backslash)" msgstr "" -#: reference/lexical_analysis.rst:531 +#: reference/lexical_analysis.rst:532 msgid "\\\\" msgstr "" -#: reference/lexical_analysis.rst:531 +#: reference/lexical_analysis.rst:532 msgid "\\a" msgstr "" -#: reference/lexical_analysis.rst:531 +#: reference/lexical_analysis.rst:532 msgid "\\b" msgstr "" -#: reference/lexical_analysis.rst:531 +#: reference/lexical_analysis.rst:532 msgid "\\f" msgstr "" -#: reference/lexical_analysis.rst:531 +#: reference/lexical_analysis.rst:532 msgid "\\n" msgstr "" -#: reference/lexical_analysis.rst:531 +#: reference/lexical_analysis.rst:532 msgid "\\r" msgstr "" -#: reference/lexical_analysis.rst:531 +#: reference/lexical_analysis.rst:532 msgid "\\t" msgstr "" -#: reference/lexical_analysis.rst:531 +#: reference/lexical_analysis.rst:532 msgid "\\v" msgstr "" -#: reference/lexical_analysis.rst:531 +#: reference/lexical_analysis.rst:532 msgid "\\x" msgstr "" -#: reference/lexical_analysis.rst:531 +#: reference/lexical_analysis.rst:532 msgid "\\N" msgstr "" -#: reference/lexical_analysis.rst:531 +#: reference/lexical_analysis.rst:532 msgid "\\u" msgstr "" -#: reference/lexical_analysis.rst:531 +#: reference/lexical_analysis.rst:532 msgid "\\U" msgstr "" -#: reference/lexical_analysis.rst:647 +#: reference/lexical_analysis.rst:648 msgid "unrecognized escape sequence" msgstr "" -#: reference/lexical_analysis.rst:696 +#: reference/lexical_analysis.rst:697 msgid "interpolated string literal" msgstr "" -#: reference/lexical_analysis.rst:696 +#: reference/lexical_analysis.rst:697 msgid "string" msgstr "" -#: reference/lexical_analysis.rst:696 +#: reference/lexical_analysis.rst:697 msgid "formatted literal" msgstr "" -#: reference/lexical_analysis.rst:696 +#: reference/lexical_analysis.rst:697 msgid "interpolated literal" msgstr "" -#: reference/lexical_analysis.rst:696 +#: reference/lexical_analysis.rst:697 msgid "f-string" msgstr "" -#: reference/lexical_analysis.rst:696 +#: reference/lexical_analysis.rst:697 msgid "fstring" msgstr "" -#: reference/lexical_analysis.rst:696 +#: reference/lexical_analysis.rst:697 msgid "{} (curly brackets)" msgstr "" -#: reference/lexical_analysis.rst:696 +#: reference/lexical_analysis.rst:697 msgid "in formatted string literal" msgstr "" -#: reference/lexical_analysis.rst:696 +#: reference/lexical_analysis.rst:697 msgid "! (exclamation)" msgstr "" -#: reference/lexical_analysis.rst:696 +#: reference/lexical_analysis.rst:697 msgid ": (colon)" msgstr "" -#: reference/lexical_analysis.rst:696 +#: reference/lexical_analysis.rst:697 msgid "= (equals)" msgstr "" -#: reference/lexical_analysis.rst:696 +#: reference/lexical_analysis.rst:697 msgid "for help in debugging using string literals" msgstr "" -#: reference/lexical_analysis.rst:879 +#: reference/lexical_analysis.rst:880 msgid "number" msgstr "" -#: reference/lexical_analysis.rst:879 +#: reference/lexical_analysis.rst:880 msgid "numeric literal" msgstr "" -#: reference/lexical_analysis.rst:879 reference/lexical_analysis.rst:892 +#: reference/lexical_analysis.rst:880 reference/lexical_analysis.rst:893 msgid "integer literal" msgstr "" -#: reference/lexical_analysis.rst:879 +#: reference/lexical_analysis.rst:880 msgid "floating-point literal" msgstr "" -#: reference/lexical_analysis.rst:879 +#: reference/lexical_analysis.rst:880 msgid "hexadecimal literal" msgstr "" -#: reference/lexical_analysis.rst:879 +#: reference/lexical_analysis.rst:880 msgid "octal literal" msgstr "" -#: reference/lexical_analysis.rst:879 +#: reference/lexical_analysis.rst:880 msgid "binary literal" msgstr "" -#: reference/lexical_analysis.rst:879 +#: reference/lexical_analysis.rst:880 msgid "decimal literal" msgstr "" -#: reference/lexical_analysis.rst:879 +#: reference/lexical_analysis.rst:880 msgid "imaginary literal" msgstr "" -#: reference/lexical_analysis.rst:879 +#: reference/lexical_analysis.rst:880 msgid "complex literal" msgstr "" -#: reference/lexical_analysis.rst:892 +#: reference/lexical_analysis.rst:893 msgid "0b" msgstr "" -#: reference/lexical_analysis.rst:892 +#: reference/lexical_analysis.rst:893 msgid "0o" msgstr "" -#: reference/lexical_analysis.rst:892 +#: reference/lexical_analysis.rst:893 msgid "0x" msgstr "" -#: reference/lexical_analysis.rst:892 reference/lexical_analysis.rst:938 +#: reference/lexical_analysis.rst:893 reference/lexical_analysis.rst:939 msgid "_ (underscore)" msgstr "" -#: reference/lexical_analysis.rst:892 reference/lexical_analysis.rst:938 -#: reference/lexical_analysis.rst:970 +#: reference/lexical_analysis.rst:893 reference/lexical_analysis.rst:939 +#: reference/lexical_analysis.rst:971 msgid "in numeric literal" msgstr "" -#: reference/lexical_analysis.rst:938 +#: reference/lexical_analysis.rst:939 msgid ". (dot)" msgstr "" -#: reference/lexical_analysis.rst:938 +#: reference/lexical_analysis.rst:939 msgid "e" msgstr "" -#: reference/lexical_analysis.rst:970 +#: reference/lexical_analysis.rst:971 msgid "j" msgstr "" -#: reference/lexical_analysis.rst:996 +#: reference/lexical_analysis.rst:997 msgid "operators" msgstr "" -#: reference/lexical_analysis.rst:1013 +#: reference/lexical_analysis.rst:1014 msgid "delimiters" msgstr "" diff --git a/reference/simple_stmts.po b/reference/simple_stmts.po index 3c413ad0..3cde0d8f 100644 --- a/reference/simple_stmts.po +++ b/reference/simple_stmts.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/reference/toplevel_components.po b/reference/toplevel_components.po index d3d7329e..8ddda734 100644 --- a/reference/toplevel_components.po +++ b/reference/toplevel_components.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/sphinx.po b/sphinx.po index 8e30c9c7..b77d39aa 100644 --- a/sphinx.po +++ b/sphinx.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-05-08 09:17+0300\n" "Last-Translator: Panagiotis Skias <panagiotis.skias@gmail.com>\n" "Language-Team: PyGreece <pygreece@gmail.com>\n" @@ -34,15 +34,15 @@ msgstr "Εμφάνιση Πηγής" msgid "Download" msgstr "Κατεβάστε" -#: tools/templates/download.html:16 +#: tools/templates/download.html:30 msgid "Download Python %(dl_version)s Documentation" msgstr "Κατεβάστε την τεκμηρίωση της Python %(dl_version)s" -#: tools/templates/download.html:18 +#: tools/templates/download.html:32 msgid "Last updated on: %(last_updated)s." msgstr "Τελευταία ενημέρωση στις: %(last_updated)s." -#: tools/templates/download.html:20 +#: tools/templates/download.html:34 msgid "" "To download an archive containing all the documents for this version of\n" "Python in one of various formats, follow one of links in this table." @@ -51,23 +51,23 @@ msgstr "" "Python σε μία από τις διάφορες μορφές, ακολουθήστε έναν από τους συνδέσμου " "σε αυτόν τον πίνακα.σ" -#: tools/templates/download.html:25 +#: tools/templates/download.html:39 msgid "Format" msgstr "Διάταξη" -#: tools/templates/download.html:26 +#: tools/templates/download.html:40 msgid "Packed as .zip" msgstr "Συσκευασμένο ως .zip" -#: tools/templates/download.html:27 +#: tools/templates/download.html:41 msgid "Packed as .tar.bz2" msgstr "Συσκευασμένο ως .tar.bz2" -#: tools/templates/download.html:30 +#: tools/templates/download.html:44 msgid "PDF" msgstr "PDF" -#: tools/templates/download.html:31 +#: tools/templates/download.html:45 msgid "" "<a href=\"%(dl_base)s/python-%(dl_version)s-docs-pdf-a4.zip\">Download</a> " "(ca. %(download_size)s MiB)" @@ -75,7 +75,7 @@ msgstr "" "<a href=\"%(dl_base)s/python-%(dl_version)s-docs-pdf-a4.zip\">Download</a> " "(ca. %(download_size)s MiB)" -#: tools/templates/download.html:32 +#: tools/templates/download.html:46 msgid "" "<a href=\"%(dl_base)s/python-%(dl_version)s-docs-pdf-a4.tar.bz2\">Download</" "a> (ca. %(download_size)s MiB)" @@ -83,11 +83,11 @@ msgstr "" "<a href=\"%(dl_base)s/python-%(dl_version)s-docs-pdf-a4.tar.bz2\">Download</" "a> (ca. %(download_size)s MiB)" -#: tools/templates/download.html:35 +#: tools/templates/download.html:49 msgid "HTML" msgstr "HTML" -#: tools/templates/download.html:36 +#: tools/templates/download.html:50 msgid "" "<a href=\"%(dl_base)s/python-%(dl_version)s-docs-html.zip\">Download</a> " "(ca. %(download_size)s MiB)" @@ -95,7 +95,7 @@ msgstr "" "<a href=\"%(dl_base)s/python-%(dl_version)s-docs-html.zip\">Download</a> " "(ca. %(download_size)s MiB)" -#: tools/templates/download.html:37 +#: tools/templates/download.html:51 msgid "" "<a href=\"%(dl_base)s/python-%(dl_version)s-docs-html.tar.bz2\">Download</a> " "(ca. %(download_size)s MiB)" @@ -103,11 +103,11 @@ msgstr "" "<a href=\"%(dl_base)s/python-%(dl_version)s-docs-html.tar.bz2\">Download</a> " "(ca. %(download_size)s MiB)" -#: tools/templates/download.html:40 +#: tools/templates/download.html:54 msgid "Plain text" msgstr "Απλό κείμενο" -#: tools/templates/download.html:41 +#: tools/templates/download.html:55 msgid "" "<a href=\"%(dl_base)s/python-%(dl_version)s-docs-text.zip\">Download</a> " "(ca. %(download_size)s MiB)" @@ -115,7 +115,7 @@ msgstr "" "<a href=\"%(dl_base)s/python-%(dl_version)s-docs-text.zip\">Download</a> " "(ca. %(download_size)s MiB)" -#: tools/templates/download.html:42 +#: tools/templates/download.html:56 msgid "" "<a href=\"%(dl_base)s/python-%(dl_version)s-docs-text.tar.bz2\">Download</a> " "(ca. %(download_size)s MiB)" @@ -123,11 +123,11 @@ msgstr "" "<a href=\"%(dl_base)s/python-%(dl_version)s-docs-text.tar.bz2\">Download</a> " "(ca. %(download_size)s MiB)" -#: tools/templates/download.html:45 +#: tools/templates/download.html:59 msgid "Texinfo" msgstr "Texinfo" -#: tools/templates/download.html:46 +#: tools/templates/download.html:60 msgid "" "<a href=\"%(dl_base)s/python-%(dl_version)s-docs-texinfo.zip\">Download</a> " "(ca. %(download_size)s MiB)" @@ -135,7 +135,7 @@ msgstr "" "<a href=\"%(dl_base)s/python-%(dl_version)s-docs-texinfo.zip\">Download</a> " "(ca. %(download_size)s MiB)" -#: tools/templates/download.html:47 +#: tools/templates/download.html:61 msgid "" "<a href=\"%(dl_base)s/python-%(dl_version)s-docs-texinfo.tar.bz2\">Download</" "a> (ca. %(download_size)s MiB)" @@ -143,11 +143,11 @@ msgstr "" "<a href=\"%(dl_base)s/python-%(dl_version)s-docs-texinfo.tar.bz2\">Download</" "a> (ca. %(download_size)s MiB)" -#: tools/templates/download.html:50 +#: tools/templates/download.html:64 msgid "EPUB" msgstr "EPUB" -#: tools/templates/download.html:51 +#: tools/templates/download.html:65 msgid "" "<a href=\"%(dl_base)s/python-%(dl_version)s-docs.epub\">Download</a> (ca. " "%(download_size)s MiB)" @@ -155,15 +155,15 @@ msgstr "" "<a href=\"%(dl_base)s/python-%(dl_version)s-docs.epub\">Download</a> (ca. " "%(download_size)s MiB)" -#: tools/templates/download.html:56 +#: tools/templates/download.html:70 msgid "These archives contain all the content in the documentation." msgstr "Αυτά τα αρχεία περιέχουν όλο το περιεχόμενο της τεκμηρίωσης." -#: tools/templates/download.html:59 +#: tools/templates/download.html:73 msgid "Unpacking" msgstr "Αποσυμπίεση" -#: tools/templates/download.html:61 +#: tools/templates/download.html:75 msgid "" "Unix users should download the .tar.bz2 archives; these are bzipped tar\n" "archives and can be handled in the usual way using tar and the bzip2\n" @@ -183,7 +183,7 @@ msgstr "" "αρχεία .tar.bz2 παρέχουν την καλύτερη συμπίεση και τους ταχύτερους χρόνους " "λήψης." -#: tools/templates/download.html:67 +#: tools/templates/download.html:81 msgid "" "Windows users can use the ZIP archives since those are customary on that\n" "platform. These are created on Unix using the Info-ZIP zip program." @@ -193,11 +193,11 @@ msgstr "" "πλατφόρμα. Αυτά δημιουργούνται στο Unix χρησιμοποιώντας το πρόγραμμα zip " "Info-ZIP." -#: tools/templates/download.html:71 +#: tools/templates/download.html:85 msgid "Problems" msgstr "Προβλήματα" -#: tools/templates/download.html:73 +#: tools/templates/download.html:87 msgid "" "If you have comments or suggestions for the Python documentation, please " "send\n" @@ -296,20 +296,20 @@ msgstr "επιδιορθώσεις ασφαλείας" msgid "EOL" msgstr "EOL" -#: tools/templates/indexcontent.html:8 +#: tools/templates/indexcontent.html:21 msgid "Welcome! This is the official documentation for Python %(release)s." msgstr "" "Καλώς ήρθατε! Αυτό είναι η επίσημη τεκμηρίωση για την Python %(release)s." -#: tools/templates/indexcontent.html:10 +#: tools/templates/indexcontent.html:23 msgid "Documentation sections:" msgstr "Ενότητες Τεκμηρίωσης:" -#: tools/templates/indexcontent.html:13 +#: tools/templates/indexcontent.html:26 msgid "What's new in Python %(version)s?" msgstr "Τι νέο υπάρχει στην Python %(version)s;" -#: tools/templates/indexcontent.html:14 +#: tools/templates/indexcontent.html:27 msgid "" "Or <a href=\"%(whatsnew_index)s\">all \"What's new\" documents since Python " "2.0</a>" @@ -317,164 +317,164 @@ msgstr "" "Ή <a href=\"%(whatsnew_index)s\">όλα \"Τι νέο υπάρχει\" έγγραφα</a> από την " "Python 2.0" -#: tools/templates/indexcontent.html:15 +#: tools/templates/indexcontent.html:28 msgid "Tutorial" msgstr "Tutorial" -#: tools/templates/indexcontent.html:16 +#: tools/templates/indexcontent.html:29 msgid "Start here: a tour of Python's syntax and features" msgstr "" "Ξεκινήστε εδώ, μια περιήγηση στη σύνταξη και τις δυνατότητες της Python" -#: tools/templates/indexcontent.html:17 +#: tools/templates/indexcontent.html:30 msgid "Library reference" msgstr "Αναφορά βιβλιοθήκης" -#: tools/templates/indexcontent.html:18 +#: tools/templates/indexcontent.html:31 msgid "Standard library and builtins" msgstr "Τυπική Βιβλιοθήκη και builtins" -#: tools/templates/indexcontent.html:19 +#: tools/templates/indexcontent.html:32 msgid "Language reference" msgstr "Γλωσσική αναφορά" -#: tools/templates/indexcontent.html:20 +#: tools/templates/indexcontent.html:33 msgid "Syntax and language elements" msgstr "Συντακτικά και γλωσσικά στοιχεία" -#: tools/templates/indexcontent.html:21 +#: tools/templates/indexcontent.html:34 msgid "Python setup and usage" msgstr "Ρύθμιση και χρήση της Python" -#: tools/templates/indexcontent.html:22 +#: tools/templates/indexcontent.html:35 msgid "How to install, configure, and use Python" msgstr "Πως να εγκαταστήσετε, ρυθμίσετε, και χρησιμοποιήσετε την Python" -#: tools/templates/indexcontent.html:23 +#: tools/templates/indexcontent.html:36 msgid "Python HOWTOs" msgstr "Python HOWTOs" -#: tools/templates/indexcontent.html:24 +#: tools/templates/indexcontent.html:37 msgid "In-depth topic manuals" msgstr "Σε βάθος εγχειρίδια θεμάτων" -#: tools/templates/indexcontent.html:26 +#: tools/templates/indexcontent.html:39 msgid "Installing Python modules" msgstr "Εγκατάσταση Python modules" -#: tools/templates/indexcontent.html:27 +#: tools/templates/indexcontent.html:40 msgid "Third-party modules and PyPI.org" msgstr "Modules τρίτων και PyPI.org" -#: tools/templates/indexcontent.html:28 +#: tools/templates/indexcontent.html:41 msgid "Distributing Python modules" msgstr "Διανομή Python modules" -#: tools/templates/indexcontent.html:29 +#: tools/templates/indexcontent.html:42 msgid "Publishing modules for use by other people" msgstr "Δημοσίευση modules για χρήση από άλλους" -#: tools/templates/indexcontent.html:30 +#: tools/templates/indexcontent.html:43 msgid "Extending and embedding" msgstr "Επέκταση και ενσωμάτωση" -#: tools/templates/indexcontent.html:31 +#: tools/templates/indexcontent.html:44 msgid "For C/C++ programmers" msgstr "Για προγραμματιστές C/C++" -#: tools/templates/indexcontent.html:32 +#: tools/templates/indexcontent.html:45 msgid "Python's C API" msgstr "Το C API της Python" -#: tools/templates/indexcontent.html:33 +#: tools/templates/indexcontent.html:46 msgid "C API reference" msgstr "Αναφορά C API" -#: tools/templates/indexcontent.html:34 +#: tools/templates/indexcontent.html:47 msgid "FAQs" msgstr "FAQs" -#: tools/templates/indexcontent.html:35 +#: tools/templates/indexcontent.html:48 msgid "Frequently asked questions (with answers!)" msgstr "Συχνές ερωτήσεις (με απαντήσεις!)" -#: tools/templates/indexcontent.html:36 +#: tools/templates/indexcontent.html:49 msgid "Deprecations" msgstr "Απαρχαιωμένες δυνατότητες" -#: tools/templates/indexcontent.html:37 +#: tools/templates/indexcontent.html:50 msgid "Deprecated functionality" msgstr "Απαρχαιωμένη λειτουργικότητα" -#: tools/templates/indexcontent.html:41 +#: tools/templates/indexcontent.html:54 msgid "Indices, glossary, and search:" msgstr "Ευρετήρια, Γλωσσάριο, και αναζήτηση:" -#: tools/templates/indexcontent.html:44 +#: tools/templates/indexcontent.html:57 msgid "Global module index" msgstr "Global module Index" -#: tools/templates/indexcontent.html:45 +#: tools/templates/indexcontent.html:58 msgid "All modules and libraries" msgstr "Όλα τα modules και οι βιβλιοθήκες" -#: tools/templates/indexcontent.html:46 +#: tools/templates/indexcontent.html:59 msgid "General index" msgstr "Γενικό ευρετήριο" -#: tools/templates/indexcontent.html:47 +#: tools/templates/indexcontent.html:60 msgid "All functions, classes, and terms" msgstr "Όλες οι συναρτήσεις, οι κλάσεις, οι όροι" -#: tools/templates/indexcontent.html:48 +#: tools/templates/indexcontent.html:61 msgid "Glossary" msgstr "Γλωσσάριο" -#: tools/templates/indexcontent.html:49 +#: tools/templates/indexcontent.html:62 msgid "Terms explained" msgstr "Οι όροι εξηγούνται" -#: tools/templates/indexcontent.html:51 +#: tools/templates/indexcontent.html:64 msgid "Search page" msgstr "Αναζήτηση σελίδας" -#: tools/templates/indexcontent.html:52 +#: tools/templates/indexcontent.html:65 msgid "Search this documentation" msgstr "Αναζητήστε αυτήν την τεκμηρίωση" -#: tools/templates/indexcontent.html:53 +#: tools/templates/indexcontent.html:66 msgid "Complete table of contents" msgstr "Ολοκληρωμένος πίνακας περιεχομένων" -#: tools/templates/indexcontent.html:54 +#: tools/templates/indexcontent.html:67 msgid "Lists all sections and subsections" msgstr "Παραθέτει όλες τις ενότητες και τις υποενότητες" -#: tools/templates/indexcontent.html:58 +#: tools/templates/indexcontent.html:71 msgid "Project information:" msgstr "Πληροφορίες έργου:" -#: tools/templates/indexcontent.html:61 +#: tools/templates/indexcontent.html:74 msgid "Reporting issues" msgstr "Αναφορά ζητημάτων" -#: tools/templates/indexcontent.html:62 +#: tools/templates/indexcontent.html:75 msgid "Contributing to Docs" msgstr "Συμβολή στην Τεκμηρίωση" -#: tools/templates/indexcontent.html:63 +#: tools/templates/indexcontent.html:76 msgid "Download the documentation" msgstr "Κατεβάστε την τεκμηρίωση" -#: tools/templates/indexcontent.html:65 +#: tools/templates/indexcontent.html:78 msgid "History and license of Python" msgstr "Ιστορία και άδεια της Python" -#: tools/templates/indexcontent.html:66 +#: tools/templates/indexcontent.html:79 msgid "Copyright" msgstr "Copyright" -#: tools/templates/indexcontent.html:67 +#: tools/templates/indexcontent.html:80 msgid "About the documentation" msgstr "Σχετικά με την τεκμηρίωση" diff --git a/tutorial/appendix.po b/tutorial/appendix.po index 48a993b1..1eca76e8 100644 --- a/tutorial/appendix.po +++ b/tutorial/appendix.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-08-06 00:40+0300\n" "Last-Translator: Panagiotis Skias <panagiotis.skias@gmail.com>\n" "Language-Team: PyGreece <pygreece@gmail.com>\n" diff --git a/tutorial/appetite.po b/tutorial/appetite.po index ec9b9fef..23bdf226 100644 --- a/tutorial/appetite.po +++ b/tutorial/appetite.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-08-02 13:10+0300\n" "Last-Translator: Panagiotis Skias <panagiotis.skias@gmail.com>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/tutorial/classes.po b/tutorial/classes.po index 16208ddc..4e63c8f2 100644 --- a/tutorial/classes.po +++ b/tutorial/classes.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2025-02-20 00:47+0200\n" "Last-Translator: Anastasios Louka <EMAIL@ADDRESS>\n" "Language-Team: PyGreece <organizers@pygreece.org>\n" diff --git a/tutorial/controlflow.po b/tutorial/controlflow.po index 9cb5a0f7..010804df 100644 --- a/tutorial/controlflow.po +++ b/tutorial/controlflow.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-09-30 23:13+0300\n" "Last-Translator: Panagiotis Skias <panagiotis.skias@gmail.com>\n" "Language-Team: PyGreece <pygreece@gmail.com>\n" diff --git a/tutorial/datastructures.po b/tutorial/datastructures.po index 1aeeb607..0eb3f6f4 100644 --- a/tutorial/datastructures.po +++ b/tutorial/datastructures.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-09-18 17:32+0300\n" "Last-Translator: Panagiotis Skias <panagiotis.skias@gmail.com>\n" "Language-Team: PyGreece <pygreece@gmail.com>\n" diff --git a/tutorial/errors.po b/tutorial/errors.po index d54b1875..6563d267 100644 --- a/tutorial/errors.po +++ b/tutorial/errors.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-09-20 11:30+0300\n" "Last-Translator: Panagiotis Skias <panagiotis.skias@gmail.com>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -63,25 +63,30 @@ msgstr "" #: tutorial/errors.rst:26 msgid "" "The parser repeats the offending line and displays little arrows pointing at " -"the token in the line where the error was detected. The error may be caused " -"by the absence of a token *before* the indicated token. In the example, the " -"error is detected at the function :func:`print`, since a colon (``':'``) is " -"missing before it. File name and line number are printed so you know where " -"to look in case the input came from a script." -msgstr "" -"Ο αναλυτής επαναλαμβάνει την παραβατική γραμμή και εμφανίζει ένα μικρό " -"'βέλος' που δείχνει το διακριτικό στη γραμμή που εντοπίστηκε το σφάλμα. Το " -"σφάλμα μπορεί να προκληθεί από την απουσία διακριτικού *πριν* από το " -"υποδεικνυόμενο διακριτικό. Στο παράδειγμα, το σφάλμα ανιχνεύεται στην " -"συνάρτηση :func:`print`, καθώς λείπει μια άνω κάτω τελεία (``':'``) πριν από " -"αυτήν. Το όνομα του αρχείου και ο αριθμός γραμμής εκτυπώνονται, ώστε να " -"γνωρίζετε πού να ψάξετε σε περίπτωση που η είσοδος προήλθε από ένα script." - -#: tutorial/errors.rst:37 +"the place where the error was detected. Note that this is not always the " +"place that needs to be fixed. In the example, the error is detected at the " +"function :func:`print`, since a colon (``':'``) is missing just before it." +msgstr "" +"Ο αναλυτής επαναλαμβάνει την παραβατική γραμμή και εμφανίζει μικρά βέλη που " +"δείχνουν προς το μέρος όπου που εντοπίστηκε το σφάλμα. Σημειώστε ότι αυτό " +"δεν είναι πάντα το μέρος που πρέπει να διορθωθεί. Στο παράδειγμα, το σφάλμα " +"εντοπίζεται στη συνάρτηση :func:`print`, καθώς λείπει μια άνω και κάτω " +"τελεία (``':'``) ακριβώς πριν από αυτήν." + +#: tutorial/errors.rst:31 +msgid "" +"The file name (``<stdin>`` in our example) and line number are printed so " +"you know where to look in case the input came from a file." +msgstr "" +"Το όνομα αρχείου (``<stdin>`` στο παράδειγμά μας) και ο αριθμός γραμμής " +"εκτυπώνονται, ώστε να να γνωρίζετε πού να ψάξετε σε περίπτωση που η είσοδος " +"προήλθε από αρχείο." + +#: tutorial/errors.rst:38 msgid "Exceptions" msgstr "Exceptions (Εξαιρέσεις)" -#: tutorial/errors.rst:39 +#: tutorial/errors.rst:40 msgid "" "Even if a statement or expression is syntactically correct, it may cause an " "error when an attempt is made to execute it. Errors detected during " @@ -97,7 +102,7 @@ msgstr "" "Python. Ωστόσο, οι περισσότερες εξαιρέσεις δεν αντιμετωπίζονται από " "προγράμματα και οδηγούν σε μηνύματα σφάλματος όπως φαίνεται εδώ::" -#: tutorial/errors.rst:45 +#: tutorial/errors.rst:46 msgid "" ">>> 10 * (1/0)\n" "Traceback (most recent call last):\n" @@ -125,7 +130,7 @@ msgstr "" " File \"<stdin>\", line 1, in <module>\n" "TypeError: can only concatenate str (not \"int\") to str" -#: tutorial/errors.rst:58 +#: tutorial/errors.rst:59 msgid "" "The last line of the error message indicates what happened. Exceptions come " "in different types, and the type is printed as part of the message: the " @@ -146,7 +151,7 @@ msgstr "" "σύμβαση). Οι standard εξαιρέσεις είναι ενσωματωμένα (built-in) αναγνωριστικά " "(όχι δεσμευμένες λέξεις-κλειδιά)." -#: tutorial/errors.rst:66 +#: tutorial/errors.rst:67 msgid "" "The rest of the line provides detail based on the type of exception and what " "caused it." @@ -154,7 +159,7 @@ msgstr "" "Η υπόλοιπη γραμμή παρέχει λεπτομέρειες με βάση τον τύπο της εξαίρεσης και το " "τι την προκάλεσε." -#: tutorial/errors.rst:69 +#: tutorial/errors.rst:70 msgid "" "The preceding part of the error message shows the context where the " "exception occurred, in the form of a stack traceback. In general it contains " @@ -166,18 +171,18 @@ msgstr "" "στοίβα ανίχνευσης γραμμών πηγής∙ ωστόσο, δεν θα εμφανίζει γραμμές που " "διαβάζονται από standard είσοδο." -#: tutorial/errors.rst:74 +#: tutorial/errors.rst:75 msgid "" ":ref:`bltin-exceptions` lists the built-in exceptions and their meanings." msgstr "" "Το :ref:`bltin-exceptions` παραθέτει τις ενσωματωμένες εξαιρέσεις και τις " "έννοιές τους." -#: tutorial/errors.rst:80 +#: tutorial/errors.rst:81 msgid "Handling Exceptions" msgstr "Διαχείριση Εξαιρέσεων" -#: tutorial/errors.rst:82 +#: tutorial/errors.rst:83 msgid "" "It is possible to write programs that handle selected exceptions. Look at " "the following example, which asks the user for input until a valid integer " @@ -194,7 +199,7 @@ msgstr "" "χρήστη σηματοδοτείται κάνοντας raise την εξαίρεση :exc:" "`KeyboardInterrupt`. ::" -#: tutorial/errors.rst:88 +#: tutorial/errors.rst:89 msgid "" ">>> while True:\n" "... try:\n" @@ -212,11 +217,11 @@ msgstr "" "... print(\"Oops! That was no valid number. Try again...\")\n" "..." -#: tutorial/errors.rst:96 +#: tutorial/errors.rst:97 msgid "The :keyword:`try` statement works as follows." msgstr "Η δήλωση :keyword:`try` λειτουργεί ως εξής." -#: tutorial/errors.rst:98 +#: tutorial/errors.rst:99 msgid "" "First, the *try clause* (the statement(s) between the :keyword:`try` and :" "keyword:`except` keywords) is executed." @@ -224,7 +229,7 @@ msgstr "" "Πρώτον, εκτελείται η *try clause* (η πρόταση(εις) μεταξύ των λέξεων-" "κλειδιών :keyword:`try` and :keyword:`except`)." -#: tutorial/errors.rst:101 +#: tutorial/errors.rst:102 msgid "" "If no exception occurs, the *except clause* is skipped and execution of the :" "keyword:`try` statement is finished." @@ -232,7 +237,7 @@ msgstr "" "Εάν δεν προκύψει εξαίρεση, η *except clause* παραλείπεται και η εκτέλεση της " "πρότασης :keyword:`try` ολοκληρώνεται." -#: tutorial/errors.rst:104 +#: tutorial/errors.rst:105 msgid "" "If an exception occurs during execution of the :keyword:`try` clause, the " "rest of the clause is skipped. Then, if its type matches the exception " @@ -245,7 +250,7 @@ msgstr "" "clause* εκτελείται, και στη συνέχεια η εκτέλεση συνεχίζεται μετά το μπλοκ " "try/except." -#: tutorial/errors.rst:109 +#: tutorial/errors.rst:110 msgid "" "If an exception occurs which does not match the exception named in the " "*except clause*, it is passed on to outer :keyword:`try` statements; if no " @@ -257,7 +262,7 @@ msgstr "" "εάν δεν βρεθεί κανένας χειριστής, είναι μια *unhandled exception* και η " "εκτέλεση σταματά με μήνυμα σφάλματος." -#: tutorial/errors.rst:113 +#: tutorial/errors.rst:114 msgid "" "A :keyword:`try` statement may have more than one *except clause*, to " "specify handlers for different exceptions. At most one handler will be " @@ -273,7 +278,7 @@ msgstr "" "πρότασης :keyword:`!try`. Μια *except clause* μπορεί να ονομάσει πολλαπλές " "εξαιρέσεις ως πλειάδα (tuple) σε παρένθεση, για παράδειγμα::" -#: tutorial/errors.rst:119 +#: tutorial/errors.rst:120 msgid "" "... except (RuntimeError, TypeError, NameError):\n" "... pass" @@ -281,7 +286,7 @@ msgstr "" "... except (RuntimeError, TypeError, NameError):\n" "... pass" -#: tutorial/errors.rst:122 +#: tutorial/errors.rst:123 msgid "" "A class in an :keyword:`except` clause matches exceptions which are " "instances of the class itself or one of its derived classes (but not the " @@ -295,7 +300,7 @@ msgstr "" "κλάση δεν ταιριάζει με τις παρουσίες των βασικών της κλάσεων). Για " "παράδειγμα, ο ακόλουθος κώδικας θα εκτυπώσει τα B, C, D με αυτή τη σειρά::" -#: tutorial/errors.rst:127 +#: tutorial/errors.rst:128 msgid "" "class B(Exception):\n" " pass\n" @@ -335,7 +340,7 @@ msgstr "" " except B:\n" " print(\"B\")" -#: tutorial/errors.rst:146 +#: tutorial/errors.rst:147 msgid "" "Note that if the *except clauses* were reversed (with ``except B`` first), " "it would have printed B, B, B --- the first matching *except clause* is " @@ -345,7 +350,7 @@ msgstr "" "πρώτα), θα είχε εκτυπωθεί B, B, B --- ενεργοποιείται η πρώτη αντιστοίχιση " "*except clause*." -#: tutorial/errors.rst:149 +#: tutorial/errors.rst:150 msgid "" "When an exception occurs, it may have associated values, also known as the " "exception's *arguments*. The presence and types of the arguments depend on " @@ -355,7 +360,7 @@ msgstr "" "ως *ορίσματα* της εξαίρεσης. Η παρουσία και οι τύποι των ορισμάτων " "εξαρτώνται από τον τύπο εξαίρεσης." -#: tutorial/errors.rst:153 +#: tutorial/errors.rst:154 msgid "" "The *except clause* may specify a variable after the exception name. The " "variable is bound to the exception instance which typically has an ``args`` " @@ -370,7 +375,7 @@ msgstr "" "__str__` για να εκτυπώσετε όλα τα ορίσματα χωρίς ρητή πρόσβαση στο ``." "args``. ::" -#: tutorial/errors.rst:159 +#: tutorial/errors.rst:160 msgid "" ">>> try:\n" "... raise Exception('spam', 'eggs')\n" @@ -408,7 +413,7 @@ msgstr "" "x = spam\n" "y = eggs" -#: tutorial/errors.rst:176 +#: tutorial/errors.rst:177 msgid "" "The exception's :meth:`~object.__str__` output is printed as the last part " "('detail') of the message for unhandled exceptions." @@ -416,7 +421,7 @@ msgstr "" "Η έξοδος της εξαίρεσης :meth:`~object.__str__` εκτυπώνεται ως το τελευταίο " "μέρος ('λεπτομέρεια') του μηνύματος για μη χειριζόμενες εξαιρέσεις." -#: tutorial/errors.rst:179 +#: tutorial/errors.rst:180 msgid "" ":exc:`BaseException` is the common base class of all exceptions. One of its " "subclasses, :exc:`Exception`, is the base class of all the non-fatal " @@ -435,7 +440,7 @@ msgstr "" "`KeyboardInterrupt` το οποίο γίνεται raise όταν ο χρήστης επιθυμεί να " "διακόψει την εκτέλεση του προγράμματος." -#: tutorial/errors.rst:187 +#: tutorial/errors.rst:188 msgid "" ":exc:`Exception` can be used as a wildcard that catches (almost) everything. " "However, it is good practice to be as specific as possible with the types of " @@ -447,7 +452,7 @@ msgstr "" "συγκεκριμένοι με τους τύπους εξαιρέσεων που σκοπεύουμε να χειριστούμε και να " "επιτρέπουμε τυχόν απροσδόκητες εξαιρέσεις που εξαπλώνονται." -#: tutorial/errors.rst:192 +#: tutorial/errors.rst:193 msgid "" "The most common pattern for handling :exc:`Exception` is to print or log the " "exception and then re-raise it (allowing a caller to handle the exception as " @@ -457,7 +462,7 @@ msgstr "" "να καταγράψετε την εξαίρεση και στη συνέχεια να την επαναφέρετε " "(επιτρέποντας σε έναν καλούντα να χειριστεί και την εξαίρεση)::" -#: tutorial/errors.rst:196 +#: tutorial/errors.rst:197 msgid "" "import sys\n" "\n" @@ -487,7 +492,7 @@ msgstr "" " print(f\"Unexpected {err=}, {type(err)=}\")\n" " raise" -#: tutorial/errors.rst:210 +#: tutorial/errors.rst:211 msgid "" "The :keyword:`try` ... :keyword:`except` statement has an optional *else " "clause*, which, when present, must follow all *except clauses*. It is " @@ -499,7 +504,7 @@ msgstr "" "clauses*. Είναι χρήσιμο για κώδικα που πρέπει να εκτελεστεί εάν το *try " "clause* δεν κάνει raise μια εξαίρεση. Για παράδειγμα::" -#: tutorial/errors.rst:215 +#: tutorial/errors.rst:216 msgid "" "for arg in sys.argv[1:]:\n" " try:\n" @@ -519,7 +524,7 @@ msgstr "" " print(arg, 'has', len(f.readlines()), 'lines')\n" " f.close()" -#: tutorial/errors.rst:224 +#: tutorial/errors.rst:225 msgid "" "The use of the :keyword:`!else` clause is better than adding additional code " "to the :keyword:`try` clause because it avoids accidentally catching an " @@ -531,7 +536,7 @@ msgstr "" "λάθος σύλληψη μιας εξαίρεσης που δεν προέκυψε από τον κώδικα που " "προστατεύεται από την πρόταση :keyword:`!try` ... :keyword:`!except`." -#: tutorial/errors.rst:229 +#: tutorial/errors.rst:230 msgid "" "Exception handlers do not handle only exceptions that occur immediately in " "the *try clause*, but also those that occur inside functions that are called " @@ -542,7 +547,7 @@ msgstr "" "συναρτήσεις που καλούνται (ακόμη και έμμεσα) στην *try clause*. Για " "παράδειγμα::" -#: tutorial/errors.rst:233 +#: tutorial/errors.rst:234 msgid "" ">>> def this_fails():\n" "... x = 1/0\n" @@ -564,11 +569,11 @@ msgstr "" "...\n" "Handling run-time error: division by zero" -#: tutorial/errors.rst:247 +#: tutorial/errors.rst:248 msgid "Raising Exceptions" msgstr "Raising Εξαιρέσεων" -#: tutorial/errors.rst:249 +#: tutorial/errors.rst:250 msgid "" "The :keyword:`raise` statement allows the programmer to force a specified " "exception to occur. For example::" @@ -576,7 +581,7 @@ msgstr "" "Η δήλωση :keyword:`raise` επιτρέπει στον προγραμματιστή να αναγκάσει να " "εμφανιστεί μια καθορισμένη εξαίρεση. Για παράδειγμα::" -#: tutorial/errors.rst:252 +#: tutorial/errors.rst:253 msgid "" ">>> raise NameError('HiThere')\n" "Traceback (most recent call last):\n" @@ -588,7 +593,7 @@ msgstr "" " File \"<stdin>\", line 1, in <module>\n" "NameError: HiThere" -#: tutorial/errors.rst:257 +#: tutorial/errors.rst:258 msgid "" "The sole argument to :keyword:`raise` indicates the exception to be raised. " "This must be either an exception instance or an exception class (a class " @@ -603,11 +608,11 @@ msgstr "" "εξαίρεσης, θα δημιουργηθεί σιωπηρά καλώντας τον constructor της χωρίς " "ορίσματα::" -#: tutorial/errors.rst:263 +#: tutorial/errors.rst:264 msgid "raise ValueError # shorthand for 'raise ValueError()'" msgstr "κάνει raise ένα ValueError # συντομογραφία για το 'raise ValueError()'" -#: tutorial/errors.rst:265 +#: tutorial/errors.rst:266 msgid "" "If you need to determine whether an exception was raised but don't intend to " "handle it, a simpler form of the :keyword:`raise` statement allows you to re-" @@ -617,7 +622,7 @@ msgstr "" "σκοπεύετε να τη χειριστείτε, μια απλούστερη μορφή της δήλωσης :keyword:" "`raise` σας επιτρέπει να κάνετε ξανά raise την εξαίρεση::" -#: tutorial/errors.rst:269 +#: tutorial/errors.rst:270 msgid "" ">>> try:\n" "... raise NameError('HiThere')\n" @@ -641,11 +646,11 @@ msgstr "" " File \"<stdin>\", line 2, in <module>\n" "NameError: HiThere" -#: tutorial/errors.rst:284 +#: tutorial/errors.rst:285 msgid "Exception Chaining" msgstr "Αλυσιδωτές Εξαιρέσεις" -#: tutorial/errors.rst:286 +#: tutorial/errors.rst:287 msgid "" "If an unhandled exception occurs inside an :keyword:`except` section, it " "will have the exception being handled attached to it and included in the " @@ -655,7 +660,7 @@ msgstr "" "ενότητα :keyword:`except`, θα επισυνάψει την εξαίρεση που θα χειριστεί και " "θα συμπεριληφθεί στο μήνυμα σφάλματος::" -#: tutorial/errors.rst:290 +#: tutorial/errors.rst:291 msgid "" ">>> try:\n" "... open(\"database.sqlite\")\n" @@ -687,7 +692,7 @@ msgstr "" " File \"<stdin>\", line 4, in <module>\n" "RuntimeError: unable to handle error" -#: tutorial/errors.rst:305 +#: tutorial/errors.rst:306 msgid "" "To indicate that an exception is a direct consequence of another, the :" "keyword:`raise` statement allows an optional :keyword:`from<raise>` clause::" @@ -696,7 +701,7 @@ msgstr "" "πρόταση :keyword:`raise` επιτρέπει μια προαιρετική πρόταση :keyword:" "`from<raise>`::" -#: tutorial/errors.rst:308 +#: tutorial/errors.rst:309 msgid "" "# exc must be exception instance or None.\n" "raise RuntimeError from exc" @@ -704,13 +709,13 @@ msgstr "" "# Το exc πρέπει να είναι παράδειγμα εξαίρεσης ή None.\n" "κάνει raise το RuntimeError από exc" -#: tutorial/errors.rst:311 +#: tutorial/errors.rst:312 msgid "This can be useful when you are transforming exceptions. For example::" msgstr "" "Αυτό μπορεί να είναι χρήσιμο όταν μετασχηματίζεται εξαιρέσεις. Για " "παράδειγμα::" -#: tutorial/errors.rst:313 +#: tutorial/errors.rst:314 msgid "" ">>> def func():\n" "... raise ConnectionError\n" @@ -750,7 +755,7 @@ msgstr "" " File \"<stdin>\", line 4, in <module>\n" "RuntimeError: Failed to open database" -#: tutorial/errors.rst:332 +#: tutorial/errors.rst:333 msgid "" "It also allows disabling automatic exception chaining using the ``from " "None`` idiom::" @@ -758,7 +763,7 @@ msgstr "" "Επιτρέπει επίσης την απενεργοποίηση της αυτόματης αλυσίδας εξαιρέσεων " "χρησιμοποιώντας ``from None`` idiom::" -#: tutorial/errors.rst:335 +#: tutorial/errors.rst:336 msgid "" ">>> try:\n" "... open('database.sqlite')\n" @@ -778,18 +783,18 @@ msgstr "" " File \"<stdin>\", line 4, in <module>\n" "RuntimeError" -#: tutorial/errors.rst:344 +#: tutorial/errors.rst:345 msgid "" "For more information about chaining mechanics, see :ref:`bltin-exceptions`." msgstr "" "Για περισσότερες πληροφορίες σχετικά με την μηχανική αλυσίδων, δείτε :ref:" "`bltin-exceptions`." -#: tutorial/errors.rst:350 +#: tutorial/errors.rst:351 msgid "User-defined Exceptions" msgstr "Εξαιρέσεις που καθορίζονται από το χρήστη" -#: tutorial/errors.rst:352 +#: tutorial/errors.rst:353 msgid "" "Programs may name their own exceptions by creating a new exception class " "(see :ref:`tut-classes` for more about Python classes). Exceptions should " @@ -801,7 +806,7 @@ msgstr "" "με τις κλάσεις Python). Οι εξαιρέσεις θα πρέπει συνήθως να προέρχονται από " "την κλάση :exc:`Exception`, είτε άμεσα είτε έμμεσα." -#: tutorial/errors.rst:356 +#: tutorial/errors.rst:357 msgid "" "Exception classes can be defined which do anything any other class can do, " "but are usually kept simple, often only offering a number of attributes that " @@ -813,7 +818,7 @@ msgstr "" "μόνο έναν αριθμό χαρακτηριστικών που επιτρέπουν την εξαγωγή πληροφοριών " "σχετικά με το σφάλμα από τους χειριστές για την εξαίρεση." -#: tutorial/errors.rst:360 +#: tutorial/errors.rst:361 msgid "" "Most exceptions are defined with names that end in \"Error\", similar to the " "naming of the standard exceptions." @@ -821,7 +826,7 @@ msgstr "" "Οι περισσότερες εξαιρέσεις ορίζονται με ονόματα που τελειώνουν σε \"Error\", " "παρόμοια με την ονομασία των τυπικών εξαιρέσεων." -#: tutorial/errors.rst:363 +#: tutorial/errors.rst:364 msgid "" "Many standard modules define their own exceptions to report errors that may " "occur in functions they define." @@ -829,11 +834,11 @@ msgstr "" "Πολλά standard modules ορίζουν τις δικές τους εξαιρέσεις για την αναφορά " "σφαλμάτων που μπορεί να προκύψουν σε συναρτήσεις που ορίζουν." -#: tutorial/errors.rst:370 +#: tutorial/errors.rst:371 msgid "Defining Clean-up Actions" msgstr "Καθορισμός ενεργειών καθαρισμού" -#: tutorial/errors.rst:372 +#: tutorial/errors.rst:373 msgid "" "The :keyword:`try` statement has another optional clause which is intended " "to define clean-up actions that must be executed under all circumstances. " @@ -843,7 +848,7 @@ msgstr "" "ορίσει ενέργειες καθαρισμού που πρέπει να εκτελεστούν υπό οποιεσδήποτε " "συνθήκες. Για παράδειγμα::" -#: tutorial/errors.rst:376 +#: tutorial/errors.rst:377 msgid "" ">>> try:\n" "... raise KeyboardInterrupt\n" @@ -865,7 +870,7 @@ msgstr "" " File \"<stdin>\", line 2, in <module>\n" "KeyboardInterrupt" -#: tutorial/errors.rst:386 +#: tutorial/errors.rst:387 msgid "" "If a :keyword:`finally` clause is present, the :keyword:`!finally` clause " "will execute as the last task before the :keyword:`try` statement completes. " @@ -879,7 +884,7 @@ msgstr "" "keyword:`!try` παράγει μια εξαίρεση. Τα ακόλουθα σημεία συζητούν πιο " "περίπλοκες περιπτώσεις όταν εμφανίζεται μια εξαίρεση:" -#: tutorial/errors.rst:392 +#: tutorial/errors.rst:393 msgid "" "If an exception occurs during execution of the :keyword:`!try` clause, the " "exception may be handled by an :keyword:`except` clause. If the exception is " @@ -892,7 +897,7 @@ msgstr "" "εξαίρεση γίνεται ξανά raise μετά την εκτέλεση της πρότασης :keyword:`!" "finally`." -#: tutorial/errors.rst:398 +#: tutorial/errors.rst:399 msgid "" "An exception could occur during execution of an :keyword:`!except` or :" "keyword:`!else` clause. Again, the exception is re-raised after the :keyword:" @@ -902,7 +907,7 @@ msgstr "" "keyword:`!except` ή :keyword:`!else`. Και πάλι, η εξαίρεση τίθεται ξανά μετά " "την εκτέλεση της πρότασης :keyword:`!finally`." -#: tutorial/errors.rst:402 +#: tutorial/errors.rst:403 msgid "" "If the :keyword:`!finally` clause executes a :keyword:`break`, :keyword:" "`continue` or :keyword:`return` statement, exceptions are not re-raised." @@ -910,7 +915,7 @@ msgstr "" "Εάν η πρόταση :keyword:`!finally` εκτελέσει μια πρόταση :keyword:`break`, :" "keyword:`continue` ή :keyword:`return`, οι εξαιρέσεις δεν αυξάνονται εκ νέου." -#: tutorial/errors.rst:406 +#: tutorial/errors.rst:407 msgid "" "If the :keyword:`!try` statement reaches a :keyword:`break`, :keyword:" "`continue` or :keyword:`return` statement, the :keyword:`!finally` clause " @@ -922,7 +927,7 @@ msgstr "" "εκτελεστεί ακριβώς πριν από τα :keyword:`!break`, :keyword:`!continue` or :" "keyword:`!return` της εκτέλεσης της δήλωσης." -#: tutorial/errors.rst:412 +#: tutorial/errors.rst:413 msgid "" "If a :keyword:`!finally` clause includes a :keyword:`!return` statement, the " "returned value will be the one from the :keyword:`!finally` clause's :" @@ -934,11 +939,11 @@ msgstr "" "finally` της δήλωσης της :keyword:`!return`, και όχι η τιμή από τη δήλωση :" "keyword:`!try` της πρότασης :keyword:`!return`." -#: tutorial/errors.rst:418 +#: tutorial/errors.rst:419 msgid "For example::" msgstr "Για παράδειγμα::" -#: tutorial/errors.rst:420 +#: tutorial/errors.rst:421 msgid "" ">>> def bool_return():\n" "... try:\n" @@ -958,11 +963,11 @@ msgstr "" ">>> bool_return()\n" "False" -#: tutorial/errors.rst:429 +#: tutorial/errors.rst:430 msgid "A more complicated example::" msgstr "Ένα πιο περίπλοκο παράδειγμα::" -#: tutorial/errors.rst:431 +#: tutorial/errors.rst:432 msgid "" ">>> def divide(x, y):\n" "... try:\n" @@ -1010,7 +1015,7 @@ msgstr "" " File \"<stdin>\", line 3, in divide\n" "TypeError: unsupported operand type(s) for /: 'str' and 'str'" -#: tutorial/errors.rst:454 +#: tutorial/errors.rst:455 msgid "" "As you can see, the :keyword:`finally` clause is executed in any event. " "The :exc:`TypeError` raised by dividing two strings is not handled by the :" @@ -1022,7 +1027,7 @@ msgstr "" "δύο συμβολοσειρών δεν χειρίζεται από την πρόταση :keyword:`except` και " "επομένως γίνεται ξανά raise μετά την εκτέλεση του όρου :keyword:`!finally`." -#: tutorial/errors.rst:459 +#: tutorial/errors.rst:460 msgid "" "In real world applications, the :keyword:`finally` clause is useful for " "releasing external resources (such as files or network connections), " @@ -1032,11 +1037,11 @@ msgstr "" "χρήσιμη για την απελευθέρωση εξωτερικών πόρων (όπως αρχεία ή συνδέσεις " "δικτύου), ανεξάρτητα από το εάν η χρήση του πόρου ήταν επιτυχής." -#: tutorial/errors.rst:467 +#: tutorial/errors.rst:468 msgid "Predefined Clean-up Actions" msgstr "Προκαθορισμένες ενέργειες καθαρισμού" -#: tutorial/errors.rst:469 +#: tutorial/errors.rst:470 msgid "" "Some objects define standard clean-up actions to be undertaken when the " "object is no longer needed, regardless of whether or not the operation using " @@ -1049,7 +1054,7 @@ msgstr "" "το ακόλουθο αντικείμενο, το οποίο προσπαθεί να ανοίξει ένα αρχείο και να " "εκτυπώσει τα περιεχόμενα του στην οθόνη. ::" -#: tutorial/errors.rst:474 +#: tutorial/errors.rst:475 msgid "" "for line in open(\"myfile.txt\"):\n" " print(line, end=\"\")" @@ -1057,7 +1062,7 @@ msgstr "" "for line in open(\"myfile.txt\"):\n" " print(line, end=\"\")" -#: tutorial/errors.rst:477 +#: tutorial/errors.rst:478 msgid "" "The problem with this code is that it leaves the file open for an " "indeterminate amount of time after this part of the code has finished " @@ -1073,7 +1078,7 @@ msgstr "" "σε αντικείμενα όπως αρχεία να χρησιμοποιούνται με τρόπο που διασφαλίζει ότι " "καθαρίζονται πάντα άμεσα και σωστά. ::" -#: tutorial/errors.rst:483 +#: tutorial/errors.rst:484 msgid "" "with open(\"myfile.txt\") as f:\n" " for line in f:\n" @@ -1083,7 +1088,7 @@ msgstr "" " for line in f:\n" " print(line, end=\"\")" -#: tutorial/errors.rst:487 +#: tutorial/errors.rst:488 msgid "" "After the statement is executed, the file *f* is always closed, even if a " "problem was encountered while processing the lines. Objects which, like " @@ -1095,11 +1100,11 @@ msgstr "" "που, όπως τα αρχεία παρέχουν προκαθορισμένες ενέργειες καθαρισμού θα το " "υποδεικνύουν στην τεκμηρίωση τους." -#: tutorial/errors.rst:495 +#: tutorial/errors.rst:496 msgid "Raising and Handling Multiple Unrelated Exceptions" msgstr "Raising και Χειρισμός Πολλαπλών Άσχετων Εξαιρέσεων" -#: tutorial/errors.rst:497 +#: tutorial/errors.rst:498 msgid "" "There are situations where it is necessary to report several exceptions that " "have occurred. This is often the case in concurrency frameworks, when " @@ -1113,7 +1118,7 @@ msgstr "" "περιπτώσεις χρήσης όπου είναι επιθυμητό να συνεχιστεί η εκτέλεση και η " "συλλογή πολλαπλών σφαλμάτων αντί να κάνει raise την πρώτη εξαίρεση." -#: tutorial/errors.rst:503 +#: tutorial/errors.rst:504 msgid "" "The builtin :exc:`ExceptionGroup` wraps a list of exception instances so " "that they can be raised together. It is an exception itself, so it can be " @@ -1123,7 +1128,7 @@ msgstr "" "παρουσίες εξαιρέσεων ώστε να μπορούν να αυξηθούν μαζί. Είναι μια εξαίρεση " "από μόνη της, επομένως μπορεί να συλληφθεί όπως κάθε άλλη εξαίρεση. ::" -#: tutorial/errors.rst:507 +#: tutorial/errors.rst:508 msgid "" ">>> def f():\n" "... excs = [OSError('error 1'), SystemError('error 2')]\n" @@ -1169,7 +1174,7 @@ msgstr "" "caught <class 'ExceptionGroup'>: e\n" ">>>" -#: tutorial/errors.rst:529 +#: tutorial/errors.rst:530 msgid "" "By using ``except*`` instead of ``except``, we can selectively handle only " "the exceptions in the group that match a certain type. In the following " @@ -1184,7 +1189,7 @@ msgstr "" "ομάδας ενός συγκεκριμένου τύπου, ενώ αφήνει όλες τις άλλες εξαιρέσεις να " "διαδοθούν σε άλλες προτάσεις και τελικά να ξαναγίνουν raise. ::" -#: tutorial/errors.rst:536 +#: tutorial/errors.rst:537 msgid "" ">>> def f():\n" "... raise ExceptionGroup(\n" @@ -1258,7 +1263,7 @@ msgstr "" " +------------------------------------\n" ">>>" -#: tutorial/errors.rst:572 +#: tutorial/errors.rst:573 msgid "" "Note that the exceptions nested in an exception group must be instances, not " "types. This is because in practice the exceptions would typically be ones " @@ -1270,7 +1275,7 @@ msgstr "" "εξαιρέσεις θα ήταν συνήθως αυτές που έχουν ήδη αναφερθεί και καταγραφεί από " "το πρόγραμμα, σύμφωνα με το ακόλουθο μοτίβο::" -#: tutorial/errors.rst:577 +#: tutorial/errors.rst:578 msgid "" ">>> excs = []\n" "... for test in tests:\n" @@ -1294,11 +1299,11 @@ msgstr "" "... raise ExceptionGroup(\"Test Failures\", excs)\n" "..." -#: tutorial/errors.rst:592 +#: tutorial/errors.rst:593 msgid "Enriching Exceptions with Notes" msgstr "Εμπλουτίζοντας τις Εξαιρέσεις με Σημειώσεις" -#: tutorial/errors.rst:594 +#: tutorial/errors.rst:595 msgid "" "When an exception is created in order to be raised, it is usually " "initialized with information that describes the error that has occurred. " @@ -1316,7 +1321,7 @@ msgstr "" "σημειώσεων της εξαίρεσης. Η standard απόδοση παρακολούθησης περιλαμβάνει " "όλες τις σημειώσεις, με τη σειρά που προστέθηκα, μετά την εξαίρεση. ::" -#: tutorial/errors.rst:601 +#: tutorial/errors.rst:602 msgid "" ">>> try:\n" "... raise TypeError('bad type')\n" @@ -1346,7 +1351,7 @@ msgstr "" "Add some more information\n" ">>>" -#: tutorial/errors.rst:615 +#: tutorial/errors.rst:616 msgid "" "For example, when collecting exceptions into an exception group, we may want " "to add context information for the individual errors. In the following each " @@ -1357,7 +1362,7 @@ msgstr "" "σφάλματα. Στην συνέχεια κάθε εξαίρεση στην ομάδα έχει μια σημείωση που " "υποδεικνύει πότε έχει συμβεί αυτό το σφάλμα. ::" -#: tutorial/errors.rst:619 +#: tutorial/errors.rst:620 msgid "" ">>> def f():\n" "... raise OSError('operation failed')\n" diff --git a/tutorial/floatingpoint.po b/tutorial/floatingpoint.po index 5caad769..cbf58614 100644 --- a/tutorial/floatingpoint.po +++ b/tutorial/floatingpoint.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-08-04 20:25+0000\n" "Last-Translator: Panagiotis Skias <panagiotis.skias@gmail.com>\n" "Language-Team: PyGreece <pygreece@gmail.com>\n" diff --git a/tutorial/index.po b/tutorial/index.po index 3566516a..9d31b442 100644 --- a/tutorial/index.po +++ b/tutorial/index.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-12-10 22:14+0300\n" "Last-Translator: Dimitrios Papadopoulos\n" "Language-Team: PyGreece <pygreece@gmail.com>\n" diff --git a/tutorial/inputoutput.po b/tutorial/inputoutput.po index 082a1927..6d839a4a 100644 --- a/tutorial/inputoutput.po +++ b/tutorial/inputoutput.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-09-20 11:10+0300\n" "Last-Translator: Panagiotis Skias <panagiotis.skias@gmail.com>\n" "Language-Team: PyGreece <pygreece@gmail.com>\n" diff --git a/tutorial/interactive.po b/tutorial/interactive.po index e60952d6..dfc4c4a5 100644 --- a/tutorial/interactive.po +++ b/tutorial/interactive.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" -"PO-Revision-Date: 2024-06-05 22:00+0300\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" +"PO-Revision-Date: 2025-05-03 17:14+0300\n" "Last-Translator: Panagiotis Skias <panagiotis.skias@gmail.com>\n" "Language-Team: PyGreece <pygreece@gmail.com>\n" "Language: el\n" @@ -78,17 +78,17 @@ msgid "" "This facility is an enormous step forward compared to earlier versions of " "the interpreter; however, some wishes are left: It would be nice if the " "proper indentation were suggested on continuation lines (the parser knows if " -"an indent token is required next). The completion mechanism might use the " -"interpreter's symbol table. A command to check (or even suggest) matching " -"parentheses, quotes, etc., would also be useful." +"an :data:`~token.INDENT` token is required next). The completion mechanism " +"might use the interpreter's symbol table. A command to check (or even " +"suggest) matching parentheses, quotes, etc., would also be useful." msgstr "" "Αυτή η λειτουργία είναι ένα τεράστιο βήμα προς τα εμπρός σε σύγκριση με τις " -"προηγούμενες εκδόσεις του interpreter∙ ωστόσο, παραμένουν μερικές επιθυμίες: " +"προηγούμενες εκδόσεις του διερμηνέα∙ ωστόσο, παραμένουν μερικές επιθυμίες: " "Θα ήταν ωραίο να προταθεί η κατάλληλη εσοχή στις γραμμές συνέχειας (ο parser " -"γνωρίζει εάν απαιτείται στη συνέχεια ένα διακριτικό εσοχής). Ο μηχανισμός " -"ολοκλήρωσης μπορεί να χρησιμοποιήσει τον πίνακα συμβόλων του interpreter. " -"Θα ήταν επίσης χρήσιμη μια εντολή για να ελέγξετε (ή ακόμα και να " -"προτείνετε) αντίστοιχες παρενθέσεις, εισαγωγικά κ.λπ." +"γνωρίζει εάν ένα :data:`~token.INDENT` token απαιτείται στη συνέχεια). Ο " +"μηχανισμός ολοκλήρωσης μπορεί να χρησιμοποιήσει τον πίνακα συμβόλων του " +"διερμηνέα. Θα ήταν επίσης χρήσιμη μια εντολή για να ελέγξετε (ή ακόμα και " +"να προτείνετε) αντίστοιχες παρενθέσεις, εισαγωγικά κ.λπ." #: tutorial/interactive.rst:45 msgid "" diff --git a/tutorial/interpreter.po b/tutorial/interpreter.po index c8f14bd7..b46969bd 100644 --- a/tutorial/interpreter.po +++ b/tutorial/interpreter.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-08-02 23:31+0000\n" "Last-Translator: Panagiotis Skias <panagiotis.skias@gmail.com>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/tutorial/introduction.po b/tutorial/introduction.po index bfadd39d..2403a9a2 100644 --- a/tutorial/introduction.po +++ b/tutorial/introduction.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2025-02-13 17:17+0001\n" "Last-Translator: Lysandros Nikolaou <lysandros@pygreece.org>\n" "Language-Team: PyGreece <organizers@pygreece.org>\n" @@ -432,17 +432,17 @@ msgstr "" #: tutorial/introduction.rst:197 msgid "" "String literals can span multiple lines. One way is using triple-quotes: " -"``\"\"\"...\"\"\"`` or ``'''...'''``. End of lines are automatically " -"included in the string, but it's possible to prevent this by adding a ``\\`` " -"at the end of the line. In the following example, the initial newline is " -"not included::" -msgstr "" -"Οι συμβολοσειρές μπορούν να καλύπτουν πολλές γραμμές. Ένας τρόπος είναι " -"χρησιμοποιώντας τριπλά εισαγωγικά: ``\"\"\"...\"\"\"`` ή ``'''...'''``. Οι " -"χαρακτήρες στο τέλος των γραμμών συμπεριλαμβάνονται αυτόματα στην " -"συμβολοσειρά, αλλά είναι εφικτό να το αποτρέψετε αυτό προσθέτοντας μία " -"``\\`` στο τέλος της γραμμής. Στο ακόλουθο παράδειγμα, η αρχική νέα γραμμή " -"δεν περιλαμβάνεται::" +"``\"\"\"...\"\"\"`` or ``'''...'''``. End-of-line characters are " +"automatically included in the string, but it's possible to prevent this by " +"adding a ``\\`` at the end of the line. In the following example, the " +"initial newline is not included::" +msgstr "" +"Οι συμβολοσειρές κυριολεξίας μπορούν να καλύπτουν πολλές γραμμές. Ένας " +"τρόπος είναι χρησιμοποιώντας τριπλά εισαγωγικά: ``\"\"\"...\"\"\"`` ή " +"``'''...'''``. Οι χαρακτήρες στο τέλος των γραμμών συμπεριλαμβάνονται " +"αυτόματα στην συμβολοσειρά, αλλά είναι εφικτό να το αποτρέψετε αυτό " +"προσθέτοντας μία ``\\`` στο τέλος της γραμμής. Στο ακόλουθο παράδειγμα, η " +"αρχική νέα γραμμή δεν περιλαμβάνεται::" #: tutorial/introduction.rst:203 msgid "" diff --git a/tutorial/modules.po b/tutorial/modules.po index 4dbfda22..2322911f 100644 --- a/tutorial/modules.po +++ b/tutorial/modules.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" -"PO-Revision-Date: 2024-06-12 09:11+0300\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" +"PO-Revision-Date: 2025-05-03 17:11+0300\n" "Last-Translator: Panagiotis Skias <panagiotis.skias@gmail.com>\n" "Language-Team: PyGreece <pygreece@gmail.com>\n" "Language: el\n" @@ -696,7 +696,7 @@ msgid "" ">>> import fibo, sys\n" ">>> dir(fibo)\n" "['__name__', 'fib', 'fib2']\n" -">>> dir(sys) \n" +">>> dir(sys)\n" "['__breakpointhook__', '__displayhook__', '__doc__', '__excepthook__',\n" " '__interactivehook__', '__loader__', '__name__', '__package__', " "'__spec__',\n" @@ -729,7 +729,7 @@ msgstr "" ">>> import fibo, sys\n" ">>> dir(fibo)\n" "['__name__', 'fib', 'fib2']\n" -">>> dir(sys) \n" +">>> dir(sys)\n" "['__breakpointhook__', '__displayhook__', '__doc__', '__excepthook__',\n" " '__interactivehook__', '__loader__', '__name__', '__package__', " "'__spec__',\n" @@ -800,7 +800,7 @@ msgstr "" #: tutorial/modules.rst:354 msgid "" ">>> import builtins\n" -">>> dir(builtins) \n" +">>> dir(builtins)\n" "['ArithmeticError', 'AssertionError', 'AttributeError', 'BaseException',\n" " 'BlockingIOError', 'BrokenPipeError', 'BufferError', 'BytesWarning',\n" " 'ChildProcessError', 'ConnectionAbortedError', 'ConnectionError',\n" @@ -833,7 +833,7 @@ msgid "" " 'zip']" msgstr "" ">>> import builtins\n" -">>> dir(builtins) \n" +">>> dir(builtins)\n" "['ArithmeticError', 'AssertionError', 'AttributeError', 'BaseException',\n" " 'BlockingIOError', 'BrokenPipeError', 'BufferError', 'BytesWarning',\n" " 'ChildProcessError', 'ConnectionAbortedError', 'ConnectionError',\n" diff --git a/tutorial/stdlib.po b/tutorial/stdlib.po index f7efcb26..7112f13e 100644 --- a/tutorial/stdlib.po +++ b/tutorial/stdlib.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-08-02 23:37+0300\n" "Last-Translator: Panagiotis Skias <panagiotis.skias@gmail.com>\n" "Language-Team: PyGreece <pygreece@gmail.com>\n" diff --git a/tutorial/stdlib2.po b/tutorial/stdlib2.po index dd6fbb70..9a9f4240 100644 --- a/tutorial/stdlib2.po +++ b/tutorial/stdlib2.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-09-11 11:14+0300\n" "Last-Translator: Panagiotis Skias <panagiotis.skias@gmail.com>\n" "Language-Team: PyGreece <pygreece@gmail.com>\n" diff --git a/tutorial/venv.po b/tutorial/venv.po index 272cd205..21c90e1a 100644 --- a/tutorial/venv.po +++ b/tutorial/venv.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-06-13 23:10+0300\n" "Last-Translator: Panagiotis Skias <panagiotis.skias@gmail.com>\n" "Language-Team: PyGreece <pygreece@gmail.com>\n" diff --git a/tutorial/whatnow.po b/tutorial/whatnow.po index d934fbc1..75262f19 100644 --- a/tutorial/whatnow.po +++ b/tutorial/whatnow.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2024-06-12 09:07+0300\n" "Last-Translator: Panagiotis Skias <panagiotis.skias@gmail.com>\n" "Language-Team: PyGreece <pygreece@gmail.com>\n" diff --git a/using/cmdline.po b/using/cmdline.po index 14d57c2f..ed3bb603 100644 --- a/using/cmdline.po +++ b/using/cmdline.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -230,7 +230,7 @@ msgid "" "path`." msgstr "" -#: using/cmdline.rst:723 +#: using/cmdline.rst:729 msgid "" "Raises an :ref:`auditing event <auditing>` ``cpython.run_stdin`` with no " "arguments." @@ -406,26 +406,46 @@ msgid "See also the :option:`-P` and :option:`-I` (isolated) options." msgstr "" #: using/cmdline.rst:292 +msgid "Enter interactive mode after execution." +msgstr "" + +#: using/cmdline.rst:294 msgid "" -"When a script is passed as first argument or the :option:`-c` option is " -"used, enter interactive mode after executing the script or the command, even " -"when :data:`sys.stdin` does not appear to be a terminal. The :envvar:" -"`PYTHONSTARTUP` file is not read." +"Using the :option:`-i` option will enter interactive mode in any of the " +"following circumstances\\:" +msgstr "" + +#: using/cmdline.rst:296 +msgid "When a script is passed as first argument" msgstr "" #: using/cmdline.rst:297 +msgid "When the :option:`-c` option is used" +msgstr "" + +#: using/cmdline.rst:298 +msgid "When the :option:`-m` option is used" +msgstr "" + +#: using/cmdline.rst:300 +msgid "" +"Interactive mode will start even when :data:`sys.stdin` does not appear to " +"be a terminal. The :envvar:`PYTHONSTARTUP` file is not read." +msgstr "" + +#: using/cmdline.rst:303 msgid "" "This can be useful to inspect global variables or a stack trace when a " "script raises an exception. See also :envvar:`PYTHONINSPECT`." msgstr "" -#: using/cmdline.rst:303 +#: using/cmdline.rst:309 msgid "" "Run Python in isolated mode. This also implies :option:`-E`, :option:`-P` " "and :option:`-s` options." msgstr "" -#: using/cmdline.rst:306 +#: using/cmdline.rst:312 msgid "" "In isolated mode :data:`sys.path` contains neither the script's directory " "nor the user's site-packages directory. All ``PYTHON*`` environment " @@ -433,7 +453,7 @@ msgid "" "the user from injecting malicious code." msgstr "" -#: using/cmdline.rst:316 +#: using/cmdline.rst:322 msgid "" "Remove assert statements and any code conditional on the value of :const:" "`__debug__`. Augment the filename for compiled (:term:`bytecode`) files by " @@ -441,58 +461,58 @@ msgid "" "envvar:`PYTHONOPTIMIZE`." msgstr "" -#: using/cmdline.rst:331 +#: using/cmdline.rst:337 msgid "Modify ``.pyc`` filenames according to :pep:`488`." msgstr "" -#: using/cmdline.rst:327 +#: using/cmdline.rst:333 msgid "" "Do :option:`-O` and also discard docstrings. Augment the filename for " "compiled (:term:`bytecode`) files by adding ``.opt-2`` before the ``.pyc`` " "extension (see :pep:`488`)." msgstr "" -#: using/cmdline.rst:337 +#: using/cmdline.rst:343 msgid "Don't prepend a potentially unsafe path to :data:`sys.path`:" msgstr "" -#: using/cmdline.rst:339 +#: using/cmdline.rst:345 msgid "" "``python -m module`` command line: Don't prepend the current working " "directory." msgstr "" -#: using/cmdline.rst:341 +#: using/cmdline.rst:347 msgid "" "``python script.py`` command line: Don't prepend the script's directory. If " "it's a symbolic link, resolve symbolic links." msgstr "" -#: using/cmdline.rst:343 +#: using/cmdline.rst:349 msgid "" "``python -c code`` and ``python`` (REPL) command lines: Don't prepend an " "empty string, which means the current working directory." msgstr "" -#: using/cmdline.rst:346 +#: using/cmdline.rst:352 msgid "" "See also the :envvar:`PYTHONSAFEPATH` environment variable, and :option:`-E` " "and :option:`-I` (isolated) options." msgstr "" -#: using/cmdline.rst:354 +#: using/cmdline.rst:360 msgid "" "Don't display the copyright and version messages even in interactive mode." msgstr "" -#: using/cmdline.rst:361 +#: using/cmdline.rst:367 msgid "" "Turn on hash randomization. This option only has an effect if the :envvar:" "`PYTHONHASHSEED` environment variable is set to ``0``, since hash " "randomization is enabled by default." msgstr "" -#: using/cmdline.rst:365 +#: using/cmdline.rst:371 msgid "" "On previous versions of Python, this option turns on hash randomization, so " "that the :meth:`~object.__hash__` values of str and bytes objects are " @@ -501,7 +521,7 @@ msgid "" "between repeated invocations of Python." msgstr "" -#: using/cmdline.rst:371 +#: using/cmdline.rst:377 msgid "" "Hash randomization is intended to provide protection against a denial-of-" "service caused by carefully chosen inputs that exploit the worst case " @@ -509,31 +529,31 @@ msgid "" "http://ocert.org/advisories/ocert-2011-003.html for details." msgstr "" -#: using/cmdline.rst:376 +#: using/cmdline.rst:382 msgid "" ":envvar:`PYTHONHASHSEED` allows you to set a fixed value for the hash seed " "secret." msgstr "" -#: using/cmdline.rst:381 +#: using/cmdline.rst:387 msgid "The option is no longer ignored." msgstr "" -#: using/cmdline.rst:387 +#: using/cmdline.rst:393 msgid "" "Don't add the :data:`user site-packages directory <site.USER_SITE>` to :data:" "`sys.path`." msgstr "" -#: using/cmdline.rst:390 +#: using/cmdline.rst:396 msgid "See also :envvar:`PYTHONNOUSERSITE`." msgstr "" -#: using/cmdline.rst:816 using/cmdline.rst:828 +#: using/cmdline.rst:822 using/cmdline.rst:834 msgid ":pep:`370` -- Per user site-packages directory" msgstr "" -#: using/cmdline.rst:399 +#: using/cmdline.rst:405 msgid "" "Disable the import of the module :mod:`site` and the site-dependent " "manipulations of :data:`sys.path` that it entails. Also disable these " @@ -541,21 +561,21 @@ msgid "" "main` if you want them to be triggered)." msgstr "" -#: using/cmdline.rst:407 +#: using/cmdline.rst:413 msgid "" "Force the stdout and stderr streams to be unbuffered. This option has no " "effect on the stdin stream." msgstr "" -#: using/cmdline.rst:410 +#: using/cmdline.rst:416 msgid "See also :envvar:`PYTHONUNBUFFERED`." msgstr "" -#: using/cmdline.rst:412 +#: using/cmdline.rst:418 msgid "The text layer of the stdout and stderr streams now is unbuffered." msgstr "" -#: using/cmdline.rst:418 +#: using/cmdline.rst:424 msgid "" "Print a message each time a module is initialized, showing the place " "(filename or built-in module) from which it is loaded. When given twice (:" @@ -563,30 +583,30 @@ msgid "" "searching for a module. Also provides information on module cleanup at exit." msgstr "" -#: using/cmdline.rst:423 +#: using/cmdline.rst:429 msgid "" "The :mod:`site` module reports the site-specific paths and :file:`.pth` " "files being processed." msgstr "" -#: using/cmdline.rst:427 +#: using/cmdline.rst:433 msgid "See also :envvar:`PYTHONVERBOSE`." msgstr "" -#: using/cmdline.rst:433 +#: using/cmdline.rst:439 msgid "" "Warning control. Python's warning machinery by default prints warning " "messages to :data:`sys.stderr`." msgstr "" -#: using/cmdline.rst:844 +#: using/cmdline.rst:850 msgid "" "The simplest settings apply a particular action unconditionally to all " "warnings emitted by a process (even those that are otherwise ignored by " "default)::" msgstr "" -#: using/cmdline.rst:440 +#: using/cmdline.rst:446 msgid "" "-Wdefault # Warn once per call location\n" "-Werror # Convert to exceptions\n" @@ -597,41 +617,41 @@ msgid "" "-Wignore # Never warn" msgstr "" -#: using/cmdline.rst:448 +#: using/cmdline.rst:454 msgid "" "The action names can be abbreviated as desired and the interpreter will " "resolve them to the appropriate action name. For example, ``-Wi`` is the " "same as ``-Wignore``." msgstr "" -#: using/cmdline.rst:452 +#: using/cmdline.rst:458 msgid "The full form of argument is::" msgstr "" -#: using/cmdline.rst:454 +#: using/cmdline.rst:460 msgid "action:message:category:module:lineno" msgstr "" -#: using/cmdline.rst:456 +#: using/cmdline.rst:462 msgid "" "Empty fields match all values; trailing empty fields may be omitted. For " "example ``-W ignore::DeprecationWarning`` ignores all DeprecationWarning " "warnings." msgstr "" -#: using/cmdline.rst:460 +#: using/cmdline.rst:466 msgid "" "The *action* field is as explained above but only applies to warnings that " "match the remaining fields." msgstr "" -#: using/cmdline.rst:463 +#: using/cmdline.rst:469 msgid "" "The *message* field must match the whole warning message; this match is case-" "insensitive." msgstr "" -#: using/cmdline.rst:466 +#: using/cmdline.rst:472 msgid "" "The *category* field matches the warning category (ex: " "``DeprecationWarning``). This must be a class name; the match test whether " @@ -639,19 +659,19 @@ msgid "" "warning category." msgstr "" -#: using/cmdline.rst:471 +#: using/cmdline.rst:477 msgid "" "The *module* field matches the (fully qualified) module name; this match is " "case-sensitive." msgstr "" -#: using/cmdline.rst:474 +#: using/cmdline.rst:480 msgid "" "The *lineno* field matches the line number, where zero matches all line " "numbers and is thus equivalent to an omitted line number." msgstr "" -#: using/cmdline.rst:477 +#: using/cmdline.rst:483 msgid "" "Multiple :option:`-W` options can be given; when a warning matches more than " "one option, the action for the last matching option is performed. Invalid :" @@ -659,7 +679,7 @@ msgid "" "invalid options when the first warning is issued)." msgstr "" -#: using/cmdline.rst:482 +#: using/cmdline.rst:488 msgid "" "Warnings can also be controlled using the :envvar:`PYTHONWARNINGS` " "environment variable and from within a Python program using the :mod:" @@ -667,31 +687,31 @@ msgid "" "can be used to use a regular expression on the warning message." msgstr "" -#: using/cmdline.rst:856 +#: using/cmdline.rst:862 msgid "" "See :ref:`warning-filter` and :ref:`describing-warning-filters` for more " "details." msgstr "" -#: using/cmdline.rst:493 +#: using/cmdline.rst:499 msgid "" "Skip the first line of the source, allowing use of non-Unix forms of ``#!" "cmd``. This is intended for a DOS specific hack only." msgstr "" -#: using/cmdline.rst:499 +#: using/cmdline.rst:505 msgid "" "Reserved for various implementation-specific options. CPython currently " "defines the following possible values:" msgstr "" -#: using/cmdline.rst:502 +#: using/cmdline.rst:508 msgid "" "``-X faulthandler`` to enable :mod:`faulthandler`. See also :envvar:" "`PYTHONFAULTHANDLER`." msgstr "" -#: using/cmdline.rst:507 +#: using/cmdline.rst:513 msgid "" "``-X showrefcount`` to output the total reference count and number of used " "memory blocks when the program finishes or after each statement in the " @@ -699,7 +719,7 @@ msgid "" "build>`." msgstr "" -#: using/cmdline.rst:514 +#: using/cmdline.rst:520 msgid "" "``-X tracemalloc`` to start tracing Python memory allocations using the :mod:" "`tracemalloc` module. By default, only the most recent frame is stored in a " @@ -708,14 +728,14 @@ msgid "" "envvar:`PYTHONTRACEMALLOC` for more information." msgstr "" -#: using/cmdline.rst:523 +#: using/cmdline.rst:529 msgid "" "``-X int_max_str_digits`` configures the :ref:`integer string conversion " "length limitation <int_max_str_digits>`. See also :envvar:" "`PYTHONINTMAXSTRDIGITS`." msgstr "" -#: using/cmdline.rst:529 +#: using/cmdline.rst:535 msgid "" "``-X importtime`` to show how long each import takes. It shows module name, " "cumulative time (including nested imports) and self time (excluding nested " @@ -724,35 +744,35 @@ msgid "" "asyncio'``. See also :envvar:`PYTHONPROFILEIMPORTTIME`." msgstr "" -#: using/cmdline.rst:537 +#: using/cmdline.rst:543 msgid "" "``-X dev``: enable :ref:`Python Development Mode <devmode>`, introducing " "additional runtime checks that are too expensive to be enabled by default. " "See also :envvar:`PYTHONDEVMODE`." msgstr "" -#: using/cmdline.rst:543 +#: using/cmdline.rst:549 msgid "" "``-X utf8`` enables the :ref:`Python UTF-8 Mode <utf8-mode>`. ``-X utf8=0`` " "explicitly disables :ref:`Python UTF-8 Mode <utf8-mode>` (even when it would " "otherwise activate automatically). See also :envvar:`PYTHONUTF8`." msgstr "" -#: using/cmdline.rst:550 +#: using/cmdline.rst:556 msgid "" "``-X pycache_prefix=PATH`` enables writing ``.pyc`` files to a parallel tree " "rooted at the given directory instead of to the code tree. See also :envvar:" "`PYTHONPYCACHEPREFIX`." msgstr "" -#: using/cmdline.rst:556 +#: using/cmdline.rst:562 msgid "" "``-X warn_default_encoding`` issues a :class:`EncodingWarning` when the " "locale-specific default encoding is used for opening files. See also :envvar:" "`PYTHONWARNDEFAULTENCODING`." msgstr "" -#: using/cmdline.rst:562 +#: using/cmdline.rst:568 msgid "" "``-X no_debug_ranges`` disables the inclusion of the tables mapping extra " "location information (end line, start column offset and end column offset) " @@ -762,7 +782,7 @@ msgid "" "envvar:`PYTHONNODEBUGRANGES`." msgstr "" -#: using/cmdline.rst:571 +#: using/cmdline.rst:577 msgid "" "``-X frozen_modules`` determines whether or not frozen modules are ignored " "by the import machinery. A value of \"on\" means they get imported and " @@ -773,7 +793,7 @@ msgid "" "are always used, even if this flag is set to \"off\"." msgstr "" -#: using/cmdline.rst:581 +#: using/cmdline.rst:587 msgid "" "``-X perf`` enables support for the Linux ``perf`` profiler. When this " "option is provided, the ``perf`` profiler will be able to report Python " @@ -782,33 +802,33 @@ msgid "" "also :envvar:`PYTHONPERFSUPPORT` and :ref:`perf_profiling`." msgstr "" -#: using/cmdline.rst:589 +#: using/cmdline.rst:595 msgid "" "It also allows passing arbitrary values and retrieving them through the :" "data:`sys._xoptions` dictionary." msgstr "" -#: using/cmdline.rst:594 +#: using/cmdline.rst:600 msgid "Removed the ``-X showalloccount`` option." msgstr "" -#: using/cmdline.rst:597 +#: using/cmdline.rst:603 msgid "Removed the ``-X oldparser`` option." msgstr "" -#: using/cmdline.rst:602 +#: using/cmdline.rst:608 msgid "Options you shouldn't use" msgstr "" -#: using/cmdline.rst:606 +#: using/cmdline.rst:612 msgid "Reserved for use by Jython_." msgstr "" -#: using/cmdline.rst:614 +#: using/cmdline.rst:620 msgid "Environment variables" msgstr "" -#: using/cmdline.rst:616 +#: using/cmdline.rst:622 msgid "" "These environment variables influence Python's behavior, they are processed " "before the command-line switches other than -E or -I. It is customary that " @@ -816,7 +836,7 @@ msgid "" "conflict." msgstr "" -#: using/cmdline.rst:623 +#: using/cmdline.rst:629 msgid "" "Change the location of the standard Python libraries. By default, the " "libraries are searched in :file:`{prefix}/lib/python{version}` and :file:" @@ -825,14 +845,14 @@ msgid "" "file:`/usr/local`." msgstr "" -#: using/cmdline.rst:629 +#: using/cmdline.rst:635 msgid "" "When :envvar:`PYTHONHOME` is set to a single directory, its value replaces " "both :file:`{prefix}` and :file:`{exec_prefix}`. To specify different " "values for these, set :envvar:`PYTHONHOME` to :file:`{prefix}:{exec_prefix}`." msgstr "" -#: using/cmdline.rst:636 +#: using/cmdline.rst:642 msgid "" "Augment the default search path for module files. The format is the same as " "the shell's :envvar:`PATH`: one or more directory pathnames separated by :" @@ -840,21 +860,21 @@ msgid "" "existent directories are silently ignored." msgstr "" -#: using/cmdline.rst:641 +#: using/cmdline.rst:647 msgid "" "In addition to normal directories, individual :envvar:`PYTHONPATH` entries " "may refer to zipfiles containing pure Python modules (in either source or " "compiled form). Extension modules cannot be imported from zipfiles." msgstr "" -#: using/cmdline.rst:645 +#: using/cmdline.rst:651 msgid "" "The default search path is installation dependent, but generally begins " "with :file:`{prefix}/lib/python{version}` (see :envvar:`PYTHONHOME` above). " "It is *always* appended to :envvar:`PYTHONPATH`." msgstr "" -#: using/cmdline.rst:649 +#: using/cmdline.rst:655 msgid "" "An additional directory will be inserted in the search path in front of :" "envvar:`PYTHONPATH` as described above under :ref:`using-on-interface-" @@ -862,19 +882,19 @@ msgid "" "the variable :data:`sys.path`." msgstr "" -#: using/cmdline.rst:657 +#: using/cmdline.rst:663 msgid "" "If this is set to a non-empty string, don't prepend a potentially unsafe " "path to :data:`sys.path`: see the :option:`-P` option for details." msgstr "" -#: using/cmdline.rst:665 +#: using/cmdline.rst:671 msgid "" "If this is set to a non-empty string, it overrides the :data:`sys." "platlibdir` value." msgstr "" -#: using/cmdline.rst:673 +#: using/cmdline.rst:679 msgid "" "If this is the name of a readable file, the Python commands in that file are " "executed before the first prompt is displayed in interactive mode. The file " @@ -885,20 +905,20 @@ msgid "" "file." msgstr "" -#: using/cmdline.rst:682 +#: using/cmdline.rst:688 msgid "" "Raises an :ref:`auditing event <auditing>` ``cpython.run_startup`` with the " "filename as the argument when called on startup." msgstr "" -#: using/cmdline.rst:688 +#: using/cmdline.rst:694 msgid "" "If this is set to a non-empty string it is equivalent to specifying the :" "option:`-O` option. If set to an integer, it is equivalent to specifying :" "option:`-O` multiple times." msgstr "" -#: using/cmdline.rst:695 +#: using/cmdline.rst:701 msgid "" "If this is set, it names a callable using dotted-path notation. The module " "containing the callable will be imported and then the callable will be run " @@ -909,62 +929,62 @@ msgid "" "breakpointhook` to do nothing but return immediately." msgstr "" -#: using/cmdline.rst:707 +#: using/cmdline.rst:713 msgid "" "If this is set to a non-empty string it is equivalent to specifying the :" "option:`-d` option. If set to an integer, it is equivalent to specifying :" "option:`-d` multiple times." msgstr "" -#: using/cmdline.rst:711 +#: using/cmdline.rst:717 msgid "" "This environment variable requires a :ref:`debug build of Python <debug-" "build>`, otherwise it's ignored." msgstr "" -#: using/cmdline.rst:717 +#: using/cmdline.rst:723 msgid "" "If this is set to a non-empty string it is equivalent to specifying the :" "option:`-i` option." msgstr "" -#: using/cmdline.rst:720 +#: using/cmdline.rst:726 msgid "" "This variable can also be modified by Python code using :data:`os.environ` " "to force inspect mode on program termination." msgstr "" -#: using/cmdline.rst:725 +#: using/cmdline.rst:731 msgid "(also 3.11.10, 3.10.15, 3.9.20, and 3.8.20) Emits audit events." msgstr "" -#: using/cmdline.rst:731 +#: using/cmdline.rst:737 msgid "" "If this is set to a non-empty string it is equivalent to specifying the :" "option:`-u` option." msgstr "" -#: using/cmdline.rst:737 +#: using/cmdline.rst:743 msgid "" "If this is set to a non-empty string it is equivalent to specifying the :" "option:`-v` option. If set to an integer, it is equivalent to specifying :" "option:`-v` multiple times." msgstr "" -#: using/cmdline.rst:744 +#: using/cmdline.rst:750 msgid "" "If this is set, Python ignores case in :keyword:`import` statements. This " "only works on Windows and macOS." msgstr "" -#: using/cmdline.rst:750 +#: using/cmdline.rst:756 msgid "" "If this is set to a non-empty string, Python won't try to write ``.pyc`` " "files on the import of source modules. This is equivalent to specifying " "the :option:`-B` option." msgstr "" -#: using/cmdline.rst:757 +#: using/cmdline.rst:763 msgid "" "If this is set, Python will write ``.pyc`` files in a mirror directory tree " "at this path, instead of in ``__pycache__`` directories within the source " @@ -972,40 +992,40 @@ msgid "" "``pycache_prefix=PATH`` option." msgstr "" -#: using/cmdline.rst:767 +#: using/cmdline.rst:773 msgid "" "If this variable is not set or set to ``random``, a random value is used to " "seed the hashes of str and bytes objects." msgstr "" -#: using/cmdline.rst:770 +#: using/cmdline.rst:776 msgid "" "If :envvar:`PYTHONHASHSEED` is set to an integer value, it is used as a " "fixed seed for generating the hash() of the types covered by the hash " "randomization." msgstr "" -#: using/cmdline.rst:774 +#: using/cmdline.rst:780 msgid "" "Its purpose is to allow repeatable hashing, such as for selftests for the " "interpreter itself, or to allow a cluster of python processes to share hash " "values." msgstr "" -#: using/cmdline.rst:778 +#: using/cmdline.rst:784 msgid "" "The integer must be a decimal number in the range [0,4294967295]. " "Specifying the value 0 will disable hash randomization." msgstr "" -#: using/cmdline.rst:785 +#: using/cmdline.rst:791 msgid "" "If this variable is set to an integer, it is used to configure the " "interpreter's global :ref:`integer string conversion length limitation " "<int_max_str_digits>`." msgstr "" -#: using/cmdline.rst:793 +#: using/cmdline.rst:799 msgid "" "If this is set before running the interpreter, it overrides the encoding " "used for stdin/stdout/stderr, in the syntax ``encodingname:errorhandler``. " @@ -1013,17 +1033,17 @@ msgid "" "have the same meaning as in :func:`str.encode`." msgstr "" -#: using/cmdline.rst:798 +#: using/cmdline.rst:804 msgid "" "For stderr, the ``:errorhandler`` part is ignored; the handler will always " "be ``'backslashreplace'``." msgstr "" -#: using/cmdline.rst:801 +#: using/cmdline.rst:807 msgid "The ``encodingname`` part is now optional." msgstr "" -#: using/cmdline.rst:804 +#: using/cmdline.rst:810 msgid "" "On Windows, the encoding specified by this variable is ignored for " "interactive console buffers unless :envvar:`PYTHONLEGACYWINDOWSSTDIO` is " @@ -1031,13 +1051,13 @@ msgid "" "not affected." msgstr "" -#: using/cmdline.rst:811 +#: using/cmdline.rst:817 msgid "" "If this is set, Python won't add the :data:`user site-packages directory " "<site.USER_SITE>` to :data:`sys.path`." msgstr "" -#: using/cmdline.rst:821 +#: using/cmdline.rst:827 msgid "" "Defines the :data:`user base directory <site.USER_BASE>`, which is used to " "compute the path of the :data:`user site-packages directory <site." @@ -1045,20 +1065,20 @@ msgid "" "``python -m pip install --user``." msgstr "" -#: using/cmdline.rst:833 +#: using/cmdline.rst:839 msgid "" "If this environment variable is set, ``sys.argv[0]`` will be set to its " "value instead of the value got through the C runtime. Only works on macOS." msgstr "" -#: using/cmdline.rst:839 +#: using/cmdline.rst:845 msgid "" "This is equivalent to the :option:`-W` option. If set to a comma separated " "string, it is equivalent to specifying :option:`-W` multiple times, with " "filters later in the list taking precedence over those earlier in the list." msgstr "" -#: using/cmdline.rst:848 +#: using/cmdline.rst:854 msgid "" "PYTHONWARNINGS=default # Warn once per call location\n" "PYTHONWARNINGS=error # Convert to exceptions\n" @@ -1069,7 +1089,7 @@ msgid "" "PYTHONWARNINGS=ignore # Never warn" msgstr "" -#: using/cmdline.rst:862 +#: using/cmdline.rst:868 msgid "" "If this environment variable is set to a non-empty string, :func:" "`faulthandler.enable` is called at startup: install a handler for :const:" @@ -1078,7 +1098,7 @@ msgid "" "traceback. This is equivalent to :option:`-X` ``faulthandler`` option." msgstr "" -#: using/cmdline.rst:874 +#: using/cmdline.rst:880 msgid "" "If this environment variable is set to a non-empty string, start tracing " "Python memory allocations using the :mod:`tracemalloc` module. The value of " @@ -1088,90 +1108,90 @@ msgid "" "is equivalent to setting the :option:`-X` ``tracemalloc`` option." msgstr "" -#: using/cmdline.rst:887 +#: using/cmdline.rst:893 msgid "" "If this environment variable is set to a non-empty string, Python will show " "how long each import takes. This is equivalent to setting the :option:`-X` " "``importtime`` option." msgstr "" -#: using/cmdline.rst:896 +#: using/cmdline.rst:902 msgid "" "If this environment variable is set to a non-empty string, enable the :ref:" "`debug mode <asyncio-debug-mode>` of the :mod:`asyncio` module." msgstr "" -#: using/cmdline.rst:904 +#: using/cmdline.rst:910 msgid "Set the Python memory allocators and/or install debug hooks." msgstr "" -#: using/cmdline.rst:906 +#: using/cmdline.rst:912 msgid "Set the family of memory allocators used by Python:" msgstr "" -#: using/cmdline.rst:908 +#: using/cmdline.rst:914 msgid "" "``default``: use the :ref:`default memory allocators <default-memory-" "allocators>`." msgstr "" -#: using/cmdline.rst:910 +#: using/cmdline.rst:916 msgid "" "``malloc``: use the :c:func:`malloc` function of the C library for all " "domains (:c:macro:`PYMEM_DOMAIN_RAW`, :c:macro:`PYMEM_DOMAIN_MEM`, :c:macro:" "`PYMEM_DOMAIN_OBJ`)." msgstr "" -#: using/cmdline.rst:913 +#: using/cmdline.rst:919 msgid "" "``pymalloc``: use the :ref:`pymalloc allocator <pymalloc>` for :c:macro:" "`PYMEM_DOMAIN_MEM` and :c:macro:`PYMEM_DOMAIN_OBJ` domains and use the :c:" "func:`malloc` function for the :c:macro:`PYMEM_DOMAIN_RAW` domain." msgstr "" -#: using/cmdline.rst:917 +#: using/cmdline.rst:923 msgid "Install :ref:`debug hooks <pymem-debug-hooks>`:" msgstr "" -#: using/cmdline.rst:919 +#: using/cmdline.rst:925 msgid "" "``debug``: install debug hooks on top of the :ref:`default memory allocators " "<default-memory-allocators>`." msgstr "" -#: using/cmdline.rst:921 +#: using/cmdline.rst:927 msgid "``malloc_debug``: same as ``malloc`` but also install debug hooks." msgstr "" -#: using/cmdline.rst:922 +#: using/cmdline.rst:928 msgid "``pymalloc_debug``: same as ``pymalloc`` but also install debug hooks." msgstr "" -#: using/cmdline.rst:926 +#: using/cmdline.rst:932 msgid "Added the ``\"default\"`` allocator." msgstr "" -#: using/cmdline.rst:932 +#: using/cmdline.rst:938 msgid "" "If set to a non-empty string, Python will print statistics of the :ref:" "`pymalloc memory allocator <pymalloc>` every time a new pymalloc object " "arena is created, and on shutdown." msgstr "" -#: using/cmdline.rst:936 +#: using/cmdline.rst:942 msgid "" "This variable is ignored if the :envvar:`PYTHONMALLOC` environment variable " "is used to force the :c:func:`malloc` allocator of the C library, or if " "Python is configured without ``pymalloc`` support." msgstr "" -#: using/cmdline.rst:940 +#: using/cmdline.rst:946 msgid "" "This variable can now also be used on Python compiled in release mode. It " "now has no effect if set to an empty string." msgstr "" -#: using/cmdline.rst:947 +#: using/cmdline.rst:953 msgid "" "If set to a non-empty string, the default :term:`filesystem encoding and " "error handler` mode will revert to their pre-3.6 values of 'mbcs' and " @@ -1179,41 +1199,41 @@ msgid "" "'surrogatepass' are used." msgstr "" -#: using/cmdline.rst:952 +#: using/cmdline.rst:958 msgid "" "This may also be enabled at runtime with :func:`sys." "_enablelegacywindowsfsencoding`." msgstr "" -#: using/cmdline.rst:969 using/cmdline.rst:1020 +#: using/cmdline.rst:975 using/cmdline.rst:1026 msgid "Availability" msgstr "" -#: using/cmdline.rst:957 +#: using/cmdline.rst:963 msgid "See :pep:`529` for more details." msgstr "" -#: using/cmdline.rst:962 +#: using/cmdline.rst:968 msgid "" "If set to a non-empty string, does not use the new console reader and " "writer. This means that Unicode characters will be encoded according to the " "active console code page, rather than using utf-8." msgstr "" -#: using/cmdline.rst:966 +#: using/cmdline.rst:972 msgid "" "This variable is ignored if the standard streams are redirected (to files or " "pipes) rather than referring to console buffers." msgstr "" -#: using/cmdline.rst:976 +#: using/cmdline.rst:982 msgid "" "If set to the value ``0``, causes the main Python command line application " "to skip coercing the legacy ASCII-based C and POSIX locales to a more " "capable UTF-8 based alternative." msgstr "" -#: using/cmdline.rst:980 +#: using/cmdline.rst:986 msgid "" "If this variable is *not* set (or is set to a value other than ``0``), the " "``LC_ALL`` locale override environment variable is also not set, and the " @@ -1224,19 +1244,19 @@ msgid "" "runtime:" msgstr "" -#: using/cmdline.rst:988 +#: using/cmdline.rst:994 msgid "``C.UTF-8``" msgstr "" -#: using/cmdline.rst:989 +#: using/cmdline.rst:995 msgid "``C.utf8``" msgstr "" -#: using/cmdline.rst:990 +#: using/cmdline.rst:996 msgid "``UTF-8``" msgstr "" -#: using/cmdline.rst:992 +#: using/cmdline.rst:998 msgid "" "If setting one of these locale categories succeeds, then the ``LC_CTYPE`` " "environment variable will also be set accordingly in the current process " @@ -1249,7 +1269,7 @@ msgid "" "(such as Python's own :func:`locale.getdefaultlocale`)." msgstr "" -#: using/cmdline.rst:1002 +#: using/cmdline.rst:1008 msgid "" "Configuring one of these locales (either explicitly or via the above " "implicit locale coercion) automatically enables the ``surrogateescape`` :ref:" @@ -1259,7 +1279,7 @@ msgid "" "envvar:`PYTHONIOENCODING` as usual." msgstr "" -#: using/cmdline.rst:1009 +#: using/cmdline.rst:1015 msgid "" "For debugging purposes, setting ``PYTHONCOERCECLOCALE=warn`` will cause " "Python to emit warning messages on ``stderr`` if either the locale coercion " @@ -1267,7 +1287,7 @@ msgid "" "active when the Python runtime is initialized." msgstr "" -#: using/cmdline.rst:1014 +#: using/cmdline.rst:1020 msgid "" "Also note that even when locale coercion is disabled, or when it fails to " "find a suitable target locale, :envvar:`PYTHONUTF8` will still activate by " @@ -1276,11 +1296,11 @@ msgid "" "system interfaces." msgstr "" -#: using/cmdline.rst:1022 +#: using/cmdline.rst:1028 msgid "See :pep:`538` for more details." msgstr "" -#: using/cmdline.rst:1028 +#: using/cmdline.rst:1034 msgid "" "If this environment variable is set to a non-empty string, enable :ref:" "`Python Development Mode <devmode>`, introducing additional runtime checks " @@ -1288,31 +1308,31 @@ msgid "" "setting the :option:`-X` ``dev`` option." msgstr "" -#: using/cmdline.rst:1037 +#: using/cmdline.rst:1043 msgid "If set to ``1``, enable the :ref:`Python UTF-8 Mode <utf8-mode>`." msgstr "" -#: using/cmdline.rst:1039 +#: using/cmdline.rst:1045 msgid "If set to ``0``, disable the :ref:`Python UTF-8 Mode <utf8-mode>`." msgstr "" -#: using/cmdline.rst:1041 +#: using/cmdline.rst:1047 msgid "" "Setting any other non-empty string causes an error during interpreter " "initialisation." msgstr "" -#: using/cmdline.rst:1048 +#: using/cmdline.rst:1054 msgid "" "If this environment variable is set to a non-empty string, issue a :class:" "`EncodingWarning` when the locale-specific default encoding is used." msgstr "" -#: using/cmdline.rst:1051 +#: using/cmdline.rst:1057 msgid "See :ref:`io-encoding-warning` for details." msgstr "" -#: using/cmdline.rst:1057 +#: using/cmdline.rst:1063 msgid "" "If this variable is set, it disables the inclusion of the tables mapping " "extra location information (end line, start column offset and end column " @@ -1321,38 +1341,38 @@ msgid "" "visual location indicators when the interpreter displays tracebacks." msgstr "" -#: using/cmdline.rst:1067 +#: using/cmdline.rst:1073 msgid "" "If this variable is set to a nonzero value, it enables support for the Linux " "``perf`` profiler so Python calls can be detected by it." msgstr "" -#: using/cmdline.rst:1070 +#: using/cmdline.rst:1076 msgid "If set to ``0``, disable Linux ``perf`` profiler support." msgstr "" -#: using/cmdline.rst:1072 +#: using/cmdline.rst:1078 msgid "" "See also the :option:`-X perf <-X>` command-line option and :ref:" "`perf_profiling`." msgstr "" -#: using/cmdline.rst:1079 +#: using/cmdline.rst:1085 msgid "Debug-mode variables" msgstr "" -#: using/cmdline.rst:1083 +#: using/cmdline.rst:1089 msgid "" "If set, Python will dump objects and reference counts still alive after " "shutting down the interpreter." msgstr "" -#: using/cmdline.rst:1093 +#: using/cmdline.rst:1099 msgid "" "Need Python configured with the :option:`--with-trace-refs` build option." msgstr "" -#: using/cmdline.rst:1090 +#: using/cmdline.rst:1096 msgid "" "If set, Python will dump objects and reference counts still alive after " "shutting down the interpreter into a file called *FILENAME*." diff --git a/using/configure.po b/using/configure.po index d3a82540..6f3dd31e 100644 --- a/using/configure.po +++ b/using/configure.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -941,48 +941,57 @@ msgid "Options:" msgstr "" #: using/configure.rst:662 -msgid "``universal2``;" +msgid "``universal2`` (x86-64 and arm64);" msgstr "" #: using/configure.rst:663 -msgid "``32-bit``;" +msgid "``32-bit`` (PPC and i386);" msgstr "" #: using/configure.rst:664 -msgid "``64-bit``;" +msgid "``64-bit`` (PPC64 and x86-64);" msgstr "" #: using/configure.rst:665 -msgid "``3-way``;" +msgid "``3-way`` (i386, PPC and x86-64);" msgstr "" #: using/configure.rst:666 -msgid "``intel``;" +msgid "``intel`` (i386 and x86-64);" msgstr "" #: using/configure.rst:667 -msgid "``intel-32``;" +msgid "``intel-32`` (i386);" msgstr "" #: using/configure.rst:668 -msgid "``intel-64``;" +msgid "``intel-64`` (x86-64);" msgstr "" #: using/configure.rst:669 -msgid "``all``." +msgid "``all`` (PPC, i386, PPC64 and x86-64)." msgstr "" -#: using/configure.rst:673 +#: using/configure.rst:671 +msgid "" +"Note that values for this configuration item are *not* the same as the " +"identifiers used for universal binary wheels on macOS. See the Python " +"Packaging User Guide for details on the `packaging platform compatibility " +"tags used on macOS <https://packaging.python.org/en/latest/specifications/" +"platform-compatibility-tags/#macos>`_" +msgstr "" + +#: using/configure.rst:679 msgid "" "Specify the name for the python framework on macOS only valid when :option:" "`--enable-framework` is set (default: ``Python``)." msgstr "" -#: using/configure.rst:678 +#: using/configure.rst:684 msgid "Cross Compiling Options" msgstr "" -#: using/configure.rst:680 +#: using/configure.rst:686 msgid "" "Cross compiling, also known as cross building, can be used to build Python " "for another CPU architecture or platform. Cross compiling requires a Python " @@ -990,28 +999,28 @@ msgid "" "match the version of the cross compiled host Python." msgstr "" -#: using/configure.rst:687 +#: using/configure.rst:693 msgid "" "configure for building on BUILD, usually guessed by :program:`config.guess`." msgstr "" -#: using/configure.rst:691 +#: using/configure.rst:697 msgid "cross-compile to build programs to run on HOST (target platform)" msgstr "" -#: using/configure.rst:695 +#: using/configure.rst:701 msgid "path to build ``python`` binary for cross compiling" msgstr "" -#: using/configure.rst:701 +#: using/configure.rst:707 msgid "An environment variable that points to a file with configure overrides." msgstr "" -#: using/configure.rst:703 +#: using/configure.rst:709 msgid "Example *config.site* file:" msgstr "" -#: using/configure.rst:705 +#: using/configure.rst:711 msgid "" "# config.site-aarch64\n" "ac_cv_buggy_getaddrinfo=no\n" @@ -1019,11 +1028,11 @@ msgid "" "ac_cv_file__dev_ptc=no" msgstr "" -#: using/configure.rst:713 +#: using/configure.rst:719 msgid "Cross compiling example::" msgstr "" -#: using/configure.rst:715 +#: using/configure.rst:721 msgid "" "CONFIG_SITE=config.site-aarch64 ../configure \\\n" " --build=x86_64-pc-linux-gnu \\\n" @@ -1031,70 +1040,70 @@ msgid "" " --with-build-python=../x86_64/python" msgstr "" -#: using/configure.rst:722 +#: using/configure.rst:728 msgid "Python Build System" msgstr "" -#: using/configure.rst:725 +#: using/configure.rst:731 msgid "Main files of the build system" msgstr "" -#: using/configure.rst:727 +#: using/configure.rst:733 msgid ":file:`configure.ac` => :file:`configure`;" msgstr "" -#: using/configure.rst:728 +#: using/configure.rst:734 msgid "" ":file:`Makefile.pre.in` => :file:`Makefile` (created by :file:`configure`);" msgstr "" -#: using/configure.rst:729 +#: using/configure.rst:735 msgid ":file:`pyconfig.h` (created by :file:`configure`);" msgstr "" -#: using/configure.rst:730 +#: using/configure.rst:736 msgid "" ":file:`Modules/Setup`: C extensions built by the Makefile using :file:" "`Module/makesetup` shell script;" msgstr "" -#: using/configure.rst:734 +#: using/configure.rst:740 msgid "Main build steps" msgstr "" -#: using/configure.rst:736 +#: using/configure.rst:742 msgid "C files (``.c``) are built as object files (``.o``)." msgstr "" -#: using/configure.rst:737 +#: using/configure.rst:743 msgid "A static ``libpython`` library (``.a``) is created from objects files." msgstr "" -#: using/configure.rst:738 +#: using/configure.rst:744 msgid "" "``python.o`` and the static ``libpython`` library are linked into the final " "``python`` program." msgstr "" -#: using/configure.rst:740 +#: using/configure.rst:746 msgid "C extensions are built by the Makefile (see :file:`Modules/Setup`)." msgstr "" -#: using/configure.rst:743 +#: using/configure.rst:749 msgid "Main Makefile targets" msgstr "" -#: using/configure.rst:745 +#: using/configure.rst:751 msgid "``make``: Build Python with the standard library." msgstr "" -#: using/configure.rst:746 +#: using/configure.rst:752 msgid "" "``make platform:``: build the ``python`` program, but don't build the " "standard library extension modules." msgstr "" -#: using/configure.rst:748 +#: using/configure.rst:754 msgid "" "``make profile-opt``: build Python using Profile Guided Optimization (PGO). " "You can use the configure :option:`--enable-optimizations` option to make " @@ -1102,46 +1111,46 @@ msgid "" "``make``)." msgstr "" -#: using/configure.rst:752 +#: using/configure.rst:758 msgid "" "``make buildbottest``: Build Python and run the Python test suite, the same " "way than buildbots test Python. Set ``TESTTIMEOUT`` variable (in seconds) to " "change the test timeout (1200 by default: 20 minutes)." msgstr "" -#: using/configure.rst:755 +#: using/configure.rst:761 msgid "``make install``: Build and install Python." msgstr "" -#: using/configure.rst:756 +#: using/configure.rst:762 msgid "" "``make regen-all``: Regenerate (almost) all generated files; ``make regen-" "stdlib-module-names`` and ``autoconf`` must be run separately for the " "remaining generated files." msgstr "" -#: using/configure.rst:759 +#: using/configure.rst:765 msgid "``make clean``: Remove built files." msgstr "" -#: using/configure.rst:760 +#: using/configure.rst:766 msgid "" "``make distclean``: Same than ``make clean``, but remove also files created " "by the configure script." msgstr "" -#: using/configure.rst:764 +#: using/configure.rst:770 msgid "C extensions" msgstr "" -#: using/configure.rst:766 +#: using/configure.rst:772 msgid "" "Some C extensions are built as built-in modules, like the ``sys`` module. " "They are built with the ``Py_BUILD_CORE_BUILTIN`` macro defined. Built-in " "modules have no ``__file__`` attribute:" msgstr "" -#: using/configure.rst:770 +#: using/configure.rst:776 msgid "" ">>> import sys\n" ">>> sys\n" @@ -1152,14 +1161,14 @@ msgid "" "AttributeError: module 'sys' has no attribute '__file__'" msgstr "" -#: using/configure.rst:780 +#: using/configure.rst:786 msgid "" "Other C extensions are built as dynamic libraries, like the ``_asyncio`` " "module. They are built with the ``Py_BUILD_CORE_MODULE`` macro defined. " "Example on Linux x86-64:" msgstr "" -#: using/configure.rst:784 +#: using/configure.rst:790 msgid "" ">>> import _asyncio\n" ">>> _asyncio\n" @@ -1169,7 +1178,7 @@ msgid "" "'/usr/lib64/python3.9/lib-dynload/_asyncio.cpython-39-x86_64-linux-gnu.so'" msgstr "" -#: using/configure.rst:792 +#: using/configure.rst:798 msgid "" ":file:`Modules/Setup` is used to generate Makefile targets to build C " "extensions. At the beginning of the files, C extensions are built as built-" @@ -1177,303 +1186,303 @@ msgid "" "dynamic libraries." msgstr "" -#: using/configure.rst:796 +#: using/configure.rst:802 msgid "" "The :c:macro:`!PyAPI_FUNC()`, :c:macro:`!PyAPI_DATA()` and :c:macro:" "`PyMODINIT_FUNC` macros of :file:`Include/exports.h` are defined differently " "depending if the ``Py_BUILD_CORE_MODULE`` macro is defined:" msgstr "" -#: using/configure.rst:800 +#: using/configure.rst:806 msgid "Use ``Py_EXPORTED_SYMBOL`` if the ``Py_BUILD_CORE_MODULE`` is defined" msgstr "" -#: using/configure.rst:801 +#: using/configure.rst:807 msgid "Use ``Py_IMPORTED_SYMBOL`` otherwise." msgstr "" -#: using/configure.rst:803 +#: using/configure.rst:809 msgid "" "If the ``Py_BUILD_CORE_BUILTIN`` macro is used by mistake on a C extension " "built as a shared library, its :samp:`PyInit_{xxx}()` function is not " "exported, causing an :exc:`ImportError` on import." msgstr "" -#: using/configure.rst:809 +#: using/configure.rst:815 msgid "Compiler and linker flags" msgstr "" -#: using/configure.rst:811 +#: using/configure.rst:817 msgid "" "Options set by the ``./configure`` script and environment variables and used " "by ``Makefile``." msgstr "" -#: using/configure.rst:815 +#: using/configure.rst:821 msgid "Preprocessor flags" msgstr "" -#: using/configure.rst:819 +#: using/configure.rst:825 msgid "" "Value of :envvar:`CPPFLAGS` variable passed to the ``./configure`` script." msgstr "" -#: using/configure.rst:825 +#: using/configure.rst:831 msgid "" "(Objective) C/C++ preprocessor flags, e.g. :samp:`-I{include_dir}` if you " "have headers in a nonstandard directory *include_dir*." msgstr "" -#: using/configure.rst:1018 +#: using/configure.rst:1024 msgid "" "Both :envvar:`CPPFLAGS` and :envvar:`LDFLAGS` need to contain the shell's " "value to be able to build extension modules using the directories specified " "in the environment variables." msgstr "" -#: using/configure.rst:838 +#: using/configure.rst:844 msgid "" "Extra preprocessor flags added for building the interpreter object files." msgstr "" -#: using/configure.rst:840 +#: using/configure.rst:846 msgid "" "Default: ``$(BASECPPFLAGS) -I. -I$(srcdir)/Include $(CONFIGURE_CPPFLAGS) " "$(CPPFLAGS)``." msgstr "" -#: using/configure.rst:845 +#: using/configure.rst:851 msgid "Compiler flags" msgstr "" -#: using/configure.rst:849 +#: using/configure.rst:855 msgid "C compiler command." msgstr "" -#: using/configure.rst:851 +#: using/configure.rst:857 msgid "Example: ``gcc -pthread``." msgstr "" -#: using/configure.rst:855 +#: using/configure.rst:861 msgid "C++ compiler command." msgstr "" -#: using/configure.rst:857 +#: using/configure.rst:863 msgid "Example: ``g++ -pthread``." msgstr "" -#: using/configure.rst:861 +#: using/configure.rst:867 msgid "C compiler flags." msgstr "" -#: using/configure.rst:865 +#: using/configure.rst:871 msgid "" ":envvar:`CFLAGS_NODIST` is used for building the interpreter and stdlib C " "extensions. Use it when a compiler flag should *not* be part of :envvar:" "`CFLAGS` once Python is installed (:gh:`65320`)." msgstr "" -#: using/configure.rst:869 +#: using/configure.rst:875 msgid "In particular, :envvar:`CFLAGS` should not contain:" msgstr "" -#: using/configure.rst:871 +#: using/configure.rst:877 msgid "" "the compiler flag ``-I`` (for setting the search path for include files). " "The ``-I`` flags are processed from left to right, and any flags in :envvar:" "`CFLAGS` would take precedence over user- and package-supplied ``-I`` flags." msgstr "" -#: using/configure.rst:876 +#: using/configure.rst:882 msgid "" "hardening flags such as ``-Werror`` because distributions cannot control " "whether packages installed by users conform to such heightened standards." msgstr "" -#: using/configure.rst:884 +#: using/configure.rst:890 msgid "" "Options passed to the :mod:`compileall` command line when building PYC files " "in ``make install``. Default: ``-j0``." msgstr "" -#: using/configure.rst:891 +#: using/configure.rst:897 msgid "Extra C compiler flags." msgstr "" -#: using/configure.rst:895 +#: using/configure.rst:901 msgid "" "Value of :envvar:`CFLAGS` variable passed to the ``./configure`` script." msgstr "" -#: using/configure.rst:902 +#: using/configure.rst:908 msgid "" "Value of :envvar:`CFLAGS_NODIST` variable passed to the ``./configure`` " "script." msgstr "" -#: using/configure.rst:909 +#: using/configure.rst:915 msgid "Base compiler flags." msgstr "" -#: using/configure.rst:913 +#: using/configure.rst:919 msgid "Optimization flags." msgstr "" -#: using/configure.rst:917 +#: using/configure.rst:923 msgid "Strict or non-strict aliasing flags used to compile ``Python/dtoa.c``." msgstr "" -#: using/configure.rst:923 +#: using/configure.rst:929 msgid "Compiler flags used to build a shared library." msgstr "" -#: using/configure.rst:925 +#: using/configure.rst:931 msgid "For example, ``-fPIC`` is used on Linux and on BSD." msgstr "" -#: using/configure.rst:929 +#: using/configure.rst:935 msgid "Extra C flags added for building the interpreter object files." msgstr "" -#: using/configure.rst:931 +#: using/configure.rst:937 msgid "" "Default: ``$(CCSHARED)`` when :option:`--enable-shared` is used, or an empty " "string otherwise." msgstr "" -#: using/configure.rst:936 +#: using/configure.rst:942 msgid "" "Default: ``$(BASECFLAGS) $(OPT) $(CONFIGURE_CFLAGS) $(CFLAGS) " "$(EXTRA_CFLAGS)``." msgstr "" -#: using/configure.rst:940 +#: using/configure.rst:946 msgid "" "Default: ``$(CONFIGURE_CFLAGS_NODIST) $(CFLAGS_NODIST) -I$(srcdir)/Include/" "internal``." msgstr "" -#: using/configure.rst:946 +#: using/configure.rst:952 msgid "C flags used for building the interpreter object files." msgstr "" -#: using/configure.rst:948 +#: using/configure.rst:954 msgid "" "Default: ``$(PY_CFLAGS) $(PY_CFLAGS_NODIST) $(PY_CPPFLAGS) " "$(CFLAGSFORSHARED)``." msgstr "" -#: using/configure.rst:954 +#: using/configure.rst:960 msgid "Default: ``$(PY_STDMODULE_CFLAGS) -DPy_BUILD_CORE``." msgstr "" -#: using/configure.rst:960 +#: using/configure.rst:966 msgid "" "Compiler flags to build a standard library extension module as a built-in " "module, like the :mod:`posix` module." msgstr "" -#: using/configure.rst:963 +#: using/configure.rst:969 msgid "Default: ``$(PY_STDMODULE_CFLAGS) -DPy_BUILD_CORE_BUILTIN``." msgstr "" -#: using/configure.rst:969 +#: using/configure.rst:975 msgid "Purify command. Purify is a memory debugger program." msgstr "" -#: using/configure.rst:971 +#: using/configure.rst:977 msgid "Default: empty string (not used)." msgstr "" -#: using/configure.rst:975 +#: using/configure.rst:981 msgid "Linker flags" msgstr "" -#: using/configure.rst:979 +#: using/configure.rst:985 msgid "" "Linker command used to build programs like ``python`` and ``_testembed``." msgstr "" -#: using/configure.rst:981 +#: using/configure.rst:987 msgid "Default: ``$(PURIFY) $(CC)``." msgstr "" -#: using/configure.rst:985 +#: using/configure.rst:991 msgid "" "Value of :envvar:`LDFLAGS` variable passed to the ``./configure`` script." msgstr "" -#: using/configure.rst:987 +#: using/configure.rst:993 msgid "" "Avoid assigning :envvar:`CFLAGS`, :envvar:`LDFLAGS`, etc. so users can use " "them on the command line to append to these values without stomping the pre-" "set values." msgstr "" -#: using/configure.rst:995 +#: using/configure.rst:1001 msgid "" ":envvar:`LDFLAGS_NODIST` is used in the same manner as :envvar:" "`CFLAGS_NODIST`. Use it when a linker flag should *not* be part of :envvar:" "`LDFLAGS` once Python is installed (:gh:`65320`)." msgstr "" -#: using/configure.rst:999 +#: using/configure.rst:1005 msgid "In particular, :envvar:`LDFLAGS` should not contain:" msgstr "" -#: using/configure.rst:1001 +#: using/configure.rst:1007 msgid "" "the compiler flag ``-L`` (for setting the search path for libraries). The ``-" "L`` flags are processed from left to right, and any flags in :envvar:" "`LDFLAGS` would take precedence over user- and package-supplied ``-L`` flags." msgstr "" -#: using/configure.rst:1008 +#: using/configure.rst:1014 msgid "" "Value of :envvar:`LDFLAGS_NODIST` variable passed to the ``./configure`` " "script." msgstr "" -#: using/configure.rst:1015 +#: using/configure.rst:1021 msgid "" "Linker flags, e.g. :samp:`-L{lib_dir}` if you have libraries in a " "nonstandard directory *lib_dir*." msgstr "" -#: using/configure.rst:1024 +#: using/configure.rst:1030 msgid "" "Linker flags to pass libraries to the linker when linking the Python " "executable." msgstr "" -#: using/configure.rst:1027 +#: using/configure.rst:1033 msgid "Example: ``-lrt``." msgstr "" -#: using/configure.rst:1031 +#: using/configure.rst:1037 msgid "Command to build a shared library." msgstr "" -#: using/configure.rst:1033 +#: using/configure.rst:1039 msgid "Default: ``@LDSHARED@ $(PY_LDFLAGS)``." msgstr "" -#: using/configure.rst:1037 +#: using/configure.rst:1043 msgid "Command to build ``libpython`` shared library." msgstr "" -#: using/configure.rst:1039 +#: using/configure.rst:1045 msgid "Default: ``@BLDSHARED@ $(PY_CORE_LDFLAGS)``." msgstr "" -#: using/configure.rst:1043 +#: using/configure.rst:1049 msgid "Default: ``$(CONFIGURE_LDFLAGS) $(LDFLAGS)``." msgstr "" -#: using/configure.rst:1047 +#: using/configure.rst:1053 msgid "Default: ``$(CONFIGURE_LDFLAGS_NODIST) $(LDFLAGS_NODIST)``." msgstr "" -#: using/configure.rst:1053 +#: using/configure.rst:1059 msgid "Linker flags used for building the interpreter object files." msgstr "" diff --git a/using/editors.po b/using/editors.po index 2cb116d0..4eb81efe 100644 --- a/using/editors.po +++ b/using/editors.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2025-04-05 19:20+0300\n" "Last-Translator: ALEXANDROS TZIORAS alextzioras23@gmail.com\n" "Language-Team: Language-Team: PyGreece <pygreece@gmail.com>\n" diff --git a/using/index.po b/using/index.po index f32c65fa..e65ab651 100644 --- a/using/index.po +++ b/using/index.po @@ -8,10 +8,11 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: 2025-04-06 10:11+0300\n" "Last-Translator: ALEXANDROS TZIORAS alextzioras23@gmail.com\n" "Language-Team: Language-Team: PyGreece <pygreece@gmail.com>Language: \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/using/mac.po b/using/mac.po index 9ed0c97c..f8f557fd 100644 --- a/using/mac.po +++ b/using/mac.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/using/unix.po b/using/unix.po index 84c00094..94572ec2 100644 --- a/using/unix.po +++ b/using/unix.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" -"PO-Revision-Date: 2025-03-31 15:09+0300\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" +"PO-Revision-Date: 2025-05-03 17:10+0300\n" "Last-Translator: Kleopatra Karapanagiotou <kleopatrakapa22@gmail.com>\n" "Language-Team: PyGreece <pygreece@gmail.com>\n" "Language: el\n" @@ -124,8 +124,8 @@ msgid "For SUSE and OpenSUSE users::" msgstr "Για τους χρήστες των SUSE και OpenSUSE::" #: using/unix.rst:56 -msgid "sudo zypper in python3-idle" -msgstr "sudo zypper in python3-idle" +msgid "sudo zypper install python3-idle" +msgstr "sudo zypper install python3-idle" #: using/unix.rst:58 msgid "For Alpine Linux users::" diff --git a/using/windows.po b/using/windows.po index 2fc3593d..7b6884e6 100644 --- a/using/windows.po +++ b/using/windows.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/whatsnew/2.0.po b/whatsnew/2.0.po index c536acf8..26ec69ce 100644 --- a/whatsnew/2.0.po +++ b/whatsnew/2.0.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/whatsnew/2.1.po b/whatsnew/2.1.po index 8ee783e3..c5fe7685 100644 --- a/whatsnew/2.1.po +++ b/whatsnew/2.1.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/whatsnew/2.2.po b/whatsnew/2.2.po index 0e14ed19..d64eb45a 100644 --- a/whatsnew/2.2.po +++ b/whatsnew/2.2.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/whatsnew/2.3.po b/whatsnew/2.3.po index 6b05e077..28bd0943 100644 --- a/whatsnew/2.3.po +++ b/whatsnew/2.3.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/whatsnew/2.4.po b/whatsnew/2.4.po index e8242976..530d0010 100644 --- a/whatsnew/2.4.po +++ b/whatsnew/2.4.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/whatsnew/2.5.po b/whatsnew/2.5.po index 6ea12ff7..1b5443bc 100644 --- a/whatsnew/2.5.po +++ b/whatsnew/2.5.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/whatsnew/2.6.po b/whatsnew/2.6.po index 533c8fe9..12ccebb1 100644 --- a/whatsnew/2.6.po +++ b/whatsnew/2.6.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/whatsnew/2.7.po b/whatsnew/2.7.po index 2b2cb5ba..d796847c 100644 --- a/whatsnew/2.7.po +++ b/whatsnew/2.7.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -1465,7 +1465,7 @@ msgid "" ">>> for letter in 'here is a sample of english text':\n" "... c[letter] += 1\n" "...\n" -">>> c \n" +">>> c\n" "Counter({' ': 6, 'e': 5, 's': 3, 'a': 2, 'i': 2, 'h': 2,\n" "'l': 2, 't': 2, 'g': 1, 'f': 1, 'm': 1, 'o': 1, 'n': 1,\n" "'p': 1, 'r': 1, 'x': 1})\n" diff --git a/whatsnew/3.0.po b/whatsnew/3.0.po index 7f77ec63..7b548c10 100644 --- a/whatsnew/3.0.po +++ b/whatsnew/3.0.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/whatsnew/3.1.po b/whatsnew/3.1.po index eb6f02dc..0155d82e 100644 --- a/whatsnew/3.1.po +++ b/whatsnew/3.1.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/whatsnew/3.10.po b/whatsnew/3.10.po index e8855318..88b95e48 100644 --- a/whatsnew/3.10.po +++ b/whatsnew/3.10.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/whatsnew/3.11.po b/whatsnew/3.11.po index 8241b99e..2b2b23c1 100644 --- a/whatsnew/3.11.po +++ b/whatsnew/3.11.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/whatsnew/3.12.po b/whatsnew/3.12.po index 4e94f76d..29552eaf 100644 --- a/whatsnew/3.12.po +++ b/whatsnew/3.12.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -256,7 +256,7 @@ msgid "" "<unittest-TestCase-removed-aliases_>`_." msgstr "" -#: whatsnew/3.12.rst:1843 +#: whatsnew/3.12.rst:1851 msgid "New Features" msgstr "" @@ -1151,37 +1151,49 @@ msgid "" msgstr "" #: whatsnew/3.12.rst:822 -msgid "pdb" +msgid "platform" msgstr "" #: whatsnew/3.12.rst:824 msgid "" +"Add support for detecting Windows 11 and Windows Server releases past 2012. " +"Previously, lookups on Windows Server platforms newer than Windows Server " +"2012 and on Windows 11 would return ``Windows-10``. (Contributed by Steve " +"Dower in :gh:`89545`.)" +msgstr "" + +#: whatsnew/3.12.rst:830 +msgid "pdb" +msgstr "" + +#: whatsnew/3.12.rst:832 +msgid "" "Add convenience variables to hold values temporarily for debug session and " "provide quick access to values like the current frame or the return value. " "(Contributed by Tian Gao in :gh:`103693`.)" msgstr "" -#: whatsnew/3.12.rst:830 +#: whatsnew/3.12.rst:838 msgid "random" msgstr "" -#: whatsnew/3.12.rst:832 +#: whatsnew/3.12.rst:840 msgid "" "Add :func:`random.binomialvariate`. (Contributed by Raymond Hettinger in :gh:" "`81620`.)" msgstr "" -#: whatsnew/3.12.rst:835 +#: whatsnew/3.12.rst:843 msgid "" "Add a default of ``lambd=1.0`` to :func:`random.expovariate`. (Contributed " "by Raymond Hettinger in :gh:`100234`.)" msgstr "" -#: whatsnew/3.12.rst:839 +#: whatsnew/3.12.rst:847 msgid "shutil" msgstr "" -#: whatsnew/3.12.rst:841 +#: whatsnew/3.12.rst:849 msgid "" ":func:`shutil.make_archive` now passes the *root_dir* argument to custom " "archivers which support it. In this case it no longer temporarily changes " @@ -1189,7 +1201,7 @@ msgid "" "archiving. (Contributed by Serhiy Storchaka in :gh:`74696`.)" msgstr "" -#: whatsnew/3.12.rst:847 +#: whatsnew/3.12.rst:855 msgid "" ":func:`shutil.rmtree` now accepts a new argument *onexc* which is an error " "handler like *onerror* but which expects an exception instance rather than a " @@ -1197,14 +1209,14 @@ msgid "" "Katriel in :gh:`102828`.)" msgstr "" -#: whatsnew/3.12.rst:852 +#: whatsnew/3.12.rst:860 msgid "" ":func:`shutil.which` now consults the *PATHEXT* environment variable to find " "matches within *PATH* on Windows even when the given *cmd* includes a " "directory component. (Contributed by Charles Machalow in :gh:`103179`.)" msgstr "" -#: whatsnew/3.12.rst:857 +#: whatsnew/3.12.rst:865 msgid "" ":func:`shutil.which` will call ``NeedCurrentDirectoryForExePathW`` when " "querying for executables on Windows to determine if the current working " @@ -1212,24 +1224,24 @@ msgid "" "Machalow in :gh:`103179`.)" msgstr "" -#: whatsnew/3.12.rst:862 +#: whatsnew/3.12.rst:870 msgid "" ":func:`shutil.which` will return a path matching the *cmd* with a component " "from ``PATHEXT`` prior to a direct match elsewhere in the search path on " "Windows. (Contributed by Charles Machalow in :gh:`103179`.)" msgstr "" -#: whatsnew/3.12.rst:1547 +#: whatsnew/3.12.rst:1555 msgid "sqlite3" msgstr "" -#: whatsnew/3.12.rst:870 +#: whatsnew/3.12.rst:878 msgid "" "Add a :ref:`command-line interface <sqlite3-cli>`. (Contributed by Erlend E. " "Aasland in :gh:`77617`.)" msgstr "" -#: whatsnew/3.12.rst:873 +#: whatsnew/3.12.rst:881 msgid "" "Add the :attr:`sqlite3.Connection.autocommit` attribute to :class:`sqlite3." "Connection` and the *autocommit* parameter to :func:`sqlite3.connect` to " @@ -1237,43 +1249,43 @@ msgid "" "control-autocommit>`. (Contributed by Erlend E. Aasland in :gh:`83638`.)" msgstr "" -#: whatsnew/3.12.rst:880 +#: whatsnew/3.12.rst:888 msgid "" "Add *entrypoint* keyword-only parameter to :meth:`sqlite3.Connection." "load_extension`, for overriding the SQLite extension entry point. " "(Contributed by Erlend E. Aasland in :gh:`103015`.)" msgstr "" -#: whatsnew/3.12.rst:885 +#: whatsnew/3.12.rst:893 msgid "" "Add :meth:`sqlite3.Connection.getconfig` and :meth:`sqlite3.Connection." "setconfig` to :class:`sqlite3.Connection` to make configuration changes to a " "database connection. (Contributed by Erlend E. Aasland in :gh:`103489`.)" msgstr "" -#: whatsnew/3.12.rst:891 +#: whatsnew/3.12.rst:899 msgid "statistics" msgstr "" -#: whatsnew/3.12.rst:893 +#: whatsnew/3.12.rst:901 msgid "" "Extend :func:`statistics.correlation` to include as a ``ranked`` method for " "computing the Spearman correlation of ranked data. (Contributed by Raymond " "Hettinger in :gh:`95861`.)" msgstr "" -#: whatsnew/3.12.rst:2310 +#: whatsnew/3.12.rst:2318 msgid "sys" msgstr "" -#: whatsnew/3.12.rst:900 +#: whatsnew/3.12.rst:908 msgid "" "Add the :mod:`sys.monitoring` namespace to expose the new :ref:`PEP 669 " "<whatsnew312-pep669>` monitoring API. (Contributed by Mark Shannon in :gh:" "`103082`.)" msgstr "" -#: whatsnew/3.12.rst:904 +#: whatsnew/3.12.rst:912 msgid "" "Add :func:`sys.activate_stack_trampoline` and :func:`sys." "deactivate_stack_trampoline` for activating and deactivating stack profiler " @@ -1283,7 +1295,7 @@ msgid "" "Shannon in :gh:`96123`.)" msgstr "" -#: whatsnew/3.12.rst:913 +#: whatsnew/3.12.rst:921 msgid "" "Add :data:`sys.last_exc` which holds the last unhandled exception that was " "raised (for post-mortem debugging use cases). Deprecate the three fields " @@ -1292,14 +1304,14 @@ msgid "" "Katriel in :gh:`102778`.)" msgstr "" -#: whatsnew/3.12.rst:1742 +#: whatsnew/3.12.rst:1750 msgid "" ":func:`sys._current_exceptions` now returns a mapping from thread-id to an " "exception instance, rather than to a ``(typ, exc, tb)`` tuple. (Contributed " "by Irit Katriel in :gh:`103176`.)" msgstr "" -#: whatsnew/3.12.rst:923 +#: whatsnew/3.12.rst:931 msgid "" ":func:`sys.setrecursionlimit` and :func:`sys.getrecursionlimit`. The " "recursion limit now applies only to Python code. Builtin functions do not " @@ -1307,23 +1319,23 @@ msgid "" "prevents recursion from causing a virtual machine crash." msgstr "" -#: whatsnew/3.12.rst:929 +#: whatsnew/3.12.rst:937 msgid "tempfile" msgstr "" -#: whatsnew/3.12.rst:931 +#: whatsnew/3.12.rst:939 msgid "" "The :class:`tempfile.NamedTemporaryFile` function has a new optional " "parameter *delete_on_close* (Contributed by Evgeny Zorin in :gh:`58451`.)" msgstr "" -#: whatsnew/3.12.rst:933 +#: whatsnew/3.12.rst:941 msgid "" ":func:`tempfile.mkdtemp` now always returns an absolute path, even if the " "argument provided to the *dir* parameter is a relative path." msgstr "" -#: whatsnew/3.12.rst:935 +#: whatsnew/3.12.rst:943 msgid "" "As of 3.12.4 on Windows, the default mode ``0o700`` used by :func:`tempfile." "mkdtemp` now limits access to the new directory due to changes to :func:`os." @@ -1331,11 +1343,11 @@ msgid "" "Dower in :gh:`118486`.)" msgstr "" -#: whatsnew/3.12.rst:941 +#: whatsnew/3.12.rst:949 msgid "threading" msgstr "" -#: whatsnew/3.12.rst:943 +#: whatsnew/3.12.rst:951 msgid "" "Add :func:`threading.settrace_all_threads` and :func:`threading." "setprofile_all_threads` that allow to set tracing and profiling functions in " @@ -1343,11 +1355,11 @@ msgid "" "Galindo in :gh:`93503`.)" msgstr "" -#: whatsnew/3.12.rst:949 +#: whatsnew/3.12.rst:957 msgid "tkinter" msgstr "" -#: whatsnew/3.12.rst:951 +#: whatsnew/3.12.rst:959 msgid "" "``tkinter.Canvas.coords()`` now flattens its arguments. It now accepts not " "only coordinates as separate arguments (``x1, y1, x2, y2, ...``) and a " @@ -1357,11 +1369,11 @@ msgid "" "in :gh:`94473`.)" msgstr "" -#: whatsnew/3.12.rst:960 +#: whatsnew/3.12.rst:968 msgid "tokenize" msgstr "" -#: whatsnew/3.12.rst:962 +#: whatsnew/3.12.rst:970 msgid "" "The :mod:`tokenize` module includes the changes introduced in :pep:`701`. " "(Contributed by Marta Gómez Macías and Pablo Galindo in :gh:`102856`.) See :" @@ -1369,22 +1381,22 @@ msgid "" "to the :mod:`tokenize` module." msgstr "" -#: whatsnew/3.12.rst:968 +#: whatsnew/3.12.rst:976 msgid "types" msgstr "" -#: whatsnew/3.12.rst:970 +#: whatsnew/3.12.rst:978 msgid "" "Add :func:`types.get_original_bases` to allow for further introspection of :" "ref:`user-defined-generics` when subclassed. (Contributed by James Hilton-" "Balfe and Alex Waygood in :gh:`101827`.)" msgstr "" -#: whatsnew/3.12.rst:977 +#: whatsnew/3.12.rst:985 msgid "typing" msgstr "" -#: whatsnew/3.12.rst:979 +#: whatsnew/3.12.rst:987 msgid "" ":func:`isinstance` checks against :func:`runtime-checkable protocols <typing." "runtime_checkable>` now use :func:`inspect.getattr_static` rather than :func:" @@ -1397,7 +1409,7 @@ msgid "" "affected by this change. (Contributed by Alex Waygood in :gh:`102433`.)" msgstr "" -#: whatsnew/3.12.rst:990 +#: whatsnew/3.12.rst:998 msgid "" "The members of a runtime-checkable protocol are now considered \"frozen\" at " "runtime as soon as the class has been created. Monkey-patching attributes " @@ -1405,7 +1417,7 @@ msgid "" "on :func:`isinstance` checks comparing objects to the protocol. For example::" msgstr "" -#: whatsnew/3.12.rst:995 +#: whatsnew/3.12.rst:1003 msgid "" ">>> from typing import Protocol, runtime_checkable\n" ">>> @runtime_checkable\n" @@ -1426,13 +1438,13 @@ msgid "" "True" msgstr "" -#: whatsnew/3.12.rst:1012 +#: whatsnew/3.12.rst:1020 msgid "" "This change was made in order to speed up ``isinstance()`` checks against " "runtime-checkable protocols." msgstr "" -#: whatsnew/3.12.rst:1015 +#: whatsnew/3.12.rst:1023 msgid "" "The performance profile of :func:`isinstance` checks against :func:`runtime-" "checkable protocols <typing.runtime_checkable>` has changed significantly. " @@ -1443,39 +1455,39 @@ msgid "" "`74690` and :gh:`103193`.)" msgstr "" -#: whatsnew/3.12.rst:1023 +#: whatsnew/3.12.rst:1031 msgid "" "All :data:`typing.TypedDict` and :data:`typing.NamedTuple` classes now have " "the ``__orig_bases__`` attribute. (Contributed by Adrian Garcia Badaracco " "in :gh:`103699`.)" msgstr "" -#: whatsnew/3.12.rst:1027 +#: whatsnew/3.12.rst:1035 msgid "" "Add ``frozen_default`` parameter to :func:`typing.dataclass_transform`. " "(Contributed by Erik De Bonte in :gh:`99957`.)" msgstr "" -#: whatsnew/3.12.rst:1031 +#: whatsnew/3.12.rst:1039 msgid "unicodedata" msgstr "" -#: whatsnew/3.12.rst:1033 +#: whatsnew/3.12.rst:1041 msgid "" "The Unicode database has been updated to version 15.0.0. (Contributed by " "Benjamin Peterson in :gh:`96734`)." msgstr "" -#: whatsnew/3.12.rst:1587 +#: whatsnew/3.12.rst:1595 msgid "unittest" msgstr "" -#: whatsnew/3.12.rst:1039 +#: whatsnew/3.12.rst:1047 msgid "" "Add a ``--durations`` command line option, showing the N slowest test cases::" msgstr "" -#: whatsnew/3.12.rst:1041 +#: whatsnew/3.12.rst:1049 msgid "" "python3 -m unittest --durations=3 lib.tests.test_threading\n" ".....\n" @@ -1492,39 +1504,39 @@ msgid "" "OK (skipped=3)" msgstr "" -#: whatsnew/3.12.rst:1055 +#: whatsnew/3.12.rst:1063 msgid "(Contributed by Giampaolo Rodola in :gh:`48330`)" msgstr "" -#: whatsnew/3.12.rst:1058 +#: whatsnew/3.12.rst:1066 msgid "uuid" msgstr "" -#: whatsnew/3.12.rst:1060 +#: whatsnew/3.12.rst:1068 msgid "" "Add a :ref:`command-line interface <uuid-cli>`. (Contributed by Adam Chhina " "in :gh:`88597`.)" msgstr "" -#: whatsnew/3.12.rst:1065 +#: whatsnew/3.12.rst:1073 msgid "Optimizations" msgstr "" -#: whatsnew/3.12.rst:1067 +#: whatsnew/3.12.rst:1075 msgid "" "Remove ``wstr`` and ``wstr_length`` members from Unicode objects. It reduces " "object size by 8 or 16 bytes on 64bit platform. (:pep:`623`) (Contributed by " "Inada Naoki in :gh:`92536`.)" msgstr "" -#: whatsnew/3.12.rst:1071 +#: whatsnew/3.12.rst:1079 msgid "" "Add experimental support for using the BOLT binary optimizer in the build " "process, which improves performance by 1-5%. (Contributed by Kevin " "Modzelewski in :gh:`90536` and tuned by Donghee Na in :gh:`101525`)" msgstr "" -#: whatsnew/3.12.rst:1075 +#: whatsnew/3.12.rst:1083 msgid "" "Speed up the regular expression substitution (functions :func:`re.sub` and :" "func:`re.subn` and corresponding :class:`!re.Pattern` methods) for " @@ -1532,13 +1544,13 @@ msgid "" "by Serhiy Storchaka in :gh:`91524`.)" msgstr "" -#: whatsnew/3.12.rst:1080 +#: whatsnew/3.12.rst:1088 msgid "" "Speed up :class:`asyncio.Task` creation by deferring expensive string " "formatting. (Contributed by Itamar Oren in :gh:`103793`.)" msgstr "" -#: whatsnew/3.12.rst:1083 +#: whatsnew/3.12.rst:1091 msgid "" "The :func:`tokenize.tokenize` and :func:`tokenize.generate_tokens` functions " "are up to 64% faster as a side effect of the changes required to cover :pep:" @@ -1546,18 +1558,18 @@ msgid "" "Pablo Galindo in :gh:`102856`.)" msgstr "" -#: whatsnew/3.12.rst:1088 +#: whatsnew/3.12.rst:1096 msgid "" "Speed up :func:`super` method calls and attribute loads via the new :opcode:" "`LOAD_SUPER_ATTR` instruction. (Contributed by Carl Meyer and Vladimir " "Matveev in :gh:`103497`.)" msgstr "" -#: whatsnew/3.12.rst:1094 +#: whatsnew/3.12.rst:1102 msgid "CPython bytecode changes" msgstr "" -#: whatsnew/3.12.rst:1096 +#: whatsnew/3.12.rst:1104 msgid "" "Remove the :opcode:`!LOAD_METHOD` instruction. It has been merged into :" "opcode:`LOAD_ATTR`. :opcode:`LOAD_ATTR` will now behave like the old :opcode:" @@ -1565,62 +1577,62 @@ msgid "" "by Ken Jin in :gh:`93429`.)" msgstr "" -#: whatsnew/3.12.rst:1101 +#: whatsnew/3.12.rst:1109 msgid "" "Remove the :opcode:`!JUMP_IF_FALSE_OR_POP` and :opcode:`!" "JUMP_IF_TRUE_OR_POP` instructions. (Contributed by Irit Katriel in :gh:" "`102859`.)" msgstr "" -#: whatsnew/3.12.rst:1104 +#: whatsnew/3.12.rst:1112 msgid "" "Remove the :opcode:`!PRECALL` instruction. (Contributed by Mark Shannon in :" "gh:`92925`.)" msgstr "" -#: whatsnew/3.12.rst:1107 +#: whatsnew/3.12.rst:1115 msgid "" "Add the :opcode:`BINARY_SLICE` and :opcode:`STORE_SLICE` instructions. " "(Contributed by Mark Shannon in :gh:`94163`.)" msgstr "" -#: whatsnew/3.12.rst:1110 +#: whatsnew/3.12.rst:1118 msgid "" "Add the :opcode:`CALL_INTRINSIC_1` instructions. (Contributed by Mark " "Shannon in :gh:`99005`.)" msgstr "" -#: whatsnew/3.12.rst:1113 +#: whatsnew/3.12.rst:1121 msgid "" "Add the :opcode:`CALL_INTRINSIC_2` instruction. (Contributed by Irit Katriel " "in :gh:`101799`.)" msgstr "" -#: whatsnew/3.12.rst:1116 +#: whatsnew/3.12.rst:1124 msgid "" "Add the :opcode:`CLEANUP_THROW` instruction. (Contributed by Brandt Bucher " "in :gh:`90997`.)" msgstr "" -#: whatsnew/3.12.rst:1119 +#: whatsnew/3.12.rst:1127 msgid "" "Add the :opcode:`!END_SEND` instruction. (Contributed by Mark Shannon in :gh:" "`103082`.)" msgstr "" -#: whatsnew/3.12.rst:1122 +#: whatsnew/3.12.rst:1130 msgid "" "Add the :opcode:`LOAD_FAST_AND_CLEAR` instruction as part of the " "implementation of :pep:`709`. (Contributed by Carl Meyer in :gh:`101441`.)" msgstr "" -#: whatsnew/3.12.rst:1125 +#: whatsnew/3.12.rst:1133 msgid "" "Add the :opcode:`LOAD_FAST_CHECK` instruction. (Contributed by Dennis " "Sweeney in :gh:`93143`.)" msgstr "" -#: whatsnew/3.12.rst:1128 +#: whatsnew/3.12.rst:1136 msgid "" "Add the :opcode:`LOAD_FROM_DICT_OR_DEREF`, :opcode:" "`LOAD_FROM_DICT_OR_GLOBALS`, and :opcode:`LOAD_LOCALS` opcodes as part of " @@ -1629,48 +1641,48 @@ msgid "" "`LOAD_FROM_DICT_OR_DEREF`. (Contributed by Jelle Zijlstra in :gh:`103764`.)" msgstr "" -#: whatsnew/3.12.rst:1134 +#: whatsnew/3.12.rst:1142 msgid "" "Add the :opcode:`LOAD_SUPER_ATTR` instruction. (Contributed by Carl Meyer " "and Vladimir Matveev in :gh:`103497`.)" msgstr "" -#: whatsnew/3.12.rst:1137 +#: whatsnew/3.12.rst:1145 msgid "" "Add the :opcode:`RETURN_CONST` instruction. (Contributed by Wenyang Wang in :" "gh:`101632`.)" msgstr "" -#: whatsnew/3.12.rst:1140 +#: whatsnew/3.12.rst:1148 msgid "Demos and Tools" msgstr "" -#: whatsnew/3.12.rst:1142 +#: whatsnew/3.12.rst:1150 msgid "" "Remove the ``Tools/demo/`` directory which contained old demo scripts. A " "copy can be found in the `old-demos project <https://github.com/gvanrossum/" "old-demos>`_. (Contributed by Victor Stinner in :gh:`97681`.)" msgstr "" -#: whatsnew/3.12.rst:1147 +#: whatsnew/3.12.rst:1155 msgid "" "Remove outdated example scripts of the ``Tools/scripts/`` directory. A copy " "can be found in the `old-demos project <https://github.com/gvanrossum/old-" "demos>`_. (Contributed by Victor Stinner in :gh:`97669`.)" msgstr "" -#: whatsnew/3.12.rst:2145 +#: whatsnew/3.12.rst:2153 msgid "Deprecated" msgstr "" -#: whatsnew/3.12.rst:1156 deprecations/pending-removal-in-3.14.rst:4 +#: whatsnew/3.12.rst:1164 deprecations/pending-removal-in-3.14.rst:4 msgid "" ":mod:`argparse`: The *type*, *choices*, and *metavar* parameters of :class:`!" "argparse.BooleanOptionalAction` are deprecated and will be removed in 3.14. " "(Contributed by Nikita Sobolev in :gh:`92248`.)" msgstr "" -#: whatsnew/3.12.rst:1161 +#: whatsnew/3.12.rst:1169 msgid "" ":mod:`ast`: The following :mod:`ast` features have been deprecated in " "documentation since Python 3.8, now cause a :exc:`DeprecationWarning` to be " @@ -1678,37 +1690,37 @@ msgid "" "Python 3.14:" msgstr "" -#: whatsnew/3.12.rst:1165 deprecations/pending-removal-in-3.14.rst:13 +#: whatsnew/3.12.rst:1173 deprecations/pending-removal-in-3.14.rst:13 msgid ":class:`!ast.Num`" msgstr "" -#: whatsnew/3.12.rst:1166 deprecations/pending-removal-in-3.14.rst:14 +#: whatsnew/3.12.rst:1174 deprecations/pending-removal-in-3.14.rst:14 msgid ":class:`!ast.Str`" msgstr "" -#: whatsnew/3.12.rst:1167 deprecations/pending-removal-in-3.14.rst:15 +#: whatsnew/3.12.rst:1175 deprecations/pending-removal-in-3.14.rst:15 msgid ":class:`!ast.Bytes`" msgstr "" -#: whatsnew/3.12.rst:1168 deprecations/pending-removal-in-3.14.rst:16 +#: whatsnew/3.12.rst:1176 deprecations/pending-removal-in-3.14.rst:16 msgid ":class:`!ast.NameConstant`" msgstr "" -#: whatsnew/3.12.rst:1169 deprecations/pending-removal-in-3.14.rst:17 +#: whatsnew/3.12.rst:1177 deprecations/pending-removal-in-3.14.rst:17 msgid ":class:`!ast.Ellipsis`" msgstr "" -#: whatsnew/3.12.rst:1171 deprecations/pending-removal-in-3.14.rst:19 +#: whatsnew/3.12.rst:1179 deprecations/pending-removal-in-3.14.rst:19 msgid "" "Use :class:`ast.Constant` instead. (Contributed by Serhiy Storchaka in :gh:" "`90953`.)" msgstr "" -#: whatsnew/3.12.rst:1174 deprecations/pending-removal-in-3.14.rst:22 +#: whatsnew/3.12.rst:1182 deprecations/pending-removal-in-3.14.rst:22 msgid ":mod:`asyncio`:" msgstr "" -#: whatsnew/3.12.rst:1176 +#: whatsnew/3.12.rst:1184 msgid "" "The child watcher classes :class:`asyncio.MultiLoopChildWatcher`, :class:" "`asyncio.FastChildWatcher`, :class:`asyncio.AbstractChildWatcher` and :class:" @@ -1716,7 +1728,7 @@ msgid "" "3.14. (Contributed by Kumar Aditya in :gh:`94597`.)" msgstr "" -#: whatsnew/3.12.rst:1182 deprecations/pending-removal-in-3.14.rst:30 +#: whatsnew/3.12.rst:1190 deprecations/pending-removal-in-3.14.rst:30 msgid "" ":func:`asyncio.set_child_watcher`, :func:`asyncio.get_child_watcher`, :meth:" "`asyncio.AbstractEventLoopPolicy.set_child_watcher` and :meth:`asyncio." @@ -1724,7 +1736,7 @@ msgid "" "removed in Python 3.14. (Contributed by Kumar Aditya in :gh:`94597`.)" msgstr "" -#: whatsnew/3.12.rst:1188 deprecations/pending-removal-in-3.14.rst:36 +#: whatsnew/3.12.rst:1196 deprecations/pending-removal-in-3.14.rst:36 msgid "" "The :meth:`~asyncio.get_event_loop` method of the default event loop policy " "now emits a :exc:`DeprecationWarning` if there is no current event loop set " @@ -1732,14 +1744,14 @@ msgid "" "Rossum in :gh:`100160`.)" msgstr "" -#: whatsnew/3.12.rst:1193 deprecations/pending-removal-in-future.rst:41 +#: whatsnew/3.12.rst:1201 deprecations/pending-removal-in-future.rst:41 msgid "" ":mod:`calendar`: ``calendar.January`` and ``calendar.February`` constants " "are deprecated and replaced by :data:`calendar.JANUARY` and :data:`calendar." "FEBRUARY`. (Contributed by Prince Roshan in :gh:`103636`.)" msgstr "" -#: whatsnew/3.12.rst:1197 +#: whatsnew/3.12.rst:1205 msgid "" ":mod:`collections.abc`: Deprecated :class:`collections.abc.ByteString`. " "Prefer :class:`Sequence` or :class:`collections.abc.Buffer`. For use in " @@ -1747,7 +1759,7 @@ msgid "" "abc.Buffer`. (Contributed by Shantanu Jain in :gh:`91896`.)" msgstr "" -#: whatsnew/3.12.rst:1202 +#: whatsnew/3.12.rst:1210 msgid "" ":mod:`datetime`: :class:`datetime.datetime`'s :meth:`~datetime.datetime." "utcnow` and :meth:`~datetime.datetime.utcfromtimestamp` are deprecated and " @@ -1757,47 +1769,47 @@ msgid "" "set to :const:`datetime.UTC`. (Contributed by Paul Ganssle in :gh:`103857`.)" msgstr "" -#: whatsnew/3.12.rst:1210 +#: whatsnew/3.12.rst:1218 msgid "" ":mod:`email`: Deprecate the *isdst* parameter in :func:`email.utils." "localtime`. (Contributed by Alan Williams in :gh:`72346`.)" msgstr "" -#: whatsnew/3.12.rst:1213 +#: whatsnew/3.12.rst:1221 msgid "" ":mod:`importlib.abc`: Deprecated the following classes, scheduled for " "removal in Python 3.14:" msgstr "" -#: whatsnew/3.12.rst:1216 deprecations/pending-removal-in-3.14.rst:55 +#: whatsnew/3.12.rst:1224 deprecations/pending-removal-in-3.14.rst:55 msgid ":class:`!importlib.abc.ResourceReader`" msgstr "" -#: whatsnew/3.12.rst:1217 deprecations/pending-removal-in-3.14.rst:56 +#: whatsnew/3.12.rst:1225 deprecations/pending-removal-in-3.14.rst:56 msgid ":class:`!importlib.abc.Traversable`" msgstr "" -#: whatsnew/3.12.rst:1218 deprecations/pending-removal-in-3.14.rst:57 +#: whatsnew/3.12.rst:1226 deprecations/pending-removal-in-3.14.rst:57 msgid ":class:`!importlib.abc.TraversableResources`" msgstr "" -#: whatsnew/3.12.rst:1220 deprecations/pending-removal-in-3.14.rst:59 +#: whatsnew/3.12.rst:1228 deprecations/pending-removal-in-3.14.rst:59 msgid "Use :mod:`importlib.resources.abc` classes instead:" msgstr "" -#: whatsnew/3.12.rst:1222 deprecations/pending-removal-in-3.14.rst:61 +#: whatsnew/3.12.rst:1230 deprecations/pending-removal-in-3.14.rst:61 msgid ":class:`importlib.resources.abc.Traversable`" msgstr "" -#: whatsnew/3.12.rst:1223 deprecations/pending-removal-in-3.14.rst:62 +#: whatsnew/3.12.rst:1231 deprecations/pending-removal-in-3.14.rst:62 msgid ":class:`importlib.resources.abc.TraversableResources`" msgstr "" -#: whatsnew/3.12.rst:1225 deprecations/pending-removal-in-3.14.rst:64 +#: whatsnew/3.12.rst:1233 deprecations/pending-removal-in-3.14.rst:64 msgid "(Contributed by Jason R. Coombs and Hugo van Kemenade in :gh:`93963`.)" msgstr "" -#: whatsnew/3.12.rst:1227 +#: whatsnew/3.12.rst:1235 msgid "" ":mod:`itertools`: Deprecate the support for copy, deepcopy, and pickle " "operations, which is undocumented, inefficient, historically buggy, and " @@ -1806,7 +1818,7 @@ msgid "" "`101588`.)" msgstr "" -#: whatsnew/3.12.rst:1233 +#: whatsnew/3.12.rst:1241 msgid "" ":mod:`multiprocessing`: In Python 3.14, the default :mod:`multiprocessing` " "start method will change to a safer one on Linux, BSDs, and other non-macOS " @@ -1818,14 +1830,14 @@ msgid "" "methods <multiprocessing-start-methods>`." msgstr "" -#: whatsnew/3.12.rst:1243 +#: whatsnew/3.12.rst:1251 msgid "" ":mod:`pkgutil`: :func:`pkgutil.find_loader` and :func:`pkgutil.get_loader` " "are deprecated and will be removed in Python 3.14; use :func:`importlib.util." "find_spec` instead. (Contributed by Nikita Sobolev in :gh:`97850`.)" msgstr "" -#: whatsnew/3.12.rst:1248 +#: whatsnew/3.12.rst:1256 msgid "" ":mod:`pty`: The module has two undocumented ``master_open()`` and " "``slave_open()`` functions that have been deprecated since Python 2 but only " @@ -1833,11 +1845,11 @@ msgid "" "(Contributed by Soumendra Ganguly and Gregory P. Smith in :gh:`85984`.)" msgstr "" -#: whatsnew/3.12.rst:1253 +#: whatsnew/3.12.rst:1261 msgid ":mod:`os`:" msgstr "" -#: whatsnew/3.12.rst:1255 +#: whatsnew/3.12.rst:1263 msgid "" "The ``st_ctime`` fields return by :func:`os.stat` and :func:`os.lstat` on " "Windows are deprecated. In a future release, they will contain the last " @@ -1846,7 +1858,7 @@ msgid "" "``st_birthtime`` field. (Contributed by Steve Dower in :gh:`99726`.)" msgstr "" -#: whatsnew/3.12.rst:1261 +#: whatsnew/3.12.rst:1269 msgid "" "On POSIX platforms, :func:`os.fork` can now raise a :exc:" "`DeprecationWarning` when it can detect being called from a multithreaded " @@ -1860,32 +1872,32 @@ msgid "" "platform compatibility problem to developers." msgstr "" -#: whatsnew/3.12.rst:1271 +#: whatsnew/3.12.rst:1279 msgid "" "When this warning appears due to usage of :mod:`multiprocessing` or :mod:" "`concurrent.futures` the fix is to use a different :mod:`multiprocessing` " "start method such as ``\"spawn\"`` or ``\"forkserver\"``." msgstr "" -#: whatsnew/3.12.rst:1275 +#: whatsnew/3.12.rst:1283 msgid "" ":mod:`shutil`: The *onerror* argument of :func:`shutil.rmtree` is " "deprecated; use *onexc* instead. (Contributed by Irit Katriel in :gh:" "`102828`.)" msgstr "" -#: whatsnew/3.12.rst:1278 deprecations/pending-removal-in-3.14.rst:94 +#: whatsnew/3.12.rst:1286 deprecations/pending-removal-in-3.14.rst:94 msgid ":mod:`sqlite3`:" msgstr "" -#: whatsnew/3.12.rst:1280 +#: whatsnew/3.12.rst:1288 msgid "" ":ref:`default adapters and converters <sqlite3-default-converters>` are now " "deprecated. Instead, use the :ref:`sqlite3-adapter-converter-recipes` and " "tailor them to your needs. (Contributed by Erlend E. Aasland in :gh:`90016`.)" msgstr "" -#: whatsnew/3.12.rst:1286 +#: whatsnew/3.12.rst:1294 msgid "" "In :meth:`~sqlite3.Cursor.execute`, :exc:`DeprecationWarning` is now emitted " "when :ref:`named placeholders <sqlite3-placeholders>` are used together with " @@ -1895,39 +1907,39 @@ msgid "" "Erlend E. Aasland in :gh:`101698`.)" msgstr "" -#: whatsnew/3.12.rst:1293 +#: whatsnew/3.12.rst:1301 msgid "" ":mod:`sys`: The :data:`sys.last_type`, :data:`sys.last_value` and :data:`sys." "last_traceback` fields are deprecated. Use :data:`sys.last_exc` instead. " "(Contributed by Irit Katriel in :gh:`102778`.)" msgstr "" -#: whatsnew/3.12.rst:1297 +#: whatsnew/3.12.rst:1305 msgid "" ":mod:`tarfile`: Extracting tar archives without specifying *filter* is " "deprecated until Python 3.14, when ``'data'`` filter will become the " "default. See :ref:`tarfile-extraction-filter` for details." msgstr "" -#: whatsnew/3.12.rst:1301 deprecations/pending-removal-in-3.15.rst:53 +#: whatsnew/3.12.rst:1309 deprecations/pending-removal-in-3.15.rst:58 msgid ":mod:`typing`:" msgstr "" -#: whatsnew/3.12.rst:1303 +#: whatsnew/3.12.rst:1311 msgid "" ":class:`typing.Hashable` and :class:`typing.Sized`, aliases for :class:" "`collections.abc.Hashable` and :class:`collections.abc.Sized` respectively, " "are deprecated. (:gh:`94309`.)" msgstr "" -#: whatsnew/3.12.rst:1307 +#: whatsnew/3.12.rst:1315 msgid "" ":class:`typing.ByteString`, deprecated since Python 3.9, now causes a :exc:" "`DeprecationWarning` to be emitted when it is used. (Contributed by Alex " "Waygood in :gh:`91896`.)" msgstr "" -#: whatsnew/3.12.rst:1311 +#: whatsnew/3.12.rst:1319 msgid "" ":mod:`xml.etree.ElementTree`: The module now emits :exc:`DeprecationWarning` " "when testing the truth value of an :class:`xml.etree.ElementTree.Element`. " @@ -1935,7 +1947,7 @@ msgid "" "implementation emitted nothing. (Contributed by Jacob Walls in :gh:`83122`.)" msgstr "" -#: whatsnew/3.12.rst:1317 +#: whatsnew/3.12.rst:1325 msgid "" "The 3-arg signatures (type, value, traceback) of :meth:`coroutine throw() " "<coroutine.throw>`, :meth:`generator throw() <generator.throw>` and :meth:" @@ -1944,7 +1956,7 @@ msgid "" "instead. (Contributed by Ofey Chan in :gh:`89874`.)" msgstr "" -#: whatsnew/3.12.rst:1323 +#: whatsnew/3.12.rst:1331 msgid "" ":exc:`DeprecationWarning` is now raised when :attr:`~module.__package__` on " "a module differs from :attr:`__spec__.parent <importlib.machinery.ModuleSpec." @@ -1952,7 +1964,7 @@ msgid "" "Cannon in :gh:`65961`.)" msgstr "" -#: whatsnew/3.12.rst:1329 +#: whatsnew/3.12.rst:1337 msgid "" "Setting :attr:`~module.__package__` or :attr:`~module.__cached__` on a " "module is deprecated, and will cease to be set or taken into consideration " @@ -1960,7 +1972,7 @@ msgid "" "`65961`.)" msgstr "" -#: whatsnew/3.12.rst:1333 +#: whatsnew/3.12.rst:1341 msgid "" "The bitwise inversion operator (``~``) on bool is deprecated. It will throw " "an error in Python 3.16. Use ``not`` for logical negation of bools instead. " @@ -1969,7 +1981,7 @@ msgid "" "Tim Hoffmann in :gh:`103487`.)" msgstr "" -#: whatsnew/3.12.rst:1339 +#: whatsnew/3.12.rst:1347 msgid "" "Accessing :attr:`~codeobject.co_lnotab` on code objects was deprecated in " "Python 3.10 via :pep:`626`, but it only got a proper :exc:" @@ -2306,6 +2318,16 @@ msgid "" msgstr "" #: deprecations/pending-removal-in-3.15.rst:31 +msgid ":mod:`sysconfig`:" +msgstr "" + +#: deprecations/pending-removal-in-3.15.rst:33 +msgid "" +"The *check_home* argument of :func:`sysconfig.is_python_build` has been " +"deprecated since Python 3.12." +msgstr "" + +#: deprecations/pending-removal-in-3.15.rst:36 msgid "" ":mod:`threading`: Passing any arguments to :func:`threading.RLock` is now " "deprecated. C version allows any numbers of args and kwargs, but they are " @@ -2314,11 +2336,11 @@ msgid "" "Nikita Sobolev in :gh:`102029`.)" msgstr "" -#: deprecations/pending-removal-in-3.15.rst:38 +#: deprecations/pending-removal-in-3.15.rst:43 msgid ":class:`typing.NamedTuple`:" msgstr "" -#: deprecations/pending-removal-in-3.15.rst:40 +#: deprecations/pending-removal-in-3.15.rst:45 msgid "" "The undocumented keyword argument syntax for creating :class:`!NamedTuple` " "classes (``NT = NamedTuple(\"NT\", x=int)``) is deprecated, and will be " @@ -2326,11 +2348,11 @@ msgid "" "instead." msgstr "" -#: deprecations/pending-removal-in-3.15.rst:44 +#: deprecations/pending-removal-in-3.15.rst:49 msgid ":mod:`types`:" msgstr "" -#: deprecations/pending-removal-in-3.15.rst:46 +#: deprecations/pending-removal-in-3.15.rst:51 msgid "" ":class:`types.CodeType`: Accessing :attr:`~codeobject.co_lnotab` was " "deprecated in :pep:`626` since 3.10 and was planned to be removed in 3.12, " @@ -2338,7 +2360,7 @@ msgid "" "in 3.15. (Contributed by Nikita Sobolev in :gh:`101866`.)" msgstr "" -#: deprecations/pending-removal-in-3.15.rst:55 +#: deprecations/pending-removal-in-3.15.rst:60 msgid "" "When using the functional syntax to create a :class:`!NamedTuple` class, " "failing to pass a value to the *fields* parameter (``NT = " @@ -2349,7 +2371,7 @@ msgid "" "[])``." msgstr "" -#: deprecations/pending-removal-in-3.15.rst:62 +#: deprecations/pending-removal-in-3.15.rst:67 msgid "" ":class:`typing.TypedDict`: When using the functional syntax to create a :" "class:`!TypedDict` class, failing to pass a value to the *fields* parameter " @@ -2359,7 +2381,7 @@ msgid "" "fields, use ``class TD(TypedDict): pass`` or ``TD = TypedDict(\"TD\", {})``." msgstr "" -#: deprecations/pending-removal-in-3.15.rst:69 +#: deprecations/pending-removal-in-3.15.rst:74 msgid "" ":mod:`wave`: Deprecate the ``getmark()``, ``setmark()`` and ``getmarkers()`` " "methods of the :class:`wave.Wave_read` and :class:`wave.Wave_write` classes. " @@ -2616,119 +2638,113 @@ msgid "``ssl.TLSVersion.TLSv1_1``" msgstr "" #: deprecations/pending-removal-in-future.rst:105 -msgid "" -":func:`sysconfig.is_python_build` *check_home* parameter is deprecated and " -"ignored." -msgstr "" - -#: deprecations/pending-removal-in-future.rst:108 msgid ":mod:`threading` methods:" msgstr "" -#: deprecations/pending-removal-in-future.rst:110 +#: deprecations/pending-removal-in-future.rst:107 msgid "" ":meth:`!threading.Condition.notifyAll`: use :meth:`~threading.Condition." "notify_all`." msgstr "" -#: deprecations/pending-removal-in-future.rst:111 +#: deprecations/pending-removal-in-future.rst:108 msgid ":meth:`!threading.Event.isSet`: use :meth:`~threading.Event.is_set`." msgstr "" -#: deprecations/pending-removal-in-future.rst:112 +#: deprecations/pending-removal-in-future.rst:109 msgid "" ":meth:`!threading.Thread.isDaemon`, :meth:`threading.Thread.setDaemon`: use :" "attr:`threading.Thread.daemon` attribute." msgstr "" -#: deprecations/pending-removal-in-future.rst:114 +#: deprecations/pending-removal-in-future.rst:111 msgid "" ":meth:`!threading.Thread.getName`, :meth:`threading.Thread.setName`: use :" "attr:`threading.Thread.name` attribute." msgstr "" -#: deprecations/pending-removal-in-future.rst:116 +#: deprecations/pending-removal-in-future.rst:113 msgid ":meth:`!threading.currentThread`: use :meth:`threading.current_thread`." msgstr "" -#: deprecations/pending-removal-in-future.rst:117 +#: deprecations/pending-removal-in-future.rst:114 msgid ":meth:`!threading.activeCount`: use :meth:`threading.active_count`." msgstr "" -#: deprecations/pending-removal-in-future.rst:119 +#: deprecations/pending-removal-in-future.rst:116 msgid ":class:`typing.Text` (:gh:`92332`)." msgstr "" -#: deprecations/pending-removal-in-future.rst:121 +#: deprecations/pending-removal-in-future.rst:118 msgid "" ":class:`unittest.IsolatedAsyncioTestCase`: it is deprecated to return a " "value that is not ``None`` from a test case." msgstr "" -#: deprecations/pending-removal-in-future.rst:124 +#: deprecations/pending-removal-in-future.rst:121 msgid "" ":mod:`urllib.parse` deprecated functions: :func:`~urllib.parse.urlparse` " "instead" msgstr "" -#: deprecations/pending-removal-in-future.rst:126 +#: deprecations/pending-removal-in-future.rst:123 msgid "``splitattr()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:127 +#: deprecations/pending-removal-in-future.rst:124 msgid "``splithost()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:128 +#: deprecations/pending-removal-in-future.rst:125 msgid "``splitnport()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:129 +#: deprecations/pending-removal-in-future.rst:126 msgid "``splitpasswd()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:130 +#: deprecations/pending-removal-in-future.rst:127 msgid "``splitport()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:131 +#: deprecations/pending-removal-in-future.rst:128 msgid "``splitquery()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:132 +#: deprecations/pending-removal-in-future.rst:129 msgid "``splittag()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:133 +#: deprecations/pending-removal-in-future.rst:130 msgid "``splittype()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:134 +#: deprecations/pending-removal-in-future.rst:131 msgid "``splituser()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:135 +#: deprecations/pending-removal-in-future.rst:132 msgid "``splitvalue()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:136 +#: deprecations/pending-removal-in-future.rst:133 msgid "``to_bytes()``" msgstr "" -#: deprecations/pending-removal-in-future.rst:138 +#: deprecations/pending-removal-in-future.rst:135 msgid "" ":mod:`urllib.request`: :class:`~urllib.request.URLopener` and :class:" "`~urllib.request.FancyURLopener` style of invoking requests is deprecated. " "Use newer :func:`~urllib.request.urlopen` functions and methods." msgstr "" -#: deprecations/pending-removal-in-future.rst:142 +#: deprecations/pending-removal-in-future.rst:139 msgid "" ":mod:`wsgiref`: ``SimpleHandler.stdout.write()`` should not do partial " "writes." msgstr "" -#: deprecations/pending-removal-in-future.rst:145 +#: deprecations/pending-removal-in-future.rst:142 msgid "" ":mod:`xml.etree.ElementTree`: Testing the truth value of an :class:`~xml." "etree.ElementTree.Element` is deprecated. In a future release it will always " @@ -2736,60 +2752,60 @@ msgid "" "instead." msgstr "" -#: deprecations/pending-removal-in-future.rst:150 +#: deprecations/pending-removal-in-future.rst:147 msgid "" ":meth:`zipimport.zipimporter.load_module` is deprecated: use :meth:" "`~zipimport.zipimporter.exec_module` instead." msgstr "" -#: whatsnew/3.12.rst:2240 +#: whatsnew/3.12.rst:2248 msgid "Removed" msgstr "" -#: whatsnew/3.12.rst:1361 +#: whatsnew/3.12.rst:1369 msgid "asynchat and asyncore" msgstr "" -#: whatsnew/3.12.rst:1363 +#: whatsnew/3.12.rst:1371 msgid "" "These two modules have been removed according to the schedule in :pep:`594`, " "having been deprecated in Python 3.6. Use :mod:`asyncio` instead. " "(Contributed by Nikita Sobolev in :gh:`96580`.)" msgstr "" -#: whatsnew/3.12.rst:1370 +#: whatsnew/3.12.rst:1378 msgid "configparser" msgstr "" -#: whatsnew/3.12.rst:1372 +#: whatsnew/3.12.rst:1380 msgid "" "Several names deprecated in the :mod:`configparser` way back in 3.2 have " "been removed per :gh:`89336`:" msgstr "" -#: whatsnew/3.12.rst:1375 +#: whatsnew/3.12.rst:1383 msgid "" ":class:`configparser.ParsingError` no longer has a ``filename`` attribute or " "argument. Use the ``source`` attribute and argument instead." msgstr "" -#: whatsnew/3.12.rst:1377 +#: whatsnew/3.12.rst:1385 msgid "" ":mod:`configparser` no longer has a ``SafeConfigParser`` class. Use the " "shorter :class:`~configparser.ConfigParser` name instead." msgstr "" -#: whatsnew/3.12.rst:1379 +#: whatsnew/3.12.rst:1387 msgid "" ":class:`configparser.ConfigParser` no longer has a ``readfp`` method. Use :" "meth:`~configparser.ConfigParser.read_file` instead." msgstr "" -#: whatsnew/3.12.rst:1385 +#: whatsnew/3.12.rst:1393 msgid "distutils" msgstr "" -#: whatsnew/3.12.rst:1387 +#: whatsnew/3.12.rst:1395 msgid "" "Remove the :py:mod:`!distutils` package. It was deprecated in Python 3.10 " "by :pep:`632` \"Deprecate distutils module\". For projects still using " @@ -2798,17 +2814,17 @@ msgid "" "Victor Stinner in :gh:`92584`.)" msgstr "" -#: whatsnew/3.12.rst:1394 +#: whatsnew/3.12.rst:1402 msgid "ensurepip" msgstr "" -#: whatsnew/3.12.rst:1396 +#: whatsnew/3.12.rst:1404 msgid "" "Remove the bundled setuptools wheel from :mod:`ensurepip`, and stop " "installing setuptools in environments created by :mod:`venv`." msgstr "" -#: whatsnew/3.12.rst:1399 +#: whatsnew/3.12.rst:1407 msgid "" "``pip (>= 22.1)`` does not require setuptools to be installed in the " "environment. ``setuptools``-based (and ``distutils``-based) packages can " @@ -2816,7 +2832,7 @@ msgid "" "the build environment it uses for building a package." msgstr "" -#: whatsnew/3.12.rst:1405 +#: whatsnew/3.12.rst:1413 msgid "" "``easy_install``, ``pkg_resources``, ``setuptools`` and ``distutils`` are no " "longer provided by default in environments created with ``venv`` or " @@ -2826,35 +2842,35 @@ msgid "" "(typically, using pip)." msgstr "" -#: whatsnew/3.12.rst:1412 +#: whatsnew/3.12.rst:1420 msgid "(Contributed by Pradyun Gedam in :gh:`95299`.)" msgstr "" -#: whatsnew/3.12.rst:1415 +#: whatsnew/3.12.rst:1423 msgid "enum" msgstr "" -#: whatsnew/3.12.rst:1417 +#: whatsnew/3.12.rst:1425 msgid "" "Remove :mod:`enum`'s ``EnumMeta.__getattr__``, which is no longer needed for " "enum attribute access. (Contributed by Ethan Furman in :gh:`95083`.)" msgstr "" -#: whatsnew/3.12.rst:1422 +#: whatsnew/3.12.rst:1430 msgid "ftplib" msgstr "" -#: whatsnew/3.12.rst:1424 +#: whatsnew/3.12.rst:1432 msgid "" "Remove :mod:`ftplib`'s ``FTP_TLS.ssl_version`` class attribute: use the " "*context* parameter instead. (Contributed by Victor Stinner in :gh:`94172`.)" msgstr "" -#: whatsnew/3.12.rst:1429 +#: whatsnew/3.12.rst:1437 msgid "gzip" msgstr "" -#: whatsnew/3.12.rst:1431 +#: whatsnew/3.12.rst:1439 msgid "" "Remove the ``filename`` attribute of :mod:`gzip`'s :class:`gzip.GzipFile`, " "deprecated since Python 2.6, use the :attr:`~gzip.GzipFile.name` attribute " @@ -2863,11 +2879,11 @@ msgid "" "`94196`.)" msgstr "" -#: whatsnew/3.12.rst:1438 +#: whatsnew/3.12.rst:1446 msgid "hashlib" msgstr "" -#: whatsnew/3.12.rst:1440 +#: whatsnew/3.12.rst:1448 msgid "" "Remove the pure Python implementation of :mod:`hashlib`'s :func:`hashlib." "pbkdf2_hmac`, deprecated in Python 3.10. Python 3.10 and newer requires " @@ -2876,150 +2892,150 @@ msgid "" "Stinner in :gh:`94199`.)" msgstr "" -#: whatsnew/3.12.rst:1476 +#: whatsnew/3.12.rst:1484 msgid "importlib" msgstr "" -#: whatsnew/3.12.rst:1449 +#: whatsnew/3.12.rst:1457 msgid "" "Many previously deprecated cleanups in :mod:`importlib` have now been " "completed:" msgstr "" -#: whatsnew/3.12.rst:1452 +#: whatsnew/3.12.rst:1460 msgid "" "References to, and support for :meth:`!module_repr` has been removed. " "(Contributed by Barry Warsaw in :gh:`97850`.)" msgstr "" -#: whatsnew/3.12.rst:1455 +#: whatsnew/3.12.rst:1463 msgid "" "``importlib.util.set_package``, ``importlib.util.set_loader`` and " "``importlib.util.module_for_loader`` have all been removed. (Contributed by " "Brett Cannon and Nikita Sobolev in :gh:`65961` and :gh:`97850`.)" msgstr "" -#: whatsnew/3.12.rst:1459 +#: whatsnew/3.12.rst:1467 msgid "" "Support for ``find_loader()`` and ``find_module()`` APIs have been removed. " "(Contributed by Barry Warsaw in :gh:`98040`.)" msgstr "" -#: whatsnew/3.12.rst:1462 +#: whatsnew/3.12.rst:1470 msgid "" "``importlib.abc.Finder``, ``pkgutil.ImpImporter``, and ``pkgutil.ImpLoader`` " "have been removed. (Contributed by Barry Warsaw in :gh:`98040`.)" msgstr "" -#: whatsnew/3.12.rst:1476 +#: whatsnew/3.12.rst:1484 msgid "imp" msgstr "" -#: whatsnew/3.12.rst:1470 +#: whatsnew/3.12.rst:1478 msgid "" "The :mod:`!imp` module has been removed. (Contributed by Barry Warsaw in :" "gh:`98040`.)" msgstr "" -#: whatsnew/3.12.rst:1473 +#: whatsnew/3.12.rst:1481 msgid "To migrate, consult the following correspondence table:" msgstr "" -#: whatsnew/3.12.rst:1478 +#: whatsnew/3.12.rst:1486 msgid "``imp.NullImporter``" msgstr "" -#: whatsnew/3.12.rst:1478 +#: whatsnew/3.12.rst:1486 msgid "Insert ``None`` into ``sys.path_importer_cache``" msgstr "" -#: whatsnew/3.12.rst:1479 +#: whatsnew/3.12.rst:1487 msgid "``imp.cache_from_source()``" msgstr "" -#: whatsnew/3.12.rst:1479 +#: whatsnew/3.12.rst:1487 msgid ":func:`importlib.util.cache_from_source`" msgstr "" -#: whatsnew/3.12.rst:1480 +#: whatsnew/3.12.rst:1488 msgid "``imp.find_module()``" msgstr "" -#: whatsnew/3.12.rst:1480 +#: whatsnew/3.12.rst:1488 msgid ":func:`importlib.util.find_spec`" msgstr "" -#: whatsnew/3.12.rst:1481 +#: whatsnew/3.12.rst:1489 msgid "``imp.get_magic()``" msgstr "" -#: whatsnew/3.12.rst:1481 +#: whatsnew/3.12.rst:1489 msgid ":const:`importlib.util.MAGIC_NUMBER`" msgstr "" -#: whatsnew/3.12.rst:1482 +#: whatsnew/3.12.rst:1490 msgid "``imp.get_suffixes()``" msgstr "" -#: whatsnew/3.12.rst:1482 +#: whatsnew/3.12.rst:1490 msgid "" ":const:`importlib.machinery.SOURCE_SUFFIXES`, :const:`importlib.machinery." "EXTENSION_SUFFIXES`, and :const:`importlib.machinery.BYTECODE_SUFFIXES`" msgstr "" -#: whatsnew/3.12.rst:1483 +#: whatsnew/3.12.rst:1491 msgid "``imp.get_tag()``" msgstr "" -#: whatsnew/3.12.rst:1483 +#: whatsnew/3.12.rst:1491 msgid ":attr:`sys.implementation.cache_tag <sys.implementation>`" msgstr "" -#: whatsnew/3.12.rst:1484 +#: whatsnew/3.12.rst:1492 msgid "``imp.load_module()``" msgstr "" -#: whatsnew/3.12.rst:1484 +#: whatsnew/3.12.rst:1492 msgid ":func:`importlib.import_module`" msgstr "" -#: whatsnew/3.12.rst:1485 +#: whatsnew/3.12.rst:1493 msgid "``imp.new_module(name)``" msgstr "" -#: whatsnew/3.12.rst:1485 +#: whatsnew/3.12.rst:1493 msgid "``types.ModuleType(name)``" msgstr "" -#: whatsnew/3.12.rst:1486 +#: whatsnew/3.12.rst:1494 msgid "``imp.reload()``" msgstr "" -#: whatsnew/3.12.rst:1486 +#: whatsnew/3.12.rst:1494 msgid ":func:`importlib.reload`" msgstr "" -#: whatsnew/3.12.rst:1487 +#: whatsnew/3.12.rst:1495 msgid "``imp.source_from_cache()``" msgstr "" -#: whatsnew/3.12.rst:1487 +#: whatsnew/3.12.rst:1495 msgid ":func:`importlib.util.source_from_cache`" msgstr "" -#: whatsnew/3.12.rst:1488 +#: whatsnew/3.12.rst:1496 msgid "``imp.load_source()``" msgstr "" -#: whatsnew/3.12.rst:1488 +#: whatsnew/3.12.rst:1496 msgid "*See below*" msgstr "" -#: whatsnew/3.12.rst:1491 +#: whatsnew/3.12.rst:1499 msgid "Replace ``imp.load_source()`` with::" msgstr "" -#: whatsnew/3.12.rst:1493 +#: whatsnew/3.12.rst:1501 msgid "" "import importlib.util\n" "import importlib.machinery\n" @@ -3036,48 +3052,48 @@ msgid "" " return module" msgstr "" -#: whatsnew/3.12.rst:1506 +#: whatsnew/3.12.rst:1514 msgid "Remove :mod:`!imp` functions and attributes with no replacements:" msgstr "" -#: whatsnew/3.12.rst:1508 +#: whatsnew/3.12.rst:1516 msgid "Undocumented functions:" msgstr "" -#: whatsnew/3.12.rst:1510 +#: whatsnew/3.12.rst:1518 msgid "``imp.init_builtin()``" msgstr "" -#: whatsnew/3.12.rst:1511 +#: whatsnew/3.12.rst:1519 msgid "``imp.load_compiled()``" msgstr "" -#: whatsnew/3.12.rst:1512 +#: whatsnew/3.12.rst:1520 msgid "``imp.load_dynamic()``" msgstr "" -#: whatsnew/3.12.rst:1513 +#: whatsnew/3.12.rst:1521 msgid "``imp.load_package()``" msgstr "" -#: whatsnew/3.12.rst:1515 +#: whatsnew/3.12.rst:1523 msgid "" "``imp.lock_held()``, ``imp.acquire_lock()``, ``imp.release_lock()``: the " "locking scheme has changed in Python 3.3 to per-module locks." msgstr "" -#: whatsnew/3.12.rst:1517 +#: whatsnew/3.12.rst:1525 msgid "" "``imp.find_module()`` constants: ``SEARCH_ERROR``, ``PY_SOURCE``, " "``PY_COMPILED``, ``C_EXTENSION``, ``PY_RESOURCE``, ``PKG_DIRECTORY``, " "``C_BUILTIN``, ``PY_FROZEN``, ``PY_CODERESOURCE``, ``IMP_HOOK``." msgstr "" -#: whatsnew/3.12.rst:1522 +#: whatsnew/3.12.rst:1530 msgid "io" msgstr "" -#: whatsnew/3.12.rst:1524 +#: whatsnew/3.12.rst:1532 msgid "" "Remove :mod:`io`'s ``io.OpenWrapper`` and ``_pyio.OpenWrapper``, deprecated " "in Python 3.10: just use :func:`open` instead. The :func:`open` (:func:`io." @@ -3086,22 +3102,22 @@ msgid "" "`94169`.)" msgstr "" -#: whatsnew/3.12.rst:1531 +#: whatsnew/3.12.rst:1539 msgid "locale" msgstr "" -#: whatsnew/3.12.rst:1533 +#: whatsnew/3.12.rst:1541 msgid "" "Remove :mod:`locale`'s :func:`!locale.format` function, deprecated in Python " "3.7: use :func:`locale.format_string` instead. (Contributed by Victor " "Stinner in :gh:`94226`.)" msgstr "" -#: whatsnew/3.12.rst:1538 +#: whatsnew/3.12.rst:1546 msgid "smtpd" msgstr "" -#: whatsnew/3.12.rst:1540 +#: whatsnew/3.12.rst:1548 msgid "" "The ``smtpd`` module has been removed according to the schedule in :pep:" "`594`, having been deprecated in Python 3.4.7 and 3.5.4. Use the :pypi:" @@ -3109,27 +3125,27 @@ msgid "" "(Contributed by Oleg Iarygin in :gh:`93243`.)" msgstr "" -#: whatsnew/3.12.rst:1549 +#: whatsnew/3.12.rst:1557 msgid "" "The following undocumented :mod:`sqlite3` features, deprecated in Python " "3.10, are now removed:" msgstr "" -#: whatsnew/3.12.rst:1552 +#: whatsnew/3.12.rst:1560 msgid "``sqlite3.enable_shared_cache()``" msgstr "" -#: whatsnew/3.12.rst:1553 +#: whatsnew/3.12.rst:1561 msgid "``sqlite3.OptimizedUnicode``" msgstr "" -#: whatsnew/3.12.rst:1555 +#: whatsnew/3.12.rst:1563 msgid "" "If a shared cache must be used, open the database in URI mode using the " "``cache=shared`` query parameter." msgstr "" -#: whatsnew/3.12.rst:1558 +#: whatsnew/3.12.rst:1566 msgid "" "The ``sqlite3.OptimizedUnicode`` text factory has been an alias for :class:" "`str` since Python 3.3. Code that previously set the text factory to " @@ -3137,22 +3153,22 @@ msgid "" "default value which is also ``str``." msgstr "" -#: whatsnew/3.12.rst:1563 +#: whatsnew/3.12.rst:1571 msgid "(Contributed by Erlend E. Aasland in :gh:`92548`.)" msgstr "" -#: whatsnew/3.12.rst:1566 +#: whatsnew/3.12.rst:1574 msgid "ssl" msgstr "" -#: whatsnew/3.12.rst:1568 +#: whatsnew/3.12.rst:1576 msgid "" "Remove :mod:`ssl`'s :func:`!ssl.RAND_pseudo_bytes` function, deprecated in " "Python 3.6: use :func:`os.urandom` or :func:`ssl.RAND_bytes` instead. " "(Contributed by Victor Stinner in :gh:`94199`.)" msgstr "" -#: whatsnew/3.12.rst:1572 +#: whatsnew/3.12.rst:1580 msgid "" "Remove the :func:`!ssl.match_hostname` function. It was deprecated in Python " "3.7. OpenSSL performs hostname matching since Python 3.7, Python no longer " @@ -3160,7 +3176,7 @@ msgid "" "Stinner in :gh:`94199`.)" msgstr "" -#: whatsnew/3.12.rst:1578 +#: whatsnew/3.12.rst:1586 msgid "" "Remove the :func:`!ssl.wrap_socket` function, deprecated in Python 3.7: " "instead, create a :class:`ssl.SSLContext` object and call its :class:`ssl." @@ -3171,185 +3187,185 @@ msgid "" "`94199`.)" msgstr "" -#: whatsnew/3.12.rst:1589 +#: whatsnew/3.12.rst:1597 msgid "Remove many long-deprecated :mod:`unittest` features:" msgstr "" -#: whatsnew/3.12.rst:1593 +#: whatsnew/3.12.rst:1601 msgid "A number of :class:`~unittest.TestCase` method aliases:" msgstr "" -#: whatsnew/3.12.rst:1596 +#: whatsnew/3.12.rst:1604 msgid "Deprecated alias" msgstr "" -#: whatsnew/3.12.rst:1596 +#: whatsnew/3.12.rst:1604 msgid "Method Name" msgstr "" -#: whatsnew/3.12.rst:1596 +#: whatsnew/3.12.rst:1604 msgid "Deprecated in" msgstr "" -#: whatsnew/3.12.rst:1598 +#: whatsnew/3.12.rst:1606 msgid "``failUnless``" msgstr "" -#: whatsnew/3.12.rst:1605 +#: whatsnew/3.12.rst:1613 msgid ":meth:`.assertTrue`" msgstr "" -#: whatsnew/3.12.rst:1599 whatsnew/3.12.rst:1601 whatsnew/3.12.rst:1603 -#: whatsnew/3.12.rst:1604 +#: whatsnew/3.12.rst:1607 whatsnew/3.12.rst:1609 whatsnew/3.12.rst:1611 +#: whatsnew/3.12.rst:1612 msgid "3.1" msgstr "" -#: whatsnew/3.12.rst:1599 +#: whatsnew/3.12.rst:1607 msgid "``failIf``" msgstr "" -#: whatsnew/3.12.rst:1599 +#: whatsnew/3.12.rst:1607 msgid ":meth:`.assertFalse`" msgstr "" -#: whatsnew/3.12.rst:1600 +#: whatsnew/3.12.rst:1608 msgid "``failUnlessEqual``" msgstr "" -#: whatsnew/3.12.rst:1606 +#: whatsnew/3.12.rst:1614 msgid ":meth:`.assertEqual`" msgstr "" -#: whatsnew/3.12.rst:1601 +#: whatsnew/3.12.rst:1609 msgid "``failIfEqual``" msgstr "" -#: whatsnew/3.12.rst:1607 +#: whatsnew/3.12.rst:1615 msgid ":meth:`.assertNotEqual`" msgstr "" -#: whatsnew/3.12.rst:1602 +#: whatsnew/3.12.rst:1610 msgid "``failUnlessAlmostEqual``" msgstr "" -#: whatsnew/3.12.rst:1608 +#: whatsnew/3.12.rst:1616 msgid ":meth:`.assertAlmostEqual`" msgstr "" -#: whatsnew/3.12.rst:1603 +#: whatsnew/3.12.rst:1611 msgid "``failIfAlmostEqual``" msgstr "" -#: whatsnew/3.12.rst:1609 +#: whatsnew/3.12.rst:1617 msgid ":meth:`.assertNotAlmostEqual`" msgstr "" -#: whatsnew/3.12.rst:1604 +#: whatsnew/3.12.rst:1612 msgid "``failUnlessRaises``" msgstr "" -#: whatsnew/3.12.rst:1604 +#: whatsnew/3.12.rst:1612 msgid ":meth:`.assertRaises`" msgstr "" -#: whatsnew/3.12.rst:1605 +#: whatsnew/3.12.rst:1613 msgid "``assert_``" msgstr "" -#: whatsnew/3.12.rst:1606 whatsnew/3.12.rst:1608 whatsnew/3.12.rst:1610 -#: whatsnew/3.12.rst:1611 +#: whatsnew/3.12.rst:1614 whatsnew/3.12.rst:1616 whatsnew/3.12.rst:1618 +#: whatsnew/3.12.rst:1619 msgid "3.2" msgstr "" -#: whatsnew/3.12.rst:1606 +#: whatsnew/3.12.rst:1614 msgid "``assertEquals``" msgstr "" -#: whatsnew/3.12.rst:1607 +#: whatsnew/3.12.rst:1615 msgid "``assertNotEquals``" msgstr "" -#: whatsnew/3.12.rst:1608 +#: whatsnew/3.12.rst:1616 msgid "``assertAlmostEquals``" msgstr "" -#: whatsnew/3.12.rst:1609 +#: whatsnew/3.12.rst:1617 msgid "``assertNotAlmostEquals``" msgstr "" -#: whatsnew/3.12.rst:1610 +#: whatsnew/3.12.rst:1618 msgid "``assertRegexpMatches``" msgstr "" -#: whatsnew/3.12.rst:1610 +#: whatsnew/3.12.rst:1618 msgid ":meth:`.assertRegex`" msgstr "" -#: whatsnew/3.12.rst:1611 +#: whatsnew/3.12.rst:1619 msgid "``assertRaisesRegexp``" msgstr "" -#: whatsnew/3.12.rst:1611 +#: whatsnew/3.12.rst:1619 msgid ":meth:`.assertRaisesRegex`" msgstr "" -#: whatsnew/3.12.rst:1612 +#: whatsnew/3.12.rst:1620 msgid "``assertNotRegexpMatches``" msgstr "" -#: whatsnew/3.12.rst:1612 +#: whatsnew/3.12.rst:1620 msgid ":meth:`.assertNotRegex`" msgstr "" -#: whatsnew/3.12.rst:1612 +#: whatsnew/3.12.rst:1620 msgid "3.5" msgstr "" -#: whatsnew/3.12.rst:1615 +#: whatsnew/3.12.rst:1623 msgid "" "You can use https://github.com/isidentical/teyit to automatically modernise " "your unit tests." msgstr "" -#: whatsnew/3.12.rst:1618 +#: whatsnew/3.12.rst:1626 msgid "" "Undocumented and broken :class:`~unittest.TestCase` method " "``assertDictContainsSubset`` (deprecated in Python 3.2)." msgstr "" -#: whatsnew/3.12.rst:1621 +#: whatsnew/3.12.rst:1629 msgid "" "Undocumented :meth:`TestLoader.loadTestsFromModule <unittest.TestLoader." "loadTestsFromModule>` parameter *use_load_tests* (deprecated and ignored " "since Python 3.5)." msgstr "" -#: whatsnew/3.12.rst:1625 +#: whatsnew/3.12.rst:1633 msgid "" "An alias of the :class:`~unittest.TextTestResult` class: ``_TextTestResult`` " "(deprecated in Python 3.2)." msgstr "" -#: whatsnew/3.12.rst:1628 +#: whatsnew/3.12.rst:1636 msgid "(Contributed by Serhiy Storchaka in :gh:`89325`.)" msgstr "" -#: whatsnew/3.12.rst:1631 +#: whatsnew/3.12.rst:1639 msgid "webbrowser" msgstr "" -#: whatsnew/3.12.rst:1633 +#: whatsnew/3.12.rst:1641 msgid "" "Remove support for obsolete browsers from :mod:`webbrowser`. The removed " "browsers include: Grail, Mosaic, Netscape, Galeon, Skipstone, Iceape, " "Firebird, and Firefox versions 35 and below (:gh:`102871`)." msgstr "" -#: whatsnew/3.12.rst:1638 +#: whatsnew/3.12.rst:1646 msgid "xml.etree.ElementTree" msgstr "" -#: whatsnew/3.12.rst:1640 +#: whatsnew/3.12.rst:1648 msgid "" "Remove the ``ElementTree.Element.copy()`` method of the pure Python " "implementation, deprecated in Python 3.10, use the :func:`copy.copy` " @@ -3358,22 +3374,22 @@ msgid "" "Stinner in :gh:`94383`.)" msgstr "" -#: whatsnew/3.12.rst:1647 +#: whatsnew/3.12.rst:1655 msgid "zipimport" msgstr "" -#: whatsnew/3.12.rst:1649 +#: whatsnew/3.12.rst:1657 msgid "" "Remove :mod:`zipimport`'s ``find_loader()`` and ``find_module()`` methods, " "deprecated in Python 3.10: use the ``find_spec()`` method instead. See :pep:" "`451` for the rationale. (Contributed by Victor Stinner in :gh:`94379`.)" msgstr "" -#: whatsnew/3.12.rst:1655 +#: whatsnew/3.12.rst:1663 msgid "Others" msgstr "" -#: whatsnew/3.12.rst:1657 +#: whatsnew/3.12.rst:1665 msgid "" "Remove the ``suspicious`` rule from the documentation :file:`Makefile` and :" "file:`Doc/tools/rstlint.py`, both in favor of `sphinx-lint <https://github." @@ -3381,7 +3397,7 @@ msgid "" "`98179`.)" msgstr "" -#: whatsnew/3.12.rst:1662 +#: whatsnew/3.12.rst:1670 msgid "" "Remove the *keyfile* and *certfile* parameters from the :mod:`ftplib`, :mod:" "`imaplib`, :mod:`poplib` and :mod:`smtplib` modules, and the *key_file*, " @@ -3391,33 +3407,33 @@ msgid "" "in :gh:`94172`.)" msgstr "" -#: whatsnew/3.12.rst:1670 +#: whatsnew/3.12.rst:1678 msgid "" "Remove ``Jython`` compatibility hacks from several stdlib modules and tests. " "(Contributed by Nikita Sobolev in :gh:`99482`.)" msgstr "" -#: whatsnew/3.12.rst:1673 +#: whatsnew/3.12.rst:1681 msgid "" "Remove ``_use_broken_old_ctypes_structure_semantics_`` flag from :mod:" "`ctypes` module. (Contributed by Nikita Sobolev in :gh:`99285`.)" msgstr "" -#: whatsnew/3.12.rst:2005 +#: whatsnew/3.12.rst:2013 msgid "Porting to Python 3.12" msgstr "" -#: whatsnew/3.12.rst:1683 +#: whatsnew/3.12.rst:1691 msgid "" "This section lists previously described changes and other bugfixes that may " "require changes to your code." msgstr "" -#: whatsnew/3.12.rst:1687 +#: whatsnew/3.12.rst:1695 msgid "Changes in the Python API" msgstr "" -#: whatsnew/3.12.rst:1689 +#: whatsnew/3.12.rst:1697 msgid "" "More strict rules are now applied for numerical group references and group " "names in regular expressions. Only sequence of ASCII digits is now accepted " @@ -3426,7 +3442,7 @@ msgid "" "(Contributed by Serhiy Storchaka in :gh:`91760`.)" msgstr "" -#: whatsnew/3.12.rst:1696 +#: whatsnew/3.12.rst:1704 msgid "" "Remove ``randrange()`` functionality deprecated since Python 3.10. " "Formerly, ``randrange(10.0)`` losslessly converted to ``randrange(10)``. " @@ -3438,7 +3454,7 @@ msgid "" "`86388`.)" msgstr "" -#: whatsnew/3.12.rst:1704 +#: whatsnew/3.12.rst:1712 msgid "" ":class:`argparse.ArgumentParser` changed encoding and error handler for " "reading arguments from file (e.g. ``fromfile_prefix_chars`` option) from " @@ -3448,21 +3464,21 @@ msgid "" "on Windows." msgstr "" -#: whatsnew/3.12.rst:1710 +#: whatsnew/3.12.rst:1718 msgid "" "Remove the ``asyncore``-based ``smtpd`` module deprecated in Python 3.4.7 " "and 3.5.4. A recommended replacement is the :mod:`asyncio`-based :pypi:" "`aiosmtpd` PyPI module." msgstr "" -#: whatsnew/3.12.rst:1714 +#: whatsnew/3.12.rst:1722 msgid "" ":func:`shlex.split`: Passing ``None`` for *s* argument now raises an " "exception, rather than reading :data:`sys.stdin`. The feature was deprecated " "in Python 3.9. (Contributed by Victor Stinner in :gh:`94352`.)" msgstr "" -#: whatsnew/3.12.rst:1719 +#: whatsnew/3.12.rst:1727 msgid "" "The :mod:`os` module no longer accepts bytes-like paths, like :class:" "`bytearray` and :class:`memoryview` types: only the exact :class:`bytes` " @@ -3470,7 +3486,7 @@ msgid "" "`98393`.)" msgstr "" -#: whatsnew/3.12.rst:1724 +#: whatsnew/3.12.rst:1732 msgid "" ":func:`syslog.openlog` and :func:`syslog.closelog` now fail if used in " "subinterpreters. :func:`syslog.syslog` may still be used in subinterpreters, " @@ -3482,7 +3498,7 @@ msgid "" "(Contributed by Donghee Na in :gh:`99127`.)" msgstr "" -#: whatsnew/3.12.rst:1733 +#: whatsnew/3.12.rst:1741 msgid "" "The undocumented locking behavior of :func:`~functools.cached_property` is " "removed, because it locked across all instances of the class, leading to " @@ -3494,14 +3510,14 @@ msgid "" "property getter function or around multi-threaded access points." msgstr "" -#: whatsnew/3.12.rst:1746 +#: whatsnew/3.12.rst:1754 msgid "" "When extracting tar files using :mod:`tarfile` or :func:`shutil." "unpack_archive`, pass the *filter* argument to limit features that may be " "surprising or dangerous. See :ref:`tarfile-extraction-filter` for details." msgstr "" -#: whatsnew/3.12.rst:1751 +#: whatsnew/3.12.rst:1759 msgid "" "The output of the :func:`tokenize.tokenize` and :func:`tokenize." "generate_tokens` functions is now changed due to the changes introduced in :" @@ -3513,15 +3529,15 @@ msgid "" "``f\"start {1+1} end\"`` the old version of the tokenizer emitted::" msgstr "" -#: whatsnew/3.12.rst:1760 +#: whatsnew/3.12.rst:1768 msgid "1,0-1,18: STRING 'f\"start {1+1} end\"'" msgstr "" -#: whatsnew/3.12.rst:1762 +#: whatsnew/3.12.rst:1770 msgid "while the new version emits::" msgstr "" -#: whatsnew/3.12.rst:1764 +#: whatsnew/3.12.rst:1772 msgid "" "1,0-1,2: FSTRING_START 'f\"'\n" "1,2-1,8: FSTRING_MIDDLE 'start '\n" @@ -3534,54 +3550,54 @@ msgid "" "1,17-1,18: FSTRING_END '\"'" msgstr "" -#: whatsnew/3.12.rst:1774 +#: whatsnew/3.12.rst:1782 msgid "" "Additionally, there may be some minor behavioral changes as a consequence of " "the changes required to support :pep:`701`. Some of these changes include:" msgstr "" -#: whatsnew/3.12.rst:1777 +#: whatsnew/3.12.rst:1785 msgid "" "The ``type`` attribute of the tokens emitted when tokenizing some invalid " "Python characters such as ``!`` has changed from ``ERRORTOKEN`` to ``OP``." msgstr "" -#: whatsnew/3.12.rst:1780 +#: whatsnew/3.12.rst:1788 msgid "" "Incomplete single-line strings now also raise :exc:`tokenize.TokenError` as " "incomplete multiline strings do." msgstr "" -#: whatsnew/3.12.rst:1783 +#: whatsnew/3.12.rst:1791 msgid "" "Some incomplete or invalid Python code now raises :exc:`tokenize.TokenError` " "instead of returning arbitrary ``ERRORTOKEN`` tokens when tokenizing it." msgstr "" -#: whatsnew/3.12.rst:1786 +#: whatsnew/3.12.rst:1794 msgid "" "Mixing tabs and spaces as indentation in the same file is not supported " "anymore and will raise a :exc:`TabError`." msgstr "" -#: whatsnew/3.12.rst:1789 +#: whatsnew/3.12.rst:1797 msgid "" "The :mod:`threading` module now expects the :mod:`!_thread` module to have " "an ``_is_main_interpreter`` attribute. It is a function with no arguments " "that returns ``True`` if the current interpreter is the main interpreter." msgstr "" -#: whatsnew/3.12.rst:1794 +#: whatsnew/3.12.rst:1802 msgid "" "Any library or application that provides a custom ``_thread`` module should " "provide ``_is_main_interpreter()``. (See :gh:`112826`.)" msgstr "" -#: whatsnew/3.12.rst:1799 +#: whatsnew/3.12.rst:1807 msgid "Build Changes" msgstr "" -#: whatsnew/3.12.rst:1801 +#: whatsnew/3.12.rst:1809 msgid "" "Python no longer uses :file:`setup.py` to build shared C extension modules. " "Build parameters like headers and libraries are detected in ``configure`` " @@ -3590,21 +3606,21 @@ msgid "" "in :gh:`93939`.)" msgstr "" -#: whatsnew/3.12.rst:1807 +#: whatsnew/3.12.rst:1815 msgid "" "``va_start()`` with two parameters, like ``va_start(args, format),`` is now " "required to build Python. ``va_start()`` is no longer called with a single " "parameter. (Contributed by Kumar Aditya in :gh:`93207`.)" msgstr "" -#: whatsnew/3.12.rst:1812 +#: whatsnew/3.12.rst:1820 msgid "" "CPython now uses the ThinLTO option as the default link time optimization " "policy if the Clang compiler accepts the flag. (Contributed by Donghee Na " "in :gh:`89536`.)" msgstr "" -#: whatsnew/3.12.rst:1816 +#: whatsnew/3.12.rst:1824 msgid "" "Add ``COMPILEALL_OPTS`` variable in :file:`Makefile` to override :mod:" "`compileall` options (default: ``-j0``) in ``make install``. Also merged the " @@ -3613,46 +3629,46 @@ msgid "" "`99289`.)" msgstr "" -#: whatsnew/3.12.rst:1822 +#: whatsnew/3.12.rst:1830 msgid "Add platform triplets for 64-bit LoongArch:" msgstr "" -#: whatsnew/3.12.rst:1824 +#: whatsnew/3.12.rst:1832 msgid "loongarch64-linux-gnusf" msgstr "" -#: whatsnew/3.12.rst:1825 +#: whatsnew/3.12.rst:1833 msgid "loongarch64-linux-gnuf32" msgstr "" -#: whatsnew/3.12.rst:1826 +#: whatsnew/3.12.rst:1834 msgid "loongarch64-linux-gnu" msgstr "" -#: whatsnew/3.12.rst:1828 +#: whatsnew/3.12.rst:1836 msgid "(Contributed by Zhang Na in :gh:`90656`.)" msgstr "" -#: whatsnew/3.12.rst:1830 +#: whatsnew/3.12.rst:1838 msgid "``PYTHON_FOR_REGEN`` now require Python 3.10 or newer." msgstr "" -#: whatsnew/3.12.rst:1832 +#: whatsnew/3.12.rst:1840 msgid "" "Autoconf 2.71 and aclocal 1.16.4 is now required to regenerate :file:`!" "configure`. (Contributed by Christian Heimes in :gh:`89886`.)" msgstr "" -#: whatsnew/3.12.rst:1836 +#: whatsnew/3.12.rst:1844 msgid "" "Windows builds and macOS installers from python.org now use OpenSSL 3.0." msgstr "" -#: whatsnew/3.12.rst:1840 +#: whatsnew/3.12.rst:1848 msgid "C API Changes" msgstr "" -#: whatsnew/3.12.rst:1847 +#: whatsnew/3.12.rst:1855 msgid "" ":pep:`697`: Introduce the :ref:`Unstable C API tier <unstable-c-api>`, " "intended for low-level tools like debuggers and JIT compilers. This API may " @@ -3660,84 +3676,84 @@ msgid "" "contents are marked by the ``PyUnstable_`` prefix in names." msgstr "" -#: whatsnew/3.12.rst:1853 +#: whatsnew/3.12.rst:1861 msgid "Code object constructors:" msgstr "" -#: whatsnew/3.12.rst:1855 +#: whatsnew/3.12.rst:1863 msgid "``PyUnstable_Code_New()`` (renamed from ``PyCode_New``)" msgstr "" -#: whatsnew/3.12.rst:1856 +#: whatsnew/3.12.rst:1864 msgid "" "``PyUnstable_Code_NewWithPosOnlyArgs()`` (renamed from " "``PyCode_NewWithPosOnlyArgs``)" msgstr "" -#: whatsnew/3.12.rst:1858 +#: whatsnew/3.12.rst:1866 msgid "Extra storage for code objects (:pep:`523`):" msgstr "" -#: whatsnew/3.12.rst:1860 +#: whatsnew/3.12.rst:1868 msgid "" "``PyUnstable_Eval_RequestCodeExtraIndex()`` (renamed from " "``_PyEval_RequestCodeExtraIndex``)" msgstr "" -#: whatsnew/3.12.rst:1861 +#: whatsnew/3.12.rst:1869 msgid "``PyUnstable_Code_GetExtra()`` (renamed from ``_PyCode_GetExtra``)" msgstr "" -#: whatsnew/3.12.rst:1862 +#: whatsnew/3.12.rst:1870 msgid "``PyUnstable_Code_SetExtra()`` (renamed from ``_PyCode_SetExtra``)" msgstr "" -#: whatsnew/3.12.rst:1864 +#: whatsnew/3.12.rst:1872 msgid "" "The original names will continue to be available until the respective API " "changes." msgstr "" -#: whatsnew/3.12.rst:1867 +#: whatsnew/3.12.rst:1875 msgid "(Contributed by Petr Viktorin in :gh:`101101`.)" msgstr "" -#: whatsnew/3.12.rst:1869 +#: whatsnew/3.12.rst:1877 msgid "" ":pep:`697`: Add an API for extending types whose instance memory layout is " "opaque:" msgstr "" -#: whatsnew/3.12.rst:1872 +#: whatsnew/3.12.rst:1880 msgid "" ":c:member:`PyType_Spec.basicsize` can be zero or negative to specify " "inheriting or extending the base class size." msgstr "" -#: whatsnew/3.12.rst:1874 +#: whatsnew/3.12.rst:1882 msgid "" ":c:func:`PyObject_GetTypeData` and :c:func:`PyType_GetTypeDataSize` added to " "allow access to subclass-specific instance data." msgstr "" -#: whatsnew/3.12.rst:1876 +#: whatsnew/3.12.rst:1884 msgid "" ":c:macro:`Py_TPFLAGS_ITEMS_AT_END` and :c:func:`PyObject_GetItemData` added " "to allow safely extending certain variable-sized types, including :c:var:" "`PyType_Type`." msgstr "" -#: whatsnew/3.12.rst:1879 +#: whatsnew/3.12.rst:1887 msgid "" ":c:macro:`Py_RELATIVE_OFFSET` added to allow defining :c:type:`members " "<PyMemberDef>` in terms of a subclass-specific struct." msgstr "" -#: whatsnew/3.12.rst:1882 +#: whatsnew/3.12.rst:1890 msgid "(Contributed by Petr Viktorin in :gh:`103509`.)" msgstr "" -#: whatsnew/3.12.rst:1884 +#: whatsnew/3.12.rst:1892 msgid "" "Add the new :ref:`limited C API <limited-c-api>` function :c:func:" "`PyType_FromMetaclass`, which generalizes the existing :c:func:" @@ -3745,29 +3761,29 @@ msgid "" "(Contributed by Wenzel Jakob in :gh:`93012`.)" msgstr "" -#: whatsnew/3.12.rst:1889 +#: whatsnew/3.12.rst:1897 msgid "" "API for creating objects that can be called using :ref:`the vectorcall " "protocol <vectorcall>` was added to the :ref:`Limited API <stable>`:" msgstr "" -#: whatsnew/3.12.rst:1893 +#: whatsnew/3.12.rst:1901 msgid ":c:macro:`Py_TPFLAGS_HAVE_VECTORCALL`" msgstr "" -#: whatsnew/3.12.rst:1894 +#: whatsnew/3.12.rst:1902 msgid ":c:func:`PyVectorcall_NARGS`" msgstr "" -#: whatsnew/3.12.rst:1895 +#: whatsnew/3.12.rst:1903 msgid ":c:func:`PyVectorcall_Call`" msgstr "" -#: whatsnew/3.12.rst:1896 +#: whatsnew/3.12.rst:1904 msgid ":c:type:`vectorcallfunc`" msgstr "" -#: whatsnew/3.12.rst:1898 +#: whatsnew/3.12.rst:1906 msgid "" "The :c:macro:`Py_TPFLAGS_HAVE_VECTORCALL` flag is now removed from a class " "when the class's :py:meth:`~object.__call__` method is reassigned. This " @@ -3778,7 +3794,7 @@ msgid "" "`93274`.)" msgstr "" -#: whatsnew/3.12.rst:1906 +#: whatsnew/3.12.rst:1914 msgid "" "The :c:macro:`Py_TPFLAGS_MANAGED_DICT` and :c:macro:" "`Py_TPFLAGS_MANAGED_WEAKREF` flags have been added. This allows extensions " @@ -3786,32 +3802,32 @@ msgid "" "bookkeeping, using less memory and with faster access." msgstr "" -#: whatsnew/3.12.rst:1911 +#: whatsnew/3.12.rst:1919 msgid "" "API for performing calls using :ref:`the vectorcall protocol <vectorcall>` " "was added to the :ref:`Limited API <stable>`:" msgstr "" -#: whatsnew/3.12.rst:1915 +#: whatsnew/3.12.rst:1923 msgid ":c:func:`PyObject_Vectorcall`" msgstr "" -#: whatsnew/3.12.rst:1916 +#: whatsnew/3.12.rst:1924 msgid ":c:func:`PyObject_VectorcallMethod`" msgstr "" -#: whatsnew/3.12.rst:1917 +#: whatsnew/3.12.rst:1925 msgid ":c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET`" msgstr "" -#: whatsnew/3.12.rst:1919 +#: whatsnew/3.12.rst:1927 msgid "" "This means that both the incoming and outgoing ends of the vector call " "protocol are now available in the :ref:`Limited API <stable>`. (Contributed " "by Wenzel Jakob in :gh:`98586`.)" msgstr "" -#: whatsnew/3.12.rst:1923 +#: whatsnew/3.12.rst:1931 msgid "" "Add two new public functions, :c:func:`PyEval_SetProfileAllThreads` and :c:" "func:`PyEval_SetTraceAllThreads`, that allow to set tracing and profiling " @@ -3819,14 +3835,14 @@ msgid "" "(Contributed by Pablo Galindo in :gh:`93503`.)" msgstr "" -#: whatsnew/3.12.rst:1929 +#: whatsnew/3.12.rst:1937 msgid "" "Add new function :c:func:`PyFunction_SetVectorcall` to the C API which sets " "the vectorcall field of a given :c:type:`PyFunctionObject`. (Contributed by " "Andrew Frost in :gh:`92257`.)" msgstr "" -#: whatsnew/3.12.rst:1933 +#: whatsnew/3.12.rst:1941 msgid "" "The C API now permits registering callbacks via :c:func:" "`PyDict_AddWatcher`, :c:func:`PyDict_Watch` and related APIs to be called " @@ -3835,28 +3851,28 @@ msgid "" "`91052`.)" msgstr "" -#: whatsnew/3.12.rst:1939 +#: whatsnew/3.12.rst:1947 msgid "" "Add :c:func:`PyType_AddWatcher` and :c:func:`PyType_Watch` API to register " "callbacks to receive notification on changes to a type. (Contributed by Carl " "Meyer in :gh:`91051`.)" msgstr "" -#: whatsnew/3.12.rst:1943 +#: whatsnew/3.12.rst:1951 msgid "" "Add :c:func:`PyCode_AddWatcher` and :c:func:`PyCode_ClearWatcher` APIs to " "register callbacks to receive notification on creation and destruction of " "code objects. (Contributed by Itamar Oren in :gh:`91054`.)" msgstr "" -#: whatsnew/3.12.rst:1948 +#: whatsnew/3.12.rst:1956 msgid "" "Add :c:func:`PyFrame_GetVar` and :c:func:`PyFrame_GetVarString` functions to " "get a frame variable by its name. (Contributed by Victor Stinner in :gh:" "`91248`.)" msgstr "" -#: whatsnew/3.12.rst:1952 +#: whatsnew/3.12.rst:1960 msgid "" "Add :c:func:`PyErr_GetRaisedException` and :c:func:" "`PyErr_SetRaisedException` for saving and restoring the current exception. " @@ -3866,14 +3882,14 @@ msgid "" "(Contributed by Mark Shannon in :gh:`101578`.)" msgstr "" -#: whatsnew/3.12.rst:1960 +#: whatsnew/3.12.rst:1968 msgid "" "Add ``_PyErr_ChainExceptions1``, which takes an exception instance, to " "replace the legacy-API ``_PyErr_ChainExceptions``, which is now deprecated. " "(Contributed by Mark Shannon in :gh:`101578`.)" msgstr "" -#: whatsnew/3.12.rst:1964 +#: whatsnew/3.12.rst:1972 msgid "" "Add :c:func:`PyException_GetArgs` and :c:func:`PyException_SetArgs` as " "convenience functions for retrieving and modifying the :attr:`~BaseException." @@ -3881,71 +3897,71 @@ msgid "" "in :gh:`101578`.)" msgstr "" -#: whatsnew/3.12.rst:1969 +#: whatsnew/3.12.rst:1977 msgid "" "Add :c:func:`PyErr_DisplayException`, which takes an exception instance, to " "replace the legacy-api :c:func:`!PyErr_Display`. (Contributed by Irit " "Katriel in :gh:`102755`)." msgstr "" -#: whatsnew/3.12.rst:1975 +#: whatsnew/3.12.rst:1983 msgid "" ":pep:`683`: Introduce *Immortal Objects*, which allows objects to bypass " "reference counts, and related changes to the C-API:" msgstr "" -#: whatsnew/3.12.rst:1978 +#: whatsnew/3.12.rst:1986 msgid "``_Py_IMMORTAL_REFCNT``: The reference count that defines an object" msgstr "" -#: whatsnew/3.12.rst:1979 +#: whatsnew/3.12.rst:1987 msgid "as immortal." msgstr "" -#: whatsnew/3.12.rst:1980 +#: whatsnew/3.12.rst:1988 msgid "" "``_Py_IsImmortal`` Checks if an object has the immortal reference count." msgstr "" -#: whatsnew/3.12.rst:1981 +#: whatsnew/3.12.rst:1989 msgid "``PyObject_HEAD_INIT`` This will now initialize reference count to" msgstr "" -#: whatsnew/3.12.rst:1982 +#: whatsnew/3.12.rst:1990 msgid "``_Py_IMMORTAL_REFCNT`` when used with ``Py_BUILD_CORE``." msgstr "" -#: whatsnew/3.12.rst:1983 +#: whatsnew/3.12.rst:1991 msgid "``SSTATE_INTERNED_IMMORTAL`` An identifier for interned unicode objects" msgstr "" -#: whatsnew/3.12.rst:1984 +#: whatsnew/3.12.rst:1992 msgid "that are immortal." msgstr "" -#: whatsnew/3.12.rst:1985 +#: whatsnew/3.12.rst:1993 msgid "``SSTATE_INTERNED_IMMORTAL_STATIC`` An identifier for interned unicode" msgstr "" -#: whatsnew/3.12.rst:1986 +#: whatsnew/3.12.rst:1994 msgid "objects that are immortal and static" msgstr "" -#: whatsnew/3.12.rst:1987 +#: whatsnew/3.12.rst:1995 msgid "``sys.getunicodeinternedsize`` This returns the total number of unicode" msgstr "" -#: whatsnew/3.12.rst:1988 +#: whatsnew/3.12.rst:1996 msgid "" "objects that have been interned. This is now needed for :file:`refleak.py` " "to correctly track reference counts and allocated blocks" msgstr "" -#: whatsnew/3.12.rst:1991 +#: whatsnew/3.12.rst:1999 msgid "(Contributed by Eddie Elizondo in :gh:`84436`.)" msgstr "" -#: whatsnew/3.12.rst:1993 +#: whatsnew/3.12.rst:2001 msgid "" ":pep:`684`: Add the new :c:func:`Py_NewInterpreterFromConfig` function and :" "c:type:`PyInterpreterConfig`, which may be used to create sub-interpreters " @@ -3953,27 +3969,27 @@ msgid "" "(Contributed by Eric Snow in :gh:`104110`.)" msgstr "" -#: whatsnew/3.12.rst:1999 +#: whatsnew/3.12.rst:2007 msgid "" "In the limited C API version 3.12, :c:func:`Py_INCREF` and :c:func:" "`Py_DECREF` functions are now implemented as opaque function calls to hide " "implementation details. (Contributed by Victor Stinner in :gh:`105387`.)" msgstr "" -#: whatsnew/3.12.rst:2007 +#: whatsnew/3.12.rst:2015 msgid "" "Legacy Unicode APIs based on ``Py_UNICODE*`` representation has been " "removed. Please migrate to APIs based on UTF-8 or ``wchar_t*``." msgstr "" -#: whatsnew/3.12.rst:2010 +#: whatsnew/3.12.rst:2018 msgid "" "Argument parsing functions like :c:func:`PyArg_ParseTuple` doesn't support " "``Py_UNICODE*`` based format (e.g. ``u``, ``Z``) anymore. Please migrate to " "other formats for Unicode like ``s``, ``z``, ``es``, and ``U``." msgstr "" -#: whatsnew/3.12.rst:2014 +#: whatsnew/3.12.rst:2022 msgid "" "``tp_weaklist`` for all static builtin types is always ``NULL``. This is an " "internal-only field on ``PyTypeObject`` but we're pointing out the change in " @@ -3982,7 +3998,7 @@ msgid "" "necessary, the (internal-only) ``_PyObject_GET_WEAKREFS_LISTPTR()`` macro." msgstr "" -#: whatsnew/3.12.rst:2021 +#: whatsnew/3.12.rst:2029 msgid "" "This internal-only :c:member:`PyTypeObject.tp_subclasses` may now not be a " "valid object pointer. Its type was changed to :c:expr:`void *` to reflect " @@ -3990,13 +4006,13 @@ msgid "" "only field directly." msgstr "" -#: whatsnew/3.12.rst:2026 +#: whatsnew/3.12.rst:2034 msgid "" "To get a list of subclasses, call the Python method :py:meth:`~type." "__subclasses__` (using :c:func:`PyObject_CallMethod`, for example)." msgstr "" -#: whatsnew/3.12.rst:2030 +#: whatsnew/3.12.rst:2038 msgid "" "Add support of more formatting options (left aligning, octals, uppercase " "hexadecimals, :c:type:`intmax_t`, :c:type:`ptrdiff_t`, :c:type:`wchar_t` C " @@ -4005,7 +4021,7 @@ msgid "" "`98836`.)" msgstr "" -#: whatsnew/3.12.rst:2036 +#: whatsnew/3.12.rst:2044 msgid "" "An unrecognized format character in :c:func:`PyUnicode_FromFormat` and :c:" "func:`PyUnicode_FromFormatV` now sets a :exc:`SystemError`. In previous " @@ -4014,13 +4030,13 @@ msgid "" "Storchaka in :gh:`95781`.)" msgstr "" -#: whatsnew/3.12.rst:2042 +#: whatsnew/3.12.rst:2050 msgid "" "Fix wrong sign placement in :c:func:`PyUnicode_FromFormat` and :c:func:" "`PyUnicode_FromFormatV`. (Contributed by Philip Georgi in :gh:`95504`.)" msgstr "" -#: whatsnew/3.12.rst:2046 +#: whatsnew/3.12.rst:2054 msgid "" "Extension classes wanting to add a :attr:`~object.__dict__` or weak " "reference slot should use :c:macro:`Py_TPFLAGS_MANAGED_DICT` and :c:macro:" @@ -4034,7 +4050,7 @@ msgid "" "func:`PyObject_ClearWeakRefs`, as before." msgstr "" -#: whatsnew/3.12.rst:2058 +#: whatsnew/3.12.rst:2066 msgid "" "The :c:func:`PyUnicode_FSDecoder` function no longer accepts bytes-like " "paths, like :class:`bytearray` and :class:`memoryview` types: only the " @@ -4042,7 +4058,7 @@ msgid "" "Victor Stinner in :gh:`98393`.)" msgstr "" -#: whatsnew/3.12.rst:2063 +#: whatsnew/3.12.rst:2071 msgid "" "The :c:macro:`Py_CLEAR`, :c:macro:`Py_SETREF` and :c:macro:`Py_XSETREF` " "macros now only evaluate their arguments once. If an argument has side " @@ -4050,7 +4066,7 @@ msgid "" "Stinner in :gh:`98724`.)" msgstr "" -#: whatsnew/3.12.rst:2068 +#: whatsnew/3.12.rst:2076 msgid "" "The interpreter's error indicator is now always normalized. This means that :" "c:func:`PyErr_SetObject`, :c:func:`PyErr_SetString` and the other functions " @@ -4058,7 +4074,7 @@ msgid "" "(Contributed by Mark Shannon in :gh:`101578`.)" msgstr "" -#: whatsnew/3.12.rst:2073 +#: whatsnew/3.12.rst:2081 msgid "" "``_Py_RefTotal`` is no longer authoritative and only kept around for ABI " "compatibility. Note that it is an internal global and only available on " @@ -4066,25 +4082,25 @@ msgid "" "``_Py_GetGlobalRefTotal()``." msgstr "" -#: whatsnew/3.12.rst:2078 +#: whatsnew/3.12.rst:2086 msgid "" "The following functions now select an appropriate metaclass for the newly " "created type:" msgstr "" -#: whatsnew/3.12.rst:2081 +#: whatsnew/3.12.rst:2089 msgid ":c:func:`PyType_FromSpec`" msgstr "" -#: whatsnew/3.12.rst:2082 +#: whatsnew/3.12.rst:2090 msgid ":c:func:`PyType_FromSpecWithBases`" msgstr "" -#: whatsnew/3.12.rst:2083 +#: whatsnew/3.12.rst:2091 msgid ":c:func:`PyType_FromModuleAndSpec`" msgstr "" -#: whatsnew/3.12.rst:2085 +#: whatsnew/3.12.rst:2093 msgid "" "Creating classes whose metaclass overrides :c:member:`~PyTypeObject.tp_new` " "is deprecated, and in Python 3.14+ it will be disallowed. Note that these " @@ -4092,14 +4108,14 @@ msgid "" "initialization." msgstr "" -#: whatsnew/3.12.rst:2090 +#: whatsnew/3.12.rst:2098 msgid "" "Note that :c:func:`PyType_FromMetaclass` (added in Python 3.12) already " "disallows creating classes whose metaclass overrides ``tp_new`` (:meth:" "`~object.__new__` in Python)." msgstr "" -#: whatsnew/3.12.rst:2094 +#: whatsnew/3.12.rst:2102 msgid "" "Since ``tp_new`` overrides almost everything ``PyType_From*`` functions do, " "the two are incompatible with each other. The existing behavior -- ignoring " @@ -4108,17 +4124,17 @@ msgid "" "general workaround. One of the following may work for you:" msgstr "" -#: whatsnew/3.12.rst:2101 +#: whatsnew/3.12.rst:2109 msgid "If you control the metaclass, avoid using ``tp_new`` in it:" msgstr "" -#: whatsnew/3.12.rst:2103 +#: whatsnew/3.12.rst:2111 msgid "" "If initialization can be skipped, it can be done in :c:member:`~PyTypeObject." "tp_init` instead." msgstr "" -#: whatsnew/3.12.rst:2105 +#: whatsnew/3.12.rst:2113 msgid "" "If the metaclass doesn't need to be instantiated from Python, set its " "``tp_new`` to ``NULL`` using the :c:macro:" @@ -4126,20 +4142,20 @@ msgid "" "``PyType_From*`` functions." msgstr "" -#: whatsnew/3.12.rst:2110 +#: whatsnew/3.12.rst:2118 msgid "" "Avoid ``PyType_From*`` functions: if you don't need C-specific features " "(slots or setting the instance size), create types by :ref:`calling <call>` " "the metaclass." msgstr "" -#: whatsnew/3.12.rst:2114 +#: whatsnew/3.12.rst:2122 msgid "" "If you *know* the ``tp_new`` can be skipped safely, filter the deprecation " "warning out using :func:`warnings.catch_warnings` from Python." msgstr "" -#: whatsnew/3.12.rst:2117 +#: whatsnew/3.12.rst:2125 msgid "" ":c:var:`PyOS_InputHook` and :c:var:`PyOS_ReadlineFunctionPointer` are no " "longer called in :ref:`subinterpreters <sub-interpreter-support>`. This is " @@ -4147,14 +4163,14 @@ msgid "" "callbacks have no way of recovering extension module state)." msgstr "" -#: whatsnew/3.12.rst:2122 +#: whatsnew/3.12.rst:2130 msgid "" "This also avoids situations where extensions may find themselves running in " "a subinterpreter that they don't support (or haven't yet been loaded in). " "See :gh:`104668` for more info." msgstr "" -#: whatsnew/3.12.rst:2126 +#: whatsnew/3.12.rst:2134 msgid "" ":c:struct:`PyLongObject` has had its internals changed for better " "performance. Although the internals of :c:struct:`PyLongObject` are private, " @@ -4165,15 +4181,15 @@ msgid "" "a single machine word:" msgstr "" -#: whatsnew/3.12.rst:2134 +#: whatsnew/3.12.rst:2142 msgid ":c:func:`PyUnstable_Long_IsCompact`" msgstr "" -#: whatsnew/3.12.rst:2135 +#: whatsnew/3.12.rst:2143 msgid ":c:func:`PyUnstable_Long_CompactValue`" msgstr "" -#: whatsnew/3.12.rst:2137 +#: whatsnew/3.12.rst:2145 msgid "" "Custom allocators, set via :c:func:`PyMem_SetAllocator`, are now required to " "be thread-safe, regardless of memory domain. Allocators that don't have " @@ -4182,7 +4198,7 @@ msgid "" "create a new GitHub issue and CC ``@ericsnowcurrently``." msgstr "" -#: whatsnew/3.12.rst:2147 +#: whatsnew/3.12.rst:2155 msgid "" "In accordance with :pep:`699`, the ``ma_version_tag`` field in :c:type:" "`PyDictObject` is deprecated for extension modules. Accessing this field " @@ -4191,215 +4207,215 @@ msgid "" "PEP by Ken Jin.)" msgstr "" -#: whatsnew/3.12.rst:2152 +#: whatsnew/3.12.rst:2160 msgid "Deprecate global configuration variable:" msgstr "" -#: whatsnew/3.12.rst:2154 +#: whatsnew/3.12.rst:2162 msgid ":c:var:`Py_DebugFlag`: use :c:member:`PyConfig.parser_debug`" msgstr "" -#: whatsnew/3.12.rst:2155 +#: whatsnew/3.12.rst:2163 msgid ":c:var:`Py_VerboseFlag`: use :c:member:`PyConfig.verbose`" msgstr "" -#: whatsnew/3.12.rst:2156 +#: whatsnew/3.12.rst:2164 msgid ":c:var:`Py_QuietFlag`: use :c:member:`PyConfig.quiet`" msgstr "" -#: whatsnew/3.12.rst:2157 +#: whatsnew/3.12.rst:2165 msgid ":c:var:`Py_InteractiveFlag`: use :c:member:`PyConfig.interactive`" msgstr "" -#: whatsnew/3.12.rst:2158 +#: whatsnew/3.12.rst:2166 msgid ":c:var:`Py_InspectFlag`: use :c:member:`PyConfig.inspect`" msgstr "" -#: whatsnew/3.12.rst:2159 +#: whatsnew/3.12.rst:2167 msgid ":c:var:`Py_OptimizeFlag`: use :c:member:`PyConfig.optimization_level`" msgstr "" -#: whatsnew/3.12.rst:2160 +#: whatsnew/3.12.rst:2168 msgid ":c:var:`Py_NoSiteFlag`: use :c:member:`PyConfig.site_import`" msgstr "" -#: whatsnew/3.12.rst:2161 +#: whatsnew/3.12.rst:2169 msgid ":c:var:`Py_BytesWarningFlag`: use :c:member:`PyConfig.bytes_warning`" msgstr "" -#: whatsnew/3.12.rst:2162 +#: whatsnew/3.12.rst:2170 msgid ":c:var:`Py_FrozenFlag`: use :c:member:`PyConfig.pathconfig_warnings`" msgstr "" -#: whatsnew/3.12.rst:2163 +#: whatsnew/3.12.rst:2171 msgid "" ":c:var:`Py_IgnoreEnvironmentFlag`: use :c:member:`PyConfig.use_environment`" msgstr "" -#: whatsnew/3.12.rst:2164 +#: whatsnew/3.12.rst:2172 msgid "" ":c:var:`Py_DontWriteBytecodeFlag`: use :c:member:`PyConfig.write_bytecode`" msgstr "" -#: whatsnew/3.12.rst:2165 +#: whatsnew/3.12.rst:2173 msgid "" ":c:var:`Py_NoUserSiteDirectory`: use :c:member:`PyConfig.user_site_directory`" msgstr "" -#: whatsnew/3.12.rst:2166 +#: whatsnew/3.12.rst:2174 msgid "" ":c:var:`Py_UnbufferedStdioFlag`: use :c:member:`PyConfig.buffered_stdio`" msgstr "" -#: whatsnew/3.12.rst:2167 +#: whatsnew/3.12.rst:2175 msgid "" ":c:var:`Py_HashRandomizationFlag`: use :c:member:`PyConfig.use_hash_seed` " "and :c:member:`PyConfig.hash_seed`" msgstr "" -#: whatsnew/3.12.rst:2169 +#: whatsnew/3.12.rst:2177 msgid ":c:var:`Py_IsolatedFlag`: use :c:member:`PyConfig.isolated`" msgstr "" -#: whatsnew/3.12.rst:2170 +#: whatsnew/3.12.rst:2178 msgid "" ":c:var:`Py_LegacyWindowsFSEncodingFlag`: use :c:member:`PyPreConfig." "legacy_windows_fs_encoding`" msgstr "" -#: whatsnew/3.12.rst:2171 +#: whatsnew/3.12.rst:2179 msgid "" ":c:var:`Py_LegacyWindowsStdioFlag`: use :c:member:`PyConfig." "legacy_windows_stdio`" msgstr "" -#: whatsnew/3.12.rst:2172 +#: whatsnew/3.12.rst:2180 msgid "" ":c:var:`!Py_FileSystemDefaultEncoding`: use :c:member:`PyConfig." "filesystem_encoding`" msgstr "" -#: whatsnew/3.12.rst:2173 +#: whatsnew/3.12.rst:2181 msgid "" ":c:var:`!Py_HasFileSystemDefaultEncoding`: use :c:member:`PyConfig." "filesystem_encoding`" msgstr "" -#: whatsnew/3.12.rst:2174 +#: whatsnew/3.12.rst:2182 msgid "" ":c:var:`!Py_FileSystemDefaultEncodeErrors`: use :c:member:`PyConfig." "filesystem_errors`" msgstr "" -#: whatsnew/3.12.rst:2175 +#: whatsnew/3.12.rst:2183 msgid "" ":c:var:`!Py_UTF8Mode`: use :c:member:`PyPreConfig.utf8_mode` (see :c:func:" "`Py_PreInitialize`)" msgstr "" -#: whatsnew/3.12.rst:2177 +#: whatsnew/3.12.rst:2185 msgid "" "The :c:func:`Py_InitializeFromConfig` API should be used with :c:type:" "`PyConfig` instead. (Contributed by Victor Stinner in :gh:`77782`.)" msgstr "" -#: whatsnew/3.12.rst:2181 +#: whatsnew/3.12.rst:2189 msgid "" "Creating :c:data:`immutable types <Py_TPFLAGS_IMMUTABLETYPE>` with mutable " "bases is deprecated and will be disabled in Python 3.14. (:gh:`95388`)" msgstr "" -#: whatsnew/3.12.rst:2184 +#: whatsnew/3.12.rst:2192 msgid "" "The :file:`structmember.h` header is deprecated, though it continues to be " "available and there are no plans to remove it." msgstr "" -#: whatsnew/3.12.rst:2187 +#: whatsnew/3.12.rst:2195 msgid "" "Its contents are now available just by including :file:`Python.h`, with a " "``Py`` prefix added if it was missing:" msgstr "" -#: whatsnew/3.12.rst:2190 +#: whatsnew/3.12.rst:2198 msgid "" ":c:struct:`PyMemberDef`, :c:func:`PyMember_GetOne` and :c:func:" "`PyMember_SetOne`" msgstr "" -#: whatsnew/3.12.rst:2192 +#: whatsnew/3.12.rst:2200 msgid "" "Type macros like :c:macro:`Py_T_INT`, :c:macro:`Py_T_DOUBLE`, etc. " "(previously ``T_INT``, ``T_DOUBLE``, etc.)" msgstr "" -#: whatsnew/3.12.rst:2194 +#: whatsnew/3.12.rst:2202 msgid "" "The flags :c:macro:`Py_READONLY` (previously ``READONLY``) and :c:macro:" "`Py_AUDIT_READ` (previously all uppercase)" msgstr "" -#: whatsnew/3.12.rst:2197 +#: whatsnew/3.12.rst:2205 msgid "Several items are not exposed from :file:`Python.h`:" msgstr "" -#: whatsnew/3.12.rst:2199 +#: whatsnew/3.12.rst:2207 msgid ":c:macro:`T_OBJECT` (use :c:macro:`Py_T_OBJECT_EX`)" msgstr "" -#: whatsnew/3.12.rst:2200 +#: whatsnew/3.12.rst:2208 msgid ":c:macro:`T_NONE` (previously undocumented, and pretty quirky)" msgstr "" -#: whatsnew/3.12.rst:2201 +#: whatsnew/3.12.rst:2209 msgid "The macro ``WRITE_RESTRICTED`` which does nothing." msgstr "" -#: whatsnew/3.12.rst:2202 +#: whatsnew/3.12.rst:2210 msgid "" "The macros ``RESTRICTED`` and ``READ_RESTRICTED``, equivalents of :c:macro:" "`Py_AUDIT_READ`." msgstr "" -#: whatsnew/3.12.rst:2204 +#: whatsnew/3.12.rst:2212 msgid "" "In some configurations, ``<stddef.h>`` is not included from :file:`Python." "h`. It should be included manually when using ``offsetof()``." msgstr "" -#: whatsnew/3.12.rst:2207 +#: whatsnew/3.12.rst:2215 msgid "" "The deprecated header continues to provide its original contents under the " "original names. Your old code can stay unchanged, unless the extra include " "and non-namespaced macros bother you greatly." msgstr "" -#: whatsnew/3.12.rst:2212 +#: whatsnew/3.12.rst:2220 msgid "" "(Contributed in :gh:`47146` by Petr Viktorin, based on earlier work by " "Alexander Belopolsky and Matthias Braun.)" msgstr "" -#: whatsnew/3.12.rst:2215 +#: whatsnew/3.12.rst:2223 msgid "" ":c:func:`PyErr_Fetch` and :c:func:`PyErr_Restore` are deprecated. Use :c:" "func:`PyErr_GetRaisedException` and :c:func:`PyErr_SetRaisedException` " "instead. (Contributed by Mark Shannon in :gh:`101578`.)" msgstr "" -#: whatsnew/3.12.rst:2220 +#: whatsnew/3.12.rst:2228 msgid "" ":c:func:`!PyErr_Display` is deprecated. Use :c:func:`PyErr_DisplayException` " "instead. (Contributed by Irit Katriel in :gh:`102755`)." msgstr "" -#: whatsnew/3.12.rst:2223 +#: whatsnew/3.12.rst:2231 msgid "" "``_PyErr_ChainExceptions`` is deprecated. Use ``_PyErr_ChainExceptions1`` " "instead. (Contributed by Irit Katriel in :gh:`102192`.)" msgstr "" -#: whatsnew/3.12.rst:2226 +#: whatsnew/3.12.rst:2234 msgid "" "Using :c:func:`PyType_FromSpec`, :c:func:`PyType_FromSpecWithBases` or :c:" "func:`PyType_FromModuleAndSpec` to create a class whose metaclass overrides :" @@ -4739,86 +4755,86 @@ msgstr "" msgid ":c:func:`PyThread_ReInitTLS`: Unneeded since Python 3.7." msgstr "" -#: whatsnew/3.12.rst:2242 +#: whatsnew/3.12.rst:2250 msgid "" "Remove the :file:`token.h` header file. There was never any public tokenizer " "C API. The :file:`token.h` header file was only designed to be used by " "Python internals. (Contributed by Victor Stinner in :gh:`92651`.)" msgstr "" -#: whatsnew/3.12.rst:2247 +#: whatsnew/3.12.rst:2255 msgid "Legacy Unicode APIs have been removed. See :pep:`623` for detail." msgstr "" -#: whatsnew/3.12.rst:2249 +#: whatsnew/3.12.rst:2257 msgid ":c:macro:`!PyUnicode_WCHAR_KIND`" msgstr "" -#: whatsnew/3.12.rst:2250 +#: whatsnew/3.12.rst:2258 msgid ":c:func:`!PyUnicode_AS_UNICODE`" msgstr "" -#: whatsnew/3.12.rst:2251 +#: whatsnew/3.12.rst:2259 msgid ":c:func:`!PyUnicode_AsUnicode`" msgstr "" -#: whatsnew/3.12.rst:2252 +#: whatsnew/3.12.rst:2260 msgid ":c:func:`!PyUnicode_AsUnicodeAndSize`" msgstr "" -#: whatsnew/3.12.rst:2253 +#: whatsnew/3.12.rst:2261 msgid ":c:func:`!PyUnicode_AS_DATA`" msgstr "" -#: whatsnew/3.12.rst:2254 +#: whatsnew/3.12.rst:2262 msgid ":c:func:`!PyUnicode_FromUnicode`" msgstr "" -#: whatsnew/3.12.rst:2255 +#: whatsnew/3.12.rst:2263 msgid ":c:func:`!PyUnicode_GET_SIZE`" msgstr "" -#: whatsnew/3.12.rst:2256 +#: whatsnew/3.12.rst:2264 msgid ":c:func:`!PyUnicode_GetSize`" msgstr "" -#: whatsnew/3.12.rst:2257 +#: whatsnew/3.12.rst:2265 msgid ":c:func:`!PyUnicode_GET_DATA_SIZE`" msgstr "" -#: whatsnew/3.12.rst:2259 +#: whatsnew/3.12.rst:2267 msgid "" "Remove the ``PyUnicode_InternImmortal()`` function macro. (Contributed by " "Victor Stinner in :gh:`85858`.)" msgstr "" -#: whatsnew/3.12.rst:2263 +#: whatsnew/3.12.rst:2271 msgid "Notable changes in 3.12.4" msgstr "" -#: whatsnew/3.12.rst:2266 +#: whatsnew/3.12.rst:2274 msgid "ipaddress" msgstr "" -#: whatsnew/3.12.rst:2268 +#: whatsnew/3.12.rst:2276 msgid "" "Fixed ``is_global`` and ``is_private`` behavior in ``IPv4Address``, " "``IPv6Address``, ``IPv4Network`` and ``IPv6Network``." msgstr "" -#: whatsnew/3.12.rst:2273 +#: whatsnew/3.12.rst:2281 msgid "Notable changes in 3.12.5" msgstr "" -#: whatsnew/3.12.rst:2293 +#: whatsnew/3.12.rst:2301 msgid "email" msgstr "" -#: whatsnew/3.12.rst:2279 +#: whatsnew/3.12.rst:2287 msgid "Headers with embedded newlines are now quoted on output." msgstr "" -#: whatsnew/3.12.rst:2281 +#: whatsnew/3.12.rst:2289 msgid "" "The :mod:`~email.generator` will now refuse to serialize (write) headers " "that are improperly folded or delimited, such that they would be parsed as " @@ -4828,11 +4844,11 @@ msgid "" "in :gh:`121650`.)" msgstr "" -#: whatsnew/3.12.rst:2290 +#: whatsnew/3.12.rst:2298 msgid "Notable changes in 3.12.6" msgstr "" -#: whatsnew/3.12.rst:2295 +#: whatsnew/3.12.rst:2303 msgid "" ":func:`email.utils.getaddresses` and :func:`email.utils.parseaddr` now " "return ``('', '')`` 2-tuples in more situations where invalid email " @@ -4844,11 +4860,11 @@ msgid "" "and Victor Stinner for :gh:`102988` to improve the CVE-2023-27043 fix.)" msgstr "" -#: whatsnew/3.12.rst:2307 +#: whatsnew/3.12.rst:2315 msgid "Notable changes in 3.12.8" msgstr "" -#: whatsnew/3.12.rst:2312 +#: whatsnew/3.12.rst:2320 msgid "" "The previously undocumented special function :func:`sys.getobjects`, which " "only exists in specialized builds of Python, may now return objects from " diff --git a/whatsnew/3.2.po b/whatsnew/3.2.po index 9f3ea494..948cb935 100644 --- a/whatsnew/3.2.po +++ b/whatsnew/3.2.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/whatsnew/3.3.po b/whatsnew/3.3.po index 4d1be485..4a175356 100644 --- a/whatsnew/3.3.po +++ b/whatsnew/3.3.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/whatsnew/3.4.po b/whatsnew/3.4.po index 1fe57f3e..e426dd4d 100644 --- a/whatsnew/3.4.po +++ b/whatsnew/3.4.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -1088,7 +1088,7 @@ msgid "" "LOAD_CONST (100)\n" "BINARY_ADD (23)\n" "RETURN_VALUE (83)\n" -">>> bytecode.dis().splitlines() \n" +">>> bytecode.dis().splitlines()\n" "[' 1 0 LOAD_FAST 0 (x)',\n" " ' --> 3 LOAD_CONST 1 (1)',\n" " ' 6 BINARY_ADD',\n" diff --git a/whatsnew/3.5.po b/whatsnew/3.5.po index 70babff9..57380f72 100644 --- a/whatsnew/3.5.po +++ b/whatsnew/3.5.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/whatsnew/3.6.po b/whatsnew/3.6.po index 517ec0a6..538e3b25 100644 --- a/whatsnew/3.6.po +++ b/whatsnew/3.6.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/whatsnew/3.7.po b/whatsnew/3.7.po index 6eb5409c..bcb78524 100644 --- a/whatsnew/3.7.po +++ b/whatsnew/3.7.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/whatsnew/3.8.po b/whatsnew/3.8.po index d7cc6cc2..6f1cd896 100644 --- a/whatsnew/3.8.po +++ b/whatsnew/3.8.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/whatsnew/3.9.po b/whatsnew/3.9.po index fbe0118a..ac89f35f 100644 --- a/whatsnew/3.9.po +++ b/whatsnew/3.9.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/whatsnew/changelog.po b/whatsnew/changelog.po index 2c729760..933fcde1 100644 --- a/whatsnew/changelog.po +++ b/whatsnew/changelog.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -20,3 +20,67585 @@ msgstr "" #: whatsnew/changelog.rst:7 msgid "Changelog" msgstr "" + +#: build/NEWS:3 +msgid "Python 3.12.10 final" +msgstr "" + +#: build/NEWS:5 +msgid "*Release date: 2025-04-08*" +msgstr "" + +#: build/NEWS:1161 build/NEWS:3314 build/NEWS:3969 build/NEWS:6049 +#: build/NEWS:7518 build/NEWS:11139 build/NEWS:12930 build/NEWS:15986 +#: build/NEWS:17320 build/NEWS:19292 build/NEWS:20659 build/NEWS:24499 +#: build/NEWS:28971 build/NEWS:29600 build/NEWS:33473 build/NEWS:34219 +msgid "macOS" +msgstr "" + +#: build/NEWS:10 +msgid ":gh:`124111`: Update macOS installer to use Tcl/Tk 8.6.16." +msgstr "" + +#: build/NEWS:12 +msgid "" +":gh:`131423`: Update macOS installer to use OpenSSL 3.0.16. Patch by " +"Bénédikt Tran." +msgstr "" + +#: build/NEWS:15 +msgid ":gh:`131025`: Update macOS installer to ship with SQLite 3.49.1." +msgstr "" + +#: build/NEWS:17 +msgid ":gh:`91132`: Update macOS installer to use ncurses 6.5." +msgstr "" + +#: build/NEWS:996 build/NEWS:1842 build/NEWS:3297 build/NEWS:3964 +#: build/NEWS:5343 build/NEWS:6312 build/NEWS:7500 build/NEWS:11113 +#: build/NEWS:12421 build/NEWS:15136 build/NEWS:16681 build/NEWS:18219 +#: build/NEWS:20178 build/NEWS:21805 build/NEWS:24994 build/NEWS:28198 +#: build/NEWS:29334 build/NEWS:30226 build/NEWS:33468 build/NEWS:34588 +#: build/NEWS:35538 build/NEWS:36599 build/NEWS:38603 build/NEWS:40537 +#: build/NEWS:42330 build/NEWS:44144 +msgid "Windows" +msgstr "" + +#: build/NEWS:22 +msgid "" +":gh:`131423`: Update bundled version of OpenSSL to 3.0.16. The new build " +"also disables uplink support, which may be relevant to embedders but has no " +"impact on normal use." +msgstr "" + +#: build/NEWS:26 +msgid ":gh:`131025`: Update Windows installer to ship with SQLite 3.49.1." +msgstr "" + +#: build/NEWS:28 +msgid "" +":gh:`131020`: :source:`pylauncher <PC/launcher2.c>` correctly detects a BOM " +"when searching for the shebang. Fix by Chris Eibl." +msgstr "" + +#: build/NEWS:1177 build/NEWS:3400 build/NEWS:4123 build/NEWS:6754 +#: build/NEWS:10539 build/NEWS:17330 build/NEWS:20205 build/NEWS:24523 +#: build/NEWS:28527 build/NEWS:29626 build/NEWS:33135 build/NEWS:34287 +#: build/NEWS:35533 build/NEWS:37053 build/NEWS:39730 build/NEWS:41766 +#: build/NEWS:44105 +msgid "Tools/Demos" +msgstr "" + +#: build/NEWS:34 +msgid "" +":gh:`131852`: :program:`msgfmt` no longer adds the ``POT-Creation-Date`` to " +"generated ``.mo`` files for consistency with GNU ``msgfmt``." +msgstr "" + +#: build/NEWS:38 +msgid "" +":gh:`85012`: Correctly reset ``msgctxt`` when compiling messages in :program:" +"`msgfmt`." +msgstr "" + +#: build/NEWS:573 build/NEWS:1311 build/NEWS:2621 build/NEWS:3706 +#: build/NEWS:4273 build/NEWS:5992 build/NEWS:7022 build/NEWS:10469 +#: build/NEWS:11894 build/NEWS:13258 build/NEWS:16378 build/NEWS:17275 +#: build/NEWS:19177 build/NEWS:20603 build/NEWS:23175 build/NEWS:25336 +#: build/NEWS:28949 build/NEWS:29571 build/NEWS:30701 build/NEWS:33553 +#: build/NEWS:34566 build/NEWS:35707 build/NEWS:36543 build/NEWS:37324 +#: build/NEWS:39711 build/NEWS:41017 build/NEWS:41747 build/NEWS:43997 +msgid "Tests" +msgstr "" + +#: build/NEWS:44 +msgid "" +":gh:`131050`: ``test_ssl.test_dh_params`` is skipped if the underlying TLS " +"library does not support finite-field ephemeral Diffie-Hellman." +msgstr "" + +#: build/NEWS:47 +msgid "" +":gh:`119727`: Add ``--single-process`` command line option to Python test " +"runner (regrtest). Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:586 build/NEWS:1337 build/NEWS:2324 build/NEWS:3998 +#: build/NEWS:5756 build/NEWS:7122 build/NEWS:13473 build/NEWS:16507 +#: build/NEWS:17938 build/NEWS:19810 build/NEWS:21469 build/NEWS:24565 +#: build/NEWS:29170 build/NEWS:33569 build/NEWS:34827 build/NEWS:37373 +#: build/NEWS:39145 build/NEWS:39848 +msgid "Security" +msgstr "" + +#: build/NEWS:53 +msgid ":gh:`131809`: Update bundled libexpat to 2.7.1" +msgstr "" + +#: build/NEWS:55 +msgid ":gh:`131261`: Upgrade to libexpat 2.7.0" +msgstr "" + +#: build/NEWS:57 +msgid "" +":gh:`127371`: Avoid unbounded buffering for :meth:`!tempfile." +"SpooledTemporaryFile.writelines`. Previously, disk spillover was only " +"checked after the lines iterator had been exhausted. This is now done after " +"each line is written." +msgstr "" + +#: build/NEWS:62 +msgid "" +":gh:`121284`: Fix bug in the folding of rfc2047 encoded-words when " +"flattening an email message using a modern email policy. Previously when an " +"encoded-word was too long for a line, it would be decoded, split across " +"lines, and re-encoded. But commas and other special characters in the " +"original text could be left unencoded and unquoted. This could theoretically " +"be used to spoof header lines using a carefully constructed encoded-word if " +"the resulting rendered email was transmitted or re-parsed." +msgstr "" + +#: build/NEWS:591 build/NEWS:1351 build/NEWS:2378 build/NEWS:3462 +#: build/NEWS:4035 build/NEWS:4779 build/NEWS:6159 build/NEWS:7299 +#: build/NEWS:10726 build/NEWS:12178 build/NEWS:14020 build/NEWS:16579 +#: build/NEWS:17474 build/NEWS:19521 build/NEWS:20856 build/NEWS:22220 +#: build/NEWS:25196 build/NEWS:28650 build/NEWS:29019 build/NEWS:29713 +#: build/NEWS:30949 build/NEWS:33625 build/NEWS:34418 build/NEWS:35571 +#: build/NEWS:35926 build/NEWS:36897 build/NEWS:38698 build/NEWS:39285 +#: build/NEWS:41102 build/NEWS:41187 build/NEWS:41484 build/NEWS:42040 +#: build/NEWS:42571 +msgid "Library" +msgstr "" + +#: build/NEWS:73 +msgid ":gh:`116608`: undeprecate functional API for ``importlib.resources``" +msgstr "" + +#: build/NEWS:75 +msgid "" +":gh:`132075`: Fix possible use of :mod:`socket` address structures with " +"uninitialized members. Now all structure members are initialized with zeroes " +"by default." +msgstr "" + +#: build/NEWS:79 +msgid "" +":gh:`132002`: Fix crash when deallocating :class:`contextvars.ContextVar` " +"with weird unahashable string names." +msgstr "" + +#: build/NEWS:82 +msgid "" +":gh:`131668`: :mod:`socket`: Fix code parsing AF_BLUETOOTH socket addresses." +msgstr "" + +#: build/NEWS:85 +msgid "" +":gh:`131492`: Fix a resource leak when constructing a :class:`gzip.GzipFile` " +"with a filename fails, for example when passing an invalid ``compresslevel``." +msgstr "" + +#: build/NEWS:89 +msgid "" +":gh:`131325`: Fix sendfile fallback implementation to drain data after " +"writing to transport in :mod:`asyncio`." +msgstr "" + +#: build/NEWS:92 +msgid "" +":gh:`129843`: Fix incorrect argument passing in :func:`warnings." +"warn_explicit`." +msgstr "" + +#: build/NEWS:95 +msgid "" +":gh:`131204`: Use monospace font from System Font Stack for cross-platform " +"support in :class:`difflib.HtmlDiff`." +msgstr "" + +#: build/NEWS:98 +msgid "" +":gh:`131045`: Fix issue with ``__contains__``, values, and pseudo-members " +"for :class:`enum.Flag`." +msgstr "" + +#: build/NEWS:101 +msgid "" +":gh:`130959`: Fix pure-Python implementation of :func:`datetime.time." +"fromisoformat` to reject times with spaces in fractional part (for example, " +"``12:34:56.400 +02:00``), matching the C implementation. Patch by Michał " +"Gorny." +msgstr "" + +#: build/NEWS:106 +msgid "" +":gh:`130637`: Add validation for numeric response data in poplib.POP3.stat() " +"method" +msgstr "" + +#: build/NEWS:109 +msgid "" +":gh:`130461`: Remove ``.. index::`` directives from the :mod:`uuid` module " +"documentation. These directives previously created entries in the general " +"index for :func:`~uuid.getnode` as well as the :func:`~uuid.uuid1`, :func:" +"`~uuid.uuid3`, :func:`~uuid.uuid4`, and :func:`~uuid.uuid5` constructor " +"functions." +msgstr "" + +#: build/NEWS:115 +msgid "" +":gh:`130285`: Fix corner case for :func:`random.sample` allowing the " +"*counts* parameter to specify an empty population. So now, ``sample([], 0, " +"counts=[])`` and ``sample('abc', k=0, counts=[0, 0, 0])`` both give the same " +"result as ``sample([], 0)``." +msgstr "" + +#: build/NEWS:120 +msgid ":gh:`130250`: Fix regression in ``traceback.print_last()``." +msgstr "" + +#: build/NEWS:122 +msgid "" +":gh:`118761`: Reverts a change in the previous release attempting to make " +"some stdlib imports used within the :mod:`subprocess` module lazy as this " +"was causing errors during ``__del__`` finalizers calling methods such as " +"``terminate``, or ``kill``, or ``send_signal``." +msgstr "" + +#: build/NEWS:127 +msgid "" +":gh:`130164`: Fixed failure to raise :exc:`TypeError` in :meth:`inspect." +"Signature.bind` for positional-only arguments provided by keyword when a " +"variadic keyword argument (e.g. ``**kwargs``) is present." +msgstr "" + +#: build/NEWS:131 +msgid "" +":gh:`130151`: Fix reference leaks in :func:`!_hashlib.hmac_new` and :func:`!" +"_hashlib.hmac_digest`. Patch by Bénédikt Tran." +msgstr "" + +#: build/NEWS:134 +msgid "" +":gh:`129726`: Fix :class:`gzip.GzipFile` raising an unraisable exception " +"during garbage collection when referring to a temporary object by breaking " +"the reference loop with :mod:`weakref`." +msgstr "" + +#: build/NEWS:138 +msgid ":gh:`129583`: Update bundled pip to 25.0.1" +msgstr "" + +#: build/NEWS:140 +msgid "" +":gh:`97850`: Update the deprecation warning of :meth:`importlib.abc.Loader." +"load_module`." +msgstr "" + +#: build/NEWS:143 +msgid "" +":gh:`129603`: Fix bugs where :class:`sqlite3.Row` objects could segfault if " +"their inherited :attr:`~sqlite3.Cursor.description` was set to ``None``. " +"Patch by Erlend Aasland." +msgstr "" + +#: build/NEWS:147 +msgid "" +":gh:`117779`: Fix reading duplicated entries in :mod:`zipfile` by name. " +"Reading duplicated entries (except the last one) by ``ZipInfo`` now emits a " +"warning instead of raising an exception." +msgstr "" + +#: build/NEWS:151 +msgid "" +":gh:`128772`: Fix :mod:`pydoc` for methods with the ``__module__`` attribute " +"equal to ``None``." +msgstr "" + +#: build/NEWS:154 +msgid "" +":gh:`92897`: Scheduled the deprecation of the ``check_home`` argument of :" +"func:`sysconfig.is_python_build` to Python 3.15." +msgstr "" + +#: build/NEWS:157 +msgid "" +":gh:`128703`: Fix :func:`mimetypes.guess_type` to use default mapping for " +"empty ``Content-Type`` in registry." +msgstr "" + +#: build/NEWS:160 +msgid "" +":gh:`126037`: :mod:`xml.etree.ElementTree`: Fix a crash in :meth:`Element." +"find <xml.etree.ElementTree.Element.find>`, :meth:`Element.findtext <xml." +"etree.ElementTree.Element.findtext>` and :meth:`Element.findall <xml.etree." +"ElementTree.Element.findall>` when the tag to find implements an :meth:" +"`~object.__eq__` method mutating the element being queried. Patch by " +"Bénédikt Tran." +msgstr "" + +#: build/NEWS:167 +msgid "" +":gh:`127712`: Fix handling of the ``secure`` argument of :class:`logging." +"handlers.SMTPHandler`." +msgstr "" + +#: build/NEWS:170 +msgid "" +":gh:`126033`: :mod:`xml.etree.ElementTree`: Fix a crash in :meth:`Element." +"remove <xml.etree.ElementTree.Element.remove>` when the element is " +"concurrently mutated. Patch by Bénédikt Tran." +msgstr "" + +#: build/NEWS:174 +msgid "" +":gh:`125553`: Fix round-trip invariance for backslash continuations in :func:" +"`tokenize.untokenize`." +msgstr "" + +#: build/NEWS:177 +msgid "" +":gh:`101137`: Mime type ``text/x-rst`` is now supported by :mod:`mimetypes`." +msgstr "" + +#: build/NEWS:180 +msgid "" +":gh:`113238`: Add ``Anchor`` to ``importlib.resources`` (in order for the " +"code to comply with the documentation)" +msgstr "" + +#: build/NEWS:183 +msgid "" +":gh:`89039`: When replace() method is called on a subclass of datetime, date " +"or time, properly call derived constructor. Previously, only the base " +"class's constructor was called." +msgstr "" + +#: build/NEWS:187 +msgid "" +"Also, make sure to pass non-zero fold values when creating subclasses in " +"various methods. Previously, fold was silently ignored." +msgstr "" + +#: build/NEWS:1103 build/NEWS:1869 build/NEWS:3337 build/NEWS:9610 +#: build/NEWS:13383 build/NEWS:16415 build/NEWS:17812 build/NEWS:20195 +#: build/NEWS:21437 build/NEWS:24506 build/NEWS:25624 build/NEWS:28978 +#: build/NEWS:29605 build/NEWS:32938 build/NEWS:34224 build/NEWS:35400 +#: build/NEWS:36989 build/NEWS:39669 build/NEWS:40896 build/NEWS:43765 +msgid "IDLE" +msgstr "" + +#: build/NEWS:193 +msgid "" +":gh:`129873`: Simplify displaying the IDLE doc by only copying the text " +"section of idle.html to idlelib/help.html. Patch by Stan Ulbrych." +msgstr "" + +#: build/NEWS:917 build/NEWS:2206 build/NEWS:3384 build/NEWS:3920 +#: build/NEWS:5263 build/NEWS:6265 build/NEWS:7432 build/NEWS:11031 +#: build/NEWS:12334 build/NEWS:14833 build/NEWS:16643 build/NEWS:17709 +#: build/NEWS:19682 build/NEWS:20988 build/NEWS:23071 build/NEWS:25322 +#: build/NEWS:28724 build/NEWS:29302 build/NEWS:30212 build/NEWS:32648 +#: build/NEWS:34155 build/NEWS:35443 build/NEWS:37061 build/NEWS:39039 +#: build/NEWS:40993 build/NEWS:41756 build/NEWS:43957 +msgid "Documentation" +msgstr "" + +#: build/NEWS:199 +msgid "" +":gh:`131417`: Mention :class:`asyncio.Future` and :class:`asyncio.Task` in " +"generic classes list." +msgstr "" + +#: build/NEWS:202 +msgid "" +":gh:`125722`: Require Sphinx 8.2.0 or later to build the Python " +"documentation. Patch by Adam Turner." +msgstr "" + +#: build/NEWS:205 +msgid "" +":gh:`129712`: The wheel tags supported by each macOS universal SDK option " +"are now documented." +msgstr "" + +#: build/NEWS:208 +msgid "" +":gh:`46236`: C API: Document :c:func:`PyUnicode_RSplit`, :c:func:" +"`PyUnicode_Partition` and :c:func:`PyUnicode_RPartition`." +msgstr "" + +#: build/NEWS:935 build/NEWS:1518 build/NEWS:2330 build/NEWS:3412 +#: build/NEWS:4007 build/NEWS:4559 build/NEWS:6093 build/NEWS:7143 +#: build/NEWS:10607 build/NEWS:12031 build/NEWS:13500 build/NEWS:16514 +#: build/NEWS:17372 build/NEWS:19463 build/NEWS:20779 build/NEWS:21903 +#: build/NEWS:25121 build/NEWS:28668 build/NEWS:29184 build/NEWS:29957 +#: build/NEWS:31150 build/NEWS:33896 build/NEWS:35176 build/NEWS:35554 +#: build/NEWS:35856 build/NEWS:36880 build/NEWS:38692 build/NEWS:39827 +#: build/NEWS:40596 build/NEWS:41182 build/NEWS:41466 build/NEWS:42020 +#: build/NEWS:42345 +msgid "Core and Builtins" +msgstr "" + +#: build/NEWS:214 +msgid "" +":gh:`131670`: Fix :func:`anext` failing on sync :meth:`~object.__anext__` " +"raising an exception." +msgstr "" + +#: build/NEWS:217 +msgid "" +":gh:`130809`: Fixed an issue where ``_PyFrame_LocalsToFast`` tries to write " +"module level values to hidden fasts." +msgstr "" + +#: build/NEWS:220 +msgid "" +":gh:`130775`: Do not crash on negative ``column`` and ``end_column`` in :mod:" +"`ast` locations." +msgstr "" + +#: build/NEWS:223 +msgid "" +":gh:`130618`: Fix a bug that was causing ``UnicodeDecodeError`` or " +"``SystemError`` to be raised when using f-strings with ``lambda`` " +"expressions with non-ASCII characters. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:227 +msgid "" +":gh:`130163`: Fix possible crashes related to concurrent change and use of " +"the :mod:`sys` module attributes." +msgstr "" + +#: build/NEWS:230 +msgid "" +":gh:`88887`: Fixing multiprocessing Resource Tracker process leaking, " +"usually observed when running Python as PID 1." +msgstr "" + +#: build/NEWS:233 +msgid "" +":gh:`116042`: Fix location for SyntaxErrors of invalid escapes in the " +"tokenizer. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:236 +msgid "" +":gh:`128632`: Disallow ``__classdict__`` as the name of a type parameter. " +"Using this name would previously crash the interpreter in some circumstances." +msgstr "" + +#: build/NEWS:240 +msgid "" +":gh:`125331`: ``from __future__ import barry_as_FLUFL`` now works in more " +"contexts, including when it is used in files, with the ``-c`` flag, and in " +"the REPL when there are multiple statements on the same line. Previously, it " +"worked only on subsequent lines in the REPL, and when the appropriate flags " +"were passed directly to :func:`compile`. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:247 +msgid "" +":gh:`107526`: Revert converting ``vars``, ``dir``, ``next``, ``getattr``, " +"and ``iter`` to argument clinic." +msgstr "" + +#: build/NEWS:250 +msgid ":gh:`107674`: Fixed performance regression in ``sys.settrace``." +msgstr "" + +#: build/NEWS:976 build/NEWS:2308 build/NEWS:3986 build/NEWS:4517 +#: build/NEWS:6054 build/NEWS:7523 build/NEWS:11154 build/NEWS:12433 +#: build/NEWS:15245 build/NEWS:16698 build/NEWS:17834 build/NEWS:19756 +#: build/NEWS:21061 build/NEWS:23685 build/NEWS:25411 build/NEWS:29372 +#: build/NEWS:30832 build/NEWS:33541 build/NEWS:35097 build/NEWS:36095 +#: build/NEWS:37353 build/NEWS:39697 build/NEWS:43928 +msgid "C API" +msgstr "" + +#: build/NEWS:255 +msgid ":gh:`131740`: Update PyUnstable_GC_VisitObjects to traverse perm gen." +msgstr "" + +#: build/NEWS:982 build/NEWS:1572 build/NEWS:3278 build/NEWS:3953 +#: build/NEWS:5305 build/NEWS:6278 build/NEWS:7461 build/NEWS:11081 +#: build/NEWS:12374 build/NEWS:15090 build/NEWS:16658 build/NEWS:17756 +#: build/NEWS:19708 build/NEWS:21022 build/NEWS:23345 build/NEWS:25349 +#: build/NEWS:28958 build/NEWS:29576 build/NEWS:31048 build/NEWS:33558 +#: build/NEWS:34321 build/NEWS:35187 build/NEWS:35715 build/NEWS:36557 +#: build/NEWS:37344 build/NEWS:39757 build/NEWS:41090 build/NEWS:41454 +#: build/NEWS:42316 build/NEWS:43848 +msgid "Build" +msgstr "" + +#: build/NEWS:260 +msgid "" +":gh:`131865`: The DTrace build now properly passes the ``CC`` and ``CFLAGS`` " +"variables to the ``dtrace`` command when utilizing SystemTap on Linux." +msgstr "" + +#: build/NEWS:264 +msgid "" +":gh:`130740`: Ensure that ``Python.h`` is included before ``stdbool.h`` " +"unless ``pyconfig.h`` is included before or in some platform-specific " +"contexts." +msgstr "" + +#: build/NEWS:268 +msgid "" +":gh:`129838`: Don't redefine ``_Py_NO_SANITIZE_UNDEFINED`` when compiling " +"with a recent GCC version and undefined sanitizer enabled." +msgstr "" + +#: build/NEWS:271 +msgid "" +":gh:`129660`: Drop ``test_embed`` from PGO training, whose contribution in " +"recent versions is considered to be ignorable." +msgstr "" + +#: build/NEWS:276 +msgid "Python 3.12.9 final" +msgstr "" + +#: build/NEWS:278 +msgid "*Release date: 2025-02-04*" +msgstr "" + +#: build/NEWS:283 +msgid "" +":gh:`127906`: Test the limited C API in test_cppext. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:286 +msgid "" +":gh:`127906`: Backport test_cext from the main branch. Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:289 +msgid "" +":gh:`127637`: Add tests for the :mod:`dis` command-line interface. Patch by " +"Bénédikt Tran." +msgstr "" + +#: build/NEWS:295 +msgid "" +":gh:`105704`: When using :func:`urllib.parse.urlsplit` and :func:`urllib." +"parse.urlparse` host parsing would not reject domain names containing square " +"brackets (``[`` and ``]``). Square brackets are only valid for IPv6 and " +"IPvFuture hosts according to `RFC 3986 Section 3.2.2 <https://www.rfc-editor." +"org/rfc/rfc3986#section-3.2.2>`__." +msgstr "" + +#: build/NEWS:301 +msgid "" +":gh:`127655`: Fixed the :class:`!asyncio.selector_events." +"_SelectorSocketTransport` transport not pausing writes for the protocol when " +"the buffer reaches the high water mark when using :meth:`asyncio." +"WriteTransport.writelines`." +msgstr "" + +#: build/NEWS:306 +msgid "" +":gh:`126108`: Fix a possible ``NULL`` pointer dereference in :c:func:`!" +"PySys_AddWarnOptionUnicode`." +msgstr "" + +#: build/NEWS:309 +msgid "" +":gh:`80222`: Fix bug in the folding of quoted strings when flattening an " +"email message using a modern email policy. Previously when a quoted string " +"was folded so that it spanned more than one line, the surrounding quotes and " +"internal escapes would be omitted. This could theoretically be used to spoof " +"header lines using a carefully constructed quoted string if the resulting " +"rendered email was transmitted or re-parsed." +msgstr "" + +#: build/NEWS:316 +msgid "" +":gh:`119511`: Fix a potential denial of service in the :mod:`imaplib` " +"module. When connecting to a malicious server, it could cause an arbitrary " +"amount of memory to be allocated. On many systems this is harmless as unused " +"virtual memory is only a mapping, but if this hit a virtual address size " +"limit it could lead to a :exc:`MemoryError` or other process crash. On " +"unusual systems or builds where all allocated memory is touched and backed " +"by actual ram or storage it could've consumed resources doing so until " +"similarly crashing." +msgstr "" + +#: build/NEWS:328 +msgid "" +":gh:`129502`: Unlikely errors in preparing arguments for :mod:`ctypes` " +"callback are now handled in the same way as errors raised in the callback of " +"in converting the result of the callback -- using :func:`sys.unraisablehook` " +"instead of :func:`sys.excepthook` and not setting :data:`sys.last_exc` and " +"other variables." +msgstr "" + +#: build/NEWS:334 +msgid "" +":gh:`129403`: Corrected :exc:`ValueError` message for :class:`asyncio." +"Barrier` and :class:`threading.Barrier`." +msgstr "" + +#: build/NEWS:337 +msgid "" +":gh:`129409`: Fix an integer overflow in the :mod:`csv` module when writing " +"a data field larger than 2GB." +msgstr "" + +#: build/NEWS:340 +msgid "" +":gh:`118761`: Improve import time of :mod:`subprocess` by lazy importing " +"``locale`` and ``signal``. Patch by Taneli Hukkinen." +msgstr "" + +#: build/NEWS:343 +msgid "" +":gh:`129346`: In :mod:`sqlite3`, handle out-of-memory when creating user-" +"defined SQL functions." +msgstr "" + +#: build/NEWS:346 +msgid "" +":gh:`128550`: Removed an incorrect optimization relating to eager tasks in :" +"class:`asyncio.TaskGroup` that resulted in cancellations being missed." +msgstr "" + +#: build/NEWS:349 +msgid "" +":gh:`128991`: Release the enter frame reference within :mod:`bdb` callback" +msgstr "" + +#: build/NEWS:352 +msgid "" +":gh:`128961`: Fix a crash when setting state on an exhausted :class:`array." +"array` iterator." +msgstr "" + +#: build/NEWS:355 +msgid "" +":gh:`128916`: Do not attempt to set ``SO_REUSEPORT`` on sockets of address " +"families other than ``AF_INET`` and ``AF_INET6``, as it is meaningless with " +"these address families, and the call with fail with Linux kernel 6.12.9 and " +"newer." +msgstr "" + +#: build/NEWS:360 +msgid "" +":gh:`128679`: Fix :func:`tracemalloc.stop` race condition. Fix :mod:" +"`tracemalloc` to support calling :func:`tracemalloc.stop` in one thread, " +"while another thread is tracing memory allocations. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:365 +msgid "" +":gh:`128562`: Fix possible conflicts in generated :mod:`tkinter` widget " +"names if the widget class name ends with a digit." +msgstr "" + +#: build/NEWS:368 +msgid "" +":gh:`128552`: Fix cyclic garbage introduced by :meth:`asyncio.loop." +"create_task` and :meth:`asyncio.TaskGroup.create_task` holding a reference " +"to the created task if it is eager." +msgstr "" + +#: build/NEWS:372 +msgid "" +":gh:`128479`: Fix :func:`!asyncio.staggered.staggered_race` leaking tasks " +"and issuing an unhandled exception." +msgstr "" + +#: build/NEWS:375 +msgid "" +":gh:`88834`: Unify the instance check for :class:`typing.Union` and :class:" +"`types.UnionType`: :class:`!Union` now uses the instance checks against its " +"parameters instead of the subclass checks." +msgstr "" + +#: build/NEWS:379 +msgid "" +":gh:`128302`: Fix :meth:`!xml.dom.xmlbuilder.DOMEntityResolver." +"resolveEntity`, which was broken by the Python 3.0 transition." +msgstr "" + +#: build/NEWS:383 +msgid "" +":gh:`128302`: Allow :meth:`!xml.dom.xmlbuilder.DOMParser.parse` to correctly " +"handle :class:`!xml.dom.xmlbuilder.DOMInputSource` instances that only have " +"a :attr:`!systemId` attribute set." +msgstr "" + +#: build/NEWS:387 +msgid "" +":gh:`112064`: Fix incorrect handling of negative read sizes in :meth:" +"`HTTPResponse.read <http.client.HTTPResponse.read>`. Patch by Yury Manushkin." +msgstr "" + +#: build/NEWS:391 +msgid ":gh:`58956`: Fixed a frame reference leak in :mod:`bdb`." +msgstr "" + +#: build/NEWS:393 +msgid "" +":gh:`128131`: Completely support random access of uncompressed unencrypted " +"read-only zip files obtained by :meth:`ZipFile.open <zipfile.ZipFile.open>`." +msgstr "" + +#: build/NEWS:397 +msgid "" +":gh:`127975`: Avoid reusing quote types in :func:`ast.unparse` if not needed." +msgstr "" + +#: build/NEWS:400 +msgid "" +":gh:`128014`: Fix resetting the default window icon by passing " +"``default=''`` to the :mod:`tkinter` method :meth:`!wm_iconbitmap`." +msgstr "" + +#: build/NEWS:403 +msgid "" +":gh:`115514`: Fix exceptions and incomplete writes after :class:`!asyncio." +"_SelectorTransport` is closed before writes are completed." +msgstr "" + +#: build/NEWS:407 +msgid "" +":gh:`41872`: Fix quick extraction of module docstrings from a file in :mod:" +"`pydoc`. It now supports docstrings with single quotes, escape sequences, " +"raw string literals, and other Python syntax." +msgstr "" + +#: build/NEWS:411 +msgid "" +":gh:`126742`: Fix support of localized error messages reported by :manpage:" +"`dlerror(3)` and :manpage:`gdbm_strerror <gdbm(3)>` in :mod:`ctypes` and :" +"mod:`dbm.gnu` functions respectively. Patch by Bénédikt Tran." +msgstr "" + +#: build/NEWS:416 +msgid "" +":gh:`127870`: Detect recursive calls in ctypes ``_as_parameter_`` handling. " +"Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:419 +msgid "" +":gh:`127847`: Fix the position when doing interleaved seeks and reads in " +"uncompressed, unencrypted zip files returned by :meth:`zipfile.ZipFile.open`." +msgstr "" + +#: build/NEWS:423 +msgid "" +":gh:`127732`: The :mod:`platform` module now correctly detects Windows " +"Server 2025." +msgstr "" + +#: build/NEWS:426 +msgid "" +":gh:`93312`: Include ``<sys/pidfd.h>`` to get ``os.PIDFD_NONBLOCK`` " +"constant. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:429 +msgid "" +":gh:`83662`: Add missing ``__class_getitem__`` method to the Python " +"implementation of :func:`functools.partial`, to make it compatible with the " +"C version. This is mainly relevant for alternative Python implementations " +"like PyPy and GraalPy, because CPython will usually use the C-implementation " +"of that function." +msgstr "" + +#: build/NEWS:435 +msgid "" +":gh:`127586`: :class:`multiprocessing.pool.Pool` now properly restores " +"blocked signal handlers of the parent thread when creating processes via " +"either *spawn* or *forkserver*." +msgstr "" + +#: build/NEWS:439 +msgid "" +":gh:`98188`: Fix an issue in :meth:`email.message.Message.get_payload` where " +"data cannot be decoded if the Content Transfer Encoding mechanism contains " +"trailing whitespaces or additional junk text. Patch by Hui Liu." +msgstr "" + +#: build/NEWS:443 +msgid "" +":gh:`127257`: In :mod:`ssl`, system call failures that OpenSSL reports using " +"``ERR_LIB_SYS`` are now raised as :exc:`OSError`." +msgstr "" + +#: build/NEWS:446 +msgid "" +":gh:`126775`: Make :func:`linecache.checkcache` thread safe and GC re-" +"entrancy safe." +msgstr "" + +#: build/NEWS:449 +msgid "" +":gh:`58956`: Fixed a bug in :mod:`pdb` where sometimes the breakpoint won't " +"trigger if it was set on a function which is already in the call stack." +msgstr "" + +#: build/NEWS:453 +msgid "" +":gh:`123401`: The :mod:`http.cookies` module now supports parsing obsolete :" +"rfc:`850` date formats, in accordance with :rfc:`9110` requirements. Patch " +"by Nano Zheng." +msgstr "" + +#: build/NEWS:457 +msgid "" +":gh:`123085`: In a bare call to :func:`importlib.resources.files`, ensure " +"the caller's frame is properly detected when ``importlib.resources`` is " +"itself available as a compiled module only (no source)." +msgstr "" + +#: build/NEWS:462 +msgid "" +":gh:`122431`: :func:`readline.append_history_file` now raises a :exc:" +"`ValueError` when given a negative value." +msgstr "" + +#: build/NEWS:468 +msgid "" +":gh:`125722`: Require Sphinx 8.1.3 or later to build the Python " +"documentation. Patch by Adam Turner." +msgstr "" + +#: build/NEWS:471 +msgid "" +":gh:`67206`: Document that :const:`string.printable` is not printable in the " +"POSIX sense. In particular, :meth:`string.printable.isprintable() <str." +"isprintable>` returns :const:`False`. Patch by Bénédikt Tran." +msgstr "" + +#: build/NEWS:478 +msgid "" +":gh:`129345`: Fix null pointer dereference in :func:`syslog.openlog` when an " +"audit hook raises an exception." +msgstr "" + +#: build/NEWS:481 +msgid "" +":gh:`129093`: Fix f-strings such as ``f'{expr=}'`` sometimes not displaying " +"the full expression when the expression contains ``!=``." +msgstr "" + +#: build/NEWS:484 +msgid "" +":gh:`124363`: Treat debug expressions in f-string as raw strings. Patch by " +"Pablo Galindo" +msgstr "" + +#: build/NEWS:487 +msgid "" +":gh:`128799`: Add frame of ``except*`` to traceback when it wraps a naked " +"exception." +msgstr "" + +#: build/NEWS:490 +msgid "" +":gh:`128078`: Fix a :exc:`SystemError` when using :func:`anext` with a " +"default tuple value. Patch by Bénédikt Tran." +msgstr "" + +#: build/NEWS:493 +msgid "" +":gh:`128079`: Fix a bug where :keyword:`except* <except_star>` does not " +"properly check the return value of an :exc:`ExceptionGroup`'s :meth:" +"`~BaseExceptionGroup.split` function, leading to a crash in some cases. Now " +"when :meth:`~BaseExceptionGroup.split` returns an invalid object, :keyword:" +"`except* <except_star>` raises a :exc:`TypeError` with the original raised :" +"exc:`ExceptionGroup` object chained to it." +msgstr "" + +#: build/NEWS:500 +msgid "" +":gh:`127903`: ``Objects/unicodeobject.c``: fix a crash on DEBUG builds in " +"``_copy_characters`` when there is nothing to copy." +msgstr "" + +#: build/NEWS:503 +msgid "" +":gh:`127599`: Fix statistics for increments of object reference counts (in " +"particular, when a reference count was increased by more than 1 in a single " +"operation)." +msgstr "" + +#: build/NEWS:507 +msgid ":gh:`111609`: Respect *end_offset* in :exc:`SyntaxError` subclasses." +msgstr "" + +#: build/NEWS:509 +msgid "" +":gh:`126862`: Fix a possible overflow when a class inherits from an absurd " +"number of super-classes. Reported by Valery Fedorenko. Patch by Bénédikt " +"Tran." +msgstr "" + +#: build/NEWS:513 +msgid "" +":gh:`117195`: Avoid assertion failure for debug builds when calling ``object." +"__sizeof__(1)``" +msgstr "" + +#: build/NEWS:519 +msgid "" +":gh:`126554`: Fix error handling in :class:`ctypes.CDLL` objects which could " +"result in a crash in rare situations." +msgstr "" + +#: build/NEWS:522 +msgid "" +":gh:`107249`: Implement the :c:macro:`Py_UNUSED` macro for Windows MSVC " +"compiler. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:528 +msgid "" +":gh:`129539`: Don't redefine ``EX_OK`` when the system has the ``sysexits." +"h`` header." +msgstr "" + +#: build/NEWS:531 +msgid "" +":gh:`128472`: Skip BOLT optimization of functions using computed gotos, " +"fixing errors on build with LLVM 19." +msgstr "" + +#: build/NEWS:534 +msgid "" +":gh:`123925`: Fix building the :mod:`curses` module on platforms with " +"libncurses but without libncursesw." +msgstr "" + +#: build/NEWS:537 +msgid "" +":gh:`128321`: Set ``LIBS`` instead of ``LDFLAGS`` when checking if :mod:" +"`sqlite3` library functions are available. This fixes the ordering of linked " +"libraries during checks, which was incorrect when using a statically linked " +"``libsqlite3``." +msgstr "" + +#: build/NEWS:544 +msgid "Python 3.12.8 final" +msgstr "" + +#: build/NEWS:546 +msgid "*Release date: 2024-12-03*" +msgstr "" + +#: build/NEWS:551 +msgid ":gh:`124448`: Update bundled Tcl/Tk in macOS installer to 8.6.15." +msgstr "" + +#: build/NEWS:556 +msgid ":gh:`126911`: Update credits command output." +msgstr "" + +#: build/NEWS:558 +msgid "" +":gh:`125315`: Avoid crashing in :mod:`platform` due to slow WMI calls on " +"some Windows machines." +msgstr "" + +#: build/NEWS:561 +msgid "" +":gh:`125550`: Enable the :ref:`launcher` to detect Python 3.14 installs from " +"the Windows Store." +msgstr "" + +#: build/NEWS:564 +msgid ":gh:`124448`: Updated bundled Tcl/Tk to 8.6.15." +msgstr "" + +#: build/NEWS:569 +msgid "" +":gh:`126807`: Fix extraction warnings in :program:`pygettext.py` caused by " +"mistaking function definitions for function calls." +msgstr "" + +#: build/NEWS:575 +msgid "" +":gh:`126909`: Fix test_os extended attribute tests to work on filesystems " +"with 1 KiB xattr size limit." +msgstr "" + +#: build/NEWS:578 +msgid "" +":gh:`125041`: Re-enable skipped tests for :mod:`zlib` on the s390x " +"architecture: only skip checks of the compressed bytes, which can be " +"different between zlib's software implementation and the hardware-" +"accelerated implementation." +msgstr "" + +#: build/NEWS:583 +msgid ":gh:`124295`: Add translation tests to the :mod:`argparse` module." +msgstr "" + +#: build/NEWS:588 +msgid ":gh:`126623`: Upgrade libexpat to 2.6.4" +msgstr "" + +#: build/NEWS:593 +msgid "" +":gh:`127303`: Publicly expose :data:`~token.EXACT_TOKEN_TYPES` in :attr:`!" +"token.__all__`." +msgstr "" + +#: build/NEWS:596 +msgid "" +":gh:`123967`: Fix faulthandler for trampoline frames. If the top-most frame " +"is a trampoline frame, skip it. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:599 +msgid "" +":gh:`127182`: Fix :meth:`!io.StringIO.__setstate__` crash, when :const:" +"`None` was passed as the first value." +msgstr "" + +#: build/NEWS:602 +msgid "" +":gh:`127217`: Fix :func:`urllib.request.pathname2url` for paths starting " +"with multiple slashes on Posix." +msgstr "" + +#: build/NEWS:605 +msgid "" +":gh:`127035`: Fix :mod:`shutil.which` on Windows. Now it looks at direct " +"match if and only if the command ends with a PATHEXT extension or X_OK is " +"not in mode. Support extensionless files if \".\" is in PATHEXT. Support " +"PATHEXT extensions that end with a dot." +msgstr "" + +#: build/NEWS:610 +msgid "" +":gh:`127078`: Fix issue where :func:`urllib.request.url2pathname` failed to " +"discard an extra slash before a UNC drive in the URL path on Windows." +msgstr "" + +#: build/NEWS:614 +msgid "" +":gh:`126766`: Fix issue where :func:`urllib.request.url2pathname` failed to " +"discard any 'localhost' authority present in the URL." +msgstr "" + +#: build/NEWS:617 +msgid "" +":gh:`126997`: Fix support of STRING and GLOBAL opcodes with non-ASCII " +"arguments in :mod:`pickletools`. :func:`pickletools.dis` now outputs non-" +"ASCII bytes in STRING, BINSTRING and SHORT_BINSTRING arguments as escaped " +"(``\\xXX``)." +msgstr "" + +#: build/NEWS:622 +msgid "" +":gh:`126618`: Fix the representation of :class:`itertools.count` objects " +"when the count value is :data:`sys.maxsize`." +msgstr "" + +#: build/NEWS:625 +msgid "" +":gh:`85168`: Fix issue where :func:`urllib.request.url2pathname` and :func:" +"`~urllib.request.pathname2url` always used UTF-8 when quoting and unquoting " +"file URIs. They now use the :term:`filesystem encoding and error handler`." +msgstr "" + +#: build/NEWS:630 +msgid "" +":gh:`67877`: Fix memory leaks when :mod:`regular expression <re>` matching " +"terminates abruptly, either because of a signal or because memory allocation " +"fails." +msgstr "" + +#: build/NEWS:634 +msgid "" +":gh:`126789`: Fixed the values of :py:func:`sysconfig.get_config_vars`, :py:" +"func:`sysconfig.get_paths`, and their siblings when the :py:mod:`site` " +"initialization happens after :py:mod:`sysconfig` has built a cache for :py:" +"func:`sysconfig.get_config_vars`." +msgstr "" + +#: build/NEWS:639 +msgid ":gh:`126188`: Update bundled pip to 24.3.1" +msgstr "" + +#: build/NEWS:641 +msgid "" +":gh:`126766`: Fix issue where :func:`urllib.request.url2pathname` failed to " +"discard two leading slashes introducing an empty authority section." +msgstr "" + +#: build/NEWS:645 +msgid "" +":gh:`126727`: ``locale.nl_langinfo(locale.ERA)`` now returns multiple era " +"description segments separated by semicolons. Previously it only returned " +"the first segment on platforms with Glibc." +msgstr "" + +#: build/NEWS:649 +msgid "" +":gh:`126699`: Allow :class:`collections.abc.AsyncIterator` to be a base for " +"Protocols." +msgstr "" + +#: build/NEWS:652 +msgid "" +":gh:`104745`: Limit starting a patcher (from :func:`unittest.mock.patch` or :" +"func:`unittest.mock.patch.object`) more than once without stopping it" +msgstr "" + +#: build/NEWS:656 +msgid "" +":gh:`126595`: Fix a crash when instantiating :class:`itertools.count` with " +"an initial count of :data:`sys.maxsize` on debug builds. Patch by Bénédikt " +"Tran." +msgstr "" + +#: build/NEWS:660 +msgid "" +":gh:`120423`: Fix issue where :func:`urllib.request.pathname2url` mishandled " +"Windows paths with embedded forward slashes." +msgstr "" + +#: build/NEWS:663 +msgid "" +":gh:`126565`: Improve performances of :meth:`zipfile.Path.open` for non-" +"reading modes." +msgstr "" + +#: build/NEWS:666 +msgid "" +":gh:`126505`: Fix bugs in compiling case-insensitive :mod:`regular " +"expressions <re>` with character classes containing non-BMP characters: " +"upper-case non-BMP character did was ignored and the ASCII flag was ignored " +"when matching a character range whose upper bound is beyond the BMP region." +msgstr "" + +#: build/NEWS:672 +msgid "" +":gh:`117378`: Fixed the :mod:`multiprocessing` ``\"forkserver\"`` start " +"method forkserver process to correctly inherit the parent's :data:`sys.path` " +"during the importing of :func:`multiprocessing.set_forkserver_preload` " +"modules in the same manner as :data:`sys.path` is configured in workers " +"before executing work items." +msgstr "" + +#: build/NEWS:678 +msgid "" +"This bug caused some forkserver module preloading to silently fail to " +"preload. This manifested as a performance degration in child processes when " +"the ``sys.path`` was required due to additional repeated work in every " +"worker." +msgstr "" + +#: build/NEWS:683 +msgid "" +"It could also have a side effect of ``\"\"`` remaining in :data:`sys.path` " +"during forkserver preload imports instead of the absolute path from :func:" +"`os.getcwd` at multiprocessing import time used in the worker ``sys.path``." +msgstr "" + +#: build/NEWS:688 +msgid "" +"The ``sys.path`` differences between phases in the child process could " +"potentially have caused preload to import incorrect things from the wrong " +"location. We are unaware of that actually having happened in practice." +msgstr "" + +#: build/NEWS:692 +msgid "" +":gh:`125679`: The :class:`multiprocessing.Lock` and :class:`multiprocessing." +"RLock` ``repr`` values no longer say \"unknown\" on macOS." +msgstr "" + +#: build/NEWS:696 +msgid "" +":gh:`126476`: Raise :class:`calendar.IllegalMonthError` (now a subclass of :" +"class:`IndexError`) for :func:`calendar.month` when the input month is not " +"correct." +msgstr "" + +#: build/NEWS:700 +msgid "" +":gh:`126489`: The Python implementation of :mod:`pickle` no longer calls :" +"meth:`pickle.Pickler.persistent_id` for the result of :meth:`!persistent_id`." +msgstr "" + +#: build/NEWS:704 +msgid "" +":gh:`126303`: Fix pickling and copying of :class:`os.sched_param` objects." +msgstr "" + +#: build/NEWS:707 +msgid "" +":gh:`126138`: Fix a use-after-free crash on :class:`asyncio.Task` objects " +"whose underlying coroutine yields an object that implements an evil :meth:" +"`~object.__getattribute__`. Patch by Nico Posada." +msgstr "" + +#: build/NEWS:711 +msgid "" +":gh:`126220`: Fix crash in :class:`!cProfile.Profile` and :class:`!_lsprof." +"Profiler` when their callbacks were directly called with 0 arguments." +msgstr "" + +#: build/NEWS:715 +msgid "" +":gh:`126212`: Fix issue where :func:`urllib.request.pathname2url` and :func:" +"`~urllib.request.url2pathname` removed slashes from Windows DOS drive paths " +"and URLs." +msgstr "" + +#: build/NEWS:719 +msgid "" +":gh:`126205`: Fix issue where :func:`urllib.request.pathname2url` generated " +"URLs beginning with four slashes (rather than two) when given a Windows UNC " +"path." +msgstr "" + +#: build/NEWS:723 +msgid "" +":gh:`126105`: Fix a crash in :mod:`ast` when the :attr:`ast.AST._fields` " +"attribute is deleted." +msgstr "" + +#: build/NEWS:726 +msgid "" +":gh:`126106`: Fixes a possible ``NULL`` pointer dereference in :mod:`ssl`." +msgstr "" + +#: build/NEWS:729 +msgid "" +":gh:`126080`: Fix a use-after-free crash on :class:`asyncio.Task` objects " +"for which the underlying event loop implements an evil :meth:`~object." +"__getattribute__`. Reported by Nico-Posada. Patch by Bénédikt Tran." +msgstr "" + +#: build/NEWS:734 +msgid "" +":gh:`126083`: Fixed a reference leak in :class:`asyncio.Task` objects when " +"reinitializing the same object with a non-``None`` context. Patch by Nico " +"Posada." +msgstr "" + +#: build/NEWS:738 +msgid "" +":gh:`125984`: Fix use-after-free crashes on :class:`asyncio.Future` objects " +"for which the underlying event loop implements an evil :meth:`~object." +"__getattribute__`. Reported by Nico-Posada. Patch by Bénédikt Tran." +msgstr "" + +#: build/NEWS:743 +msgid "" +":gh:`125969`: Fix an out-of-bounds crash when an evil :meth:`asyncio.loop." +"call_soon` mutates the length of the internal callbacks list. Patch by " +"Bénédikt Tran." +msgstr "" + +#: build/NEWS:747 +msgid "" +":gh:`125966`: Fix a use-after-free crash in :meth:`asyncio.Future." +"remove_done_callback`. Patch by Bénédikt Tran." +msgstr "" + +#: build/NEWS:750 +msgid "" +":gh:`125789`: Fix possible crash when mutating list of callbacks returned " +"by :attr:`!asyncio.Future._callbacks`. It now always returns a new copy in C " +"implementation :mod:`!_asyncio`. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:754 +msgid "" +":gh:`124452`: Fix an issue in :meth:`email.policy.EmailPolicy." +"header_source_parse` and :meth:`email.policy.Compat32.header_source_parse` " +"that introduced spurious leading whitespaces into header values when the " +"header includes a newline character after the header name delimiter (``:``) " +"and before the value." +msgstr "" + +#: build/NEWS:760 +msgid "" +":gh:`125884`: Fixed the bug for :mod:`pdb` where it can't set breakpoints on " +"functions with certain annotations." +msgstr "" + +#: build/NEWS:763 +msgid "" +":gh:`125355`: Fix several bugs in :meth:`argparse.ArgumentParser." +"parse_intermixed_args`." +msgstr "" + +#: build/NEWS:766 +msgid "The parser no longer changes temporarily during parsing." +msgstr "" + +#: build/NEWS:767 +msgid "Default values are not processed twice." +msgstr "" + +#: build/NEWS:768 +msgid "" +"Required mutually exclusive groups containing positional arguments are now " +"supported." +msgstr "" + +#: build/NEWS:769 +msgid "" +"The missing arguments report now includes the names of all required optional " +"and positional arguments." +msgstr "" + +#: build/NEWS:770 +msgid "" +"Unknown options can be intermixed with positional arguments in " +"parse_known_intermixed_args()." +msgstr "" + +#: build/NEWS:772 +msgid "" +":gh:`125682`: Reject non-ASCII digits in the Python implementation of :func:" +"`json.loads` conforming to the JSON specification." +msgstr "" + +#: build/NEWS:775 +msgid "" +":gh:`125660`: Reject invalid unicode escapes for Python implementation of :" +"func:`json.loads`." +msgstr "" + +#: build/NEWS:778 +msgid "" +":gh:`125259`: Fix the notes removal logic for errors thrown in enum " +"initialization." +msgstr "" + +#: build/NEWS:781 +msgid "" +":gh:`125519`: Improve traceback if :func:`importlib.reload` is called with " +"an object that is not a module. Patch by Alex Waygood." +msgstr "" + +#: build/NEWS:784 +msgid "" +":gh:`125451`: Fix deadlock when :class:`concurrent.futures." +"ProcessPoolExecutor` shuts down concurrently with an error when feeding a " +"job to a worker process." +msgstr "" + +#: build/NEWS:788 +msgid "" +":gh:`125422`: Fixed the bug where :mod:`pdb` and :mod:`bdb` can step into " +"the bottom caller frame." +msgstr "" + +#: build/NEWS:791 +msgid "" +":gh:`100141`: Fixed the bug where :mod:`pdb` will be stuck in an infinite " +"loop when debugging an empty file." +msgstr "" + +#: build/NEWS:794 +msgid "" +":gh:`53203`: Fix :func:`time.strptime` for ``%c``, ``%x`` and ``%X`` formats " +"in many locales that use non-ASCII digits, like Persian, Burmese, Odia and " +"Shan." +msgstr "" + +#: build/NEWS:798 +msgid "" +":gh:`125254`: Fix a bug where ArgumentError includes the incorrect ambiguous " +"option in :mod:`argparse`." +msgstr "" + +#: build/NEWS:801 +msgid "" +":gh:`61011`: Fix inheritance of nested mutually exclusive groups from parent " +"parser in :class:`argparse.ArgumentParser`. Previously, all nested mutually " +"exclusive groups lost their connection to the group containing them and were " +"displayed as belonging directly to the parser." +msgstr "" + +#: build/NEWS:806 +msgid "" +":gh:`52551`: Fix encoding issues in :func:`time.strftime`, the :meth:" +"`~datetime.datetime.strftime` method of the :mod:`datetime` classes :class:" +"`~datetime.datetime`, :class:`~datetime.date` and :class:`~datetime.time` " +"and formatting of these classes. Characters not encodable in the current " +"locale are now acceptable in the format string. Surrogate pairs and sequence " +"of surrogatescape-encoded bytes are no longer recombinated. Embedded null " +"character no longer terminates the format string." +msgstr "" + +#: build/NEWS:815 +msgid "" +":gh:`125118`: Don't copy arbitrary values to :c:expr:`_Bool` in the :mod:" +"`struct` module." +msgstr "" + +#: build/NEWS:818 +msgid "" +":gh:`125069`: Fix an issue where providing a :class:`pathlib.PurePath` " +"object as an initializer argument to a second :class:`~pathlib.PurePath` " +"object with a different flavour resulted in arguments to the former object's " +"initializer being joined by the latter object's flavour." +msgstr "" + +#: build/NEWS:823 +msgid "" +":gh:`124969`: Fix ``locale.nl_langinfo(locale.ALT_DIGITS)`` on platforms " +"with glibc. Now it returns a string consisting of up to 100 semicolon-" +"separated symbols (an empty string in most locales) on all Posix platforms. " +"Previously it only returned the first symbol or an empty string." +msgstr "" + +#: build/NEWS:829 +msgid "" +":gh:`124958`: Fix refcycles in exceptions raised from :class:`asyncio." +"TaskGroup` and the python implementation of :class:`asyncio.Future`" +msgstr "" + +#: build/NEWS:833 +msgid "" +":gh:`53203`: Fix :func:`time.strptime` for ``%c`` and ``%x`` formats in many " +"locales: Arabic, Bislama, Breton, Bodo, Kashubian, Chuvash, Estonian, " +"French, Irish, Ge'ez, Gurajati, Manx Gaelic, Hebrew, Hindi, Chhattisgarhi, " +"Haitian Kreyol, Japanese, Kannada, Korean, Marathi, Malay, Norwegian, " +"Nynorsk, Punjabi, Rajasthani, Tok Pisin, Yoruba, Yue Chinese, Yau/Nungon and " +"Chinese." +msgstr "" + +#: build/NEWS:840 +msgid "" +":gh:`124917`: Allow calling :func:`os.path.exists` and :func:`os.path." +"lexists` with keyword arguments on Windows. Fixes a regression in 3.12.4." +msgstr "" + +#: build/NEWS:844 +msgid "" +":gh:`124653`: Fix detection of the minimal Queue API needed by the :mod:" +"`logging` module. Patch by Bénédikt Tran." +msgstr "" + +#: build/NEWS:847 +msgid "" +":gh:`124858`: Fix reference cycles left in tracebacks in :func:`asyncio." +"open_connection` when used with ``happy_eyeballs_delay``" +msgstr "" + +#: build/NEWS:850 +msgid "" +":gh:`124390`: Fixed :exc:`AssertionError` when using :func:`!asyncio." +"staggered.staggered_race` with :attr:`asyncio.eager_task_factory`." +msgstr "" + +#: build/NEWS:854 +msgid "" +":gh:`124651`: Properly quote template strings in :mod:`venv` activation " +"scripts." +msgstr "" + +#: build/NEWS:857 +msgid "" +":gh:`124594`: All :mod:`asyncio` REPL prompts run in the same :class:" +"`context <contextvars.Context>`. Contributed by Bartosz Sławecki." +msgstr "" + +#: build/NEWS:860 +msgid "" +":gh:`120378`: Fix a crash related to an integer overflow in :func:`curses." +"resizeterm` and :func:`curses.resize_term`." +msgstr "" + +#: build/NEWS:863 +msgid "" +":gh:`123884`: Fixed bug in itertools.tee() handling of other tee inputs (a " +"tee in a tee). The output now has the promised *n* independent new " +"iterators. Formerly, the first iterator was identical (not independent) to " +"the input iterator. This would sometimes give surprising results." +msgstr "" + +#: build/NEWS:868 +msgid "" +":gh:`123978`: Remove broken :func:`time.thread_time` and :func:`time." +"thread_time_ns` on NetBSD." +msgstr "" + +#: build/NEWS:871 +msgid "" +":gh:`124008`: Fix possible crash (in debug build), incorrect output or " +"returning incorrect value from raw binary ``write()`` when writing to " +"console on Windows." +msgstr "" + +#: build/NEWS:875 +msgid "" +":gh:`123370`: Fix the canvas not clearing after running turtledemo clock." +msgstr "" + +#: build/NEWS:878 +msgid "" +":gh:`120754`: Update unbounded ``read`` calls in :mod:`zipfile` to specify " +"an explicit ``size`` putting a limit on how much data they may read. This " +"also updates handling around ZIP max comment size to match the standard " +"instead of reading comments that are one byte too long." +msgstr "" + +#: build/NEWS:883 +msgid "" +":gh:`70764`: Fixed an issue where :func:`inspect.getclosurevars` would " +"incorrectly classify an attribute name as a global variable when the name " +"exists both as an attribute name and a global variable." +msgstr "" + +#: build/NEWS:887 +msgid "" +":gh:`119826`: Always return an absolute path for :func:`os.path.abspath` on " +"Windows." +msgstr "" + +#: build/NEWS:890 +msgid "" +":gh:`117766`: Always use :func:`str` to print ``choices`` in :mod:`argparse`." +msgstr "" + +#: build/NEWS:893 +msgid "" +":gh:`101955`: Fix SystemError when match regular expression pattern " +"containing some combination of possessive quantifier, alternative and " +"capture group." +msgstr "" + +#: build/NEWS:897 +msgid "" +":gh:`88110`: Fixed :class:`multiprocessing.Process` reporting a ``." +"exitcode`` of 1 even on success when using the ``\"fork\"`` start method " +"while using a :class:`concurrent.futures.ThreadPoolExecutor`." +msgstr "" + +#: build/NEWS:901 +msgid "" +":gh:`71936`: Fix a race condition in :class:`multiprocessing.pool.Pool`." +msgstr "" + +#: build/NEWS:904 +msgid "" +":issue:`46128`: Strip :class:`unittest.IsolatedAsyncioTestCase` stack frames " +"from reported stacktraces." +msgstr "" + +#: build/NEWS:907 +msgid "" +":issue:`14074`: Fix :mod:`argparse` metavar processing to allow positional " +"arguments to have a tuple metavar." +msgstr "" + +#: build/NEWS:913 +msgid "" +":gh:`122392`: Increase currently inadequate vertical spacing for the IDLE " +"browsers (path, module, and stack) on high-resolution monitors." +msgstr "" + +#: build/NEWS:919 +msgid "" +":gh:`125277`: Require Sphinx 7.2.6 or later to build the Python " +"documentation. Patch by Adam Turner." +msgstr "" + +#: build/NEWS:922 +msgid "" +":gh:`125018`: The :mod:`importlib.metadata` documentation now includes " +"semantic cross-reference targets for the significant documented APIs. This " +"means intersphinx references like :func:`importlib.metadata.version` will " +"now work as expected." +msgstr "" + +#: build/NEWS:927 +msgid "" +":gh:`121277`: Writers of CPython's documentation can now use ``next`` as the " +"version for the ``versionchanged``, ``versionadded``, ``deprecated`` " +"directives." +msgstr "" + +#: build/NEWS:931 +msgid "" +":gh:`60712`: Include the :class:`object` type in the lists of documented " +"types. Change by Furkan Onder and Martin Panter." +msgstr "" + +#: build/NEWS:937 +msgid "" +":gh:`113841`: Fix possible undefined behavior division by zero in :class:" +"`complex`'s :c:func:`_Py_c_pow`." +msgstr "" + +#: build/NEWS:940 +msgid "" +":gh:`126341`: Now :exc:`ValueError` is raised instead of :exc:`SystemError` " +"when trying to iterate over a released :class:`memoryview` object." +msgstr "" + +#: build/NEWS:944 +msgid "" +":gh:`126066`: Fix :mod:`importlib` to not write an incomplete .pyc files " +"when a ulimit or some other operating system mechanism is preventing the " +"write to go through fully." +msgstr "" + +#: build/NEWS:948 +msgid "" +":gh:`126139`: Provide better error location when attempting to use a :term:" +"`future statement <__future__>` with an unknown future feature." +msgstr "" + +#: build/NEWS:951 +msgid "" +":gh:`125008`: Fix :func:`tokenize.untokenize` producing invalid syntax for " +"double braces preceded by certain escape characters." +msgstr "" + +#: build/NEWS:954 +msgid "" +":gh:`123378`: Fix a crash in the :meth:`~object.__str__` method of :exc:" +"`UnicodeError` objects when the :attr:`UnicodeError.start` and :attr:" +"`UnicodeError.end` values are invalid or out-of-range. Patch by Bénédikt " +"Tran." +msgstr "" + +#: build/NEWS:959 +msgid "" +":gh:`116510`: Fix a crash caused by immortal interned strings being shared " +"between sub-interpreters that use basic single-phase init. In that case, " +"the string can be used by an interpreter that outlives the interpreter that " +"created and interned it. For interpreters that share obmalloc state, also " +"share the interned dict with the main interpreter." +msgstr "" + +#: build/NEWS:965 +msgid "" +":gh:`118950`: Fix bug where SSLProtocol.connection_lost wasn't getting " +"called when OSError was thrown on writing to socket." +msgstr "" + +#: build/NEWS:968 +msgid "" +":gh:`113570`: Fixed a bug in ``reprlib.repr`` where it incorrectly called " +"the repr method on shadowed Python built-in types." +msgstr "" + +#: build/NEWS:971 +msgid "" +":gh:`109746`: If :func:`!_thread.start_new_thread` fails to start a new " +"thread, it deletes its state from interpreter and thus avoids its repeated " +"cleanup on finalization." +msgstr "" + +#: build/NEWS:978 +msgid "" +":gh:`113601`: Removed debug build assertions related to interning strings, " +"which were falsely triggered by stable ABI extensions." +msgstr "" + +#: build/NEWS:984 +msgid ":gh:`89640`: Hard-code float word ordering as little endian on WASM." +msgstr "" + +#: build/NEWS:986 +msgid "" +":gh:`89640`: Improve detection of float word ordering on Linux when link-" +"time optimizations are enabled." +msgstr "" + +#: build/NEWS:991 +msgid "Python 3.12.7 final" +msgstr "" + +#: build/NEWS:993 +msgid "*Release date: 2024-10-01*" +msgstr "" + +#: build/NEWS:998 +msgid "" +":gh:`123915`: Ensure that ``Tools\\msi\\buildrelease.bat`` uses different " +"directories for AMD64 and ARM64 builds." +msgstr "" + +#: build/NEWS:1001 +msgid "" +":gh:`117505`: Fixes an issue with the Windows installer not running " +"ensurepip in a fully isolated environment. This could cause unexpected " +"interactions with the user site-packages." +msgstr "" + +#: build/NEWS:1008 +msgid ":gh:`124378`: Updated ``test_ttk`` to pass with Tcl/Tk 8.6.15." +msgstr "" + +#: build/NEWS:1013 +msgid "" +":gh:`122792`: Changed IPv4-mapped ``ipaddress.IPv6Address`` to consistently " +"use the mapped IPv4 address value for deciding properties. Properties which " +"have their behavior fixed are ``is_multicast``, ``is_reserved``, " +"``is_link_local``, ``is_global``, and ``is_unspecified``." +msgstr "" + +#: build/NEWS:1021 +msgid "" +":gh:`116850`: Fix :mod:`argparse` for namespaces with not directly writable " +"dict (e.g. classes)." +msgstr "" + +#: build/NEWS:1024 +msgid "" +":gh:`58573`: Fix conflicts between abbreviated long options in the parent " +"parser and subparsers in :mod:`argparse`." +msgstr "" + +#: build/NEWS:1027 +msgid "" +":gh:`61181`: Fix support of :ref:`choices` with string value in :mod:" +"`argparse`. Substrings of the specified string no longer considered valid " +"values." +msgstr "" + +#: build/NEWS:1031 +msgid "" +":gh:`80259`: Fix :mod:`argparse` support of positional arguments with " +"``nargs='?'``, ``default=argparse.SUPPRESS`` and specified ``type``." +msgstr "" + +#: build/NEWS:1034 +msgid "" +":gh:`124498`: Fix :class:`typing.TypeAliasType` not to be generic, when " +"``type_params`` is an empty tuple." +msgstr "" + +#: build/NEWS:1037 +msgid "" +":gh:`124345`: :mod:`argparse` vim supports abbreviated single-dash long " +"options separated by ``=`` from its value." +msgstr "" + +#: build/NEWS:1040 +msgid "" +":gh:`104860`: Fix disallowing abbreviation of single-dash long options in :" +"mod:`argparse` with ``allow_abbrev=False``." +msgstr "" + +#: build/NEWS:1043 +msgid "" +":gh:`63143`: Fix parsing mutually exclusive arguments in :mod:`argparse`. " +"Arguments with the value identical to the default value (e.g. booleans, " +"small integers, empty or 1-character strings) are no longer considered \"not " +"present\"." +msgstr "" + +#: build/NEWS:1048 +msgid "" +":gh:`72795`: Positional arguments with :ref:`nargs` equal to ``'*'`` or :" +"data:`!argparse.REMAINDER` are no longer required. This allows to use " +"positional argument with ``nargs='*'`` and without ``default`` in mutually " +"exclusive group and improves error message about required arguments." +msgstr "" + +#: build/NEWS:1053 +msgid "" +":gh:`59317`: Fix parsing positional argument with :ref:`nargs` equal to " +"``'?'`` or ``'*'`` if it is preceded by an option and another positional " +"argument." +msgstr "" + +#: build/NEWS:1057 +msgid "" +":gh:`53780`: :mod:`argparse` now ignores the first ``\"--\"`` (double dash) " +"between an option and command." +msgstr "" + +#: build/NEWS:1060 +msgid "" +":gh:`124217`: Add RFC 9637 reserved IPv6 block ``3fff::/20`` in :mod:" +"`ipaddress` module." +msgstr "" + +#: build/NEWS:1063 +msgid "" +":gh:`124248`: Fixed potential crash when using :mod:`struct` to process zero-" +"width 'Pascal string' fields (``0p``)." +msgstr "" + +#: build/NEWS:1066 +msgid "" +":gh:`81691`: Fix handling of multiple ``\"--\"`` (double dashes) in :mod:" +"`argparse`. Only the first one has now been removed, all subsequent ones are " +"now taken literally." +msgstr "" + +#: build/NEWS:1070 +msgid "" +":gh:`87041`: Fix a bug in :mod:`argparse` where lengthy subparser argument " +"help is incorrectly indented." +msgstr "" + +#: build/NEWS:1073 +msgid "" +":gh:`124171`: Add workaround for broken :c:func:`!fmod()` implementations on " +"Windows, that loose zero sign (e.g. ``fmod(-10, 1)`` returns ``0.0``). " +"Patch by Sergey B Kirpichev." +msgstr "" + +#: build/NEWS:1077 +msgid "" +":gh:`123934`: Fix :class:`unittest.mock.MagicMock` reseting magic methods " +"return values after ``.reset_mock(return_value=True)`` was called." +msgstr "" + +#: build/NEWS:1080 +msgid "" +":gh:`123935`: Fix parent slots detection for dataclasses that inherit from " +"classes with ``__dictoffset__``." +msgstr "" + +#: build/NEWS:1083 +msgid "" +":gh:`123892`: Add ``\"_wmi\"`` to :data:`sys.stdlib_module_names`. Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:1086 +msgid "" +":gh:`116810`: Resolve a memory leak introduced in CPython 3.10's :mod:`ssl` " +"when the :attr:`ssl.SSLSocket.session` property was accessed. Speeds up read " +"and write access to said property by no longer unnecessarily cloning session " +"objects via serialization." +msgstr "" + +#: build/NEWS:1091 +msgid "" +":gh:`121735`: When working with zip archives, importlib.resources now " +"properly honors module-adjacent references (e.g. ``files(pkg.mod)`` and not " +"just ``files(pkg)``)." +msgstr "" + +#: build/NEWS:1095 +msgid "" +":gh:`119004`: Fix a crash in :ref:`OrderedDict.__eq__ " +"<collections_OrderedDict__eq__>` when operands are mutated during the check. " +"Patch by Bénédikt Tran." +msgstr "" + +#: build/NEWS:1099 +msgid "" +":issue:`44864`: Do not translate user-provided strings in :class:`argparse." +"ArgumentParser`." +msgstr "" + +#: build/NEWS:1105 +msgid "" +":gh:`112938`: Fix uninteruptable hang when Shell gets rapid continuous " +"output." +msgstr "" + +#: build/NEWS:1111 +msgid "" +":gh:`116510`: Fix a bug that can cause a crash when sub-interpreters use " +"\"basic\" single-phase extension modules. Shared objects could refer to " +"PyGC_Head nodes that had been freed as part of interpreter cleanup." +msgstr "" + +#: build/NEWS:1115 +msgid "" +":gh:`124188`: Fix reading and decoding a line from the source file witn non-" +"UTF-8 encoding for syntax errors raised in the compiler." +msgstr "" + +#: build/NEWS:1118 +msgid "" +":gh:`77894`: Fix possible crash in the garbage collector when it tries to " +"break a reference loop containing a :class:`memoryview` object. Now a :class:" +"`!memoryview` object can only be cleared if there are no buffers that refer " +"it." +msgstr "" + +#: build/NEWS:1123 +msgid "" +":gh:`98442`: Fix too wide source locations of the cleanup instructions of a " +"with statement." +msgstr "" + +#: build/NEWS:1126 +msgid "" +":gh:`113993`: Strings interned with :func:`sys.intern` are again garbage-" +"collected when no longer used, as per the documentation. Strings interned " +"with the C function :c:func:`PyUnicode_InternInPlace` are still immortal. " +"Internals of the string interning mechanism have been changed. This may " +"affect performance and identities of :class:`str` objects." +msgstr "" + +#: build/NEWS:1135 +msgid "" +":gh:`113993`: :c:func:`PyUnicode_InternInPlace` no longer prevents its " +"argument from being garbage collected." +msgstr "" + +#: build/NEWS:1138 +msgid "" +"Several functions that take ``char *`` are now documented as possibly " +"preventing string objects from being garbage collected; refer to their " +"documentation for details: :c:func:`PyUnicode_InternFromString`, :c:func:" +"`PyDict_SetItemString`, :c:func:`PyObject_SetAttrString`, :c:func:" +"`PyObject_DelAttrString`, :c:func:`PyUnicode_InternFromString`, and " +"``PyModule_Add*`` convenience functions." +msgstr "" + +#: build/NEWS:1148 +msgid "" +":gh:`124487`: Windows builds now use Windows 8.1 as their API baseline " +"(installation already required Windows 8.1)." +msgstr "" + +#: build/NEWS:1151 +msgid "" +":gh:`123917`: Fix the check for the ``crypt()`` function in the configure " +"script. Patch by Paul Smith and Victor Stinner." +msgstr "" + +#: build/NEWS:1156 +msgid "Python 3.12.6 final" +msgstr "" + +#: build/NEWS:1158 +msgid "*Release date: 2024-09-06*" +msgstr "" + +#: build/NEWS:1163 +msgid ":gh:`123418`: Updated macOS installer build to use OpenSSL 3.0.15." +msgstr "" + +#: build/NEWS:1168 +msgid ":gh:`123418`: Updated Windows build to use OpenSSL 3.0.15." +msgstr "" + +#: build/NEWS:1170 +msgid "" +":gh:`100256`: :mod:`mimetypes` no longer fails when it encounters an " +"inaccessible registry key." +msgstr "" + +#: build/NEWS:1173 +msgid "" +":gh:`79846`: Makes :code:`ssl.create_default_context()` ignore invalid " +"certificates in the Windows certificate store" +msgstr "" + +#: build/NEWS:1179 +msgid "" +":gh:`123418`: Update GitHub CI workflows to use OpenSSL 3.0.15 and " +"multissltests to use 3.0.15, 3.1.7, and 3.2.3." +msgstr "" + +#: build/NEWS:1185 +msgid "" +":gh:`101525`: Skip ``test_gdb`` if the binary is relocated by BOLT. Patch by " +"Donghee Na." +msgstr "" + +#: build/NEWS:1191 +msgid ":gh:`123678`: Upgrade libexpat to 2.6.3" +msgstr "" + +#: build/NEWS:1193 +msgid "" +":gh:`121285`: Remove backtracking from tarfile header parsing for " +"``hdrcharset``, PAX, and GNU sparse headers." +msgstr "" + +#: build/NEWS:1199 +msgid "" +":gh:`123270`: Applied a more surgical fix for malformed payloads in :class:" +"`zipfile.Path` causing infinite loops (:gh:`122905`) without breaking " +"contents using legitimate characters." +msgstr "" + +#: build/NEWS:1203 +msgid "" +":gh:`123213`: :meth:`xml.etree.ElementTree.Element.extend` and :class:`~xml." +"etree.ElementTree.Element` assignment no longer hide the internal exception " +"if an erronous generator is passed. Patch by Bar Harel." +msgstr "" + +#: build/NEWS:1207 +msgid "" +":gh:`85110`: Preserve relative path in URL without netloc in :func:`urllib." +"parse.urlunsplit` and :func:`urllib.parse.urlunparse`." +msgstr "" + +#: build/NEWS:1210 +msgid "" +":gh:`123067`: Fix quadratic complexity in parsing ``\"``-quoted cookie " +"values with backslashes by :mod:`http.cookies`." +msgstr "" + +#: build/NEWS:1213 +msgid "" +":gh:`122903`: ``zipfile.Path.glob`` now correctly matches directories " +"instead of silently omitting them." +msgstr "" + +#: build/NEWS:1216 +msgid "" +":gh:`122905`: :class:`zipfile.Path` objects now sanitize names from the " +"zipfile." +msgstr "" + +#: build/NEWS:1219 +msgid "" +":gh:`122695`: Fixed double-free when using :func:`gc.get_referents` with a " +"freed :class:`asyncio.Future` iterator." +msgstr "" + +#: build/NEWS:1222 +msgid "" +":gh:`116263`: :class:`logging.handlers.RotatingFileHandler` no longer rolls " +"over empty log files." +msgstr "" + +#: build/NEWS:1225 +msgid "" +":gh:`118814`: Fix the :class:`typing.TypeVar` constructor when name is " +"passed by keyword." +msgstr "" + +#: build/NEWS:1228 +msgid "" +":gh:`122478`: Remove internal frames from tracebacks shown in :class:`code." +"InteractiveInterpreter` with non-default :func:`sys.excepthook`. Save " +"correct tracebacks in :attr:`sys.last_traceback` and update " +"``__traceback__`` attribute of :attr:`sys.last_value` and :attr:`sys." +"last_exc`." +msgstr "" + +#: build/NEWS:1234 +msgid "" +":gh:`113785`: :mod:`csv` now correctly parses numeric fields (when used " +"with :const:`csv.QUOTE_NONNUMERIC`) which start with an escape character." +msgstr "" + +#: build/NEWS:1237 +msgid "" +":gh:`112182`: :meth:`!asyncio.futures.Future.set_exception` now transforms :" +"exc:`StopIteration` into :exc:`RuntimeError` instead of hanging or other " +"misbehavior. Patch contributed by Jamie Phan." +msgstr "" + +#: build/NEWS:1241 +msgid "" +":gh:`108172`: ``webbrowser`` honors OS preferred browser on Linux when its " +"desktop entry name contains the text of a known browser name." +msgstr "" + +#: build/NEWS:1244 +msgid "" +":gh:`102988`: :func:`email.utils.getaddresses` and :func:`email.utils." +"parseaddr` now return ``('', '')`` 2-tuples in more situations where invalid " +"email addresses are encountered instead of potentially inaccurate values. " +"Add optional *strict* parameter to these two functions: use ``strict=False`` " +"to get the old behavior, accept malformed inputs. ``getattr(email.utils, " +"'supports_strict_parsing', False)`` can be use to check if the *strict* " +"paramater is available. Patch by Thomas Dwyer and Victor Stinner to improve " +"the CVE-2023-27043 fix." +msgstr "" + +#: build/NEWS:1253 +msgid "" +":gh:`99437`: :func:`runpy.run_path` now decodes path-like objects, making " +"sure __file__ and sys.argv[0] of the module being run are always strings." +msgstr "" + +#: build/NEWS:1260 +msgid "" +":gh:`120083`: Add explicit black IDLE Hovertip foreground color needed for " +"recent macOS. Fixes Sonoma showing unreadable white on pale yellow. Patch by " +"John Riggles." +msgstr "" + +#: build/NEWS:1267 +msgid "" +":gh:`123321`: Prevent Parser/myreadline race condition from segfaulting on " +"multi-threaded use. Patch by Bar Harel and Amit Wienner." +msgstr "" + +#: build/NEWS:1270 +msgid "" +":gh:`122982`: Extend the deprecation period for bool inversion (``~``) by " +"two years." +msgstr "" + +#: build/NEWS:1273 +msgid "" +":gh:`123229`: Fix valgrind warning by initializing the f-string buffers to 0 " +"in the tokenizer. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:1276 +msgid "" +":gh:`123142`: Fix too-wide source location in exception tracebacks coming " +"from broken iterables in comprehensions." +msgstr "" + +#: build/NEWS:1279 +msgid "" +":gh:`123048`: Fix a bug where pattern matching code could emit a :opcode:" +"`JUMP_FORWARD` with no source location." +msgstr "" + +#: build/NEWS:1282 +msgid "" +":gh:`123083`: Fix a potential use-after-free in ``STORE_ATTR_WITH_HINT``." +msgstr "" + +#: build/NEWS:1285 +msgid "" +":gh:`122527`: Fix a crash that occurred when a ``PyStructSequence`` was " +"deallocated after its type's dictionary was cleared by the GC. The type's :" +"c:member:`~PyTypeObject.tp_basicsize` now accounts for non-sequence fields " +"that aren't included in the :c:macro:`Py_SIZE` of the sequence." +msgstr "" + +#: build/NEWS:1290 +msgid "" +":gh:`93691`: Fix source locations of instructions generated for with " +"statements." +msgstr "" + +#: build/NEWS:1296 +msgid "" +":gh:`123297`: Propagate the value of ``LDFLAGS`` to ``LDCXXSHARED`` in :mod:" +"`sysconfig`. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:1301 +msgid "Python 3.12.5 final" +msgstr "" + +#: build/NEWS:1303 +msgid "*Release date: 2024-08-06*" +msgstr "" + +#: build/NEWS:1308 +msgid ":gh:`122573`: The Windows build of CPython now requires 3.10 or newer." +msgstr "" + +#: build/NEWS:1313 +msgid "" +":gh:`59022`: Add tests for :func:`pkgutil.extend_path`. Patch by Andreas " +"Stocker." +msgstr "" + +#: build/NEWS:1316 +msgid "" +":gh:`99242`: :func:`os.getloadavg` may throw :exc:`OSError` when running " +"regression tests under certain conditions (e.g. chroot). This error is now " +"caught and ignored, since reporting load average is optional." +msgstr "" + +#: build/NEWS:1320 +msgid "" +":gh:`121084`: Fix test_typing random leaks. Clear typing ABC caches when " +"running tests for refleaks (``-R`` option): call ``_abc_caches_clear()`` on " +"typing abstract classes and their subclasses. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:1325 +msgid "" +":gh:`121160`: Add a test for :func:`readline.set_history_length`. Note that " +"this test may fail on readline libraries." +msgstr "" + +#: build/NEWS:1328 +msgid "" +":gh:`121200`: Fix ``test_expanduser_pwd2()`` of ``test_posixpath``. Call " +"``getpwnam()`` to get ``pw_dir``, since it can be different than " +"``getpwall()`` ``pw_dir``. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:1332 +msgid "" +":gh:`121188`: When creating the JUnit XML file, regrtest now escapes " +"characters which are invalid in XML, such as the chr(27) control character " +"used in ANSI escape sequences. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:1339 +msgid "" +":gh:`121957`: Fixed missing audit events around interactive use of Python, " +"now also properly firing for ``python -i``, as well as for ``python -m " +"asyncio``. The event in question is ``cpython.run_stdin``." +msgstr "" + +#: build/NEWS:1343 +msgid "" +":gh:`122133`: Authenticate the socket connection for the ``socket." +"socketpair()`` fallback on platforms where ``AF_UNIX`` is not available like " +"Windows." +msgstr "" + +#: build/NEWS:1347 +msgid "" +"Patch by Gregory P. Smith <greg@krypto.org> and Seth Larson <seth@python." +"org>. Reported by Ellie <el@horse64.org>" +msgstr "" + +#: build/NEWS:1353 +msgid "" +":gh:`122744`: Bump the version of pip bundled in ensurepip to version 24.2." +msgstr "" + +#: build/NEWS:1356 +msgid "" +":gh:`122334`: Fix crash when importing :mod:`ssl` after the main interpreter " +"restarts." +msgstr "" + +#: build/NEWS:1359 +msgid "" +":gh:`87320`: In :class:`code.InteractiveInterpreter`, handle exceptions " +"caused by calling a non-default :func:`sys.excepthook`. Before, the " +"exception bubbled up to the caller, ending the REPL." +msgstr "" + +#: build/NEWS:1363 +msgid "" +":gh:`122400`: Handle :exc:`ValueError`\\s raised by :func:`os.stat` in :" +"class:`filecmp.dircmp` and :func:`filecmp.cmpfiles`. Patch by Bénédikt Tran." +msgstr "" + +#: build/NEWS:1367 +msgid ":gh:`122311`: Fix some error messages in :mod:`pickle`." +msgstr "" + +#: build/NEWS:1369 +msgid "" +":gh:`121650`: :mod:`email` headers with embedded newlines are now quoted on " +"output. The :mod:`~email.generator` will now refuse to serialize (write) " +"headers that are unsafely folded or delimited; see :attr:`~email.policy." +"Policy.verify_generated_headers`. (Contributed by Bas Bloemsaat and Petr " +"Viktorin in :gh:`121650`.)" +msgstr "" + +#: build/NEWS:1375 +msgid "" +":gh:`122332`: Fixed segfault with :meth:`asyncio.Task.get_coro` when using " +"an eager task factory." +msgstr "" + +#: build/NEWS:1378 +msgid "" +":gh:`122170`: Handle :exc:`ValueError`\\s raised by :func:`os.stat` in :mod:" +"`linecache`. Patch by Bénédikt Tran." +msgstr "" + +#: build/NEWS:1381 +msgid "" +":gh:`121723`: Make :func:`logging.config.dictConfig` accept any object " +"implementing the Queue public API. See the :ref:`queue configuration " +"<configure-queue>` section for details. Patch by Bénédikt Tran." +msgstr "" + +#: build/NEWS:1385 +msgid "" +":gh:`82951`: Serializing objects with complex ``__qualname__`` (such as " +"unbound methods and nested classes) by name no longer involves serializing " +"parent objects by value in pickle protocols < 4." +msgstr "" + +#: build/NEWS:1389 +msgid "" +":gh:`120930`: Fixed a bug introduced by :gh:`92081` that added an incorrect " +"extra blank to encoded words occurring in wrapped headers." +msgstr "" + +#: build/NEWS:1392 +msgid "" +":gh:`121474`: Fix missing sanity check for ``parties`` arg in :class:" +"`threading.Barrier` constructor. Patch by Clinton Christian (pygeek)." +msgstr "" + +#: build/NEWS:1396 +msgid "" +":gh:`121025`: Improve the :meth:`~object.__repr__` of :class:`functools." +"partialmethod`. Patch by Bénédikt Tran." +msgstr "" + +#: build/NEWS:1399 +msgid "" +":gh:`121018`: Fixed issues where :meth:`!argparse.ArgumentParser.parse_args` " +"did not honor ``exit_on_error=False``. Based on patch by Ben Hsing." +msgstr "" + +#: build/NEWS:1403 +msgid "" +":gh:`119614`: Fix truncation of strings with embedded null characters in " +"some internal operations in :mod:`tkinter`." +msgstr "" + +#: build/NEWS:1406 +msgid "" +":gh:`120910`: When reading installed files from an egg, use " +"``relative_to(walk_up=True)`` to honor files installed outside of the " +"installation root." +msgstr "" + +#: build/NEWS:1410 +msgid "" +":gh:`101830`: Accessing the :mod:`tkinter` object's string representation no " +"longer converts the underlying Tcl object to a string on Windows." +msgstr "" + +#: build/NEWS:1414 +msgid "" +":gh:`120811`: Fix possible memory leak in :meth:`contextvars.Context.run`." +msgstr "" + +#: build/NEWS:1417 +msgid "" +":gh:`120769`: Make empty line in :mod:`pdb` repeats the last command even " +"when the command is from ``cmdqueue``." +msgstr "" + +#: build/NEWS:1420 +msgid "" +":gh:`120732`: Fix ``name`` passing to :class:`unittest.mock.Mock` object " +"when using :func:`unittest.mock.create_autospec`." +msgstr "" + +#: build/NEWS:1423 +msgid "" +":gh:`120495`: Fix incorrect exception handling in Tab Nanny. Patch by " +"Wulian233." +msgstr "" + +#: build/NEWS:1426 +msgid "" +":gh:`120343`: Fix column offset reporting for tokens that come after " +"multiline f-strings in the :mod:`tokenize` module." +msgstr "" + +#: build/NEWS:1429 +msgid "" +":gh:`119600`: Fix :func:`unittest.mock.patch` to not read attributes of the " +"target when ``new_callable`` is set. Patch by Robert Collins." +msgstr "" + +#: build/NEWS:1432 +msgid "" +":gh:`120289`: Fixed the use-after-free issue in :mod:`cProfile` by " +"disallowing ``disable()`` and ``clear()`` in external timers." +msgstr "" + +#: build/NEWS:1435 +msgid "" +":gh:`114053`: Fix edge-case bug where :func:`typing.get_type_hints` would " +"produce incorrect results if type parameters in a class scope were " +"overridden by assignments in a class scope and ``from __future__ import " +"annotations`` semantics were enabled. Patch by Alex Waygood." +msgstr "" + +#: build/NEWS:1440 +msgid "" +":gh:`114053`: Fix erroneous :exc:`NameError` when calling :func:`inspect." +"get_annotations` with ``eval_str=True``` on a class that made use of :pep:" +"`695` type parameters in a module that had ``from __future__ import " +"annotations`` at the top of the file. Patch by Alex Waygood." +msgstr "" + +#: build/NEWS:1446 +msgid "" +":gh:`120268`: Prohibit passing ``None`` to pure-Python :meth:`datetime.date." +"fromtimestamp` to achieve consistency with C-extension implementation." +msgstr "" + +#: build/NEWS:1450 +msgid "" +":gh:`120244`: Fix memory leak in :func:`re.sub` when the replacement string " +"contains backreferences." +msgstr "" + +#: build/NEWS:1453 +msgid ":gh:`120211`: Fix :mod:`tkinter.ttk` with Tcl/Tk 9.0." +msgstr "" + +#: build/NEWS:1455 +msgid "" +":gh:`71587`: Fix crash in C version of :meth:`datetime.datetime.strptime` " +"when called again on the restarted interpreter." +msgstr "" + +#: build/NEWS:1459 +msgid "" +":gh:`117983`: Defer the ``threading`` import in ``importlib.util`` until " +"lazy loading is used." +msgstr "" + +#: build/NEWS:1462 +msgid "" +":gh:`119698`: Fix :meth:`symtable.Class.get_methods` and document its " +"behaviour. Patch by Bénédikt Tran." +msgstr "" + +#: build/NEWS:1465 +msgid "" +":gh:`120121`: Add :exc:`concurrent.futures.InvalidStateError` to module's " +"``__all__``." +msgstr "" + +#: build/NEWS:1468 +msgid ":gh:`112672`: Support building :mod:`tkinter` with Tcl 9.0." +msgstr "" + +#: build/NEWS:1470 +msgid "" +":gh:`65454`: :func:`unittest.mock.Mock.attach_mock` no longer triggers a " +"call to a ``PropertyMock`` being attached." +msgstr "" + +#: build/NEWS:1473 +msgid "" +":gh:`81936`: :meth:`!help` and :meth:`!showtopic` methods now respect a " +"configured *output* argument to :class:`!pydoc.Helper` and not use the pager " +"in such cases. Patch by Enrico Tröger." +msgstr "" + +#: build/NEWS:1477 +msgid "" +":gh:`119577`: The :exc:`DeprecationWarning` emitted when testing the truth " +"value of an :class:`xml.etree.ElementTree.Element` now describes " +"unconditionally returning ``True`` in a future version rather than raising " +"an exception in Python 3.14." +msgstr "" + +#: build/NEWS:1482 +msgid "" +":gh:`119506`: Fix :meth:`!io.TextIOWrapper.write` method breaks internal " +"buffer when the method is called again during flushing internal buffer." +msgstr "" + +#: build/NEWS:1486 +msgid "" +":gh:`119189`: When using the ``**`` operator or :func:`pow` with :class:" +"`~fractions.Fraction` as the base and an exponent that is not rational, a " +"float, or a complex, the fraction is no longer converted to a float." +msgstr "" + +#: build/NEWS:1491 +msgid "" +":gh:`105623`: Fix performance degradation in :class:`logging.handlers." +"RotatingFileHandler`. Patch by Craig Robson." +msgstr "" + +#: build/NEWS:1494 +msgid ":issue:`39324`: Add mime type mapping for .md <-> text/markdown" +msgstr "" + +#: build/NEWS:1499 +msgid "" +":gh:`122482`: Change About IDLE to direct users to discuss.python.org " +"instead of the now unused idle-dev email and mailing list." +msgstr "" + +#: build/NEWS:1502 +msgid "" +":gh:`78889`: Stop Shell freezes by blocking user access to non-method sys." +"stdout.shell attributes, which are all private." +msgstr "" + +#: build/NEWS:1505 +msgid ":gh:`120104`: Fix padding in config and search dialog windows in IDLE." +msgstr "" + +#: build/NEWS:1510 +msgid ":gh:`121749`: Fix documentation for :c:func:`PyModule_AddObjectRef`." +msgstr "" + +#: build/NEWS:1512 +msgid "" +":gh:`120012`: Clarify the behaviours of :meth:`multiprocessing.Queue.empty` " +"and :meth:`multiprocessing.SimpleQueue.empty` on closed queues. Patch by " +"Bénédikt Tran." +msgstr "" + +#: build/NEWS:1520 +msgid "" +":gh:`122208`: Dictionary watchers now only deliver the PyDict_EVENT_ADDED " +"event when the insertion is in a known good state to succeed." +msgstr "" + +#: build/NEWS:1524 +msgid "" +":gh:`122300`: Preserve AST nodes for f-string with single-element format " +"specifiers. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:1527 +msgid "" +":gh:`122029`: Emit ``c_call`` events in :func:`sys.setprofile` when a " +"``PyMethodObject`` pointing to a ``PyCFunction`` is called." +msgstr "" + +#: build/NEWS:1530 +msgid "" +":gh:`122026`: Fix a bug that caused the tokenizer to not correctly identify " +"mismatched parentheses inside f-strings in some situations. Patch by Pablo " +"Galindo" +msgstr "" + +#: build/NEWS:1534 +msgid "" +":gh:`121657`: Improve the :exc:`SyntaxError` message if the user tries to " +"use :keyword:`yield from <yield>` outside a function." +msgstr "" + +#: build/NEWS:1537 +msgid "" +":gh:`117482`: Unexpected slot wrappers are no longer created for builtin " +"static types in subinterpreters." +msgstr "" + +#: build/NEWS:1540 +msgid ":gh:`121439`: Allow tuples of length 20 in the freelist to be reused." +msgstr "" + +#: build/NEWS:1542 +msgid "" +":gh:`121130`: Fix f-strings with debug expressions in format specifiers. " +"Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:1545 +msgid "" +":gh:`120722`: Correctly set the bytecode position on return instructions " +"within lambdas. Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:1548 +msgid "" +":gh:`120384`: Fix an array out of bounds crash in ``list_ass_subscript``, " +"which could be invoked via some specificly tailored input: including " +"concurrent modification of a list object, where one thread assigns a slice " +"and another clears it." +msgstr "" + +#: build/NEWS:1553 +msgid "" +":gh:`120380`: Fix Python implementation of :class:`pickle.Pickler` for :" +"class:`bytes` and :class:`bytearray` objects when using protocol version 5. " +"Patch by Bénédikt Tran." +msgstr "" + +#: build/NEWS:1557 +msgid "" +":gh:`93691`: Fix source locations of instructions generated for the iterator " +"of a for statement." +msgstr "" + +#: build/NEWS:1560 +msgid "" +":gh:`120198`: Fix a crash when multiple threads read and write to the same " +"``__class__`` of an object concurrently." +msgstr "" + +#: build/NEWS:1563 +msgid "" +":gh:`120298`: Fix use-after free in ``list_richcompare_impl`` which can be " +"invoked via some specificly tailored evil input." +msgstr "" + +#: build/NEWS:1566 +msgid "" +":gh:`119666`: Fix a compiler crash in the case where two comprehensions in " +"class scope both reference ``__class__``." +msgstr "" + +#: build/NEWS:1569 +msgid "" +":issue:`24766`: Fix handling of ``doc`` argument to subclasses of " +"``property``." +msgstr "" + +#: build/NEWS:1574 +msgid "" +":gh:`120671`: Fix failing configure tests due to a missing space when " +"appending to CFLAGS." +msgstr "" + +#: build/NEWS:1577 +msgid "" +":gh:`115983`: Skip building test modules that must be built as shared under " +"WASI." +msgstr "" + +#: build/NEWS:1582 +msgid "Python 3.12.4 final" +msgstr "" + +#: build/NEWS:1584 +msgid "*Release date: 2024-06-06*" +msgstr "" + +#: build/NEWS:1589 +msgid "" +":gh:`118486`: :func:`os.mkdir` on Windows now accepts *mode* of ``0o700`` to " +"restrict the new directory to the current user. This fixes :cve:`2024-4030` " +"affecting :func:`tempfile.mkdtemp` in scenarios where the base temporary " +"directory is more permissive than the default." +msgstr "" + +#: build/NEWS:1594 +msgid ":gh:`116741`: Update bundled libexpat to 2.6.2" +msgstr "" + +#: build/NEWS:1596 +msgid "" +":gh:`117233`: Detect BLAKE2, SHA3, Shake, & truncated SHA512 support in the " +"OpenSSL-ish libcrypto library at build time. This allows :mod:`hashlib` to " +"be used with libraries that do not to support every algorithm that upstream " +"OpenSSL does." +msgstr "" + +#: build/NEWS:1604 +msgid "" +":gh:`119821`: Fix execution of :ref:`annotation scopes <annotation-scopes>` " +"within classes when ``globals`` is set to a non-dict. Patch by Jelle " +"Zijlstra." +msgstr "" + +#: build/NEWS:1608 +msgid "" +":gh:`119311`: Fix bug where names are unexpectedly mangled in the bases of " +"generic classes." +msgstr "" + +#: build/NEWS:1611 +msgid "" +":gh:`119395`: Fix bug where names appearing after a generic class are " +"mangled as if they are in the generic class." +msgstr "" + +#: build/NEWS:1614 +msgid "" +":gh:`119213`: Non-builtin modules built with argument clinic were crashing " +"if used in a subinterpreter before the main interpreter. The objects that " +"were causing the problem by leaking between interpreters carelessly have " +"been fixed." +msgstr "" + +#: build/NEWS:1619 +msgid "" +":gh:`119011`: Fixes ``type.__type_params__`` to return an empty tuple " +"instead of a descriptor." +msgstr "" + +#: build/NEWS:1622 +msgid "" +":gh:`118997`: Fix _Py_ClearImmortal() assertion: use _Py_IsImmortal() to " +"tolerate reference count lower than _Py_IMMORTAL_REFCNT. Fix the assertion " +"for the stable ABI, when a C extension is built with Python 3.11 or lower. " +"Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:1627 +msgid "" +":gh:`118513`: Fix incorrect :exc:`UnboundLocalError` when two comprehensions " +"in the same function both reference the same name, and in one comprehension " +"the name is bound while in the other it's an implicit global." +msgstr "" + +#: build/NEWS:1632 +msgid "" +":gh:`118164`: Break a loop between the Python implementation of the :mod:" +"`decimal` module and the Python code for integer to string conversion. Also " +"optimize integer to string conversion for values in the range from 9_000 to " +"135_000 decimal digits." +msgstr "" + +#: build/NEWS:1637 +msgid "" +":gh:`118272`: Fix bug where ``generator.close`` does not free the generator " +"frame's locals." +msgstr "" + +#: build/NEWS:1640 +msgid "" +":gh:`116767`: Fix crash in compiler on 'async with' that has many context " +"managers." +msgstr "" + +#: build/NEWS:1643 +msgid "" +":gh:`117894`: Prevent ``agen.aclose()`` objects being re-used after ``." +"throw()``." +msgstr "" + +#: build/NEWS:1646 +msgid "" +":gh:`117881`: prevent concurrent access to an async generator via athrow()." +"throw() or asend().throw()" +msgstr "" + +#: build/NEWS:1649 +msgid "" +":gh:`115874`: Fixed a possible segfault during garbage collection of " +"``_asyncio.FutureIter`` objects" +msgstr "" + +#: build/NEWS:1655 +msgid "" +":gh:`119819`: Fix regression to allow logging configuration with " +"multiprocessing queue types." +msgstr "" + +#: build/NEWS:1658 +msgid "" +":gh:`89727`: Fix issue with :func:`shutil.rmtree` where a :exc:" +"`RecursionError` is raised on deep directory trees." +msgstr "" + +#: build/NEWS:1661 +msgid "" +":gh:`89727`: Partially fix issue with :func:`shutil.rmtree` where a :exc:" +"`RecursionError` is raised on deep directory trees. A recursion error is no " +"longer raised when :data:`!rmtree.avoids_symlink_attacks` is false." +msgstr "" + +#: build/NEWS:1665 +msgid "" +":gh:`119118`: Fix performance regression in the :mod:`tokenize` module by " +"caching the ``line`` token attribute and calculating the column offset more " +"efficiently." +msgstr "" + +#: build/NEWS:1669 +msgid "" +":gh:`89727`: Fix issue with :func:`os.fwalk` where a :exc:`RecursionError` " +"was raised on deep directory trees by adjusting the implementation to be " +"iterative instead of recursive." +msgstr "" + +#: build/NEWS:1673 +msgid ":gh:`118263`: Speed up :func:`os.path.normpath` with a direct C call." +msgstr "" + +#: build/NEWS:1675 +msgid "" +":gh:`113892`: Now, the method ``sock_connect`` of :class:`asyncio." +"ProactorEventLoop` raises a :exc:`ValueError` if given socket is not in non-" +"blocking mode, as well as in other loop implementations." +msgstr "" + +#: build/NEWS:1680 +msgid ":gh:`118507`: Fix :func:`os.path.isfile` on Windows for pipes." +msgstr "" + +#: build/NEWS:1682 +msgid "" +":gh:`119174`: Fix high DPI causes turtledemo(turtle-graphics examples) " +"windows blurry Patch by Wulian233 and Terry Jan Reedy" +msgstr "" + +#: build/NEWS:1685 +msgid "" +":gh:`118643`: Fix an AttributeError in the :mod:`email` module when re-fold " +"a long address list. Also fix more cases of incorrect encoding of the " +"address separator in the address list." +msgstr "" + +#: build/NEWS:1689 +msgid "" +":gh:`58933`: Make :mod:`pdb` return to caller frame correctly when " +"``f_trace`` of the caller frame is not set" +msgstr "" + +#: build/NEWS:1692 +msgid "" +":gh:`118868`: Fixed issue where kwargs were no longer passed to the logging " +"handler QueueHandler" +msgstr "" + +#: build/NEWS:1695 +msgid "" +":gh:`118164`: The Python implementation of the ``decimal`` module could " +"appear to hang in relatively small power cases (like ``2**117``) if context " +"precision was set to a very high value. A different method to check for " +"exactly representable results is used now that doesn't rely on computing " +"``10**precision`` (which could be effectively too large to compute)." +msgstr "" + +#: build/NEWS:1702 +msgid "" +":gh:`118404`: Fix :func:`inspect.signature` for non-comparable callables." +msgstr "" + +#: build/NEWS:1705 +msgid "" +":gh:`118314`: Fix an edge case in :func:`binascii.a2b_base64` strict mode, " +"where excessive padding is not detected when no padding is necessary." +msgstr "" + +#: build/NEWS:1709 +msgid "" +":gh:`118042`: Fix an unraisable exception in :meth:`!telnetlib.Telnet." +"__del__` when the ``__init__()`` method was not called." +msgstr "" + +#: build/NEWS:1713 +msgid "" +":gh:`118221`: Fix a bug where :func:`!sqlite3.iterdump` could fail if a " +"custom :attr:`row factory <sqlite3.Connection.row_factory>` was used. Patch " +"by Erlend Aasland." +msgstr "" + +#: build/NEWS:1717 +msgid "" +":gh:`118013`: Fix regression introduced in :gh:`103193` that meant that " +"calling :func:`inspect.getattr_static` on an instance would cause a strong " +"reference to that instance's class to persist in an internal cache in the :" +"mod:`inspect` module. This caused unexpected memory consumption if the class " +"was dynamically created, the class held strong references to other objects " +"which took up a significant amount of memory, and the cache contained the " +"sole strong reference to the class. The fix for the regression leads to a " +"slowdown in :func:`!getattr_static`, but the function should still be " +"significantly faster than it was in Python 3.11. Patch by Alex Waygood." +msgstr "" + +#: build/NEWS:1728 +msgid "" +":gh:`90848`: Fixed :func:`unittest.mock.create_autospec` to configure parent " +"mock with keyword arguments." +msgstr "" + +#: build/NEWS:1731 +msgid "" +":gh:`118168`: Fix incorrect argument substitution when :data:`typing.Unpack` " +"is used with the builtin :class:`tuple`. :data:`!typing.Unpack` now raises :" +"exc:`TypeError` when used with certain invalid types. Patch by Jelle " +"Zijlstra." +msgstr "" + +#: build/NEWS:1736 +msgid "" +":gh:`118033`: Fix :func:`dataclasses.dataclass` not creating a " +"``__weakref__`` slot when subclassing :class:`typing.Generic`." +msgstr "" + +#: build/NEWS:1739 +msgid "" +":gh:`117535`: Do not try to get the source line for made up file name " +"\"sys\" in :mod:`warnings`." +msgstr "" + +#: build/NEWS:1742 +msgid "" +":gh:`114053`: Fix erroneous :exc:`NameError` when calling :func:`typing." +"get_type_hints` on a class that made use of :pep:`695` type parameters in a " +"module that had ``from __future__ import annotations`` at the top of the " +"file. Patch by Alex Waygood." +msgstr "" + +#: build/NEWS:1747 +msgid "" +":gh:`117995`: Don't raise :exc:`DeprecationWarning` when a :term:`sequence` " +"of parameters is used to bind indexed, nameless placeholders. See also :gh:" +"`100668`." +msgstr "" + +#: build/NEWS:1751 +msgid "" +":gh:`80361`: Fix TypeError in :func:`email.message.Message.get_payload` when " +"the charset is :rfc:`2231` encoded." +msgstr "" + +#: build/NEWS:1754 +msgid "" +":gh:`86650`: Fix IndexError when parse some emails with invalid Message-ID " +"(including one-off addresses generated by Microsoft Outlook)." +msgstr "" + +#: build/NEWS:1757 +msgid "" +":gh:`117691`: Improve the error messages emitted by :mod:`tarfile` " +"deprecation warnings relating to PEP 706. If a ``filter`` argument is not " +"provided to ``extract()`` or ``extractall``, the deprecation warning now " +"points to the line in the user's code where the relevant function was " +"called. Patch by Alex Waygood." +msgstr "" + +#: build/NEWS:1763 +msgid "" +":gh:`77102`: :mod:`site` module now parses ``.pth`` file with UTF-8 first, " +"and :term:`locale encoding` if ``UnicodeDecodeError`` happened. It supported " +"only locale encoding before." +msgstr "" + +#: build/NEWS:1767 +msgid "" +":gh:`117692`: Fixes a bug when :class:`doctest.DocTestFinder` was failing on " +"wrapped ``builtin_function_or_method``." +msgstr "" + +#: build/NEWS:1770 +msgid "" +":gh:`117566`: :meth:`ipaddress.IPv6Address.is_loopback` will now return " +"``True`` for IPv4-mapped loopback addresses, i.e. addresses in the ``::" +"ffff:127.0.0.0/104`` address space." +msgstr "" + +#: build/NEWS:1774 +msgid "" +":gh:`117503`: Fix support of non-ASCII user names in bytes paths in :func:" +"`os.path.expanduser` on Posix." +msgstr "" + +#: build/NEWS:1777 +msgid "" +":gh:`117313`: Only treat ``'\\n'``, ``'\\r'`` and ``'\\r\\n'`` as line " +"separators in re-folding the :mod:`email` messages. Preserve control " +"characters ``'\\v'``, ``'\\f'``, ``'\\x1c'``, ``'\\x1d'`` and ``'\\x1e'`` " +"and Unicode line separators ``'\\x85'``, ``'\\u2028'`` and ``'\\u2029'`` as " +"is." +msgstr "" + +#: build/NEWS:1782 +msgid ":gh:`113171`: Fixed various false positives and false negatives in" +msgstr "" + +#: build/NEWS:1784 +msgid ":attr:`ipaddress.IPv4Address.is_private` (see these docs for details)" +msgstr "" + +#: build/NEWS:1785 +msgid ":attr:`ipaddress.IPv4Address.is_global`" +msgstr "" + +#: build/NEWS:1786 +msgid ":attr:`ipaddress.IPv6Address.is_private`" +msgstr "" + +#: build/NEWS:1787 +msgid ":attr:`ipaddress.IPv6Address.is_global`" +msgstr "" + +#: build/NEWS:1789 +msgid "" +"Also in the corresponding :class:`ipaddress.IPv4Network` and :class:" +"`ipaddress.IPv6Network` attributes." +msgstr "" + +#: build/NEWS:1792 +msgid "" +":gh:`103956`: Fix lack of newline characters in :mod:`trace` module output " +"when line tracing is enabled but source code line for current frame is not " +"available." +msgstr "" + +#: build/NEWS:1796 +msgid "" +":gh:`92081`: Fix missing spaces in email headers when the spaces are mixed " +"with encoded 8-bit characters." +msgstr "" + +#: build/NEWS:1799 +msgid "" +":gh:`103194`: Prepare Tkinter for C API changes in Tcl 8.7/9.0 to avoid :" +"class:`_tkinter.Tcl_Obj` being unexpectedly returned instead of :class:" +"`bool`, :class:`str`, :class:`bytearray`, or :class:`int`." +msgstr "" + +#: build/NEWS:1803 +msgid "" +":gh:`87106`: Fixed handling in :meth:`inspect.Signature.bind` of keyword " +"arguments having the same name as positional-only arguments when a variadic " +"keyword argument (e.g. ``**kwargs``) is present." +msgstr "" + +#: build/NEWS:1807 +msgid "" +":issue:`45767`: Fix integer conversion in :func:`os.major`, :func:`os." +"minor`, and :func:`os.makedev`. Support device numbers larger than " +"``2**63-1``. Support non-existent device number (``NODEV``)." +msgstr "" + +#: build/NEWS:1811 +msgid "" +":issue:`40943`: Fix several IndexError when parse emails with truncated " +"Message-ID, address, routes, etc, e.g. ``example@``." +msgstr "" + +#: build/NEWS:1814 +msgid "" +":issue:`30988`: Fix parsing of emails with invalid address headers having a " +"leading or trailing dot. Patch by tsufeki." +msgstr "" + +#: build/NEWS:1817 +msgid "" +":gh:`67693`: Fix :func:`urllib.parse.urlunparse` and :func:`urllib.parse." +"urlunsplit` for URIs with path starting with multiple slashes and no " +"authority. Based on patch by Ashwin Ramaswami." +msgstr "" + +#: build/NEWS:1821 +msgid "" +":issue:`15010`: :meth:`unittest.TestLoader.discover` now saves the original " +"value of ``unittest.TestLoader._top_level_dir`` and restores it at the end " +"of the call." +msgstr "" + +#: build/NEWS:1828 +msgid "" +":gh:`117928`: The minimum Sphinx version required for the documentation is " +"now 6.2.1." +msgstr "" + +#: build/NEWS:1831 +msgid "" +":gh:`91565`: Changes to documentation files and config outputs to reflect " +"the new location for reporting bugs - i.e. GitHub rather than bugs.python." +"org." +msgstr "" + +#: build/NEWS:1838 +msgid "" +":gh:`119050`: regrtest test runner: Add XML support to the refleak checker (-" +"R option). Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:1844 +msgid "" +":gh:`119690`: Adds Unicode support and fixes audit events for ``_winapi." +"CreateNamedPipe``." +msgstr "" + +#: build/NEWS:1847 +msgid "" +":gh:`119070`: Fixes ``py.exe`` handling of shebangs like ``/usr/bin/env " +"python3.12``, which were previously interpreted as ``python3.exe`` instead " +"of ``python3.12.exe``." +msgstr "" + +#: build/NEWS:1851 +msgid ":gh:`118347`: Fixes launcher updates not being installed." +msgstr "" + +#: build/NEWS:1853 +msgid ":gh:`115009`: Update Windows installer to use SQLite 3.45.3." +msgstr "" + +#: build/NEWS:1855 +msgid "" +":gh:`90329`: Suppress the warning displayed on virtual environment creation " +"when the requested and created paths differ only by a short (8.3 style) " +"name. Warnings will continue to be shown if a junction or symlink in the " +"path caused the venv to be created in a different location than originally " +"requested." +msgstr "" + +#: build/NEWS:1864 +msgid ":gh:`115009`: Update macOS installer to use SQLite 3.45.3." +msgstr "" + +#: build/NEWS:1866 +msgid ":gh:`116145`: Update macOS installer to Tcl/Tk 8.6.14." +msgstr "" + +#: build/NEWS:1871 +msgid ":issue:`34774`: Use user-selected color theme for Help => IDLE Doc." +msgstr "" + +#: build/NEWS:1876 +msgid "" +":gh:`119585`: Fix crash when a thread state that was created by :c:func:" +"`PyGILState_Ensure` calls a destructor that during :c:func:" +"`PyThreadState_Clear` that calls back into :c:func:`PyGILState_Ensure` and :" +"c:func:`PyGILState_Release`. This might occur when in the free-threaded " +"build or when using thread-local variables whose destructors call :c:func:" +"`PyGILState_Ensure`." +msgstr "" + +#: build/NEWS:1883 +msgid "" +":gh:`117534`: Improve validation logic in the C implementation of :meth:" +"`datetime.fromisoformat` to better handle invalid years. Patch by Vlad " +"Efanov." +msgstr "" + +#: build/NEWS:1889 +msgid "Python 3.12.3 final" +msgstr "" + +#: build/NEWS:1891 +msgid "*Release date: 2024-04-09*" +msgstr "" + +#: build/NEWS:1896 +msgid "" +":gh:`115398`: Allow controlling Expat >=2.6.0 reparse deferral (:cve:" +"`2023-52425`) by adding five new methods:" +msgstr "" + +#: build/NEWS:1899 +msgid ":meth:`xml.etree.ElementTree.XMLParser.flush`" +msgstr "" + +#: build/NEWS:1900 +msgid ":meth:`xml.etree.ElementTree.XMLPullParser.flush`" +msgstr "" + +#: build/NEWS:1901 +msgid ":meth:`xml.parsers.expat.xmlparser.GetReparseDeferralEnabled`" +msgstr "" + +#: build/NEWS:1902 +msgid ":meth:`xml.parsers.expat.xmlparser.SetReparseDeferralEnabled`" +msgstr "" + +#: build/NEWS:1903 +msgid ":meth:`xml.sax.expatreader.ExpatParser.flush`" +msgstr "" + +#: build/NEWS:1905 +msgid ":gh:`115399`: Update bundled libexpat to 2.6.0" +msgstr "" + +#: build/NEWS:1907 +msgid "" +":gh:`115243`: Fix possible crashes in :meth:`collections.deque.index` when " +"the deque is concurrently modified." +msgstr "" + +#: build/NEWS:1910 +msgid "" +":gh:`114572`: :meth:`ssl.SSLContext.cert_store_stats` and :meth:`ssl." +"SSLContext.get_ca_certs` now correctly lock access to the certificate store, " +"when the :class:`ssl.SSLContext` is shared across multiple threads." +msgstr "" + +#: build/NEWS:1918 +msgid "" +":gh:`109120`: Added handle of incorrect star expressions, e.g ``f(3, *)``. " +"Patch by Grigoryev Semyon" +msgstr "" + +#: build/NEWS:1921 +msgid "" +":gh:`99108`: Updated the :mod:`hashlib` built-in `HACL\\* project`_ C code " +"from upstream that we use for many implementations when they are not present " +"via OpenSSL in a given build. This also avoids the rare potential for a C " +"symbol name one definition rule linking issue." +msgstr "" + +#: build/NEWS:1928 +msgid "" +":gh:`116735`: For ``INSTRUMENTED_CALL_FUNCTION_EX``, set ``arg0`` to ``sys." +"monitoring.MISSING`` instead of ``None`` for :monitoring-event:`CALL` event." +msgstr "" + +#: build/NEWS:1932 +msgid "" +":gh:`113964`: Starting new threads and process creation through :func:`os." +"fork` are now only prevented once all non-daemon threads exit." +msgstr "" + +#: build/NEWS:1935 +msgid "" +":gh:`116604`: Respect the status of the garbage collector when indirect " +"calls are made via :c:func:`PyErr_CheckSignals` and the evaluation breaker. " +"Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:1939 +msgid "" +":gh:`116626`: Ensure ``INSTRUMENTED_CALL_FUNCTION_EX`` always emits :" +"monitoring-event:`CALL`" +msgstr "" + +#: build/NEWS:1942 +msgid "" +":gh:`116296`: Fix possible refleak in :meth:`!object.__reduce__` internal " +"error handling." +msgstr "" + +#: build/NEWS:1945 +msgid ":gh:`116034`: Fix location of the error on a failed assertion." +msgstr "" + +#: build/NEWS:1947 +msgid "" +":gh:`115823`: Properly calculate error ranges in the parser when raising :" +"exc:`SyntaxError` exceptions caused by invalid byte sequences. Patch by " +"Pablo Galindo" +msgstr "" + +#: build/NEWS:1951 +msgid "" +":gh:`112087`: For an empty reverse iterator for list will be reduced to :" +"func:`reversed`. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:1954 +msgid "" +":gh:`115154`: Fix a bug that was causing the :func:`tokenize.untokenize` " +"function to handle unicode named literals incorrectly. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:1958 +msgid "" +":gh:`114828`: Fix compilation crashes in uncommon code examples using :func:" +"`super` inside a comprehension in a class body." +msgstr "" + +#: build/NEWS:1961 +msgid "" +":gh:`115011`: Setters for members with an unsigned integer type now support " +"the same range of valid values for objects that has a :meth:`~object." +"__index__` method as for :class:`int`." +msgstr "" + +#: build/NEWS:1965 +msgid "" +":gh:`112215`: Change the C recursion limits to more closely reflect the " +"underlying platform limits." +msgstr "" + +#: build/NEWS:1968 +msgid "" +":gh:`96497`: Fix incorrect resolution of mangled class variables used in " +"assignment expressions in comprehensions." +msgstr "" + +#: build/NEWS:1974 +msgid "" +":gh:`117467`: Preserve mailbox ownership when rewriting in :func:`mailbox." +"mbox.flush`. Patch by Tony Mountifield." +msgstr "" + +#: build/NEWS:1977 +msgid "" +":gh:`117310`: Fixed an unlikely early & extra ``Py_DECREF`` triggered crash " +"in :mod:`ssl` when creating a new ``_ssl._SSLContext`` if CPython was built " +"implausibly such that the default cipher list is empty **or** the SSL " +"library it was linked against reports a failure from its C " +"``SSL_CTX_set_cipher_list()`` API." +msgstr "" + +#: build/NEWS:1983 +msgid "" +":gh:`117178`: Fix regression in lazy loading of self-referential modules, " +"introduced in :gh:`114781`." +msgstr "" + +#: build/NEWS:1986 +msgid "" +":gh:`117084`: Fix :mod:`zipfile` extraction for directory entries with the " +"name containing backslashes on Windows." +msgstr "" + +#: build/NEWS:1989 +msgid "" +":gh:`117110`: Fix a bug that prevents subclasses of :class:`typing.Any` to " +"be instantiated with arguments. Patch by Chris Fu." +msgstr "" + +#: build/NEWS:1992 +msgid "" +":gh:`90872`: On Windows, :meth:`subprocess.Popen.wait` no longer calls " +"``WaitForSingleObject()`` with a negative timeout: pass ``0`` ms if the " +"timeout is negative. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:1996 +msgid "" +":gh:`116957`: configparser: Don't leave ConfigParser values in an invalid " +"state (stored as a list instead of a str) after an earlier read raised " +"DuplicateSectionError or DuplicateOptionError." +msgstr "" + +#: build/NEWS:2000 +msgid ":gh:`90095`: Ignore empty lines and comments in ``.pdbrc``" +msgstr "" + +#: build/NEWS:2002 +msgid "" +":gh:`116764`: Restore support of ``None`` and other false values in :mod:" +"`urllib.parse` functions :func:`~urllib.parse.parse_qs` and :func:`~urllib." +"parse.parse_qsl`. Also, they now raise a TypeError for non-zero integers and " +"non-empty sequences." +msgstr "" + +#: build/NEWS:2007 +msgid "" +":gh:`116811`: In ``PathFinder.invalidate_caches``, delegate to " +"``MetadataPathFinder.invalidate_caches``." +msgstr "" + +#: build/NEWS:2010 +msgid ":gh:`116600`: Fix :func:`repr` for global :class:`~enum.Flag` members." +msgstr "" + +#: build/NEWS:2012 +msgid "" +":gh:`116484`: Change automatically generated :class:`tkinter.Checkbutton` " +"widget names to avoid collisions with automatically generated :class:" +"`tkinter.ttk.Checkbutton` widget names within the same parent widget." +msgstr "" + +#: build/NEWS:2017 +msgid "" +":gh:`116401`: Fix blocking :func:`os.fwalk` and :func:`shutil.rmtree` on " +"opening named pipe." +msgstr "" + +#: build/NEWS:2020 +msgid "" +":gh:`116143`: Fix a race in pydoc ``_start_server``, eliminating a window in " +"which ``_start_server`` can return a thread that is \"serving\" but without " +"a ``docserver`` set." +msgstr "" + +#: build/NEWS:2024 +msgid "" +":gh:`116325`: :mod:`typing`: raise :exc:`SyntaxError` instead of :exc:" +"`AttributeError` on forward references as empty strings." +msgstr "" + +#: build/NEWS:2027 +msgid "" +":gh:`90535`: Fix support of *interval* values > 1 in :class:`logging." +"TimedRotatingFileHandler` for ``when='MIDNIGHT'`` and ``when='Wx'``." +msgstr "" + +#: build/NEWS:2031 +msgid "" +":gh:`115978`: Disable preadv(), readv(), pwritev(), and writev() on WASI." +msgstr "" + +#: build/NEWS:2034 +msgid "" +"Under wasmtime for WASI 0.2, these functions don't pass test_posix (https://" +"github.com/bytecodealliance/wasmtime/issues/7830)." +msgstr "" + +#: build/NEWS:2037 +msgid "" +":gh:`88352`: Fix the computation of the next rollover time in the :class:" +"`logging.TimedRotatingFileHandler` handler. :meth:`!computeRollover` now " +"always returns a timestamp larger than the specified time and works " +"correctly during the DST change. :meth:`!doRollover` no longer overwrite the " +"already rolled over file, saving from data loss when run at midnight or " +"during repeated time at the DST change." +msgstr "" + +#: build/NEWS:2045 +msgid "" +":gh:`87115`: Set ``__main__.__spec__`` to ``None`` when running a script " +"with :mod:`pdb`" +msgstr "" + +#: build/NEWS:2048 +msgid "" +":gh:`76511`: Fix UnicodeEncodeError in :meth:`email.Message.as_string` that " +"results when a message that claims to be in the ascii character set actually " +"has non-ascii characters. Non-ascii characters are now replaced with the " +"U+FFFD replacement character, like in the ``replace`` error handler." +msgstr "" + +#: build/NEWS:2054 +msgid "" +":gh:`116040`: [Enum] fix by-value calls when second value is falsey; e.g. " +"Cardinal(1, 0)" +msgstr "" + +#: build/NEWS:2057 +msgid "" +":gh:`75988`: Fixed :func:`unittest.mock.create_autospec` to pass the call " +"through to the wrapped object to return the real result." +msgstr "" + +#: build/NEWS:2060 +msgid "" +":gh:`115881`: Fix issue where :func:`ast.parse` would incorrectly flag " +"conditional context managers (such as ``with (x() if y else z()): ...``) as " +"invalid syntax if ``feature_version=(3, 8)`` was passed. This reverts " +"changes to the grammar made as part of :gh:`94949`." +msgstr "" + +#: build/NEWS:2065 +msgid "" +":gh:`115886`: Fix silent truncation of the name with an embedded null " +"character in :class:`multiprocessing.shared_memory.SharedMemory`." +msgstr "" + +#: build/NEWS:2068 +msgid "" +":gh:`115809`: Improve algorithm for computing which rolled-over log files to " +"delete in :class:`logging.TimedRotatingFileHandler`. It is now reliable for " +"handlers without ``namer`` and with arbitrary deterministic ``namer`` that " +"leaves the datetime part in the file name unmodified." +msgstr "" + +#: build/NEWS:2073 +msgid "" +":gh:`74668`: :mod:`urllib.parse` functions :func:`~urllib.parse.parse_qs` " +"and :func:`~urllib.parse.parse_qsl` now support bytes arguments containing " +"raw and percent-encoded non-ASCII data." +msgstr "" + +#: build/NEWS:2077 +msgid "" +":gh:`67044`: :func:`csv.writer` now always quotes or escapes ``'\\r'`` and " +"``'\\n'``, regardless of *lineterminator* value." +msgstr "" + +#: build/NEWS:2080 +msgid "" +":gh:`115712`: :func:`csv.writer` now quotes empty fields if delimiter is a " +"space and skipinitialspace is true and raises exception if quoting is not " +"possible." +msgstr "" + +#: build/NEWS:2084 +msgid "" +":gh:`112364`: Fixed :func:`ast.unparse` to handle format_spec with ``\"``, " +"``'`` or ``\\\\``. Patched by Frank Hoffmann." +msgstr "" + +#: build/NEWS:2087 +msgid "" +":gh:`111358`: Fix a bug in :meth:`asyncio.BaseEventLoop." +"shutdown_default_executor` to ensure the timeout passed to the coroutine " +"behaves as expected." +msgstr "" + +#: build/NEWS:2091 +msgid "" +":gh:`115618`: Fix improper decreasing the reference count for ``None`` " +"argument in :class:`property` methods :meth:`~property.getter`, :meth:" +"`~property.setter` and :meth:`~property.deleter`." +msgstr "" + +#: build/NEWS:2095 +msgid "" +":gh:`115570`: A :exc:`DeprecationWarning` is no longer omitted on access to " +"the ``__doc__`` attributes of the deprecated ``typing.io`` and ``typing.re`` " +"pseudo-modules." +msgstr "" + +#: build/NEWS:2099 +msgid "" +":gh:`112006`: Fix :func:`inspect.unwrap` for types with the ``__wrapper__`` " +"data descriptor." +msgstr "" + +#: build/NEWS:2102 +msgid "" +":gh:`101293`: Support callables with the ``__call__()`` method and types " +"with ``__new__()`` and ``__init__()`` methods set to class methods, static " +"methods, bound methods, partial functions, and other types of methods and " +"descriptors in :meth:`inspect.Signature.from_callable`." +msgstr "" + +#: build/NEWS:2107 +msgid "" +":gh:`115392`: Fix a bug in :mod:`doctest` where incorrect line numbers would " +"be reported for decorated functions." +msgstr "" + +#: build/NEWS:2110 +msgid "" +":gh:`114563`: Fix several :func:`format` bugs when using the C " +"implementation of :class:`~decimal.Decimal`: * memory leak in some rare " +"cases when using the ``z`` format option (coerce negative 0) * incorrect " +"output when applying the ``z`` format option to type ``F`` (fixed-point with " +"capital ``NAN`` / ``INF``) * incorrect output when applying the ``#`` format " +"option (alternate form)" +msgstr "" + +#: build/NEWS:2117 +msgid "" +":gh:`115197`: ``urllib.request`` no longer resolves the hostname before " +"checking it against the system's proxy bypass list on macOS and Windows." +msgstr "" + +#: build/NEWS:2120 +msgid "" +":gh:`115165`: Most exceptions are now ignored when attempting to set the " +"``__orig_class__`` attribute on objects returned when calling :mod:`typing` " +"generic aliases (including generic aliases created using :data:`typing." +"Annotated`). Previously only :exc:`AttributeError` was ignored. Patch by " +"Dave Shawley." +msgstr "" + +#: build/NEWS:2126 +msgid "" +":gh:`115133`: Fix tests for :class:`~xml.etree.ElementTree.XMLPullParser` " +"with Expat 2.6.0." +msgstr "" + +#: build/NEWS:2129 +msgid "" +":gh:`115059`: :meth:`io.BufferedRandom.read1` now flushes the underlying " +"write buffer." +msgstr "" + +#: build/NEWS:2132 +msgid "" +":gh:`79382`: Trailing ``**`` no longer allows to match files and non-" +"existing paths in recursive :func:`~glob.glob`." +msgstr "" + +#: build/NEWS:2135 +msgid "" +":gh:`114071`: Support tuple subclasses using auto() for enum member value." +msgstr "" + +#: build/NEWS:2138 +msgid "" +":gh:`114763`: Protect modules loaded with :class:`importlib.util.LazyLoader` " +"from race conditions when multiple threads try to access attributes before " +"the loading is complete." +msgstr "" + +#: build/NEWS:2142 +msgid "" +":gh:`97959`: Fix rendering class methods, bound methods, method and function " +"aliases in :mod:`pydoc`. Class methods no longer have \"method of builtins." +"type instance\" note. Corresponding notes are now added for class and " +"unbound methods. Method and function aliases now have references to the " +"module or the class where the origin was defined if it differs from the " +"current. Bound methods are now listed in the static methods section. Methods " +"of builtin classes are now supported as well as methods of Python classes." +msgstr "" + +#: build/NEWS:2151 +msgid "" +":gh:`112281`: Allow creating :ref:`union of types<types-union>` for :class:" +"`typing.Annotated` with unhashable metadata." +msgstr "" + +#: build/NEWS:2154 +msgid "" +":gh:`111775`: Fix :meth:`importlib.resources.simple.ResourceHandle.open` for " +"text mode, added missed ``stream`` argument." +msgstr "" + +#: build/NEWS:2158 +msgid ":gh:`90095`: Make .pdbrc and -c work with any valid pdb commands." +msgstr "" + +#: build/NEWS:2160 +msgid "" +":gh:`107155`: Fix incorrect output of ``help(x)`` where ``x`` is a :keyword:" +"`lambda` function, which has an ``__annotations__`` dictionary attribute " +"with a ``\"return\"`` key." +msgstr "" + +#: build/NEWS:2164 +msgid "" +":gh:`105866`: Fixed ``_get_slots`` bug which caused error when defining " +"dataclasses with slots and a weakref_slot." +msgstr "" + +#: build/NEWS:2167 +msgid ":gh:`60346`: Fix ArgumentParser inconsistent with parse_known_args." +msgstr "" + +#: build/NEWS:2169 +msgid "" +":gh:`100985`: Update HTTPSConnection to consistently wrap IPv6 Addresses " +"when using a proxy." +msgstr "" + +#: build/NEWS:2172 +msgid "" +":gh:`100884`: email: fix misfolding of comma in address-lists over multiple " +"lines in combination with unicode encoding." +msgstr "" + +#: build/NEWS:2175 +msgid "" +":gh:`95782`: Fix :func:`io.BufferedReader.tell`, :func:`io.BufferedReader." +"seek`, :func:`!_pyio.BufferedReader.tell`, :func:`io.BufferedRandom.tell`, :" +"func:`io.BufferedRandom.seek` and :func:`!_pyio.BufferedRandom.tell` being " +"able to return negative offsets." +msgstr "" + +#: build/NEWS:2180 +msgid "" +":gh:`96310`: Fix a traceback in :mod:`argparse` when all options in a " +"mutually exclusive group are suppressed." +msgstr "" + +#: build/NEWS:2183 +msgid "" +":gh:`93205`: Fixed a bug in :class:`logging.handlers." +"TimedRotatingFileHandler` where multiple rotating handler instances pointing " +"to files with the same name but different extensions would conflict and not " +"delete the correct files." +msgstr "" + +#: build/NEWS:2188 +msgid "" +":issue:`44865`: Add missing call to localization function in :mod:`argparse`." +msgstr "" + +#: build/NEWS:2190 +msgid "" +":issue:`43952`: Fix :meth:`multiprocessing.connection.Listener.accept` to " +"accept empty bytes as authkey. Not accepting empty bytes as key causes it to " +"hang indefinitely." +msgstr "" + +#: build/NEWS:2194 +msgid "" +":issue:`42125`: linecache: get module name from ``__spec__`` if available. " +"This allows getting source code for the ``__main__`` module when a custom " +"loader is used." +msgstr "" + +#: build/NEWS:2198 +msgid "" +":gh:`66543`: Make :func:`mimetypes.guess_type` properly parsing of URLs with " +"only a host name, URLs containing fragment or query, and filenames with only " +"a UNC sharepoint on Windows. Based on patch by Dong-hee Na." +msgstr "" + +#: build/NEWS:2202 +msgid "" +":issue:`33775`: Add 'default' and 'version' help text for localization in " +"argparse." +msgstr "" + +#: build/NEWS:2208 +msgid "" +":gh:`115399`: Document :cve:`2023-52425` of Expat <2.6.0 under \"XML " +"vulnerabilities\"." +msgstr "" + +#: build/NEWS:2211 +msgid "" +":gh:`115233`: Fix an example for :class:`~logging.LoggerAdapter` in the " +"Logging Cookbook." +msgstr "" + +#: build/NEWS:2217 +msgid "" +":gh:`83434`: Disable JUnit XML output (``--junit-xml=FILE`` command line " +"option) in regrtest when hunting for reference leaks (``-R`` option). Patch " +"by Victor Stinner." +msgstr "" + +#: build/NEWS:2221 +msgid ":gh:`117187`: Fix XML tests for vanilla Expat <2.6.0." +msgstr "" + +#: build/NEWS:2223 +msgid "" +":gh:`116333`: Tests of TLS related things (error codes, etc) were updated to " +"be more lenient about specific error message strings and behaviors as seen " +"in the BoringSSL and AWS-LC forks of OpenSSL." +msgstr "" + +#: build/NEWS:2227 +msgid "" +":gh:`115979`: Update test_importlib so that it passes under WASI SDK 21." +msgstr "" + +#: build/NEWS:2230 +msgid "" +":gh:`112536`: Add --tsan to test.regrtest for running TSAN tests in " +"reasonable execution times. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:2233 +msgid "" +":gh:`116307`: Added import helper ``isolated_modules`` as ``CleanImport`` " +"does not remove modules imported during the context. Use it in importlib." +"resources tests to avoid leaving ``mod`` around to impede importlib.metadata " +"tests." +msgstr "" + +#: build/NEWS:2238 +msgid "" +":gh:`115720`: Leak tests (``-R``, ``--huntrleaks``) now show a summary of " +"the number of leaks found in each iteration." +msgstr "" + +#: build/NEWS:2241 +msgid "" +":gh:`115122`: Add ``--bisect`` option to regrtest test runner: run failed " +"tests with ``test.bisect_cmd`` to identify failing tests. Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:2245 +msgid "" +":gh:`115596`: Fix ``ProgramPriorityTests`` in ``test_os`` permanently " +"changing the process priority." +msgstr "" + +#: build/NEWS:2251 +msgid "" +":gh:`116313`: Get WASI builds to work under wasmtime 18 w/ WASI 0.2/preview2 " +"primitives." +msgstr "" + +#: build/NEWS:2254 +msgid "" +":gh:`116117`: Backport ``libb2``'s PR #42 to fix compiling CPython on 32-bit " +"Windows with ``clang-cl``." +msgstr "" + +#: build/NEWS:2257 +msgid "" +":gh:`115167`: Avoid vendoring ``vcruntime140_threads.dll`` when building " +"with Visual Studio 2022 version 17.8." +msgstr "" + +#: build/NEWS:2260 +msgid ":gh:`112536`: Add support for thread sanitizer (TSAN)" +msgstr "" + +#: build/NEWS:2265 +msgid "" +":gh:`117267`: Ensure ``DirEntry.stat().st_ctime`` behaves consistently with :" +"func:`os.stat` during the deprecation period of ``st_ctime`` by containing " +"the same value as ``st_birthtime``. After the deprecation period, " +"``st_ctime`` will be the metadata change time (or unavailable through " +"``DirEntry``), and only ``st_birthtime`` will contain the creation time." +msgstr "" + +#: build/NEWS:2272 +msgid "" +":gh:`116773`: Fix instances of ``<_overlapped.Overlapped object at 0xXXX> " +"still has pending operation at deallocation, the process may crash``." +msgstr "" + +#: build/NEWS:2276 +msgid "" +":gh:`91227`: Fix the asyncio ProactorEventLoop implementation so that " +"sending a datagram to an address that is not listening does not prevent " +"receiving any more datagrams." +msgstr "" + +#: build/NEWS:2280 +msgid "" +":gh:`115554`: The installer now has more strict rules about updating the :" +"ref:`launcher`. In general, most users only have a single launcher installed " +"and will see no difference. When multiple launchers have been installed, the " +"option to install the launcher is disabled until all but one have been " +"removed. Downgrading the launcher (which was never allowed) is now more " +"obviously blocked." +msgstr "" + +#: build/NEWS:2287 +msgid "" +":gh:`115543`: :ref:`launcher` can now detect Python 3.13 when installed from " +"the Microsoft Store, and will install Python 3.12 by default when :envvar:" +"`PYLAUNCHER_ALLOW_INSTALL` is set." +msgstr "" + +#: build/NEWS:2291 +msgid "" +":gh:`115049`: Fixes ``py.exe`` launcher failing when run as users without " +"user profiles." +msgstr "" + +#: build/NEWS:2294 +msgid ":gh:`115009`: Update Windows installer to use SQLite 3.45.1." +msgstr "" + +#: build/NEWS:2299 +msgid "" +":gh:`88516`: On macOS show a proxy icon in the title bar of editor windows " +"to match platform behaviour." +msgstr "" + +#: build/NEWS:2305 +msgid ":gh:`113516`: Don't set ``LDSHARED`` when building for WASI." +msgstr "" + +#: build/NEWS:2310 +msgid "" +":gh:`117021`: Fix integer overflow in :c:func:`PyLong_AsPid` on non-Windows " +"64-bit platforms." +msgstr "" + +#: build/NEWS:2313 +msgid "" +":gh:`116869`: Make the C API compatible with ``-Werror=declaration-after-" +"statement`` compiler flag again. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:2319 +msgid "Python 3.12.2 final" +msgstr "" + +#: build/NEWS:2321 +msgid "*Release date: 2024-02-06*" +msgstr "" + +#: build/NEWS:2326 +msgid "" +":gh:`113659`: Skip ``.pth`` files with names starting with a dot or hidden " +"file attribute." +msgstr "" + +#: build/NEWS:2332 +msgid "" +":gh:`114887`: Changed socket type validation in :meth:`~asyncio.loop." +"create_datagram_endpoint` to accept all non-stream sockets. This fixes a " +"regression in compatibility with raw sockets." +msgstr "" + +#: build/NEWS:2336 +msgid "" +":gh:`114388`: Fix a :exc:`RuntimeWarning` emitted when assign an integer-" +"like value that is not an instance of :class:`int` to an attribute that " +"corresponds to a C struct member of :ref:`type <PyMemberDef-types>` T_UINT " +"and T_ULONG. Fix a double :exc:`RuntimeWarning` emitted when assign a " +"negative integer value to an attribute that corresponds to a C struct member " +"of type T_UINT." +msgstr "" + +#: build/NEWS:2343 +msgid "" +":gh:`113703`: Fix a regression in the :mod:`codeop` module that was causing " +"it to incorrectly identify incomplete f-strings. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:2347 +msgid "" +":gh:`89811`: Check for a valid ``tp_version_tag`` before performing bytecode " +"specializations that rely on this value being usable." +msgstr "" + +#: build/NEWS:2350 +msgid "" +":gh:`113602`: Fix an error that was causing the parser to try to overwrite " +"existing errors and crashing in the process. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:2354 +msgid "" +":gh:`113297`: Fix segfault in the compiler on with statement with 19 context " +"managers." +msgstr "" + +#: build/NEWS:2357 +msgid "" +":gh:`106905`: Use per AST-parser state rather than global state to track " +"recursion depth within the AST parser to prevent potential race condition " +"due to simultaneous parsing." +msgstr "" + +#: build/NEWS:2361 +msgid "" +"The issue primarily showed up in 3.11 by multithreaded users of :func:`ast." +"parse`. In 3.12 a change to when garbage collection can be triggered " +"prevented the race condition from occurring." +msgstr "" + +#: build/NEWS:2365 +msgid "" +":gh:`112943`: Correctly compute end column offsets for multiline tokens in " +"the :mod:`tokenize` module. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:2368 +msgid "" +":gh:`112716`: Fix SystemError in the ``import`` statement and in " +"``__reduce__()`` methods of builtin types when ``__builtins__`` is not a " +"dict." +msgstr "" + +#: build/NEWS:2372 +msgid "" +":gh:`94606`: Fix UnicodeEncodeError when :func:`email.message.get_payload` " +"reads a message with a Unicode surrogate character and the message content " +"is not well-formed for surrogateescape encoding. Patch by Sidney Markowitz." +msgstr "" + +#: build/NEWS:2380 +msgid ":gh:`114965`: Update bundled pip to 24.0" +msgstr "" + +#: build/NEWS:2382 +msgid "" +":gh:`114959`: :mod:`tarfile` no longer ignores errors when trying to extract " +"a directory on top of a file." +msgstr "" + +#: build/NEWS:2385 +msgid "" +":gh:`109475`: Fix support of explicit option value \"--\" in :mod:`argparse` " +"(e.g. ``--option=--``)." +msgstr "" + +#: build/NEWS:2388 +msgid "" +":gh:`110190`: Fix ctypes structs with array on Windows ARM64 platform by " +"setting ``MAX_STRUCT_SIZE`` to 32 in stgdict. Patch by Diego Russo" +msgstr "" + +#: build/NEWS:2391 +msgid "" +":gh:`113280`: Fix a leak of open socket in rare cases when error occurred " +"in :class:`ssl.SSLSocket` creation." +msgstr "" + +#: build/NEWS:2394 +msgid "" +":gh:`77749`: :meth:`email.policy.EmailPolicy.fold` now always encodes non-" +"ASCII characters in headers if :attr:`~email.policy.EmailPolicy.utf8` is " +"false." +msgstr "" + +#: build/NEWS:2398 +msgid "" +":gh:`114492`: Make the result of :func:`termios.tcgetattr` reproducible on " +"Alpine Linux. Previously it could leave a random garbage in some fields." +msgstr "" + +#: build/NEWS:2402 +msgid "" +":gh:`113267`: Revert changes in :gh:`106584` which made calls of " +"``TestResult`` methods ``startTest()`` and ``stopTest()`` unbalanced." +msgstr "" + +#: build/NEWS:2405 +msgid "" +":gh:`75128`: Ignore an :exc:`OSError` in :meth:`asyncio.BaseEventLoop." +"create_server` when IPv6 is available but the interface cannot actually " +"support it." +msgstr "" + +#: build/NEWS:2409 +msgid "" +":gh:`114257`: Dismiss the :exc:`FileNotFound` error in :func:`ctypes.util." +"find_library` and just return ``None`` on Linux." +msgstr "" + +#: build/NEWS:2412 +msgid "" +":gh:`114328`: The :func:`tty.setcbreak` and new :func:`tty.cfmakecbreak` no " +"longer clears the terminal input ICRLF flag. This fixes a regression " +"introduced in 3.12 that no longer matched how OSes define cbreak mode in " +"their ``stty(1)`` manual pages." +msgstr "" + +#: build/NEWS:2417 +msgid "" +":gh:`101438`: Avoid reference cycle in ElementTree.iterparse. The iterator " +"returned by ``ElementTree.iterparse`` may hold on to a file descriptor. The " +"reference cycle prevented prompt clean-up of the file descriptor if the " +"returned iterator was not exhausted." +msgstr "" + +#: build/NEWS:2422 +msgid "" +":gh:`104522`: :exc:`OSError` raised when run a subprocess now only has " +"*filename* attribute set to *cwd* if the error was caused by a failed " +"attempt to change the current directory." +msgstr "" + +#: build/NEWS:2426 +msgid "" +":gh:`114149`: Enum: correctly handle tuple subclasses in custom ``__new__``." +msgstr "" + +#: build/NEWS:2429 +msgid "" +":gh:`109534`: Fix a reference leak in :class:`asyncio.selector_events." +"BaseSelectorEventLoop` when SSL handshakes fail. Patch contributed by Jamie " +"Phan." +msgstr "" + +#: build/NEWS:2433 +msgid "" +":gh:`114077`: Fix possible :exc:`OverflowError` in :meth:`socket.socket." +"sendfile` when pass *count* larger than 2 GiB on 32-bit platform." +msgstr "" + +#: build/NEWS:2437 +msgid "" +":gh:`114014`: Fixed a bug in :class:`fractions.Fraction` where an invalid " +"string using ``d`` in the decimals part creates a different error compared " +"to other invalid letters/characters. Patch by Jeremiah Gabriel Pascual." +msgstr "" + +#: build/NEWS:2442 +msgid "" +":gh:`113951`: Fix the behavior of ``tag_unbind()`` methods of :class:" +"`tkinter.Text` and :class:`tkinter.Canvas` classes with three arguments. " +"Previously, ``widget.tag_unbind(tag, sequence, funcid)`` destroyed the " +"current binding for *sequence*, leaving *sequence* unbound, and deleted the " +"*funcid* command. Now it removes only *funcid* from the binding for " +"*sequence*, keeping other commands, and deletes the *funcid* command. It " +"leaves *sequence* unbound only if *funcid* was the last bound command." +msgstr "" + +#: build/NEWS:2451 +msgid "" +":gh:`113877`: Fix :mod:`tkinter` method ``winfo_pathname()`` on 64-bit " +"Windows." +msgstr "" + +#: build/NEWS:2454 +msgid "" +":gh:`113661`: unittest runner: Don't exit 5 if tests were skipped. The " +"intention of exiting 5 was to detect issues where the test suite wasn't " +"discovered at all. If we skipped tests, it was correctly discovered." +msgstr "" + +#: build/NEWS:2458 +msgid "" +":gh:`113781`: Silence unraisable AttributeError when warnings are emitted " +"during Python finalization." +msgstr "" + +#: build/NEWS:2461 +msgid "" +":gh:`112932`: Restore the ability for :mod:`zipfile` to ``extractall`` from " +"zip files with a \"/\" directory entry in them as is commonly added to zips " +"by some wiki or bug tracker data exporters." +msgstr "" + +#: build/NEWS:2465 +msgid "" +":gh:`113594`: Fix :exc:`UnicodeEncodeError` in :mod:`email` when re-fold " +"lines that contain unknown-8bit encoded part followed by non-unknown-8bit " +"encoded part." +msgstr "" + +#: build/NEWS:2469 +msgid "" +":gh:`113538`: In :meth:`asyncio.StreamReaderProtocol.connection_made`, there " +"is callback that logs an error if the task wrapping the \"connected " +"callback\" fails. This callback would itself fail if the task was cancelled. " +"Prevent this by checking whether the task was cancelled first. If so, close " +"the transport but don't log an error." +msgstr "" + +#: build/NEWS:2475 +msgid "" +":gh:`85567`: Fix resource warnings for unclosed files in :mod:`pickle` and :" +"mod:`pickletools` command line interfaces." +msgstr "" + +#: build/NEWS:2478 +msgid "" +":gh:`101225`: Increase the backlog for :class:`multiprocessing.connection." +"Listener` objects created by :mod:`multiprocessing.manager` and :mod:" +"`multiprocessing.resource_sharer` to significantly reduce the risk of " +"getting a connection refused error when creating a :class:`multiprocessing." +"connection.Connection` to them." +msgstr "" + +#: build/NEWS:2484 +msgid "" +":gh:`113543`: Make sure that ``webbrowser.MacOSXOSAScript`` sends " +"``webbrowser.open`` audit event." +msgstr "" + +#: build/NEWS:2487 +msgid "" +":gh:`113028`: When a second reference to a string appears in the input to :" +"mod:`pickle`, and the Python implementation is in use, we are guaranteed " +"that a single copy gets pickled and a single object is shared when reloaded. " +"Previously, in protocol 0, when a string contained certain characters (e.g. " +"newline) it resulted in duplicate objects." +msgstr "" + +#: build/NEWS:2493 +msgid ":gh:`113421`: Fix multiprocessing logger for ``%(filename)s``." +msgstr "" + +#: build/NEWS:2495 +msgid "" +":gh:`111784`: Fix segfaults in the ``_elementtree`` module. Fix first " +"segfault during deallocation of ``_elementtree.XMLParser`` instances by " +"keeping strong reference to ``pyexpat`` module in module state for capsule " +"lifetime. Fix second segfault which happens in the same deallocation " +"process by keeping strong reference to ``_elementtree`` module in " +"``XMLParser`` structure for ``_elementtree`` module lifetime." +msgstr "" + +#: build/NEWS:2502 +msgid "" +":gh:`113407`: Fix import of :mod:`unittest.mock` when CPython is built " +"without docstrings." +msgstr "" + +#: build/NEWS:2505 +msgid "" +":gh:`113320`: Fix regression in Python 3.12 where :class:`~typing.Protocol` " +"classes that were not marked as :func:`runtime-checkable <typing." +"runtime_checkable>` would be unnecessarily introspected, potentially causing " +"exceptions to be raised if the protocol had problematic members. Patch by " +"Alex Waygood." +msgstr "" + +#: build/NEWS:2511 +msgid "" +":gh:`113358`: Fix rendering tracebacks for exceptions with a broken " +"``__getattr__``." +msgstr "" + +#: build/NEWS:2514 +msgid "" +":gh:`113214`: Fix an ``AttributeError`` during asyncio SSL protocol aborts " +"in SSL-over-SSL scenarios." +msgstr "" + +#: build/NEWS:2517 +msgid ":gh:`113246`: Update bundled pip to 23.3.2." +msgstr "" + +#: build/NEWS:2519 +msgid "" +":gh:`113199`: Make ``http.client.HTTPResponse.read1`` and ``http.client." +"HTTPResponse.readline`` close IO after reading all data when content length " +"is known. Patch by Illia Volochii." +msgstr "" + +#: build/NEWS:2523 +msgid "" +":gh:`113188`: Fix :func:`shutil.copymode` and :func:`shutil.copystat` on " +"Windows. Previously they worked differenly if *dst* is a symbolic link: they " +"modified the permission bits of *dst* itself rather than the file it points " +"to if *follow_symlinks* is true or *src* is not a symbolic link, and did not " +"modify the permission bits if *follow_symlinks* is false and *src* is a " +"symbolic link." +msgstr "" + +#: build/NEWS:2530 +msgid ":gh:`61648`: Detect line numbers of properties in doctests." +msgstr "" + +#: build/NEWS:2532 +msgid "" +":gh:`112559`: :func:`signal.signal` and :func:`signal.getsignal` no longer " +"call ``repr`` on callable handlers. :func:`asyncio.run` and :meth:`asyncio." +"Runner.run` no longer call ``repr`` on the task results. Patch by Yilei Yang." +msgstr "" + +#: build/NEWS:2537 +msgid "" +":gh:`110190`: Fix ctypes structs with array on PPC64LE platform by setting " +"``MAX_STRUCT_SIZE`` to 64 in stgdict. Patch by Diego Russo." +msgstr "" + +#: build/NEWS:2540 +msgid "" +":gh:`79429`: Ignore FileNotFoundError when remove a temporary directory in " +"the multiprocessing finalizer." +msgstr "" + +#: build/NEWS:2543 +msgid "" +":gh:`81194`: Fix a crash in :func:`socket.if_indextoname` with specific " +"value (UINT_MAX). Fix an integer overflow in :func:`socket.if_indextoname` " +"on 64-bit non-Windows platforms." +msgstr "" + +#: build/NEWS:2547 +msgid "" +":gh:`112343`: Improve handling of pdb convenience variables to avoid " +"replacing string contents." +msgstr "" + +#: build/NEWS:2550 +msgid "" +":gh:`111615`: Fix a regression caused by a fix to :gh:`93162` whereby you " +"couldn't configure a :class:`QueueHandler` without specifying handlers." +msgstr "" + +#: build/NEWS:2553 +msgid "" +":gh:`111049`: Fix crash during garbage collection of the :class:`io.BytesIO` " +"buffer object." +msgstr "" + +#: build/NEWS:2556 +msgid "" +":gh:`110345`: Show the Tcl/Tk patchlevel (rather than version) in :meth:" +"`tkinter._test`." +msgstr "" + +#: build/NEWS:2559 +msgid "" +":gh:`109858`: Protect :mod:`zipfile` from \"quoted-overlap\" zipbomb. It now " +"raises BadZipFile when try to read an entry that overlaps with other entry " +"or central directory." +msgstr "" + +#: build/NEWS:2563 +msgid "" +":gh:`114440`: On Windows, closing the connection writer when cleaning up a " +"broken :class:`multiprocessing.Queue` queue is now done for all queues, " +"rather than only in :mod:`concurrent.futures` manager thread. This can " +"prevent a deadlock when a ``multiprocessing`` worker process terminates " +"without cleaning up. This completes the backport of patches by Victor " +"Stinner and Serhiy Storchaka." +msgstr "" + +#: build/NEWS:2570 +msgid "" +":gh:`38807`: Fix race condition in :mod:`trace`. Instead of checking if a " +"directory exists and creating it, directly call :func:`os.makedirs` with the " +"kwarg ``exist_ok=True``." +msgstr "" + +#: build/NEWS:2574 +msgid "" +":gh:`75705`: Set unixfrom envelope in :class:`mailbox.mbox` and :class:" +"`mailbox.MMDF`." +msgstr "" + +#: build/NEWS:2577 +msgid "" +":gh:`106233`: Fix stacklevel in ``InvalidTZPathWarning`` during :mod:" +"`zoneinfo` module import." +msgstr "" + +#: build/NEWS:2580 +msgid "" +":gh:`105102`: Allow :class:`ctypes.Union` to be nested in :class:`ctypes." +"Structure` when the system endianness is the opposite of the classes." +msgstr "" + +#: build/NEWS:2584 +msgid "" +":gh:`104282`: Fix null pointer dereference in :func:`lzma." +"_decode_filter_properties` due to improper handling of BCJ filters with " +"properties of zero length. Patch by Radislav Chugunov." +msgstr "" + +#: build/NEWS:2588 +msgid "" +":gh:`102512`: When :func:`os.fork` is called from a foreign thread (aka " +"``_DummyThread``), the type of the thread in a child process is changed to " +"``_MainThread``. Also changed its name and daemonic status, it can be now " +"joined." +msgstr "" + +#: build/NEWS:2593 +msgid "" +":issue:`35928`: :class:`io.TextIOWrapper` now correctly handles the decoding " +"buffer after ``read()`` and ``write()``." +msgstr "" + +#: build/NEWS:2596 +msgid "" +":issue:`26791`: :func:`shutil.move` now moves a symlink into a directory " +"when that directory is the target of the symlink. This provides the same " +"behavior as the mv shell command. The previous behavior raised an " +"exception. Patch by Jeffrey Kintscher." +msgstr "" + +#: build/NEWS:2601 +msgid "" +":issue:`36959`: Fix some error messages for invalid ISO format string " +"combinations in ``strptime()`` that referred to directives not contained in " +"the format string. Patch by Gordon P. Hemsley." +msgstr "" + +#: build/NEWS:2605 +msgid "" +":issue:`18060`: Fixed a class inheritance issue that can cause segfaults " +"when deriving two or more levels of subclasses from a base class of " +"Structure or Union." +msgstr "" + +#: build/NEWS:2612 +msgid "" +":gh:`110746`: Improved markup for valid options/values for methods ttk." +"treeview.column and ttk.treeview.heading, and for Layouts." +msgstr "" + +#: build/NEWS:2615 +msgid "" +":gh:`95649`: Document that the :mod:`asyncio` module contains code taken " +"from `v0.16.0 of the uvloop project <https://github.com/MagicStack/uvloop/" +"tree/v0.16.0>`_, as well as the required MIT licensing information." +msgstr "" + +#: build/NEWS:2623 +msgid "" +":gh:`109980`: Fix ``test_tarfile_vs_tar`` in ``test_shutil`` for macOS, " +"where system tar can include more information in the archive than :mod:" +"`shutil.make_archive`." +msgstr "" + +#: build/NEWS:2627 +msgid "" +":gh:`105089`: Fix ``test.test_zipfile.test_core.TestWithDirectory." +"test_create_directory_with_write`` test in AIX by doing a bitwise AND of " +"0xFFFF on mode , so that it will be in sync with ``zinfo.external_attr``" +msgstr "" + +#: build/NEWS:2632 +msgid ":issue:`40648`: Test modes that file can get with chmod() on Windows." +msgstr "" + +#: build/NEWS:2637 +msgid "" +":gh:`112305`: Fixed the ``check-clean-src`` step performed on out of tree " +"builds to detect errant ``$(srcdir)/Python/frozen_modules/*.h`` files and " +"recommend appropriate source tree cleanup steps to get a working build again." +msgstr "" + +#: build/NEWS:2642 +msgid "" +":gh:`112867`: Fix the build for the case that WITH_PYMALLOC_RADIX_TREE=0 set." +msgstr "" + +#: build/NEWS:2645 +msgid "" +":issue:`11102`: The :func:`os.major`, :func:`os.makedev`, and :func:`os." +"minor` functions are now available on HP-UX v3." +msgstr "" + +#: build/NEWS:2648 +msgid ":issue:`36351`: Do not set ipv6type when cross-compiling." +msgstr "" + +#: build/NEWS:2653 +msgid ":gh:`109991`: Update Windows build to use OpenSSL 3.0.13." +msgstr "" + +#: build/NEWS:2655 +msgid ":gh:`111239`: Update Windows builds to use zlib v1.3.1." +msgstr "" + +#: build/NEWS:2657 +msgid "" +":gh:`100107`: The ``py.exe`` launcher will no longer attempt to run the " +"Microsoft Store redirector when launching a script containing a ``/usr/bin/" +"env`` shebang" +msgstr "" + +#: build/NEWS:2661 +msgid "" +":gh:`114096`: Process privileges that are activated for creating directory " +"junctions are now restored afterwards, avoiding behaviour changes in other " +"parts of the program." +msgstr "" + +#: build/NEWS:2665 +msgid "" +":gh:`111877`: :func:`os.stat` calls were returning incorrect time values for " +"files that could not be accessed directly." +msgstr "" + +#: build/NEWS:2668 +msgid "" +":gh:`113009`: :mod:`multiprocessing`: On Windows, fix a race condition in " +"``Process.terminate()``: no longer set the ``returncode`` attribute to " +"always call ``WaitForSingleObject()`` in ``Process.wait()``. Previously, " +"sometimes the process was still running after ``TerminateProcess()`` even if " +"``GetExitCodeProcess()`` is not ``STILL_ACTIVE``. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:2675 +msgid "" +":gh:`87868`: Correctly sort and remove duplicate environment variables in :" +"py:func:`!_winapi.CreateProcess`." +msgstr "" + +#: build/NEWS:2678 +msgid "" +":issue:`37308`: Fix mojibake in :class:`mmap.mmap` when using a non-ASCII " +"*tagname* argument on Windows." +msgstr "" + +#: build/NEWS:2684 +msgid ":gh:`115009`: Update macOS installer to use SQLite 3.45.1." +msgstr "" + +#: build/NEWS:2686 +msgid ":gh:`109991`: Update macOS installer to use OpenSSL 3.0.13." +msgstr "" + +#: build/NEWS:2688 +msgid "" +":gh:`110459`: Running ``configure ... --with-openssl-rpath=X/Y/Z`` no longer " +"fails to detect OpenSSL on macOS." +msgstr "" + +#: build/NEWS:2691 +msgid "" +":gh:`74573`: Document that :mod:`dbm.ndbm` can silently corrupt DBM files on " +"updates when exceeding undocumented platform limits, and can crash " +"(segmentation fault) when reading such a corrupted file. (FB8919203)" +msgstr "" + +#: build/NEWS:2695 +msgid "" +":gh:`65701`: The :program:`freeze` tool doesn't work with framework builds " +"of Python. Document this and bail out early when running the tool with such " +"a build." +msgstr "" + +#: build/NEWS:2699 +msgid "" +":gh:`108269`: Set ``CFBundleAllowMixedLocalizations`` to true in the Info." +"plist for the framework, embedded Python.app and IDLE.app with framework " +"installs on macOS. This allows applications to pick up the user's preferred " +"locale when that's different from english." +msgstr "" + +#: build/NEWS:2704 +msgid "" +":gh:`102362`: Make sure the result of :func:`sysconfig.get_plaform` includes " +"at least a major and minor versions, even if ``MACOSX_DEPLOYMENT_TARGET`` is " +"set to only a major version during build to match the format expected by pip." +msgstr "" + +#: build/NEWS:2709 +msgid "" +":gh:`110017`: Disable a signal handling stress test on macOS due to a bug in " +"macOS (FB13453490)." +msgstr "" + +#: build/NEWS:2712 +msgid "" +":gh:`110820`: Make sure the preprocessor definitions for " +"``ALIGNOF_MAX_ALIGN_T``, ``SIZEOF_LONG_DOUBLE`` and ``HAVE_GCC_ASM_FOR_X64`` " +"are correct for Universal 2 builds on macOS." +msgstr "" + +#: build/NEWS:2719 +msgid "" +":gh:`96905`: In idlelib code, stop redefining built-ins 'dict' and 'object'." +msgstr "" + +#: build/NEWS:2722 +msgid "" +":gh:`72284`: Improve the lists of features, editor key bindings, and shell " +"key bingings in the IDLE doc." +msgstr "" + +#: build/NEWS:2725 +msgid ":gh:`113903`: Fix rare failure of test.test_idle, in test_configdialog." +msgstr "" + +#: build/NEWS:2727 +msgid "" +":gh:`113729`: Fix the \"Help -> IDLE Doc\" menu bug in 3.11.7 and 3.12.1." +msgstr "" + +#: build/NEWS:2729 +msgid ":gh:`113269`: Fix test_editor hang on macOS Catalina." +msgstr "" + +#: build/NEWS:2731 +msgid ":gh:`112898`: Fix processing unsaved files when quitting IDLE on macOS." +msgstr "" + +#: build/NEWS:2733 +msgid "" +":gh:`103820`: Revise IDLE bindings so that events from mouse button 4/5 on " +"non-X11 windowing systems (i.e. Win32 and Aqua) are not mistaken for " +"scrolling." +msgstr "" + +#: build/NEWS:2737 +msgid "" +":issue:`13586`: Enter the selected text when opening the \"Replace\" dialog." +msgstr "" + +#: build/NEWS:2742 +msgid "" +":gh:`109991`: Update GitHub CI workflows to use OpenSSL 3.0.13 and " +"multissltests to use 1.1.1w, 3.0.13, 3.1.5, and 3.2.1." +msgstr "" + +#: build/NEWS:2745 +msgid "" +":gh:`115015`: Fix a bug in Argument Clinic that generated incorrect code for " +"methods with no parameters that use the :ref:`METH_METHOD | METH_FASTCALL | " +"METH_KEYWORDS <METH_METHOD-METH_FASTCALL-METH_KEYWORDS>` calling convention. " +"Only the positional parameter count was checked; any keyword argument passed " +"would be silently accepted." +msgstr "" + +#: build/NEWS:2753 +msgid "Python 3.12.1 final" +msgstr "" + +#: build/NEWS:2755 +msgid "*Release date: 2023-12-07*" +msgstr "" + +#: build/NEWS:2760 +msgid "" +":gh:`112125`: Fix None.__ne__(None) returning NotImplemented instead of False" +msgstr "" + +#: build/NEWS:2763 +msgid "" +":gh:`112625`: Fixes a bug where a bytearray object could be cleared while " +"iterating over an argument in the ``bytearray.join()`` method that could " +"result in reading memory after it was freed." +msgstr "" + +#: build/NEWS:2767 +msgid "" +":gh:`105967`: Workaround a bug in Apple's macOS platform zlib library where :" +"func:`zlib.crc32` and :func:`binascii.crc32` could produce incorrect results " +"on multi-gigabyte inputs. Including when using :mod:`zipfile` on zips " +"containing large data." +msgstr "" + +#: build/NEWS:2772 +msgid "" +":gh:`112356`: Stopped erroneously deleting a ``LOAD_NULL`` bytecode " +"instruction when optimized twice." +msgstr "" + +#: build/NEWS:2775 +msgid "" +":gh:`111058`: Change coro.cr_frame/gen.gi_frame to return ``None`` after the " +"coroutine/generator has been closed. This fixes a bug where :func:`~inspect." +"getcoroutinestate` and :func:`~inspect.getgeneratorstate` return the wrong " +"state for a closed coroutine/generator." +msgstr "" + +#: build/NEWS:2780 +msgid "" +":gh:`112388`: Fix an error that was causing the parser to try to overwrite " +"tokenizer errors. Patch by pablo Galindo" +msgstr "" + +#: build/NEWS:2783 +msgid "" +":gh:`112387`: Fix error positions for decoded strings with backwards " +"tokenize errors. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:2786 +msgid "" +":gh:`112367`: Avoid undefined behaviour when using the perf trampolines by " +"not freeing the code arenas until shutdown. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:2789 +msgid "" +":gh:`112243`: Don't include comments in f-string debug expressions. Patch by " +"Pablo Galindo" +msgstr "" + +#: build/NEWS:2792 +msgid "" +":gh:`112266`: Change docstrings of :attr:`~object.__dict__` and :attr:" +"`~object.__weakref__`." +msgstr "" + +#: build/NEWS:2795 +msgid "" +":gh:`111654`: Fix runtime crash when some error happens in opcode " +"``LOAD_FROM_DICT_OR_DEREF``." +msgstr "" + +#: build/NEWS:2798 +msgid "" +":gh:`109181`: Speed up :obj:`Traceback` object creation by lazily compute " +"the line number. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:2801 +msgid "" +":gh:`102388`: Fix a bug where ``iso2022_jp_3`` and ``iso2022_jp_2004`` " +"codecs read out of bounds" +msgstr "" + +#: build/NEWS:2804 +msgid "" +":gh:`111366`: Fix an issue in the :mod:`codeop` that was causing :exc:" +"`SyntaxError` exceptions raised in the presence of invalid syntax to not " +"contain precise error messages. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:2808 +msgid "" +":gh:`111380`: Fix a bug that was causing :exc:`SyntaxWarning` to appear " +"twice when parsing if invalid syntax is encountered later. Patch by Pablo " +"galindo" +msgstr "" + +#: build/NEWS:2812 +msgid "" +":gh:`94438`: Fix a regression that prevented jumping across ``is None`` and " +"``is not None`` when debugging. Patch by Savannah Ostrowski." +msgstr "" + +#: build/NEWS:2815 +msgid "" +":gh:`110938`: Fix error messages for indented blocks with functions and " +"classes with generic type parameters. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:2818 +msgid "" +":gh:`109894`: Fixed crash due to improperly initialized static :exc:" +"`MemoryError` in subinterpreter." +msgstr "" + +#: build/NEWS:2821 +msgid "" +":gh:`110782`: Fix crash when :class:`typing.TypeVar` is constructed with a " +"keyword argument. Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:2824 +msgid "" +":gh:`110696`: Fix incorrect error message for invalid argument unpacking. " +"Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:2827 +msgid "" +":gh:`110543`: Fix regression in Python 3.12 where :meth:`types.CodeType." +"replace` would produce a broken code object if called on a module or class " +"code object that contains a comprehension. Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:2832 +msgid ":gh:`110514`: Add ``PY_THROW`` to :func:`sys.setprofile` events" +msgstr "" + +#: build/NEWS:2834 +msgid "" +":gh:`110455`: Guard ``assert(tstate->thread_id > 0)`` with ``#ifndef " +"HAVE_PTHREAD_STUBS``. This allows for for pydebug builds to work under WASI " +"which (currently) lacks thread support." +msgstr "" + +#: build/NEWS:2838 +msgid "" +":gh:`110259`: Correctly identify the format spec in f-strings (with single " +"or triple quotes) that have multiple lines in the expression part and " +"include a formatting spec. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:2842 +msgid "" +":gh:`110237`: Fix missing error checks for calls to ``PyList_Append`` in " +"``_PyEval_MatchClass``." +msgstr "" + +#: build/NEWS:2845 +msgid "" +":gh:`109889`: Fix the compiler's redundant NOP detection algorithm to skip " +"over NOPs with no line number when looking for the next instruction's lineno." +msgstr "" + +#: build/NEWS:2849 +msgid ":gh:`109853`: ``sys.path[0]`` is now set correctly for subinterpreters." +msgstr "" + +#: build/NEWS:2851 +msgid "" +":gh:`105716`: Subinterpreters now correctly handle the case where they have " +"threads running in the background. Before, such threads would interfere " +"with cleaning up and destroying them, as well as prevent running another " +"script." +msgstr "" + +#: build/NEWS:2856 +msgid "" +":gh:`109793`: The main thread no longer exits prematurely when a " +"subinterpreter is cleaned up during runtime finalization. The bug was a " +"problem particularly because, when triggered, the Python process would " +"always return with a 0 exitcode, even if it failed." +msgstr "" + +#: build/NEWS:2861 +msgid "" +":gh:`109596`: Fix some tokens in the grammar that were incorrectly marked as " +"soft keywords. Also fix some repeated rule names and ensure that repeated " +"rules are not allowed. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:2865 +msgid "" +":gh:`109351`: Fix crash when compiling an invalid AST involving a named " +"(walrus) expression." +msgstr "" + +#: build/NEWS:2868 +msgid ":gh:`109216`: Fix possible memory leak in :opcode:`BUILD_MAP`." +msgstr "" + +#: build/NEWS:2870 +msgid "" +":gh:`109207`: Fix a SystemError in ``__repr__`` of symtable entry object." +msgstr "" + +#: build/NEWS:2873 +msgid "" +":gh:`109179`: Fix bug where the C traceback display drops notes from :exc:" +"`SyntaxError`." +msgstr "" + +#: build/NEWS:2876 +msgid "" +":gh:`109052`: Use the base opcode when comparing code objects to avoid " +"interference from instrumentation" +msgstr "" + +#: build/NEWS:2879 +msgid "" +":gh:`88943`: Improve syntax error for non-ASCII character that follows a " +"numerical literal. It now points on the invalid non-ASCII character, not on " +"the valid numerical literal." +msgstr "" + +#: build/NEWS:2883 +msgid "" +":gh:`106931`: Statically allocated string objects are now interned globally " +"instead of per-interpreter. This fixes a situation where such a string " +"would only be interned in a single interpreter. Normal string objects are " +"unaffected." +msgstr "" + +#: build/NEWS:2891 +msgid "" +":gh:`79325`: Fix an infinite recursion error in :func:`tempfile." +"TemporaryDirectory` cleanup on Windows." +msgstr "" + +#: build/NEWS:2894 +msgid "" +":gh:`112645`: Remove deprecation error on passing ``onerror`` to :func:" +"`shutil.rmtree`." +msgstr "" + +#: build/NEWS:2897 +msgid "" +":gh:`112618`: Fix a caching bug relating to :data:`typing.Annotated`. " +"``Annotated[str, True]`` is no longer identical to ``Annotated[str, 1]``." +msgstr "" + +#: build/NEWS:2900 +msgid "" +":gh:`112334`: Fixed a performance regression in 3.12's :mod:`subprocess` on " +"Linux where it would no longer use the fast-path ``vfork()`` system call " +"when it should have due to a logic bug, instead always falling back to the " +"safe but slower ``fork()``." +msgstr "" + +#: build/NEWS:2905 +msgid "" +"Also fixed a related 3.12 security regression: If a value of " +"``extra_groups=[]`` was passed to :mod:`subprocess.Popen` or related APIs, " +"the underlying ``setgroups(0, NULL)`` system call to clear the groups list " +"would not be made in the child process prior to ``exec()``. This has been " +"assigned :cve:`2023-6507`." +msgstr "" + +#: build/NEWS:2911 +msgid "" +"This was identified via code inspection in the process of fixing the first " +"bug." +msgstr "" + +#: build/NEWS:2914 +msgid "" +":gh:`110190`: Fix ctypes structs with array on Arm platform by setting " +"``MAX_STRUCT_SIZE`` to 32 in stgdict. Patch by Diego Russo." +msgstr "" + +#: build/NEWS:2917 +msgid "" +":gh:`112578`: Fix a spurious :exc:`RuntimeWarning` when executing the :mod:" +"`zipfile` module." +msgstr "" + +#: build/NEWS:2920 +msgid "" +":gh:`112509`: Fix edge cases that could cause a key to be present in both " +"the ``__required_keys__`` and ``__optional_keys__`` attributes of a :class:" +"`typing.TypedDict`. Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:2924 +msgid "" +":gh:`112414`: Fix regression in Python 3.12 where calling :func:`repr` on a " +"module that had been imported using a custom :term:`loader` could fail with :" +"exc:`AttributeError`. Patch by Alex Waygood." +msgstr "" + +#: build/NEWS:2928 +msgid "" +":gh:`112358`: Revert change to :class:`struct.Struct` initialization that " +"broke some cases of subclassing." +msgstr "" + +#: build/NEWS:2931 +msgid "" +":gh:`94722`: Fix bug where comparison between instances of :class:`~doctest." +"DocTest` fails if one of them has ``None`` as its lineno." +msgstr "" + +#: build/NEWS:2934 +msgid "" +":gh:`112105`: Make :func:`readline.set_completer_delims` work with libedit" +msgstr "" + +#: build/NEWS:2937 +msgid "" +":gh:`111942`: Fix SystemError in the TextIOWrapper constructor with non-" +"encodable \"errors\" argument in non-debug mode." +msgstr "" + +#: build/NEWS:2940 +msgid "" +":gh:`109538`: Issue warning message instead of having :class:`RuntimeError` " +"be displayed when event loop has already been closed at :meth:`StreamWriter." +"__del__`." +msgstr "" + +#: build/NEWS:2944 +msgid "" +":gh:`111942`: Fix crashes in :meth:`io.TextIOWrapper.reconfigure` when pass " +"invalid arguments, e.g. non-string encoding." +msgstr "" + +#: build/NEWS:2947 +msgid "" +":gh:`111460`: :mod:`curses`: restore wide character support (including :func:" +"`curses.unget_wch` and :meth:`~curses.window.get_wch`) on macOS, which was " +"unavailable due to a regression in Python 3.12." +msgstr "" + +#: build/NEWS:2951 +msgid "" +":gh:`103791`: :class:`contextlib.suppress` now supports suppressing " +"exceptions raised as part of a :exc:`BaseExceptionGroup`, in addition to the " +"recent support for :exc:`ExceptionGroup`." +msgstr "" + +#: build/NEWS:2955 +msgid "" +":gh:`111804`: Remove posix.fallocate() under WASI as the underlying " +"posix_fallocate() is not available in WASI preview2." +msgstr "" + +#: build/NEWS:2958 +msgid "" +":gh:`111841`: Fix truncating arguments on an embedded null character in :" +"meth:`os.putenv` and :meth:`os.unsetenv` on Windows." +msgstr "" + +#: build/NEWS:2961 +msgid "" +":gh:`111541`: Fix :mod:`doctest` for :exc:`SyntaxError` not-builtin " +"subclasses." +msgstr "" + +#: build/NEWS:2964 +msgid "" +":gh:`110894`: Call loop exception handler for exceptions in " +"``client_connected_cb`` of :func:`asyncio.start_server` so that applications " +"can handle it. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:2968 +msgid "" +":gh:`111531`: Fix reference leaks in ``bind_class()`` and ``bind_all()`` " +"methods of :mod:`tkinter` widgets." +msgstr "" + +#: build/NEWS:2971 +msgid "" +":gh:`111356`: Added :func:`io.text_encoding`, :data:`io." +"DEFAULT_BUFFER_SIZE`, and :class:`io.IncrementalNewlineDecoder` to ``io." +"__all__``." +msgstr "" + +#: build/NEWS:2975 +msgid ":gh:`111342`: Fixed typo in :func:`math.sumprod`." +msgstr "" + +#: build/NEWS:2977 +msgid "" +":gh:`68166`: Remove mention of not supported \"vsapi\" element type in :meth:" +"`tkinter.ttk.Style.element_create`. Add tests for ``element_create()`` and " +"other ``ttk.Style`` methods. Add examples for ``element_create()`` in the " +"documentation." +msgstr "" + +#: build/NEWS:2982 +msgid "" +":gh:`75666`: Fix the behavior of :mod:`tkinter` widget's ``unbind()`` method " +"with two arguments. Previously, ``widget.unbind(sequence, funcid)`` " +"destroyed the current binding for *sequence*, leaving *sequence* unbound, " +"and deleted the *funcid* command. Now it removes only *funcid* from the " +"binding for *sequence*, keeping other commands, and deletes the *funcid* " +"command. It leaves *sequence* unbound only if *funcid* was the last bound " +"command." +msgstr "" + +#: build/NEWS:2990 +msgid "" +":gh:`79033`: Another attempt at fixing :func:`asyncio.Server.wait_closed`. " +"It now blocks until both conditions are true: the server is closed, *and* " +"there are no more active connections. (This means that in some cases where " +"in 3.12.0 this function would *incorrectly* have returned immediately, it " +"will now block; in particular, when there are no active connections but the " +"server hasn't been closed yet.)" +msgstr "" + +#: build/NEWS:2998 +msgid "" +":gh:`111295`: Fix :mod:`time` not checking for errors when initializing." +msgstr "" + +#: build/NEWS:3001 +msgid ":gh:`111253`: Add error checking during :mod:`!_socket` module init." +msgstr "" + +#: build/NEWS:3003 +msgid "" +":gh:`111251`: Fix :mod:`_blake2` not checking for errors when initializing." +msgstr "" + +#: build/NEWS:3006 +msgid "" +":gh:`111174`: Fix crash in :meth:`io.BytesIO.getbuffer` called repeatedly " +"for empty BytesIO." +msgstr "" + +#: build/NEWS:3009 +msgid "" +":gh:`111187`: Postpone removal version for locale.getdefaultlocale() to " +"Python 3.15." +msgstr "" + +#: build/NEWS:3012 +msgid "" +":gh:`111159`: Fix :mod:`doctest` output comparison for exceptions with notes." +msgstr "" + +#: build/NEWS:3015 +msgid "" +":gh:`110910`: Fix invalid state handling in :class:`asyncio.TaskGroup` and :" +"class:`asyncio.Timeout`. They now raise proper RuntimeError if they are " +"improperly used and are left in consistent state after this." +msgstr "" + +#: build/NEWS:3019 +msgid ":gh:`111092`: Make turtledemo run without default root enabled." +msgstr "" + +#: build/NEWS:3021 +msgid "" +":gh:`110488`: Fix a couple of issues in :meth:`pathlib.PurePath.with_name`: " +"a single dot was incorrectly considered a valid name, and in :class:" +"`PureWindowsPath`, a name with an NTFS alternate data stream, like ``a:b``, " +"was incorrectly considered invalid." +msgstr "" + +#: build/NEWS:3027 +msgid "" +":gh:`110392`: Fix :func:`tty.setraw` and :func:`tty.setcbreak`: previously " +"they returned partially modified list of the original tty attributes. :func:" +"`tty.cfmakeraw` and :func:`tty.cfmakecbreak` now make a copy of the list of " +"special characters before modifying it." +msgstr "" + +#: build/NEWS:3032 +msgid "" +":gh:`110590`: Fix a bug in :meth:`!_sre.compile` where :exc:`TypeError` " +"would be overwritten by :exc:`OverflowError` when the *code* argument was a " +"list of non-ints." +msgstr "" + +#: build/NEWS:3036 +msgid "" +":gh:`65052`: Prevent :mod:`pdb` from crashing when trying to display " +"undisplayable objects" +msgstr "" + +#: build/NEWS:3039 +msgid "" +":gh:`110519`: Deprecation warning about non-integer number in :mod:`gettext` " +"now alwais refers to the line in the user code where gettext function or " +"method is used. Previously it could refer to a line in ``gettext`` code." +msgstr "" + +#: build/NEWS:3044 +msgid "" +":gh:`110395`: Ensure that :func:`select.kqueue` objects correctly appear as " +"closed in forked children, to prevent operations on an invalid file " +"descriptor." +msgstr "" + +#: build/NEWS:3048 +msgid "" +":gh:`110378`: :func:`~contextlib.contextmanager` and :func:`~contextlib." +"asynccontextmanager` context managers now close an invalid underlying " +"generator object that yields more then one value." +msgstr "" + +#: build/NEWS:3052 +msgid "" +":gh:`110365`: Fix :func:`termios.tcsetattr` bug that was overwritting " +"existing errors during parsing integers from ``term`` list." +msgstr "" + +#: build/NEWS:3055 +msgid "" +":gh:`109653`: Fix a Python 3.12 regression in the import time of :mod:" +"`random`. Patch by Alex Waygood." +msgstr "" + +#: build/NEWS:3058 +msgid "" +":gh:`110196`: Add ``__reduce__`` method to :class:`IPv6Address` in order to " +"keep ``scope_id``" +msgstr "" + +#: build/NEWS:3061 +msgid "" +":gh:`110036`: On Windows, multiprocessing ``Popen.terminate()`` now catchs :" +"exc:`PermissionError` and get the process exit code. If the process is still " +"running, raise again the :exc:`PermissionError`. Otherwise, the process " +"terminated as expected: store its exit code. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3067 +msgid "" +":gh:`110038`: Fixed an issue that caused :meth:`KqueueSelector.select` to " +"not return all the ready events in some cases when a file descriptor is " +"registered for both read and write." +msgstr "" + +#: build/NEWS:3071 +msgid "" +":gh:`109631`: :mod:`re` functions such as :func:`re.findall`, :func:`re." +"split`, :func:`re.search` and :func:`re.sub` which perform short repeated " +"matches can now be interrupted by user." +msgstr "" + +#: build/NEWS:3075 +msgid "" +":gh:`109747`: Improve errors for unsupported look-behind patterns. Now re." +"error is raised instead of OverflowError or RuntimeError for too large width " +"of look-behind pattern." +msgstr "" + +#: build/NEWS:3079 +msgid "" +":gh:`109818`: Fix :func:`reprlib.recursive_repr` not copying " +"``__type_params__`` from decorated function." +msgstr "" + +#: build/NEWS:3082 +msgid "" +":gh:`109047`: :mod:`concurrent.futures`: The *executor manager thread* now " +"catches exceptions when adding an item to the *call queue*. During Python " +"finalization, creating a new thread can now raise :exc:`RuntimeError`. Catch " +"the exception and call ``terminate_broken()`` in this case. Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:3088 +msgid "" +":gh:`109782`: Ensure the signature of :func:`os.path.isdir` is identical on " +"all platforms. Patch by Amin Alaee." +msgstr "" + +#: build/NEWS:3091 +msgid "" +":gh:`109590`: :func:`shutil.which` will prefer files with an extension in " +"``PATHEXT`` if the given mode includes ``os.X_OK`` on win32. If no " +"``PATHEXT`` match is found, a file without an extension in ``PATHEXT`` can " +"be returned. This change will have :func:`shutil.which` act more similarly " +"to previous behavior in Python 3.11." +msgstr "" + +#: build/NEWS:3097 +msgid "" +":gh:`109786`: Fix possible reference leaks and crash when re-enter the " +"``__next__()`` method of :class:`itertools.pairwise`." +msgstr "" + +#: build/NEWS:3100 +msgid "" +":gh:`109593`: Avoid deadlocking on a reentrant call to the multiprocessing " +"resource tracker. Such a reentrant call, though unlikely, can happen if a GC " +"pass invokes the finalizer for a multiprocessing object such as SemLock." +msgstr "" + +#: build/NEWS:3105 +msgid "" +":gh:`109613`: Fix :func:`os.stat` and :meth:`os.DirEntry.stat`: check for " +"exceptions. Previously, on Python built in debug mode, these functions could " +"trigger a fatal Python error (and abort the process) when a function " +"succeeded with an exception set. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3110 +msgid "" +":gh:`109375`: The :mod:`pdb` ``alias`` command now prevents registering " +"aliases without arguments." +msgstr "" + +#: build/NEWS:3113 +msgid "" +":gh:`107219`: Fix a race condition in ``concurrent.futures``. When a process " +"in the process pool was terminated abruptly (while the future was running or " +"pending), close the connection write end. If the call queue is blocked on " +"sending bytes to a worker process, closing the connection write end " +"interrupts the send, so the queue can be closed. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3120 +msgid "" +":gh:`50644`: Attempts to pickle or create a shallow or deep copy of :mod:" +"`codecs` streams now raise a TypeError. Previously, copying failed with a " +"RecursionError, while pickling produced wrong results that eventually caused " +"unpickling to fail with a RecursionError." +msgstr "" + +#: build/NEWS:3125 +msgid "" +":gh:`108987`: Fix :func:`_thread.start_new_thread` race condition. If a " +"thread is created during Python finalization, the newly spawned thread now " +"exits immediately instead of trying to access freed memory and lead to a " +"crash. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3130 +msgid "" +":gh:`108791`: Improved error handling in :mod:`pdb` command line interface, " +"making it produce more concise error messages." +msgstr "" + +#: build/NEWS:3133 +msgid ":gh:`105829`: Fix concurrent.futures.ProcessPoolExecutor deadlock" +msgstr "" + +#: build/NEWS:3135 +msgid "" +":gh:`106584`: Fix exit code for ``unittest`` if all tests are skipped. Patch " +"by Egor Eliseev." +msgstr "" + +#: build/NEWS:3138 +msgid "" +":gh:`102956`: Fix returning of empty byte strings after seek in zipfile " +"module" +msgstr "" + +#: build/NEWS:3141 +msgid "" +":gh:`84867`: :class:`unittest.TestLoader` no longer loads test cases from " +"exact :class:`unittest.TestCase` and :class:`unittest.FunctionTestCase` " +"classes." +msgstr "" + +#: build/NEWS:3145 +msgid "" +":gh:`91133`: Fix a bug in :class:`tempfile.TemporaryDirectory` cleanup, " +"which now no longer dereferences symlinks when working around file system " +"permission errors." +msgstr "" + +#: build/NEWS:3149 +msgid "" +":gh:`73561`: Omit the interface scope from an IPv6 address when used as Host " +"header by :mod:`http.client`." +msgstr "" + +#: build/NEWS:3152 +msgid "" +":gh:`86826`: :mod:`zipinfo` now supports the full range of values in the TZ " +"string determined by RFC 8536 and detects all invalid formats. Both Python " +"and C implementations now raise exceptions of the same type on invalid data." +msgstr "" + +#: build/NEWS:3157 +msgid "" +":issue:`43153`: On Windows, ``tempfile.TemporaryDirectory`` previously " +"masked a ``PermissionError`` with ``NotADirectoryError`` during directory " +"cleanup. It now correctly raises ``PermissionError`` if errors are not " +"ignored. Patch by Andrei Kulakov and Ken Jin." +msgstr "" + +#: build/NEWS:3162 +msgid "" +":issue:`35332`: The :func:`shutil.rmtree` function now ignores errors when " +"calling :func:`os.close` when *ignore_errors* is ``True``, and :func:`os." +"close` no longer retried after error." +msgstr "" + +#: build/NEWS:3166 +msgid "" +":issue:`41422`: Fixed memory leaks of :class:`pickle.Pickler` and :class:" +"`pickle.Unpickler` involving cyclic references via the internal memo mapping." +msgstr "" + +#: build/NEWS:3170 +msgid "" +":issue:`40262`: The :meth:`ssl.SSLSocket.recv_into` method no longer " +"requires the *buffer* argument to implement ``__len__`` and supports buffers " +"with arbitrary item size." +msgstr "" + +#: build/NEWS:3177 +msgid "" +":gh:`111699`: Relocate ``smtpd`` deprecation notice to its own section " +"rather than under ``locale`` in What's New in Python 3.12 document" +msgstr "" + +#: build/NEWS:3180 +msgid "" +":gh:`108826`: :mod:`dis` module command-line interface is now mentioned in " +"documentation." +msgstr "" + +#: build/NEWS:3186 +msgid "" +":gh:`112769`: The tests now correctly compare zlib version when :const:`zlib." +"ZLIB_RUNTIME_VERSION` contains non-integer suffixes. For example zlib-ng " +"defines the version as ``1.3.0.zlib-ng``." +msgstr "" + +#: build/NEWS:3190 +msgid "" +":gh:`110367`: Make regrtest ``--verbose3`` option compatible with ``--" +"huntrleaks -jN`` options. The ``./python -m test -j1 -R 3:3 --verbose3`` " +"command now works as expected. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3194 +msgid "" +":gh:`111165`: Remove no longer used functions ``run_unittest()`` and " +"``run_doctest()`` from the :mod:`test.support` module." +msgstr "" + +#: build/NEWS:3197 +msgid "" +":gh:`110932`: Fix regrtest if the ``SOURCE_DATE_EPOCH`` environment variable " +"is defined: use the variable value as the random seed. Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:3201 +msgid "" +":gh:`110995`: test_gdb: Fix detection of gdb built without Python scripting " +"support. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3204 +msgid "" +":gh:`110918`: Test case matching patterns specified by options ``--match``, " +"``--ignore``, ``--matchfile`` and ``--ignorefile`` are now tested in the " +"order of specification, and the last match determines whether the test case " +"be run or ignored." +msgstr "" + +#: build/NEWS:3209 +msgid "" +":gh:`110647`: Fix test_stress_modifying_handlers() of test_signal. Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:3212 +msgid "" +":gh:`103053`: Fix test_tools.test_freeze on FreeBSD: run \"make distclean\" " +"instead of \"make clean\" in the copied source directory to remove also the " +"\"python\" program. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3216 +msgid "" +":gh:`110167`: Fix a deadlock in test_socket when server fails with a timeout " +"but the client is still running in its thread. Don't hold a lock to call " +"cleanup functions in doCleanups(). One of the cleanup function waits until " +"the client completes, whereas the client could deadlock if it called " +"addCleanup() in such situation. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3222 +msgid ":gh:`110388`: Add tests for :mod:`tty`." +msgstr "" + +#: build/NEWS:3224 +msgid ":gh:`81002`: Add tests for :mod:`termios`." +msgstr "" + +#: build/NEWS:3226 +msgid "" +":gh:`110267`: Add tests for pickling and copying PyStructSequence objects. " +"Patched by Xuehai Pan." +msgstr "" + +#: build/NEWS:3229 +msgid "" +":gh:`110031`: Skip test_threading tests using thread+fork if Python is built " +"with Address Sanitizer (ASAN). Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3232 +msgid "" +":gh:`110088`: Fix test_asyncio timeouts: don't measure the maximum duration, " +"a test should not measure a CI performance. Only measure the minimum " +"duration when a task has a timeout or delay. Add ``CLOCK_RES`` to " +"``test_asyncio.utils``. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3237 +msgid "" +":gh:`109974`: Fix race conditions in test_threading lock tests. Wait until a " +"condition is met rather than using :func:`time.sleep` with a hardcoded " +"number of seconds. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3241 +msgid "" +":gh:`110033`: Fix ``test_interprocess_signal()`` of ``test_signal``. Make " +"sure that the ``subprocess.Popen`` object is deleted before the test raising " +"an exception in a signal handler. Otherwise, ``Popen.__del__()`` can get the " +"exception which is logged as ``Exception ignored in: ...`` and the test " +"fails. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3247 +msgid "" +":gh:`109594`: Fix test_timeout() of test_concurrent_futures.test_wait. " +"Remove the future which may or may not complete depending if it takes longer " +"than the timeout ot not. Keep the second future which does not complete " +"before wait() timeout. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3252 +msgid "" +":gh:`109972`: Split test_gdb.py file into a test_gdb package made of " +"multiple tests, so tests can now be run in parallel. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3256 +msgid "" +":gh:`103053`: Skip test_freeze_simple_script() of test_tools.test_freeze if " +"Python is built with ``./configure --enable-optimizations``, which means " +"with Profile Guided Optimization (PGO): it just makes the test too slow. The " +"freeze tool is tested by many other CIs with other (faster) compiler flags. " +"Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3262 +msgid "" +":gh:`109580`: Skip ``test_perf_profiler`` if Python is built with ASAN, MSAN " +"or UBSAN sanitizer. Python does crash randomly in this test on such build. " +"Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3483 +msgid "" +":gh:`104736`: Fix test_gdb on Python built with LLVM clang 16 on Linux " +"ppc64le (ex: Fedora 38). Search patterns in gdb \"bt\" command output to " +"detect when gdb fails to retrieve the traceback. For example, skip a test if " +"``Backtrace stopped: frame did not save the PC`` is found. Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:3272 +msgid "" +":gh:`108927`: Fixed order dependence in running tests in the same process " +"when a test that has submodules (e.g. test_importlib) follows a test that " +"imports its submodule (e.g. test_importlib.util) and precedes a test (e.g. " +"test_unittest or test_compileall) that uses that submodule." +msgstr "" + +#: build/NEWS:3280 +msgid "" +":gh:`112088`: Add ``Tools/build/regen-configure.sh`` script to regenerate " +"the ``configure`` with an Ubuntu container image. The ``quay.io/tiran/" +"cpython_autoconf:271`` container image (`tiran/cpython_autoconf <https://" +"github.com/tiran/cpython_autoconf>`_) is no longer used. Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:3286 +msgid "" +":gh:`111046`: For wasi-threads, memory is now exported to fix compatibility " +"issues with some wasm runtimes." +msgstr "" + +#: build/NEWS:3289 +msgid "" +":gh:`103053`: \"make check-clean-src\" now also checks if the \"python\" " +"program is found in the source directory: fail with an error if it does " +"exist. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3293 +msgid "" +":gh:`109191`: Fix compile error when building with recent versions of " +"libedit." +msgstr "" + +#: build/NEWS:3299 +msgid "" +":gh:`111856`: Fixes :func:`~os.fstat` on file systems that do not support " +"file ID requests. This includes FAT32 and exFAT." +msgstr "" + +#: build/NEWS:3302 +msgid "" +":gh:`111293`: Fix :data:`os.DirEntry.inode` dropping higher 64 bits of a " +"file id on some filesystems on Windows." +msgstr "" + +#: build/NEWS:3305 +msgid "" +":gh:`110913`: WindowsConsoleIO now correctly chunks large buffers without " +"splitting up UTF-8 sequences." +msgstr "" + +#: build/NEWS:3308 +msgid "" +":gh:`110437`: Allows overriding the source of VC redistributables so that " +"releases can be guaranteed to never downgrade between updates." +msgstr "" + +#: build/NEWS:3311 +msgid ":gh:`109286`: Update Windows installer to use SQLite 3.43.1." +msgstr "" + +#: build/NEWS:3316 +msgid "" +":gh:`109981`: Use ``/dev/fd`` on macOS to determine the number of open files " +"in ``test.support.os_helper.fd_count`` to avoid a crash with \"guarded\" " +"file descriptors when probing for open files." +msgstr "" + +#: build/NEWS:3320 +msgid "" +":gh:`110950`: Update macOS installer to include an upstream Tcl/Tk fix for " +"the ``Secure coding is not enabled for restorable state!`` warning " +"encountered in Tkinter on macOS 14 Sonoma." +msgstr "" + +#: build/NEWS:3324 +msgid "" +":gh:`111015`: Ensure that IDLE.app and Python Launcher.app are installed " +"with appropriate permissions on macOS builds." +msgstr "" + +#: build/NEWS:3327 +msgid ":gh:`109286`: Update macOS installer to use SQLite 3.43.1." +msgstr "" + +#: build/NEWS:3329 +msgid "" +":gh:`71383`: Update macOS installer to include an upstream Tcl/Tk fix for " +"the ``ttk::ThemeChanged`` error encountered in Tkinter." +msgstr "" + +#: build/NEWS:3332 +msgid "" +":gh:`92603`: Update macOS installer to include a fix accepted by upstream " +"Tcl/Tk for a crash encountered after the first :meth:`tkinter.Tk` instance " +"is destroyed." +msgstr "" + +#: build/NEWS:3339 +msgid "" +":issue:`35668`: Add docstrings to the IDLE debugger module. Fix two bugs: " +"initialize Idb.botframe (should be in Bdb); in Idb.in_rpc_code, check " +"whether prev_frame is None before trying to use it. Greatly expand " +"test_debugger." +msgstr "" + +#: build/NEWS:3347 +msgid "" +":gh:`106560`: Fix redundant declarations in the public C API. Declare " +"PyBool_Type and PyLong_Type only once. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3350 +msgid "" +":gh:`112438`: Fix support of format units \"es\", \"et\", \"es#\", and " +"\"et#\" in nested tuples in :c:func:`PyArg_ParseTuple`-like functions." +msgstr "" + +#: build/NEWS:3353 +msgid "" +":gh:`109521`: :c:func:`PyImport_GetImporter` now sets RuntimeError if it " +"fails to get :data:`sys.path_hooks` or :data:`sys.path_importer_cache` or " +"they are not list and dict correspondingly. Previously it could return NULL " +"without setting error in obscure cases, crash or raise SystemError if these " +"attributes have wrong type." +msgstr "" + +#: build/NEWS:3361 +msgid "Python 3.12.0 final" +msgstr "" + +#: build/NEWS:3363 +msgid "*Release date: 2023-10-02*" +msgstr "" + +#: build/NEWS:3368 +msgid "" +":gh:`109823`: Fix bug where compiler does not adjust labels when removing an " +"empty basic block which is a jump target." +msgstr "" + +#: build/NEWS:3371 +msgid "" +":gh:`109719`: Fix missing jump target labels when compiler reorders cold/" +"warm blocks." +msgstr "" + +#: build/NEWS:3374 +msgid "" +":gh:`109627`: Fix bug where the compiler does not assign a new jump target " +"label to a duplicated small exit block." +msgstr "" + +#: build/NEWS:3380 +msgid "" +":gh:`110045`: Update the :mod:`symtable` module to support the new scopes " +"introduced by :pep:`695`." +msgstr "" + +#: build/NEWS:3386 +msgid "" +":gh:`109209`: The minimum Sphinx version required for the documentation is " +"now 4.2." +msgstr "" + +#: build/NEWS:3392 +msgid ":gh:`109991`: Update Windows build to use OpenSSL 3.0.11." +msgstr "" + +#: build/NEWS:3397 +msgid ":gh:`109991`: Update macOS installer to use OpenSSL 3.0.11." +msgstr "" + +#: build/NEWS:3402 +msgid "" +":gh:`109991`: Update GitHub CI workflows to use OpenSSL 3.0.11 and " +"multissltests to use 1.1.1w, 3.0.11, and 3.1.3." +msgstr "" + +#: build/NEWS:3407 +msgid "Python 3.12.0 release candidate 3" +msgstr "" + +#: build/NEWS:3409 +msgid "*Release date: 2023-09-18*" +msgstr "" + +#: build/NEWS:3414 +msgid "" +":gh:`109496`: On a Python built in debug mode, :c:func:`Py_DECREF()` now " +"calls ``_Py_NegativeRefcount()`` if the object is a dangling pointer to " +"deallocated memory: memory filled with ``0xDD`` \"dead byte\" by the debug " +"hook on memory allocators. The fix is to check the reference count *before* " +"checking for ``_Py_IsImmortal()``. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3420 +msgid "" +":gh:`109371`: Deopted instructions correctly for tool initialization and " +"modified the incorrect assertion in instrumentation, when a previous tool " +"already sets INSTRUCTION events" +msgstr "" + +#: build/NEWS:3424 +msgid "" +":gh:`105658`: Fix bug where the line trace of an except block ending with a " +"conditional includes an excess event with the line of the conditional " +"expression." +msgstr "" + +#: build/NEWS:3428 +msgid "" +":gh:`109219`: Fix compiling type param scopes that use a name which is also " +"free in an inner scope." +msgstr "" + +#: build/NEWS:3431 +msgid "" +":gh:`109341`: Fix crash when compiling an invalid AST involving a :class:" +"`ast.TypeAlias`." +msgstr "" + +#: build/NEWS:3434 +msgid "" +":gh:`109195`: Fix source location for the ``LOAD_*`` instruction preceding a " +"``LOAD_SUPER_ATTR`` to load the ``super`` global (or shadowing variable) so " +"that it encompasses only the name ``super`` and not the following " +"parentheses." +msgstr "" + +#: build/NEWS:3439 +msgid "" +":gh:`109118`: Disallow nested scopes (lambdas, generator expressions, and " +"comprehensions) within PEP 695 annotation scopes that are nested within " +"classes." +msgstr "" + +#: build/NEWS:3443 +msgid "" +":gh:`109114`: Relax the detection of the error message for invalid lambdas " +"inside f-strings to not search for arbitrary replacement fields to avoid " +"false positives. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:3447 +msgid "" +":gh:`109118`: Fix interpreter crash when a NameError is raised inside the " +"type parameters of a generic class." +msgstr "" + +#: build/NEWS:3450 +msgid "" +":gh:`108976`: Fix crash that occurs after de-instrumenting a code object in " +"a monitoring callback." +msgstr "" + +#: build/NEWS:3453 +msgid "" +":gh:`108732`: Make iteration variables of module- and class-scoped " +"comprehensions visible to pdb and other tools that use ``frame.f_locals`` " +"again." +msgstr "" + +#: build/NEWS:3457 +msgid "" +":gh:`108959`: Fix caret placement for error locations for subscript and " +"binary operations that involve non-semantic parentheses and spaces. Patch by " +"Pablo Galindo" +msgstr "" + +#: build/NEWS:3464 +msgid "" +":gh:`108682`: Enum: require ``names=()`` or ``type=...`` to create an empty " +"enum using the functional syntax." +msgstr "" + +#: build/NEWS:3467 +msgid "" +":gh:`108843`: Fix an issue in :func:`ast.unparse` when unparsing f-strings " +"containing many quote types." +msgstr "" + +#: build/NEWS:3473 +msgid "" +":gh:`102823`: Document the return type of ``x // y`` when ``x`` and ``y`` " +"have type :class:`float`." +msgstr "" + +#: build/NEWS:3479 +msgid "" +":gh:`109396`: Fix ``test_socket.test_hmac_sha1()`` in FIPS mode. Use a " +"longer key: FIPS mode requires at least of at least 112 bits. The previous " +"key was only 32 bits. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3489 +msgid "" +":gh:`109237`: Fix ``test_site.test_underpth_basic()`` when the working " +"directory contains at least one non-ASCII character: encode the ``._pth`` " +"file to UTF-8 and enable the UTF-8 Mode to use UTF-8 for the child process " +"stdout. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3494 +msgid "" +":gh:`109230`: Fix ``test_pyexpat.test_exception()``: it can now be run from " +"a directory different than Python source code directory. Before, the test " +"failed in this case. Skip the test if Modules/pyexpat.c source is not " +"available. Skip also the test on Python implementations other than CPython. " +"Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3500 +msgid "" +":gh:`109015`: Fix test_asyncio, test_imaplib and test_socket tests on " +"FreeBSD if the TCP blackhole is enabled (``sysctl net.inet.tcp.blackhole``). " +"Skip the few tests which failed with ``ETIMEDOUT`` which such non standard " +"configuration. Currently, the `FreeBSD GCP image enables TCP and UDP " +"blackhole <https://reviews.freebsd.org/D41751>`_ (``sysctl net.inet.tcp." +"blackhole=2`` and ``sysctl net.inet.udp.blackhole=1``). Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:3509 +msgid "" +":gh:`91960`: Skip ``test_gdb`` if gdb is unable to retrieve Python frame " +"objects: if a frame is ``<optimized out>``. When Python is built with " +"\"clang -Og\", gdb can fail to retrive the *frame* parameter of " +"``_PyEval_EvalFrameDefault()``. In this case, tests like ``py_bt()`` are " +"likely to fail. Without getting access to Python frames, ``python-gdb.py`` " +"is mostly clueless on retrieving the Python traceback. Moreover, " +"``test_gdb`` is no longer skipped on macOS if Python is built with Clang. " +"Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3518 +msgid "" +":gh:`108962`: Skip ``test_tempfile.test_flags()`` if ``chflags()`` fails " +"with \"OSError: [Errno 45] Operation not supported\" (ex: on FreeBSD 13). " +"Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3522 +msgid "" +":gh:`108851`: Fix ``test_tomllib`` recursion tests for WASI buildbots: " +"reduce the recursion limit and compute the maximum nested array/dict " +"depending on the current available recursion limit. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3527 +msgid "" +":gh:`108851`: Add ``get_recursion_available()`` and " +"``get_recursion_depth()`` functions to the :mod:`test.support` module. Patch " +"by Victor Stinner." +msgstr "" + +#: build/NEWS:3531 +msgid "" +":gh:`108834`: Add ``--fail-rerun option`` option to regrtest: if a test " +"failed when then passed when rerun in verbose mode, exit the process with " +"exit code 2 (error), instead of exit code 0 (success). Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:3536 +msgid "" +":gh:`108834`: Rename regrtest ``--verbose2`` option (``-w``) to ``--rerun``. " +"Keep ``--verbose2`` as a deprecated alias. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3540 +msgid "" +":gh:`108834`: When regrtest reruns failed tests in verbose mode (``./python -" +"m test --rerun``), tests are now rerun in fresh worker processes rather than " +"being executed in the main process. If a test does crash or is killed by a " +"timeout, the main process can detect and handle the killed worker process. " +"Tests are rerun in parallel if the ``-jN`` option is used to run tests in " +"parallel. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3547 +msgid "" +":gh:`103186`: Suppress and assert expected RuntimeWarnings in " +"test_sys_settrace.py" +msgstr "" + +#: build/NEWS:3553 +msgid "" +":gh:`108740`: Fix a race condition in ``make regen-all``. The ``deepfreeze." +"c`` source and files generated by Argument Clinic are now generated or " +"updated before generating \"global objects\". Previously, some identifiers " +"may miss depending on the order in which these files were generated. Patch " +"by Victor Stinner." +msgstr "" + +#: build/NEWS:3561 +msgid "Python 3.12.0 release candidate 2" +msgstr "" + +#: build/NEWS:3563 +msgid "*Release date: 2023-09-05*" +msgstr "" + +#: build/NEWS:3568 +msgid "" +":gh:`108310`: Fixed an issue where instances of :class:`ssl.SSLSocket` were " +"vulnerable to a bypass of the TLS handshake and included protections (like " +"certificate verification) and treating sent unencrypted data as if it were " +"post-handshake TLS encrypted data. Security issue reported as :cve:" +"`2023-40217` by Aapo Oksman. Patch by Gregory P. Smith." +msgstr "" + +#: build/NEWS:3574 +msgid "" +":gh:`107774`: PEP 669 specifies that ``sys.monitoring.register_callback`` " +"will generate an audit event. Pre-releases of Python 3.12 did not generate " +"the audit event. This is now fixed." +msgstr "" + +#: build/NEWS:3582 +msgid "" +":gh:`108520`: Fix :meth:`multiprocessing.synchronize.SemLock.__setstate__` " +"to properly initialize :attr:`multiprocessing.synchronize.SemLock." +"_is_fork_ctx`. This fixes a regression when passing a SemLock accross nested " +"processes." +msgstr "" + +#: build/NEWS:3587 +msgid "" +"Rename :attr:`multiprocessing.synchronize.SemLock.is_fork_ctx` to :attr:" +"`multiprocessing.synchronize.SemLock._is_fork_ctx` to avoid exposing it as " +"public API." +msgstr "" + +#: build/NEWS:3591 +msgid "" +":gh:`108654`: Restore locals shadowed by an inlined comprehension if the " +"comprehension raises an exception." +msgstr "" + +#: build/NEWS:3594 +msgid "" +":gh:`108487`: Change an assert that would cause a spurious crash in a " +"devious case that should only trigger deoptimization." +msgstr "" + +#: build/NEWS:3597 +msgid "" +":gh:`106176`: Use a ``WeakValueDictionary`` to track the lists containing " +"the modules each thread is currently importing. This helps avoid a reference " +"leak from keeping the list around longer than necessary. Weakrefs are used " +"as GC can't interrupt the cleanup." +msgstr "" + +#: build/NEWS:3602 +msgid "" +":gh:`107901`: Fix missing line number on :opcode:`JUMP_BACKWARD` at the end " +"of a for loop." +msgstr "" + +#: build/NEWS:3605 +msgid "" +":gh:`108390`: Raise an exception when setting a non-local event (``RAISE``, " +"``EXCEPTION_HANDLED``, etc.) in ``sys.monitoring.set_local_events``." +msgstr "" + +#: build/NEWS:3609 +msgid "Fixes crash when tracing in recursive calls to Python classes." +msgstr "" + +#: build/NEWS:3611 +msgid "" +":gh:`91051`: Fix abort / segfault when using all eight type watcher slots, " +"on platforms where ``char`` is signed by default." +msgstr "" + +#: build/NEWS:3614 +msgid "" +":gh:`107724`: In pre-release versions of 3.12, up to rc1, the sys.monitoring " +"callback function for the ``PY_THROW`` event was missing the third, " +"exception argument. That is now fixed." +msgstr "" + +#: build/NEWS:3618 +msgid "" +":gh:`107080`: Trace refs builds (``--with-trace-refs``) were crashing when " +"used with isolated subinterpreters. The problematic global state has been " +"isolated to each interpreter. Other fixing the crashes, this change does " +"not affect users." +msgstr "" + +#: build/NEWS:3623 +msgid "" +":gh:`77377`: Ensure that multiprocessing synchronization objects created in " +"a fork context are not sent to a different process created in a spawn " +"context. This changes a segfault into an actionable RuntimeError in the " +"parent process." +msgstr "" + +#: build/NEWS:3631 +msgid "" +":gh:`108469`: :func:`ast.unparse` now supports new :term:`f-string` syntax " +"introduced in Python 3.12. Note that the :term:`f-string` quotes are " +"reselected for simplicity under the new syntax. (Patch by Steven Sun)" +msgstr "" + +#: build/NEWS:3635 +msgid "" +":gh:`108682`: Enum: raise :exc:`TypeError` if ``super().__new__()`` is " +"called from a custom ``__new__``." +msgstr "" + +#: build/NEWS:3638 +msgid "" +":gh:`108295`: Fix crashes related to use of weakrefs on :data:`typing." +"TypeVar`." +msgstr "" + +#: build/NEWS:3641 +msgid "" +":gh:`64662`: Fix support for virtual tables in :meth:`sqlite3.Connection." +"iterdump`. Patch by Aviv Palivoda." +msgstr "" + +#: build/NEWS:3644 +msgid "" +":gh:`108111`: Fix a regression introduced in :gh:`101251` for 3.12, " +"resulting in an incorrect offset calculation in :meth:`gzip.GzipFile.seek`." +msgstr "" + +#: build/NEWS:3648 +msgid "" +":gh:`105736`: Harmonized the pure Python version of :class:`~collections." +"OrderedDict` with the C version. Now, both versions set up their internal " +"state in ``__new__``. Formerly, the pure Python version did the set up in " +"``__init__``." +msgstr "" + +#: build/NEWS:3653 +msgid "" +":gh:`108083`: Fix bugs in the constructor of :mod:`sqlite3.Connection` and :" +"meth:`sqlite3.Connection.close` where exceptions could be leaked. Patch by " +"Erlend E. Aasland." +msgstr "" + +#: build/NEWS:3657 +msgid "" +":gh:`107963`: Fix :func:`multiprocessing.set_forkserver_preload` to check " +"the given list of modules names. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:3660 +msgid "" +":gh:`106242`: Fixes :func:`os.path.normpath` to handle embedded null " +"characters without truncating the path." +msgstr "" + +#: build/NEWS:3663 +msgid "" +":gh:`107913`: Fix possible losses of ``errno`` and ``winerror`` values in :" +"exc:`OSError` exceptions if they were cleared or modified by the cleanup " +"code before creating the exception object." +msgstr "" + +#: build/NEWS:3667 +msgid "" +":gh:`107845`: :func:`tarfile.data_filter` now takes the location of symlinks " +"into account when determining their target, so it will no longer reject some " +"valid tarballs with ``LinkOutsideDestinationError``." +msgstr "" + +#: build/NEWS:3671 +msgid "" +":gh:`107805`: Fix signatures of module-level generated functions in :mod:" +"`turtle`." +msgstr "" + +#: build/NEWS:3674 +msgid "" +":gh:`107715`: Fix :meth:`doctest.DocTestFinder.find` in presence of class " +"names with special characters. Patch by Gertjan van Zwieten." +msgstr "" + +#: build/NEWS:3677 +msgid "" +":gh:`100814`: Passing a callable object as an option value to a Tkinter " +"image now raises the expected TclError instead of an AttributeError." +msgstr "" + +#: build/NEWS:3680 +msgid "" +":gh:`106684`: Close :class:`asyncio.StreamWriter` when it is not closed by " +"application leading to memory leaks. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:3683 +msgid "" +":gh:`107396`: tarfiles; Fixed use before assignment of self.exception for " +"gzip decompression" +msgstr "" + +#: build/NEWS:3686 +msgid "" +":gh:`106052`: :mod:`re` module: fix the matching of possessive quantifiers " +"in the case of a subpattern containing backtracking." +msgstr "" + +#: build/NEWS:3689 +msgid "" +":gh:`100061`: Fix a bug that causes wrong matches for regular expressions " +"with possessive qualifier." +msgstr "" + +#: build/NEWS:3692 +msgid "" +":gh:`99203`: Restore following CPython <= 3.10.5 behavior of :func:`shutil." +"make_archive`: do not create an empty archive if ``root_dir`` is not a " +"directory, and, in that case, raise :class:`FileNotFoundError` or :class:" +"`NotADirectoryError` regardless of ``format`` choice. Beyond the brought-" +"back behavior, the function may now also raise these exceptions in " +"``dry_run`` mode." +msgstr "" + +#: build/NEWS:3702 +msgid "" +":gh:`105052`: Update ``timeit`` doc to specify that time in seconds is just " +"the default." +msgstr "" + +#: build/NEWS:3708 +msgid "" +":gh:`89392`: Removed support of ``test_main()`` function in tests. They now " +"always use normal unittest test runner." +msgstr "" + +#: build/NEWS:3711 +msgid "" +":gh:`108388`: Convert test_concurrent_futures to a package of 7 sub-tests. " +"Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3714 +msgid "" +":gh:`108388`: Split test_multiprocessing_fork, " +"test_multiprocessing_forkserver and test_multiprocessing_spawn into test " +"packages. Each package is made of 4 sub-tests: processes, threads, manager " +"and misc. It allows running more tests in parallel and so reduce the total " +"test duration. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:3720 +msgid "" +":gh:`105776`: Fix test_cppext when the C compiler command ``-std=c11`` " +"option: remove ``-std=`` options from the compiler command. Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:3724 +msgid "" +":gh:`107178`: Add the C API test for functions in the Mapping Protocol, the " +"Sequence Protocol and some functions in the Object Protocol." +msgstr "" + +#: build/NEWS:3730 +msgid "" +":gh:`63760`: Fix Solaris build: no longer redefine the ``gethostname()`` " +"function. Solaris defines the function since 2005. Patch by Victor Stinner, " +"original patch by Jakub Kulík." +msgstr "" + +#: build/NEWS:3734 +msgid "" +":gh:`107814`: When calling ``find_python.bat`` with ``-q`` it did not " +"properly silence the output of nuget. That is now fixed." +msgstr "" + +#: build/NEWS:3740 +msgid ":gh:`107565`: Update Windows build to use OpenSSL 3.0.10." +msgstr "" + +#: build/NEWS:3742 +msgid "" +":gh:`106242`: Fixes :func:`~os.path.realpath` to behave consistently when " +"passed a path containing an embedded null character on Windows. In strict " +"mode, it now raises :exc:`OSError` instead of the unexpected :exc:" +"`ValueError`, and in non-strict mode will make the path absolute." +msgstr "" + +#: build/NEWS:3747 +msgid "" +":gh:`106844`: Fix integer overflow and truncating by the null character in :" +"func:`!_winapi.LCMapStringEx` which affects :func:`ntpath.normcase`." +msgstr "" + +#: build/NEWS:3753 +msgid ":gh:`107565`: Update macOS installer to use OpenSSL 3.0.10." +msgstr "" + +#: build/NEWS:3758 +msgid "" +":gh:`107565`: Update multissltests and GitHub CI workflows to use OpenSSL " +"1.1.1v, 3.0.10, and 3.1.2." +msgstr "" + +#: build/NEWS:3761 +msgid "" +":gh:`95065`: Argument Clinic now supports overriding automatically generated " +"signature by using directive ``@text_signature``." +msgstr "" + +#: build/NEWS:3767 +msgid "" +":gh:`107916`: C API functions :c:func:`PyErr_SetFromErrnoWithFilename`, :c:" +"func:`PyErr_SetExcFromWindowsErrWithFilename` and :c:func:" +"`PyErr_SetFromWindowsErrWithFilename` save now the error code before " +"calling :c:func:`PyUnicode_DecodeFSDefault`." +msgstr "" + +#: build/NEWS:3772 +msgid "" +":gh:`107915`: Such C API functions as ``PyErr_SetString()``, " +"``PyErr_Format()``, ``PyErr_SetFromErrnoWithFilename()`` and many others no " +"longer crash or ignore errors if it failed to format the error message or " +"decode the filename. Instead, they keep a corresponding error." +msgstr "" + +#: build/NEWS:3777 +msgid "" +":gh:`107810`: Improve :exc:`DeprecationWarning` for uses of :c:type:" +"`PyType_Spec` with metaclasses that have custom ``tp_new``." +msgstr "" + +#: build/NEWS:3782 +msgid "Python 3.12.0 release candidate 1" +msgstr "" + +#: build/NEWS:3784 +msgid "*Release date: 2023-08-05*" +msgstr "" + +#: build/NEWS:3789 +msgid "" +":gh:`102988`: Reverted the :mod:`email.utils` security improvement change " +"released in 3.12beta4 that unintentionally caused :mod:`email.utils." +"getaddresses` to fail to parse email addresses with a comma in the quoted " +"name field. See :gh:`106669`." +msgstr "" + +#: build/NEWS:3794 +msgid "" +":gh:`102509`: Start initializing ``ob_digit`` during creation of :c:type:" +"`PyLongObject` objects. Patch by Illia Volochii." +msgstr "" + +#: build/NEWS:3800 +msgid "" +":gh:`107263`: Increase C recursion limit for functions other than the main " +"interpreter from 800 to 1500. This should allow functions like ``list." +"__repr__`` and ``json.dumps`` to handle all the inputs that they could prior " +"to 3.12" +msgstr "" + +#: build/NEWS:3805 +msgid "" +":gh:`104432`: Fix potential unaligned memory access on C APIs involving " +"returned sequences of ``char *`` pointers within the :mod:`grp` and :mod:" +"`socket` modules. These were revealed using a ``-fsaniziter=alignment`` " +"build on ARM macOS. Patch by Christopher Chavez." +msgstr "" + +#: build/NEWS:3810 +msgid "" +":gh:`106898`: Add the exception as the third argument to ``PY_UNIND`` " +"callbacks in ``sys.monitoring``. This makes the ``PY_UNWIND`` callback " +"consistent with the other exception hanlding callbacks." +msgstr "" + +#: build/NEWS:3814 +msgid "" +":gh:`106895`: Raise a ``ValueError`` when a monitoring callback funtion " +"returns ``DISABLE`` for events that cannot be disabled locally." +msgstr "" + +#: build/NEWS:3817 +msgid "" +":gh:`106897`: Add a ``RERAISE`` event to ``sys.monitoring``, which occurs " +"when an exception is reraised, either explicitly by a plain ``raise`` " +"statement, or implicitly in an ``except`` or ``finally`` block." +msgstr "" + +#: build/NEWS:3821 +msgid ":gh:`104621`: Unsupported modules now always fail to be imported." +msgstr "" + +#: build/NEWS:3823 +msgid "" +":gh:`106917`: Fix classmethod-style :func:`super` method calls (i.e., where " +"the second argument to :func:`super`, or the implied second argument drawn " +"from ``self/cls`` in the case of zero-arg super, is a type) when the target " +"of the call is not a classmethod." +msgstr "" + +#: build/NEWS:3828 +msgid "" +":gh:`105699`: Python no longer crashes due an infrequent race when " +"initialzing per-interpreter interned strings. The crash would manifest when " +"the interpreter was finalized." +msgstr "" + +#: build/NEWS:3832 +msgid "" +":gh:`105699`: Python no longer crashes due to an infrequent race in setting " +"``Py_FileSystemDefaultEncoding`` and ``Py_FileSystemDefaultEncodeErrors`` " +"(both deprecated), when simultaneously initializing two isolated " +"subinterpreters. Now they are only set during runtime initialization." +msgstr "" + +#: build/NEWS:3838 +msgid "" +":gh:`106092`: Fix a segmentation fault caused by a use-after-free bug in " +"``frame_dealloc`` when the trashcan delays the deallocation of a " +"``PyFrameObject``." +msgstr "" + +#: build/NEWS:3842 +msgid "" +":gh:`106719`: No longer suppress arbitrary errors in the ``__annotations__`` " +"getter and setter in the type and module types." +msgstr "" + +#: build/NEWS:3845 +msgid "" +":gh:`106723`: Propagate ``frozen_modules`` to multiprocessing spawned " +"process interpreters." +msgstr "" + +#: build/NEWS:3848 +msgid "" +":gh:`105235`: Prevent out-of-bounds memory access during ``mmap.find()`` " +"calls." +msgstr "" + +#: build/NEWS:3854 +msgid "" +":gh:`107077`: Seems that in some conditions, OpenSSL will return " +"``SSL_ERROR_SYSCALL`` instead of ``SSL_ERROR_SSL`` when a certification " +"verification has failed, but the error parameters will still contain " +"``ERR_LIB_SSL`` and ``SSL_R_CERTIFICATE_VERIFY_FAILED``. We are now " +"detecting this situation and raising the appropiate ``ssl." +"SSLCertVerificationError``. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:3861 +msgid "" +":gh:`107576`: Fix :func:`types.get_original_bases` to only return :attr:`!" +"__orig_bases__` if it is present on ``cls`` directly. Patch by James Hilton-" +"Balfe." +msgstr "" + +#: build/NEWS:3865 +msgid "" +":gh:`46376`: Prevent memory leak and use-after-free when using pointers to " +"pointers with ctypes" +msgstr "" + +#: build/NEWS:3868 +msgid "" +":gh:`62519`: Make :func:`gettext.pgettext` search plural definitions when " +"translation is not found." +msgstr "" + +#: build/NEWS:3871 +msgid "" +":gh:`83006`: Document behavior of :func:`shutil.disk_usage` for non-mounted " +"filesystems on Unix." +msgstr "" + +#: build/NEWS:3874 +msgid "" +":gh:`106186`: Do not report ``MultipartInvariantViolationDefect`` defect " +"when the :class:`email.parser.Parser` class is used to parse emails with " +"``headersonly=True``." +msgstr "" + +#: build/NEWS:3878 +msgid "" +":gh:`105002`: Fix invalid result from :meth:`PurePath.relative_to` method " +"when attempting to walk a \"``..``\" segment in *other* with *walk_up* " +"enabled. A :exc:`ValueError` exception is now raised in this case." +msgstr "" + +#: build/NEWS:3883 +msgid "" +":gh:`106831`: Fix potential missing ``NULL`` check of ``d2i_SSL_SESSION`` " +"result in ``_ssl.c``." +msgstr "" + +#: build/NEWS:3886 +msgid ":gh:`106774`: Update the bundled copy of pip to version 23.2.1." +msgstr "" + +#: build/NEWS:3888 +msgid "" +":gh:`106752`: Fixed several bugs in zipfile.Path, including: in ``Path." +"match``, Windows separators are no longer honored (and never were meant to " +"be); Fixed ``name``/``suffix``/``suffixes``/``stem`` operations when no " +"filename is present and the Path is not at the root of the zipfile; Reworked " +"glob for performance and more correct matching behavior." +msgstr "" + +#: build/NEWS:3894 +msgid ":gh:`106602`: Add __copy__ and __deepcopy__ in :mod:`enum`" +msgstr "" + +#: build/NEWS:3896 +msgid "" +":gh:`106530`: Revert a change to :func:`colorsys.rgb_to_hls` that caused " +"division by zero for certain almost-white inputs. Patch by Terry Jan Reedy." +msgstr "" + +#: build/NEWS:3900 +msgid "" +":gh:`106403`: Instances of :class:`typing.TypeVar`, :class:`typing." +"ParamSpec`, :class:`typing.ParamSpecArgs`, :class:`typing.ParamSpecKwargs`, " +"and :class:`typing.TypeVarTuple` once again support weak references, fixing " +"a regression introduced in Python 3.12.0 beta 1. Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:3906 +msgid "" +":gh:`106350`: Detect possible memory allocation failure in the libtommath " +"function :c:func:`mp_init` used by the ``_tkinter`` module." +msgstr "" + +#: build/NEWS:3909 +msgid "" +":gh:`106263`: Fix crash when calling ``repr`` with a manually constructed " +"SignalDict object. Patch by Charlie Zhao." +msgstr "" + +#: build/NEWS:3912 +msgid "" +":gh:`105626`: Change the default return value of :meth:`http.client." +"HTTPConnection.get_proxy_response_headers` to be ``None`` and not ``{}``." +msgstr "" + +#: build/NEWS:3916 +msgid "" +":issue:`18319`: Ensure ``gettext(msg)`` retrieve translations even if a " +"plural form exists. In other words: ``gettext(msg) == ngettext(msg, '', 1)``." +msgstr "" + +#: build/NEWS:3922 +msgid "" +":gh:`107305`: Add documentation for :c:type:`PyInterpreterConfig` and :c:" +"func:`Py_NewInterpreterFromConfig`. Also clarify some of the nearby docs " +"relative to per-interpreter GIL." +msgstr "" + +#: build/NEWS:3926 +msgid "" +":gh:`107008`: Document the :mod:`curses` module variables :const:`~curses." +"LINES` and :const:`~curses.COLS`." +msgstr "" + +#: build/NEWS:3929 +msgid "" +":gh:`106948`: Add a number of standard external names to ``nitpick_ignore``." +msgstr "" + +#: build/NEWS:3932 +msgid "" +":gh:`54738`: Add documentation on how to localize the :mod:`argparse` module." +msgstr "" + +#: build/NEWS:3938 +msgid "" +":gh:`107237`: ``test_logging``: Fix ``test_udp_reconnection()`` by " +"increasing the timeout from 100 ms to 5 minutes (LONG_TIMEOUT). Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:3942 +msgid "" +":gh:`106714`: test_capi: Fix test_no_FatalError_infinite_loop() to no longer " +"write a coredump, by using test.support.SuppressCrashReport. Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:3946 +msgid "" +":gh:`104090`: Avoid creating a reference to the test object in :meth:" +"`~unittest.TestResult.collectedDurations`." +msgstr "" + +#: build/NEWS:3949 +msgid "" +":gh:`106752`: Moved tests for ``zipfile.Path`` into ``Lib/test/test_zipfile/" +"_path``. Made ``zipfile._path`` a package." +msgstr "" + +#: build/NEWS:3955 +msgid "" +":gh:`106881`: Check for ``linux/limits.h`` before including it in ``Modules/" +"posixmodule.c``." +msgstr "" + +#: build/NEWS:3958 +msgid ":gh:`106962`: Detect MPI compilers in :file:`configure`." +msgstr "" + +#: build/NEWS:3960 +msgid "" +":gh:`101538`: Add experimental wasi-threads support. Patch by Takashi " +"Yamamoto." +msgstr "" + +#: build/NEWS:3966 +msgid ":gh:`99079`: Update Windows build to use OpenSSL 3.0.9" +msgstr "" + +#: build/NEWS:3971 +msgid ":gh:`99079`: Update macOS installer to use OpenSSL 3.0.9." +msgstr "" + +#: build/NEWS:3976 +msgid "" +":gh:`106970`: Fix bugs in the Argument Clinic ``destination <name> clear`` " +"command; the destination buffers would never be cleared, and the " +"``destination`` directive parser would simply continue to the fault handler " +"after processing the command. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:3981 +msgid "" +":gh:`103186`: ``freeze`` now fetches ``CONFIG_ARGS`` from the original " +"CPython instance the Makefile uses to call utility scripts. Patch by Ijtaba " +"Hussain." +msgstr "" + +#: build/NEWS:3988 +msgid "" +":gh:`107226`: :c:func:`PyModule_AddObjectRef` is now only available in the " +"limited API version 3.10 or later." +msgstr "" + +#: build/NEWS:3993 +msgid "Python 3.12.0 beta 4" +msgstr "" + +#: build/NEWS:3995 +msgid "*Release date: 2023-07-11*" +msgstr "" + +#: build/NEWS:4000 +msgid "" +":gh:`102988`: :cve:`2023-27043`: Prevent :func:`email.utils.parseaddr` and :" +"func:`email.utils.getaddresses` from returning the realname portion of an " +"invalid RFC2822 email header in the email address portion of the 2-tuple " +"returned after being parsed by :class:`email._parseaddr.AddressList`." +msgstr "" + +#: build/NEWS:4009 +msgid "" +":gh:`106396`: When the format specification of an f-string expression is " +"empty, the parser now generates an empty :class:`ast.JoinedStr` node for it " +"instead of an one-element :class:`ast.JoinedStr` with an empty string :class:" +"`ast.Constant`." +msgstr "" + +#: build/NEWS:4014 +msgid "" +":gh:`106145`: Make ``end_lineno`` and ``end_col_offset`` required on " +"``type_param`` ast nodes." +msgstr "" + +#: build/NEWS:4017 +msgid "" +":gh:`105979`: Fix crash in :func:`!_imp.get_frozen_object` due to improper " +"exception handling." +msgstr "" + +#: build/NEWS:4020 +msgid "" +":gh:`98931`: Ensure custom :exc:`SyntaxError` error messages are raised for " +"invalid imports with multiple targets. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:4023 +msgid "" +":gh:`105908`: Fixed bug where :gh:`99111` breaks future import " +"``barry_as_FLUFL`` in the Python REPL." +msgstr "" + +#: build/NEWS:4026 +msgid "" +":gh:`105340`: Include the comprehension iteration variable in ``locals()`` " +"inside a module- or class-scope comprehension." +msgstr "" + +#: build/NEWS:4029 +msgid "" +":gh:`105486`: Change the repr of ``ParamSpec`` list of args in ``types." +"GenericAlias``." +msgstr "" + +#: build/NEWS:4032 +msgid ":gh:`101006`: Improve error handling when read :mod:`marshal` data." +msgstr "" + +#: build/NEWS:4037 +msgid "" +":gh:`106524`: Fix crash in :func:`!_sre.template` with templates containing " +"invalid group indices." +msgstr "" + +#: build/NEWS:4040 +msgid "" +":gh:`106510`: Improve debug output for atomic groups in regular expressions." +msgstr "" + +#: build/NEWS:4043 +msgid "" +":gh:`106503`: Fix ref cycle in :class:`!asyncio._SelectorSocketTransport` by " +"removing ``_write_ready`` in ``close``." +msgstr "" + +#: build/NEWS:4047 +msgid ":gh:`105497`: Fix flag mask inversion when unnamed flags exist." +msgstr "" + +#: build/NEWS:4049 +msgid "" +":gh:`90876`: Prevent :mod:`multiprocessing.spawn` from failing to *import* " +"in environments where ``sys.executable`` is ``None``. This regressed in " +"3.11 with the addition of support for path-like objects in multiprocessing." +msgstr "" + +#: build/NEWS:4054 +msgid "" +":gh:`106292`: Check for an instance-dict cached value in the :meth:`__get__` " +"method of :func:`functools.cached_property`. This better matches the " +"pre-3.12 behavior and improves compatibility for users subclassing :func:" +"`functools.cached_property` and adding a :meth:`__set__` method." +msgstr "" + +#: build/NEWS:4060 +msgid "" +":gh:`106330`: Fix incorrect matching of empty paths in :meth:`pathlib." +"PurePath.match`. This bug was introduced in Python 3.12.0 beta 1." +msgstr "" + +#: build/NEWS:4064 +msgid "" +":gh:`102541`: Make pydoc.doc catch bad module ImportError when output stream " +"is not None." +msgstr "" + +#: build/NEWS:4067 +msgid "" +":gh:`106152`: Added PY_THROW event hook for :mod:`cProfile` for generators" +msgstr "" + +#: build/NEWS:4070 +msgid "" +":gh:`106075`: Added ``asyncio.taskgroups.__all__`` to ``asyncio.__all__`` " +"for export in star imports." +msgstr "" + +#: build/NEWS:4073 +msgid "" +":gh:`105987`: Fix crash due to improper reference counting in :mod:`asyncio` " +"eager task factory internal routines." +msgstr "" + +#: build/NEWS:4076 +msgid "" +":gh:`105974`: Fix bug where a :class:`typing.Protocol` class that had one or " +"more non-callable members would raise :exc:`TypeError` when :func:" +"`issubclass` was called against it, even if it defined a custom " +"``__subclasshook__`` method. The behaviour in Python 3.11 and lower -- which " +"has now been restored -- was not to raise :exc:`TypeError` in these " +"situations if a custom ``__subclasshook__`` method was defined. Patch by " +"Alex Waygood." +msgstr "" + +#: build/NEWS:4084 +msgid ":gh:`96145`: Reverted addition of ``json.AttrDict``." +msgstr "" + +#: build/NEWS:4086 +msgid ":gh:`105497`: Fix flag inversion when alias/mask members exist." +msgstr "" + +#: build/NEWS:4088 +msgid ":gh:`104554`: Add RTSPS scheme support in urllib.parse" +msgstr "" + +#: build/NEWS:4090 +msgid "" +":gh:`94777`: Fix hanging :mod:`multiprocessing` ``ProcessPoolExecutor`` when " +"a child process crashes while data is being written in the call queue." +msgstr "" + +#: build/NEWS:4097 +msgid "" +":gh:`106232`: Make timeit doc command lines compatible with Windows by using " +"double quotes for arguments. This works on linux and macOS also." +msgstr "" + +#: build/NEWS:4103 +msgid "" +":gh:`101634`: When running the Python test suite with ``-jN`` option, if a " +"worker stdout cannot be decoded from the locale encoding report a failed " +"testn so the exitcode is non-zero. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:4110 +msgid "" +":gh:`106118`: Fix compilation for platforms without :data:`!O_CLOEXEC`. The " +"issue was introduced with Python 3.12b1 in :gh:`103295`. Patch by Erlend " +"Aasland." +msgstr "" + +#: build/NEWS:4114 +msgid "" +":gh:`104692`: Include ``commoninstall`` as a prerequisite for ``bininstall``" +msgstr "" + +#: build/NEWS:4117 +msgid "" +"This ensures that ``commoninstall`` is completed before ``bininstall`` is " +"started when parallel builds are used (``make -j install``), and so the " +"``python3`` symlink is only installed after all standard library modules are " +"installed." +msgstr "" + +#: build/NEWS:4125 +msgid "" +":gh:`106359`: Argument Clinic now explicitly forbids \"kwarg splats\" in " +"function calls used as annotations." +msgstr "" + +#: build/NEWS:4131 +msgid "" +":gh:`105227`: The new :c:func:`PyType_GetDict` provides the dictionary for " +"the given type object that is normally exposed by ``cls.__dict__``. Normally " +"it's sufficient to use :c:member:`~PyTypeObject.tp_dict`, but for the static " +"builtin types :c:member:`!tp_dict` is now always ``NULL``. :c:func:`!" +"PyType_GetDict()` provides the correct dict object instead." +msgstr "" + +#: build/NEWS:4139 +msgid "Python 3.12.0 beta 3" +msgstr "" + +#: build/NEWS:4141 +msgid "*Release date: 2023-06-19*" +msgstr "" + +#: build/NEWS:4146 +msgid "" +":gh:`105840`: Fix possible crashes when specializing function calls with too " +"many ``__defaults__``." +msgstr "" + +#: build/NEWS:4149 +msgid "" +":gh:`105831`: Fix an f-string bug, where using a debug expression (the ``=`` " +"sign) that appears in the last line of a file results to the debug buffer " +"that holds the expression text being one character too small." +msgstr "" + +#: build/NEWS:4153 +msgid "" +":gh:`105800`: Correctly issue :exc:`SyntaxWarning` in f-strings if invalid " +"sequences are used. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:4156 +msgid "" +":gh:`105587`: The runtime can't guarantee that immortal objects will not be " +"mutated by Extensions. Thus, this modifies _PyStaticObject_CheckRefcnt to " +"warn instead of asserting." +msgstr "" + +#: build/NEWS:4160 +msgid "" +":gh:`105564`: Don't include artificil newlines in the ``line`` attribute of " +"tokens in the APIs of the :mod:`tokenize` module. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:4164 +msgid "" +":gh:`105549`: Tokenize separately ``NUMBER`` and ``NAME`` tokens that are " +"not ambiguous. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:4167 +msgid "" +":gh:`105588`: Fix an issue that could result in crashes when compiling " +"malformed :mod:`ast` nodes." +msgstr "" + +#: build/NEWS:4170 +msgid "" +":gh:`105375`: Fix bugs in the :mod:`builtins` module where exceptions could " +"end up being overwritten." +msgstr "" + +#: build/NEWS:4173 +msgid "" +":gh:`105375`: Fix bug in the compiler where an exception could end up being " +"overwritten." +msgstr "" + +#: build/NEWS:4176 +msgid "" +":gh:`105375`: Improve error handling in :c:func:`PyUnicode_BuildEncodingMap` " +"where an exception could end up being overwritten." +msgstr "" + +#: build/NEWS:4180 +msgid "" +":gh:`105435`: Fix spurious newline character if file ends on a comment " +"without a newline. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:4183 +msgid "" +":gh:`105390`: Correctly raise :exc:`tokenize.TokenError` exceptions instead " +"of :exc:`SyntaxError` for tokenize errors such as incomplete input. Patch by " +"Pablo Galindo" +msgstr "" + +#: build/NEWS:4187 +msgid "" +":gh:`104812`: The \"pending call\" machinery now works for all interpreters, " +"not just the main interpreter, and runs in all threads, not just the main " +"thread. Some calls are still only done in the main thread, ergo in the main " +"interpreter. This change does not affect signal handling nor the existing " +"public C-API (``Py_AddPendingCall()``), which both still only target the " +"main thread. The new functionality is meant strictly for internal use for " +"now, since consequences of its use are not well understood yet outside some " +"very restricted cases. This change brings the capability in line with the " +"intention when the state was made per-interpreter several years ago." +msgstr "" + +#: build/NEWS:4201 +msgid "" +":gh:`105808`: Fix a regression introduced in :gh:`101251` for 3.12, causing :" +"meth:`gzip.GzipFile.flush` to not flush the compressor (nor pass along the " +"``zip_mode`` argument)." +msgstr "" + +#: build/NEWS:4205 +msgid "" +":gh:`104799`: Enable :func:`ast.unparse` to unparse function and class " +"definitions created without the new ``type_params`` field from :pep:`695`. " +"Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:4209 +msgid ":gh:`105745`: Fix ``webbrowser.Konqueror.open`` method." +msgstr "" + +#: build/NEWS:4211 +msgid "" +":gh:`105375`: Fix a bug in :c:func:`!_Unpickler_SetInputStream` where an " +"exception could end up being overwritten in case of failure." +msgstr "" + +#: build/NEWS:4214 +msgid "" +":gh:`105375`: Fix bugs in :mod:`sys` where exceptions could end up being " +"overwritten because of deferred error handling." +msgstr "" + +#: build/NEWS:4217 +msgid "" +":gh:`105605`: Harden :mod:`pyexpat` error handling during module " +"initialisation to prevent exceptions from possibly being overwritten, and " +"objects from being dereferenced twice." +msgstr "" + +#: build/NEWS:4221 +msgid "" +":gh:`105375`: Fix bug in :mod:`decimal` where an exception could end up " +"being overwritten." +msgstr "" + +#: build/NEWS:4224 +msgid "" +":gh:`105375`: Fix bugs in :mod:`!_datetime` where exceptions could be " +"overwritten in case of module initialisation failure." +msgstr "" + +#: build/NEWS:4227 +msgid "" +":gh:`105375`: Fix bugs in :mod:`!_ssl` initialisation which could lead to " +"leaked references and overwritten exceptions." +msgstr "" + +#: build/NEWS:4230 +msgid "" +":gh:`105375`: Fix a bug in :class:`array.array` where an exception could end " +"up being overwritten." +msgstr "" + +#: build/NEWS:4233 +msgid "" +":gh:`105375`: Fix bugs in :mod:`_ctypes` where exceptions could end up being " +"overwritten." +msgstr "" + +#: build/NEWS:4236 +msgid "" +":gh:`105375`: Fix a bug in the :mod:`posix` module where an exception could " +"be overwritten." +msgstr "" + +#: build/NEWS:4239 +msgid "" +":gh:`105375`: Fix bugs in :mod:`!_elementtree` where exceptions could be " +"overwritten." +msgstr "" + +#: build/NEWS:4242 +msgid "" +":gh:`105375`: Fix bugs in :mod:`zoneinfo` where exceptions could be " +"overwritten." +msgstr "" + +#: build/NEWS:4245 +msgid "" +":gh:`105375`: Fix bugs in :mod:`errno` where exceptions could be overwritten." +msgstr "" + +#: build/NEWS:4248 +msgid "" +":gh:`105375`: Fix bugs in :mod:`pickle` where exceptions could be " +"overwritten." +msgstr "" + +#: build/NEWS:4251 +msgid "" +":gh:`105375`: Fix a bug in :mod:`sqlite3` where an exception could be " +"overwritten in the :meth:`collation <sqlite3.Connection.create_collation>` " +"callback." +msgstr "" + +#: build/NEWS:4255 +msgid ":gh:`105332`: Revert pickling method from by-name back to by-value." +msgstr "" + +#: build/NEWS:4257 +msgid "" +":gh:`104310`: In the beta 1 release we added a utility function for " +"extension module authors, to use when testing their module for support in " +"multiple interpreters or under a per-interpreter GIL. The name of that " +"function has changed from ``allowing_all_extensions`` to " +"``_incompatible_extension_module_restrictions``. The default for the " +"\"disable_check\" argument has change from ``True`` to ``False``, to better " +"match the new function name." +msgstr "" + +#: build/NEWS:4265 +msgid "" +":gh:`104996`: Improve performance of :class:`pathlib.PurePath` " +"initialisation by deferring joining of paths when multiple arguments are " +"given." +msgstr "" + +#: build/NEWS:4269 +msgid "" +":gh:`102541`: Hide traceback in :func:`help` prompt, when import failed." +msgstr "" + +#: build/NEWS:4275 +msgid "" +":gh:`105084`: When the Python build is configured ``--with-wheel-pkg-dir``, " +"tests requiring the ``setuptools`` and ``wheel`` wheels will search for the " +"wheels in ``WHEEL_PKG_DIR``." +msgstr "" + +#: build/NEWS:4282 +msgid "" +":gh:`105436`: Ensure that an empty environment block is terminated by two " +"null characters, as is required by Windows." +msgstr "" + +#: build/NEWS:4288 +msgid "" +":gh:`105375`: Fix a bug in :c:func:`PyErr_WarnExplicit` where an exception " +"could end up being overwritten if the API failed internally." +msgstr "" + +#: build/NEWS:4291 +msgid "" +":gh:`105603`: We've renamed the new (in 3.12) ``PyInterpreterConfig." +"own_gil`` to ``PyInterpreterConfig.gil`` and changed the meaning of the " +"value from \"bool\" to an integer with supported values of " +"``PyInterpreterConfig_DEFAULT_GIL``, ``PyInterpreterConfig_SHARED_GIL``, and " +"``PyInterpreterConfig_OWN_GIL``. The default is \"shared\"." +msgstr "" + +#: build/NEWS:4298 +msgid "" +":gh:`105387`: In the limited C API version 3.12, :c:func:`Py_INCREF` and :c:" +"func:`Py_DECREF` functions are now implemented as opaque function calls to " +"hide implementation details. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:4302 +msgid "" +":gh:`103968`: :c:func:`PyType_FromMetaclass` now allows metaclasses with " +"``tp_new`` set to ``NULL``." +msgstr "" + +#: build/NEWS:4307 +msgid "Python 3.12.0 beta 2" +msgstr "" + +#: build/NEWS:4309 +msgid "*Release date: 2023-06-06*" +msgstr "" + +#: build/NEWS:4314 +msgid "" +":gh:`103142`: The version of OpenSSL used in our binary builds has been " +"upgraded to 1.1.1u to address several CVEs." +msgstr "" + +#: build/NEWS:4317 +msgid "" +":gh:`99108`: Refresh our new HACL* built-in :mod:`hashlib` code from " +"upstream. Built-in SHA2 should be faster and an issue with SHA3 on 32-bit " +"platforms is fixed." +msgstr "" + +#: build/NEWS:4324 +msgid "" +":gh:`105259`: Don't include newline character for trailing ``NEWLINE`` " +"tokens emitted in the :mod:`tokenize` module. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:4327 +msgid "" +":gh:`105324`: Fix the main function of the :mod:`tokenize` module when " +"reading from ``sys.stdin``. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:4330 +msgid "" +":gh:`98963`: Restore the ability for a subclass of :class:`property` to " +"define ``__slots__`` or otherwise be dict-less by ignoring failures to set a " +"docstring on such a class. This behavior had regressed in 3.12beta1. An :" +"exc:`AttributeError` where there had not previously been one was disruptive " +"to existing code." +msgstr "" + +#: build/NEWS:4336 +msgid "" +":gh:`105194`: Do not escape with backslashes f-string format specifiers. " +"Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:4339 +msgid "" +":gh:`105162`: Fixed bug in generator.close()/throw() where an inner iterator " +"would be ignored when the outer iterator was instrumented." +msgstr "" + +#: build/NEWS:4342 +msgid "" +":gh:`105164`: Ensure annotations are set up correctly if the only annotation " +"in a block is within a :keyword:`match` block. Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:4346 +msgid "" +":gh:`104799`: Attributes of :mod:`ast` nodes that are lists now default to " +"the empty list if omitted. This means that some code that previously raised :" +"exc:`TypeError` when the AST node was used will now proceed with the empty " +"list instead. Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:4351 +msgid "" +":gh:`105035`: Fix :func:`super` calls on types with custom :attr:" +"`tp_getattro` implementation (e.g. meta-types.)" +msgstr "" + +#: build/NEWS:4354 +msgid "" +":gh:`105017`: Show CRLF lines in the tokenize string attribute in both NL " +"and NEWLINE tokens. Patch by Marta Gómez." +msgstr "" + +#: build/NEWS:4357 +msgid "" +":gh:`105013`: Fix handling of multiline parenthesized lambdas in :func:" +"`inspect.getsource`. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:4360 +msgid "" +":gh:`105017`: Do not include an additional final ``NL`` token when parsing " +"files having CRLF lines. Patch by Marta Gómez." +msgstr "" + +#: build/NEWS:4363 +msgid "" +":gh:`104976`: Ensure that trailing ``DEDENT`` :class:`tokenize.TokenInfo` " +"objects emitted by the :mod:`tokenize` module are reported as in Python " +"3.11. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:4367 +msgid "" +":gh:`104972`: Ensure that the ``line`` attribute in :class:`tokenize." +"TokenInfo` objects in the :mod:`tokenize` module are always correct. Patch " +"by Pablo Galindo" +msgstr "" + +#: build/NEWS:4371 +msgid "" +":gh:`104955`: Fix signature for the new :meth:`~object.__release_buffer__` " +"slot. Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:4374 +msgid "" +":gh:`104690`: Starting new threads and process creation through :func:`os." +"fork` during interpreter shutdown (such as from :mod:`atexit` handlers) is " +"no longer supported. It can lead to race condition between the main Python " +"runtime thread freeing thread states while internal :mod:`threading` " +"routines are trying to allocate and use the state of just created threads. " +"Or forked children trying to use the mid-shutdown runtime and thread state " +"in the child process." +msgstr "" + +#: build/NEWS:4382 +msgid "" +":gh:`104879`: Fix crash when accessing the ``__module__`` attribute of type " +"aliases defined outside a module. Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:4385 +msgid "" +":gh:`104825`: Tokens emitted by the :mod:`tokenize` module do not include an " +"implicit ``\\n`` character in the ``line`` attribute anymore. Patch by Pablo " +"Galindo" +msgstr "" + +#: build/NEWS:4392 +msgid "" +":gh:`105280`: Fix bug where ``isinstance([], collections.abc.Mapping)`` " +"could evaluate to ``True`` if garbage collection happened at the wrong time. " +"The bug was caused by changes to the implementation of :class:`typing." +"Protocol` in Python 3.12." +msgstr "" + +#: build/NEWS:4397 +msgid "" +":gh:`105239`: Fix longstanding bug where ``issubclass(object, typing." +"Protocol)`` would evaluate to ``True`` in some edge cases. Patch by Alex " +"Waygood." +msgstr "" + +#: build/NEWS:4401 +msgid "" +":gh:`105080`: Fixed inconsistent signature on derived classes for :func:" +"`inspect.signature`" +msgstr "" + +#: build/NEWS:4404 +msgid "" +":gh:`105144`: Fix a recent regression in the :mod:`typing` module. The " +"regression meant that doing ``class Foo(X, typing.Protocol)``, where ``X`` " +"was a class that had :class:`abc.ABCMeta` as its metaclass, would then cause " +"subsequent ``isinstance(1, X)`` calls to erroneously raise :exc:`TypeError`. " +"Patch by Alex Waygood." +msgstr "" + +#: build/NEWS:4410 +msgid "" +":gh:`105113`: Improve performance of :meth:`pathlib.PurePath.match` by " +"compiling an :class:`re.Pattern` object for the entire pattern." +msgstr "" + +#: build/NEWS:4413 +msgid "" +":gh:`101588`: Deprecate undocumented copy/deepcopy/pickle support for " +"itertools." +msgstr "" + +#: build/NEWS:4416 +msgid "" +":gh:`103631`: Fix ``pathlib.PurePosixPath(pathlib.PureWindowsPath(...))`` " +"not converting path separators to restore 3.11 compatible behavior." +msgstr "" + +#: build/NEWS:4420 +msgid "" +":gh:`104947`: Make comparisons between :class:`pathlib.PureWindowsPath` " +"objects consistent across Windows and Posix to match 3.11 behavior." +msgstr "" + +#: build/NEWS:4423 +msgid "" +":gh:`104935`: Fix bugs with the interaction between :func:`typing." +"runtime_checkable` and :class:`typing.Generic` that were introduced by the :" +"pep:`695` implementation. Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:4427 +msgid "" +":gh:`104874`: Document the ``__name__`` and ``__supertype__`` attributes of :" +"class:`typing.NewType`. Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:4430 +msgid "" +":gh:`104799`: Adjust the location of the (see :pep:`695`) ``type_params`` " +"field on :class:`ast.ClassDef`, :class:`ast.AsyncFunctionDef`, and :class:" +"`ast.FunctionDef` to better preserve backward compatibility. Patch by Jelle " +"Zijlstra" +msgstr "" + +#: build/NEWS:4435 +msgid "" +":gh:`104797`: Allow :class:`typing.Protocol` classes to inherit from :class:" +"`collections.abc.Buffer`. Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:4438 +msgid "" +":gh:`104372`: On Linux where :mod:`subprocess` can use the ``vfork()`` " +"syscall for faster spawning, prevent the parent process from blocking other " +"threads by dropping the GIL while it waits for the vfork'ed child process " +"``exec()`` outcome. This prevents spawning a binary from a slow filesystem " +"from blocking the rest of the application." +msgstr "" + +#: build/NEWS:4444 +msgid "" +":gh:`99108`: We now release the GIL around built-in :mod:`hashlib` " +"computations of reasonable size for the SHA families and MD5 hash functions, " +"matching what our OpenSSL backed hash computations already does." +msgstr "" + +#: build/NEWS:4449 +msgid "" +":gh:`104399`: Prepare the ``_tkinter`` module for building with Tcl 9.0 and " +"future libtommath by replacing usage of deprecated functions :c:func:" +"`mp_to_unsigned_bin_n` and :c:func:`mp_unsigned_bin_size` when necessary." +msgstr "" + +#: build/NEWS:4454 +msgid "" +":gh:`102024`: Reduce calls of ``_idle_semaphore.release()`` in :func:" +"`concurrent.futures.thread._worker`." +msgstr "" + +#: build/NEWS:4460 +msgid "" +":gh:`89455`: Add missing documentation for the ``max_group_depth`` and " +"``max_group_width`` parameters and the ``exceptions`` attribute of the :" +"class:`traceback.TracebackException` class." +msgstr "" + +#: build/NEWS:4464 +msgid "" +":gh:`89412`: Add missing documentation for the ``end_lineno`` and " +"``end_offset`` attributes of the :class:`traceback.TracebackException` class." +msgstr "" + +#: build/NEWS:4468 +msgid "" +":gh:`104943`: Remove mentions of old Python versions in :class:`typing." +"NamedTuple`." +msgstr "" + +#: build/NEWS:4474 +msgid "" +":gh:`90005`: Fix a regression in :file:`configure` where we could end up " +"unintentionally linking with ``libbsd``." +msgstr "" + +#: build/NEWS:4477 +msgid "" +":gh:`89886`: Autoconf 2.71 and aclocal 1.16.4 is now required to regenerate :" +"file:`!configure`." +msgstr "" + +#: build/NEWS:4483 +msgid "" +":gh:`105146`: Updated the links at the end of the installer to point to " +"Discourse rather than the mailing lists." +msgstr "" + +#: build/NEWS:4486 +msgid "" +":gh:`103646`: When installed from the Microsoft Store, ``pip`` no longer " +"defaults to per-user installs. However, as the install directory is " +"unwritable, it should automatically decide to do a per-user install anyway. " +"This should resolve issues when ``pip`` is passed an option that conflicts " +"with ``--user``." +msgstr "" + +#: build/NEWS:4492 +msgid "" +":gh:`88745`: Improve performance of :func:`shutil.copy2` by using the " +"operating system's ``CopyFile2`` function. This may result in subtle changes " +"to metadata copied along with some files, bringing them in line with normal " +"OS behavior." +msgstr "" + +#: build/NEWS:4497 +msgid "" +":gh:`104820`: Fixes :func:`~os.stat` and related functions on file systems " +"that do not support file ID requests. This includes FAT32 and exFAT." +msgstr "" + +#: build/NEWS:4501 +msgid "" +":gh:`104803`: Add :func:`os.path.isdevdrive` to detect whether a path is on " +"a Windows Dev Drive. Returns ``False`` on platforms that do not support Dev " +"Drive, and is absent on non-Windows platforms." +msgstr "" + +#: build/NEWS:4508 +msgid ":gh:`103142`: Update macOS installer to use OpenSSL 1.1.1u." +msgstr "" + +#: build/NEWS:4513 +msgid "" +":gh:`104719`: Remove IDLE's modification of tokenize.tabsize and test other " +"uses of tokenize data and methods." +msgstr "" + +#: build/NEWS:4519 +msgid "" +":gh:`105115`: ``PyTypeObject.tp_bases`` (and ``tp_mro``) for builtin static " +"types are now shared by all interpreters, whereas in 3.12-beta1 they were " +"stored on ``PyInterpreterState``. Also note that now the tuples are " +"immortal objects." +msgstr "" + +#: build/NEWS:4524 +msgid "" +":gh:`105071`: Add ``PyUnstable_Exc_PrepReraiseStar`` to the unstable C api " +"to expose the implementation of :keyword:`except* <except_star>`." +msgstr "" + +#: build/NEWS:4527 +msgid "" +":gh:`104668`: Don't call :c:var:`PyOS_InputHook` or :c:var:" +"`PyOS_ReadlineFunctionPointer` in subinterpreters, since it's generally " +"difficult to avoid using global state in their registered callbacks. This " +"also avoids situations where extensions may find themselves running in a " +"subinterpreter they don't support (or haven't yet been loaded in)." +msgstr "" + +#: build/NEWS:4536 +msgid "Python 3.12.0 beta 1" +msgstr "" + +#: build/NEWS:4538 +msgid "*Release date: 2023-05-22*" +msgstr "" + +#: build/NEWS:4543 +msgid "" +":gh:`99889`: Fixed a security in flaw in :func:`uu.decode` that could allow " +"for directory traversal based on the input if no ``out_file`` was specified." +msgstr "" + +#: build/NEWS:4547 +msgid "" +":gh:`104049`: Do not expose the local on-disk location in directory indexes " +"produced by :class:`http.client.SimpleHTTPRequestHandler`." +msgstr "" + +#: build/NEWS:4550 +msgid "" +":gh:`99108`: Upgrade built-in :mod:`hashlib` SHA3 implementation to a " +"verified implementation from the ``HACL*`` project. Used when OpenSSL is " +"not present or lacks SHA3." +msgstr "" + +#: build/NEWS:4554 +msgid "" +":gh:`102153`: :func:`urllib.parse.urlsplit` now strips leading C0 control " +"and space characters following the specification for URLs defined by WHATWG " +"in response to :cve:`2023-24329`. Patch by Illia Volochii." +msgstr "" + +#: build/NEWS:4561 +msgid "" +":gh:`102856`: Implement PEP 701 changes in the :mod:`tokenize` module. Patch " +"by Marta Gómez Macías and Pablo Galindo Salgado" +msgstr "" + +#: build/NEWS:4564 +msgid "" +":gh:`104615`: Fix wrong ordering of assignments in code like ``a, a = x, " +"y``. Contributed by Carl Meyer." +msgstr "" + +#: build/NEWS:4567 +msgid "" +":gh:`104572`: Improve syntax error message for invalid constructs in :pep:" +"`695` contexts and in annotations when ``from __future__ import " +"annotations`` is active." +msgstr "" + +#: build/NEWS:4571 +msgid "" +":gh:`104482`: Fix three error handling bugs in ast.c's validation of pattern " +"matching statements." +msgstr "" + +#: build/NEWS:4574 +msgid "" +":gh:`102818`: Do not add a frame to the traceback in the ``sys.setprofile`` " +"and ``sys.settrace`` trampoline functions. This ensures that frames are not " +"duplicated if an exception is raised in the callback function, and ensures " +"that frames are not omitted if a C callback is used and that does not add " +"the frame." +msgstr "" + +#: build/NEWS:4580 +msgid "" +":gh:`104405`: Fix an issue where some :term:`bytecode` instructions could " +"ignore :pep:`523` when \"inlining\" calls." +msgstr "" + +#: build/NEWS:4583 +msgid "" +":gh:`103082`: Change behavior of ``sys.monitoring.events.LINE`` events in " +"``sys.monitoring``: Line events now occur when a new line is reached " +"dynamically, instead of using a static approximation, as before. This makes " +"the behavior very similar to that of \"line\" events in ``sys.settrace``. " +"This should ease porting of tools from 3.11 to 3.12." +msgstr "" + +#: build/NEWS:4589 +msgid "" +":gh:`104263`: Fix ``float(\"nan\")`` to produce a quiet NaN on platforms " +"(like MIPS) where the meaning of the signalling / quiet bit is inverted from " +"its usual meaning. Also introduce a new macro ``Py_INFINITY`` matching C99's " +"``INFINITY``, and refactor internals to rely on C99's ``NAN`` and " +"``INFINITY`` macros instead of hard-coding bit patterns for infinities and " +"NaNs. Thanks Sebastian Berg." +msgstr "" + +#: build/NEWS:4596 +msgid "" +":gh:`99113`: Multi-phase init extension modules may now indicate that they " +"support running in subinterpreters that have their own GIL. This is done by " +"using ``Py_MOD_PER_INTERPRETER_GIL_SUPPORTED`` as the value for the " +"``Py_mod_multiple_interpreters`` module def slot. Otherwise the module, by " +"default, cannot be imported in such subinterpreters. (This does not affect " +"the main interpreter or subinterpreters that do not have their own GIL.) In " +"addition to the isolation that multi-phase init already normally requires, " +"support for per-interpreter GIL involves one additional constraint: thread-" +"safety. If the module has external (linked) dependencies and those " +"libraries have any state that isn't thread-safe then the module must do the " +"additional work to add thread-safety. This should be an uncommon case." +msgstr "" + +#: build/NEWS:4609 +msgid "" +":gh:`99113`: The GIL is now (optionally) per-interpreter. This is the " +"fundamental change for PEP 684. This is all made possible by virtue of the " +"isolated state of each interpreter in the process. The behavior of the main " +"interpreter remains unchanged. Likewise, interpreters created using " +"``Py_NewInterpreter()`` are not affected. To get an interpreter with its " +"own GIL, call ``Py_NewInterpreterFromConfig()``." +msgstr "" + +#: build/NEWS:4616 +msgid "" +":gh:`104108`: Multi-phase init extension modules may now indicate whether or " +"not they actually support multiple interpreters. By default such modules " +"are expected to support use in multiple interpreters. In the uncommon case " +"that one does not, it may use the new ``Py_mod_multiple_interpreters`` " +"module def slot. A value of ``0`` means the module does not support them. " +"``1`` means it does. The default is ``1``." +msgstr "" + +#: build/NEWS:4624 +msgid "" +":gh:`104142`: Fix an issue where :class:`list` or :class:`tuple` repetition " +"could fail to respect :pep:`683`." +msgstr "" + +#: build/NEWS:4627 +msgid "" +":gh:`104078`: Improve the performance of :c:func:`PyObject_HasAttrString`" +msgstr "" + +#: build/NEWS:4630 +msgid "" +":gh:`104066`: Improve the performance of :func:`hasattr` for module objects " +"with a missing attribute." +msgstr "" + +#: build/NEWS:4633 +msgid "" +":gh:`104028`: Reduce object creation while calling callback function from " +"gc. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:4636 +msgid "" +":gh:`104018`: Disallow the \"z\" format specifier in %-format of bytes " +"objects." +msgstr "" + +#: build/NEWS:5524 +msgid "" +":gh:`102213`: Fix performance loss when accessing an object's attributes " +"with ``__getattr__`` defined." +msgstr "" + +#: build/NEWS:4642 +msgid "" +":gh:`103895`: Improve handling of edge cases in showing ``Exception." +"__notes__``. Ensures that the messages always end with a newline and that " +"string/bytes are not exploded over multiple lines. Patch by Carey Metcalfe." +msgstr "" + +#: build/NEWS:4647 +msgid "" +":gh:`103907`: Don't modify the refcounts of known immortal objects (:const:" +"`True`, :const:`False`, and :const:`None`) in the main interpreter loop." +msgstr "" + +#: build/NEWS:4651 +msgid "" +":gh:`103899`: Provide a helpful hint in the :exc:`TypeError` message when " +"accidentally calling a :term:`module` object that has a callable attribute " +"of the same name (such as :func:`dis.dis` or :class:`datetime.datetime`)." +msgstr "" + +#: build/NEWS:4656 +msgid "" +":gh:`103845`: Remove both line and instruction instrumentation before adding " +"new ones for monitoring, to avoid newly added instrumentation being removed " +"immediately." +msgstr "" + +#: build/NEWS:4660 +msgid "" +":gh:`103763`: Implement :pep:`695`, adding syntactic support for generic " +"classes, generic functions, and type aliases." +msgstr "" + +#: build/NEWS:4663 +msgid "" +"A new ``type X = ...`` syntax is added for type aliases, which resolves at " +"runtime to an instance of the new class ``typing.TypeAliasType``. The value " +"is lazily evaluated and is accessible through the ``.__value__`` attribute. " +"This is implemented as a new AST node ``ast.TypeAlias``." +msgstr "" + +#: build/NEWS:4668 +msgid "" +"New syntax (``class X[T]: ...``, ``def func[T](): ...``) is added for " +"defining generic functions and classes. This is implemented as a new " +"``type_params`` attribute on the AST nodes for classes and functions. This " +"node holds instances of the new AST classes ``ast.TypeVar``, ``ast." +"ParamSpec``, and ``ast.TypeVarTuple``." +msgstr "" + +#: build/NEWS:4674 +msgid "" +"``typing.TypeVar``, ``typing.ParamSpec``, ``typing.ParamSpecArgs``, ``typing." +"ParamSpecKwargs``, ``typing.TypeVarTuple``, and ``typing.Generic`` are now " +"implemented in C rather than Python." +msgstr "" + +#: build/NEWS:4678 +msgid "" +"There are new bytecode instructions ``LOAD_LOCALS``, " +"``LOAD_CLASSDICT_OR_GLOBAL``, and ``LOAD_CLASSDICT_OR_DEREF`` to support " +"correct resolution of names in class namespaces." +msgstr "" + +#: build/NEWS:4682 +msgid "Patch by Eric Traut, Larry Hastings, and Jelle Zijlstra." +msgstr "" + +#: build/NEWS:4684 +msgid "" +":gh:`103801`: Adds three minor linting fixes to the wasm module caught that " +"were caught by ruff." +msgstr "" + +#: build/NEWS:4687 +msgid "" +":gh:`103793`: Optimized asyncio Task creation by deferring expensive string " +"formatting (task name generation) from Task creation to the first time " +"``get_name`` is called. This makes asyncio benchmarks up to 5% faster." +msgstr "" + +#: build/NEWS:4692 +msgid ":gh:`102310`: Change the error range for invalid bytes literals." +msgstr "" + +#: build/NEWS:4694 +msgid "" +":gh:`103590`: Do not wrap a single exception raised from a ``try-except*`` " +"construct in an :exc:`ExceptionGroup`." +msgstr "" + +#: build/NEWS:4697 +msgid "" +":gh:`103650`: Change the perf map format to remove the '0x' prefix from the " +"addresses" +msgstr "" + +#: build/NEWS:4700 +msgid "" +":gh:`102856`: Implement the required C tokenizer changes for PEP 701. Patch " +"by Pablo Galindo Salgado, Lysandros Nikolaou, Batuhan Taskaya, Marta Gómez " +"Macías and sunmy2019." +msgstr "" + +#: build/NEWS:4704 +msgid "" +":gh:`100530`: Clarify the error message raised when the called part of a " +"class pattern isn't actually a class." +msgstr "" + +#: build/NEWS:4707 +msgid "" +":gh:`101517`: Fix bug in line numbers of instructions emitted for :keyword:" +"`except* <except_star>`." +msgstr "" + +#: build/NEWS:4710 +msgid "" +":gh:`103492`: Clarify :exc:`SyntaxWarning` with literal ``is`` comparison by " +"specifying which literal is problematic, since comparisons using ``is`` with " +"e.g. ``None`` and bool literals are idiomatic." +msgstr "" + +#: build/NEWS:4714 +msgid "" +":gh:`87729`: Add :opcode:`LOAD_SUPER_ATTR` (and a specialization for " +"``super().method()``) to speed up ``super().method()`` and ``super().attr``. " +"This makes ``super().method()`` roughly 2.3x faster and brings it within 20% " +"of the performance of a simple method call. Patch by Vladimir Matveev and " +"Carl Meyer." +msgstr "" + +#: build/NEWS:4720 +msgid "" +":gh:`103488`: Change the internal offset distinguishing yield and return " +"target addresses, so that the instruction pointer is correct for exception " +"handling and other stack unwinding." +msgstr "" + +#: build/NEWS:4724 +msgid "" +":gh:`82012`: The bitwise inversion operator (``~``) on bool is deprecated. " +"It returns the bitwise inversion of the underlying ``int`` representation " +"such that ``bool(~True) == True``, which can be confusing. Use ``not`` for " +"logical negation of bools. In the rare case that you really need the bitwise " +"inversion of the underlying ``int``, convert to int explicitly ``~int(x)``." +msgstr "" + +#: build/NEWS:4731 +msgid "" +":gh:`77757`: Exceptions raised in a typeobject's ``__set_name__`` method are " +"no longer wrapped by a :exc:`RuntimeError`. Context information is added to " +"the exception as a :pep:`678` note." +msgstr "" + +#: build/NEWS:4735 +msgid "" +":gh:`103333`: :exc:`AttributeError` now retains the ``name`` attribute when " +"pickled and unpickled." +msgstr "" + +#: build/NEWS:4738 +msgid "" +":gh:`103242`: Migrate :meth:`~ssl.SSLContext.set_ecdh_curve` method not to " +"use deprecated OpenSSL APIs. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:4741 +msgid "" +":gh:`103323`: We've replaced our use of ``_PyRuntime.tstate_current`` with a " +"thread-local variable. This is a fairly low-level implementation detail, " +"and there should be no change in behavior." +msgstr "" + +#: build/NEWS:4745 +msgid "" +":gh:`84436`: The implementation of PEP-683 which adds Immortal Objects by " +"using a fixed reference count that skips reference counting to make objects " +"truly immutable." +msgstr "" + +#: build/NEWS:4749 +msgid "" +":gh:`102700`: Allow built-in modules to be submodules. This allows " +"submodules to be statically linked into a CPython binary." +msgstr "" + +#: build/NEWS:4752 +msgid ":gh:`103082`: Implement :pep:`669` Low Impact Monitoring for CPython." +msgstr "" + +#: build/NEWS:4754 +msgid "" +":gh:`88691`: Reduce the number of inline :opcode:`CACHE` entries for :opcode:" +"`CALL`." +msgstr "" + +#: build/NEWS:4757 +msgid "" +":gh:`102500`: Make the buffer protocol accessible in Python code using the " +"new ``__buffer__`` and ``__release_buffer__`` magic methods. See :pep:`688` " +"for details. Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:4761 +msgid "" +":gh:`97933`: :pep:`709`: inline list, dict and set comprehensions to improve " +"performance and reduce bytecode size." +msgstr "" + +#: build/NEWS:4764 +msgid "" +":gh:`99184`: Bypass instance attribute access of ``__name__`` in ``repr`` " +"of :class:`weakref.ref`." +msgstr "" + +#: build/NEWS:4767 +msgid "" +":gh:`98003`: Complex function calls are now faster and consume no C stack " +"space." +msgstr "" + +#: build/NEWS:4770 +msgid "" +":issue:`39610`: ``len()`` for 0-dimensional :class:`memoryview` objects " +"(such as ``memoryview(ctypes.c_uint8(42))``) now raises a :exc:`TypeError`. " +"Previously this returned ``1``, which was not consistent with ``mem_0d[0]`` " +"raising an :exc:`IndexError`." +msgstr "" + +#: build/NEWS:4775 +msgid "" +":issue:`31821`: Fix :func:`!pause_reading` to work when called from :func:`!" +"connection_made` in :mod:`asyncio`." +msgstr "" + +#: build/NEWS:4781 +msgid "" +":gh:`104600`: :func:`functools.update_wrapper` now sets the " +"``__type_params__`` attribute (added by :pep:`695`)." +msgstr "" + +#: build/NEWS:4784 +msgid "" +":gh:`104340`: When an ``asyncio`` pipe protocol loses its connection due to " +"an error, and the caller doesn't await ``wait_closed()`` on the " +"corresponding ``StreamWriter``, don't log a warning about an exception that " +"was never retrieved. After all, according to the ``StreamWriter.close()`` " +"docs, the ``wait_closed()`` call is optional (\"not mandatory\")." +msgstr "" + +#: build/NEWS:4791 +msgid "" +":gh:`104555`: Fix issue where an :func:`issubclass` check comparing a class " +"``X`` against a :func:`runtime-checkable protocol <typing." +"runtime_checkable>` ``Y`` with non-callable members would not cause :exc:" +"`TypeError` to be raised if an :func:`isinstance` call had previously been " +"made comparing an instance of ``X`` to ``Y``. This issue was present in edge " +"cases on Python 3.11, but became more prominent in 3.12 due to some " +"unrelated changes that were made to runtime-checkable protocols. Patch by " +"Alex Waygood." +msgstr "" + +#: build/NEWS:4800 +msgid "" +":gh:`104372`: Refactored the ``_posixsubprocess`` internals to avoid Python " +"C API usage between fork and exec when marking ``pass_fds=`` file " +"descriptors inheritable." +msgstr "" + +#: build/NEWS:4804 +msgid "" +":gh:`104484`: Added *case_sensitive* argument to :meth:`pathlib.PurePath." +"match`" +msgstr "" + +#: build/NEWS:4807 +msgid "" +":gh:`75367`: Fix data descriptor detection in :func:`inspect.getattr_static`." +msgstr "" + +#: build/NEWS:4810 +msgid "" +":gh:`104536`: Fix a race condition in the internal :mod:`multiprocessing." +"process` cleanup logic that could manifest as an unintended " +"``AttributeError`` when calling ``process.close()``." +msgstr "" + +#: build/NEWS:4814 +msgid "" +":gh:`103857`: Update datetime deprecations' stracktrace to point to the " +"calling line" +msgstr "" + +#: build/NEWS:4817 +msgid "" +":gh:`101520`: Move the core functionality of the ``tracemalloc`` module in " +"the ``Python/`` folder, leaving just the module wrapper in ``Modules/``." +msgstr "" + +#: build/NEWS:4821 +msgid "" +":gh:`104392`: Remove undocumented and unused ``_paramspec_tvars`` attribute " +"from some classes in :mod:`typing`." +msgstr "" + +#: build/NEWS:4824 +msgid "" +":gh:`102613`: Fix issue where :meth:`pathlib.Path.glob` raised :exc:" +"`RecursionError` when walking deep directory trees." +msgstr "" + +#: build/NEWS:4827 +msgid "" +":gh:`103000`: Improve performance of :func:`dataclasses.asdict` for the " +"common case where *dict_factory* is ``dict``. Patch by David C Ellis." +msgstr "" + +#: build/NEWS:4830 +msgid "" +":gh:`104301`: Allow leading whitespace in disambiguated statements in :mod:" +"`pdb`." +msgstr "" + +#: build/NEWS:4833 +msgid "" +":gh:`104139`: Teach :func:`urllib.parse.unsplit` to retain the ``\"//\"`` " +"when assembling ``itms-services://?action=generate-bugs`` style `Apple " +"Platform Deployment <https://support.apple.com/en-gb/guide/deployment/" +"depce7cefc4d/web>`_ URLs." +msgstr "" + +#: build/NEWS:4839 +msgid "" +":gh:`104307`: :func:`socket.getnameinfo` now releases the GIL while " +"contacting the DNS server" +msgstr "" + +#: build/NEWS:4842 +msgid "" +":gh:`104310`: Users may now use ``importlib.util.allowing_all_extensions()`` " +"(a context manager) to temporarily disable the strict compatibility checks " +"for importing extension modules in subinterpreters." +msgstr "" + +#: build/NEWS:4847 +msgid "" +":gh:`87695`: Fix issue where :meth:`pathlib.Path.glob` raised :exc:`OSError` " +"when it encountered a symlink to an overly long path." +msgstr "" + +#: build/NEWS:4850 +msgid "" +":gh:`104265`: Prevent possible crash by disallowing instantiation of the :" +"class:`!_csv.Reader` and :class:`!_csv.Writer` types. The regression was " +"introduced in 3.10.0a4 with PR 23224 (:issue:`14935`). Patch by Radislav " +"Chugunov." +msgstr "" + +#: build/NEWS:4855 +msgid "" +":gh:`102613`: Improve performance of :meth:`pathlib.Path.glob` when " +"expanding recursive wildcards (\"``**``\") by merging adjacent wildcards and " +"de-duplicating results only when necessary." +msgstr "" + +#: build/NEWS:4859 +msgid ":gh:`65772`: Remove unneeded comments and code in turtle.py." +msgstr "" + +#: build/NEWS:4861 +msgid "" +":gh:`90208`: Fixed issue where :meth:`pathlib.Path.glob` returned incomplete " +"results when it encountered a :exc:`PermissionError`. This method now " +"suppresses all :exc:`OSError` exceptions, except those raised from calling :" +"meth:`~pathlib.Path.is_dir` on the top-level path." +msgstr "" + +#: build/NEWS:4866 +msgid "" +":gh:`104144`: Optimize :class:`asyncio.TaskGroup` when using :func:`asyncio." +"eager_task_factory`. Skip scheduling a done callback if a TaskGroup task " +"completes eagerly." +msgstr "" + +#: build/NEWS:4870 +msgid "" +":gh:`104144`: Optimize :func:`asyncio.gather` when using :func:`asyncio." +"eager_task_factory` to complete eagerly if all fututres completed eagerly. " +"Avoid scheduling done callbacks for futures that complete eagerly." +msgstr "" + +#: build/NEWS:4875 +msgid "" +":gh:`104114`: Fix issue where :meth:`pathlib.Path.glob` returns paths using " +"the case of non-wildcard segments for corresponding path segments, rather " +"than the real filesystem case." +msgstr "" + +#: build/NEWS:4879 +msgid "" +":gh:`104104`: Improve performance of :meth:`pathlib.Path.glob` by using :" +"const:`re.IGNORECASE` to implement case-insensitive matching." +msgstr "" + +#: build/NEWS:4882 +msgid "" +":gh:`104102`: Improve performance of :meth:`pathlib.Path.glob` when " +"evaluating patterns that contain ``'../'`` segments." +msgstr "" + +#: build/NEWS:4885 +msgid "" +":gh:`103822`: Update the return type of ``weekday`` to the newly added Day " +"attribute" +msgstr "" + +#: build/NEWS:4888 +msgid "" +":gh:`103629`: Update the ``repr`` of :class:`typing.Unpack` according to :" +"pep:`692`." +msgstr "" + +#: build/NEWS:4891 +msgid "" +":gh:`103963`: Make :mod:`dis` display the names of the args for :opcode:`!" +"CALL_INTRINSIC_*`." +msgstr "" + +#: build/NEWS:4894 +msgid "" +":gh:`104035`: Do not ignore user-defined ``__getstate__`` and " +"``__setstate__`` methods for slotted frozen dataclasses." +msgstr "" + +#: build/NEWS:4897 +msgid "" +":gh:`103987`: In :mod:`mmap`, fix several bugs that could lead to access to " +"memory-mapped files after they have been invalidated." +msgstr "" + +#: build/NEWS:4900 +msgid ":gh:`103977`: Improve import time of :mod:`platform` module." +msgstr "" + +#: build/NEWS:4902 +msgid "" +":gh:`88773`: Added :func:`turtle.teleport` to the :mod:`turtle` module to " +"move a turtle to a new point without tracing a line, visible or invisible. " +"Patch by Liam Gersten." +msgstr "" + +#: build/NEWS:4906 +msgid "" +":gh:`103935`: Use :func:`io.open_code` for files to be executed instead of " +"raw :func:`open`" +msgstr "" + +#: build/NEWS:4909 +msgid "" +":gh:`68968`: Fixed garbled output of :meth:`~unittest.TestCase.assertEqual` " +"when an input lacks final newline." +msgstr "" + +#: build/NEWS:4912 +msgid "" +":gh:`100370`: Fix potential :exc:`OverflowError` in :meth:`sqlite3." +"Connection.blobopen` for 32-bit builds. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:4916 +msgid "" +":gh:`102628`: Substitute CTRL-D with CTRL-Z in :mod:`sqlite3` CLI banner " +"when running on Windows." +msgstr "" + +#: build/NEWS:4919 +msgid "" +":gh:`103636`: Module-level attributes ``January`` and ``February`` are " +"deprecated from :mod:`calendar`." +msgstr "" + +#: build/NEWS:4922 +msgid "" +":gh:`103583`: Isolate :mod:`!_multibytecodec` and codecs extension modules. " +"Patches by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:4925 +msgid "" +":gh:`103848`: Add checks to ensure that ``[`` bracketed ``]`` hosts found " +"by :func:`urllib.parse.urlsplit` are of IPv6 or IPvFuture format." +msgstr "" + +#: build/NEWS:4928 +msgid ":gh:`103872`: Update the bundled copy of pip to version 23.1.2." +msgstr "" + +#: build/NEWS:4930 +msgid "" +":gh:`99944`: Make :mod:`dis` display the value of oparg of :opcode:" +"`KW_NAMES`." +msgstr "" + +#: build/NEWS:4933 +msgid "" +":gh:`74940`: The C.UTF-8 locale is no longer converted to en_US.UTF-8, " +"enabling the use of UTF-8 encoding on systems which have no locales " +"installed." +msgstr "" + +#: build/NEWS:4937 +msgid "" +":gh:`103861`: Fix ``zipfile.Zipfile`` creating invalid zip files when " +"``force_zip64`` was used to add files to them. Patch by Carey Metcalfe." +msgstr "" + +#: build/NEWS:4940 +msgid "" +":gh:`103857`: Deprecated :meth:`datetime.datetime.utcnow` and :meth:" +"`datetime.datetime.utcfromtimestamp`. (Patch by Paul Ganssle)" +msgstr "" + +#: build/NEWS:4943 +msgid "" +":gh:`103839`: Avoid compilation error due to tommath.h not being found when " +"building Tkinter against Tcl 8.7 built with bundled libtommath." +msgstr "" + +#: build/NEWS:4946 +msgid "" +":gh:`103791`: :class:`contextlib.suppress` now supports suppressing " +"exceptions raised as part of an :exc:`ExceptionGroup`. If other exceptions " +"exist on the group, they are re-raised in a group that does not contain the " +"suppressed exceptions." +msgstr "" + +#: build/NEWS:4951 +msgid "" +":gh:`90750`: Use :meth:`datetime.datetime.fromisocalendar` in the " +"implementation of :meth:`datetime.datetime.strptime`, which should now " +"accept only valid ISO dates. (Patch by Paul Ganssle)" +msgstr "" + +#: build/NEWS:4955 +msgid "" +":gh:`103685`: Prepare :meth:`tkinter.Menu.index` for Tk 8.7 so that it does " +"not raise ``TclError: expected integer but got \"\"`` when it should return " +"``None``." +msgstr "" + +#: build/NEWS:4959 +msgid "" +":gh:`81403`: :class:`urllib.request.CacheFTPHandler` no longer raises :class:" +"`URLError` if a cached FTP instance is reused. ftplib's endtransfer method " +"calls voidresp to drain the connection to handle FTP instance reuse properly." +msgstr "" + +#: build/NEWS:4964 +msgid "" +":gh:`103699`: Add ``__orig_bases__`` to non-generic TypedDicts, call-based " +"TypedDicts, and call-based NamedTuples. Other TypedDicts and NamedTuples " +"already had the attribute." +msgstr "" + +#: build/NEWS:4968 +msgid ":gh:`103693`: Add convenience variable feature to :mod:`pdb`" +msgstr "" + +#: build/NEWS:4970 +msgid "" +":gh:`92248`: Deprecate ``type``, ``choices``, and ``metavar`` parameters of " +"``argparse.BooleanOptionalAction``." +msgstr "" + +#: build/NEWS:4973 +msgid "" +":gh:`89415`: Add :mod:`socket` constants for source-specific multicast. " +"Patch by Reese Hyde." +msgstr "" + +#: build/NEWS:4976 +msgid "" +":gh:`103673`: :mod:`socketserver` gains ``ForkingUnixStreamServer`` and " +"``ForkingUnixDatagramServer`` classes. Patch by Jay Berry." +msgstr "" + +#: build/NEWS:4979 +msgid ":gh:`103636`: Added Enum for months and days in the calendar module." +msgstr "" + +#: build/NEWS:4981 +msgid "" +":gh:`84976`: Create a new ``Lib/_pydatetime.py`` file that defines the " +"Python version of the ``datetime`` module, and make ``datetime`` import the " +"contents of the new library only if the C implementation is missing. " +"Currently, the full Python implementation is defined and then deleted if the " +"C implementation is not available, slowing down ``import datetime`` " +"unnecessarily." +msgstr "" + +#: build/NEWS:4988 +msgid "" +":gh:`103596`: Attributes/methods are no longer shadowed by same-named enum " +"members, although they may be shadowed by enum.property's." +msgstr "" + +#: build/NEWS:4991 +msgid "" +":gh:`103584`: Updated ``importlib.metadata`` with changes from " +"``importlib_metadata`` 5.2 through 6.5.0, including: Support ``installed-" +"files.txt`` for ``Distribution.files`` when present. ``PackageMetadata`` now " +"stipulates an additional ``get`` method allowing for easy querying of " +"metadata keys that may not be present. ``packages_distributions`` now honors " +"packages and modules with Python modules that not ``.py`` sources (e.g. ``." +"pyc``, ``.so``). Expand protocol for ``PackageMetadata.get_all`` to match " +"the upstream implementation of ``email.message.Message.get_all`` in python/" +"typeshed#9620. Deprecated use of ``Distribution`` without defining abstract " +"methods. Deprecated expectation that ``PackageMetadata.__getitem__`` will " +"return ``None`` for missing keys. In the future, it will raise a " +"``KeyError``." +msgstr "" + +#: build/NEWS:5004 +msgid "" +":gh:`103578`: Fixed a bug where :mod:`pdb` crashes when reading source file " +"with different encoding by replacing :func:`io.open` with :func:`io." +"open_code`. The new method would also call into the hook set by :c:func:" +"`PyFile_SetOpenCodeHook`." +msgstr "" + +#: build/NEWS:5009 +msgid "" +":gh:`103556`: Now creating :class:`inspect.Signature` objects with " +"positional-only parameter with a default followed by a positional-or-keyword " +"parameter without one is impossible." +msgstr "" + +#: build/NEWS:5013 +msgid ":gh:`103559`: Update the bundled copy of pip to version 23.1.1." +msgstr "" + +#: build/NEWS:5015 +msgid "" +":gh:`103548`: Improve performance of :meth:`pathlib.Path.absolute` and :meth:" +"`~pathlib.Path.cwd` by joining paths only when necessary. Also improve " +"performance of :meth:`pathlib.PurePath.is_absolute` on Posix by skipping " +"path parsing and normalization." +msgstr "" + +#: build/NEWS:5020 +msgid "" +":gh:`103538`: Remove ``_tkinter`` module code guarded by definition of the " +"``TK_AQUA`` macro which was only needed for Tk 8.4.7 or earlier and was " +"never actually defined by any build system or documented for manual use." +msgstr "" + +#: build/NEWS:5025 +msgid ":gh:`103533`: Update :mod:`cProfile` to use PEP 669 API" +msgstr "" + +#: build/NEWS:5027 +msgid "" +":gh:`103525`: Fix misleading exception message when mixed ``str`` and " +"``bytes`` arguments are supplied to :class:`pathlib.PurePath` and :class:" +"`~pathlib.Path`." +msgstr "" + +#: build/NEWS:5031 +msgid "" +":gh:`103489`: Add :meth:`~sqlite3.Connection.getconfig` and :meth:`~sqlite3." +"Connection.setconfig` to :class:`~sqlite3.Connection` to make configuration " +"changes to a database connection. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:5036 +msgid "" +":gh:`103365`: Set default Flag boundary to ``STRICT`` and fix bitwise " +"operations." +msgstr "" + +#: build/NEWS:5039 +msgid "" +":gh:`103472`: Avoid a potential :exc:`ResourceWarning` in :class:`http." +"client.HTTPConnection` by closing the proxy / tunnel's CONNECT response " +"explicitly." +msgstr "" + +#: build/NEWS:5043 +msgid "" +":gh:`103462`: Fixed an issue with using :meth:`~asyncio.WriteTransport." +"writelines` in :mod:`asyncio` to send very large payloads that exceed the " +"amount of data that can be written in one call to :meth:`socket.socket.send` " +"or :meth:`socket.socket.sendmsg`, resulting in the remaining buffer being " +"left unwritten." +msgstr "" + +#: build/NEWS:5049 +msgid "" +":gh:`103449`: Fix a bug in doc string generation in :func:`dataclasses." +"dataclass`." +msgstr "" + +#: build/NEWS:5052 +msgid "" +":gh:`103092`: Isolate :mod:`!_collections` (apply :pep:`687`). Patch by " +"Erlend E. Aasland." +msgstr "" + +#: build/NEWS:5055 +msgid "" +":gh:`103357`: Added support for :class:`logging.Formatter` ``defaults`` " +"parameter to :func:`logging.config.dictConfig` and :func:`logging.config." +"fileConfig`. Patch by Bar Harel." +msgstr "" + +#: build/NEWS:5059 +msgid ":gh:`103092`: Adapt the :mod:`winreg` extension module to :pep:`687`." +msgstr "" + +#: build/NEWS:5061 +msgid "" +":gh:`74690`: The performance of :func:`isinstance` checks against :func:" +"`runtime-checkable protocols <typing.runtime_checkable>` has been " +"considerably improved for protocols that only have a few members. To achieve " +"this improvement, several internal implementation details of the :mod:" +"`typing` module have been refactored, including ``typing._ProtocolMeta." +"__instancecheck__``, ``typing._is_callable_members_only``, and ``typing." +"_get_protocol_attrs``. Patches by Alex Waygood." +msgstr "" + +#: build/NEWS:5070 +msgid "" +":gh:`74690`: The members of a runtime-checkable protocol are now considered " +"\"frozen\" at runtime as soon as the class has been created. See :ref:" +"`\"What's new in Python 3.12\" <whatsnew-typing-py312>` for more details." +msgstr "" + +#: build/NEWS:5075 +msgid "" +":gh:`103256`: Fixed a bug that caused :mod:`hmac` to raise an exception when " +"the requested hash algorithm was not available in OpenSSL despite being " +"available separately as part of ``hashlib`` itself. It now falls back " +"properly to the built-in. This could happen when, for example, your OpenSSL " +"does not include SHA3 support and you want to compute ``hmac.digest(b'K', " +"b'M', 'sha3_256')``." +msgstr "" + +#: build/NEWS:5082 +msgid ":gh:`102778`: Support ``sys.last_exc`` in :mod:`idlelib`." +msgstr "" + +#: build/NEWS:5084 +msgid ":gh:`103285`: Improve performance of :func:`ast.get_source_segment`." +msgstr "" + +#: build/NEWS:5086 +msgid "" +":gh:`103225`: Fix a bug in :mod:`pdb` when displaying line numbers of module-" +"level source code." +msgstr "" + +#: build/NEWS:5089 +msgid ":gh:`103092`: Adapt the :mod:`msvcrt` extension module to :pep:`687`." +msgstr "" + +#: build/NEWS:5091 +msgid ":gh:`103092`: Adapt the :mod:`winsound` extension module to :pep:`687`." +msgstr "" + +#: build/NEWS:5093 +msgid ":gh:`93910`: Remove deprecation of enum ``member.member`` access." +msgstr "" + +#: build/NEWS:5095 +msgid "" +":gh:`102978`: Fixes :func:`unittest.mock.patch` not enforcing function " +"signatures for methods decorated with ``@classmethod`` or ``@staticmethod`` " +"when patch is called with ``autospec=True``." +msgstr "" + +#: build/NEWS:5099 +msgid "" +":gh:`103092`: Isolate :mod:`!_socket` (apply :pep:`687`). Patch by Erlend E. " +"Aasland." +msgstr "" + +#: build/NEWS:5102 +msgid "" +":gh:`100479`: Add :meth:`pathlib.PurePath.with_segments`, which creates a " +"path object from arguments. This method is called whenever a derivative path " +"is created, such as from :attr:`pathlib.PurePath.parent`. Subclasses may " +"override this method to share information between path objects." +msgstr "" + +#: build/NEWS:5107 +msgid "" +":gh:`103220`: Fix issue where :func:`os.path.join` added a slash when " +"joining onto an incomplete UNC drive with a trailing slash on Windows." +msgstr "" + +#: build/NEWS:5110 +msgid "" +":gh:`103204`: Fixes :mod:`http.server` accepting HTTP requests with HTTP " +"version numbers preceded by '+', or '-', or with digit-separating '_' " +"characters. The length of the version numbers is also constrained." +msgstr "" + +#: build/NEWS:5114 +msgid ":gh:`75586`: Fix various Windows-specific issues with ``shutil.which``." +msgstr "" + +#: build/NEWS:5116 +msgid "" +":gh:`103193`: Improve performance of :func:`inspect.getattr_static`. Patch " +"by Alex Waygood." +msgstr "" + +#: build/NEWS:5119 +msgid "" +":gh:`103176`: :func:`sys._current_exceptions` now returns a mapping from " +"thread-id to an exception instance, rather than to a ``(typ, exc, tb)`` " +"tuple." +msgstr "" + +#: build/NEWS:5123 +msgid ":gh:`103143`: Polish the help messages and docstrings of :mod:`pdb`." +msgstr "" + +#: build/NEWS:5125 +msgid "" +":gh:`103015`: Add *entrypoint* keyword-only parameter to :meth:`sqlite3." +"Connection.load_extension`, for overriding the SQLite extension entry point. " +"Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:5129 +msgid "" +":gh:`103000`: Improve performance of :func:`dataclasses.astuple` and :func:" +"`dataclasses.asdict` in cases where the contents are common Python types." +msgstr "" + +#: build/NEWS:5133 +msgid "" +":gh:`102953`: The extraction methods in :mod:`tarfile`, and :func:`shutil." +"unpack_archive`, have a new a *filter* argument that allows limiting tar " +"features than may be surprising or dangerous, such as creating files outside " +"the destination directory. See :ref:`tarfile-extraction-filter` for details." +msgstr "" + +#: build/NEWS:5139 +msgid "" +":gh:`97696`: Implemented an eager task factory in asyncio. When used as a " +"task factory on an event loop, it performs eager execution of coroutines. " +"Coroutines that are able to complete synchronously (e.g. return or raise " +"without blocking) are returned immediately as a finished task, and the task " +"is never scheduled to the event loop. If the coroutine blocks, the (pending) " +"task is scheduled and returned." +msgstr "" + +#: build/NEWS:5146 +msgid "" +":gh:`81079`: Add *case_sensitive* keyword-only argument to :meth:`pathlib." +"Path.glob` and :meth:`~pathlib.Path.rglob`." +msgstr "" + +#: build/NEWS:5149 +msgid "" +":gh:`101819`: Isolate the :mod:`io` extension module by applying :pep:`687`. " +"Patch by Kumar Aditya, Victor Stinner, and Erlend E. Aasland." +msgstr "" + +#: build/NEWS:5152 +msgid ":gh:`91896`: Deprecate :class:`collections.abc.ByteString`" +msgstr "" + +#: build/NEWS:5154 +msgid "" +":gh:`101362`: Speed up :class:`pathlib.Path` construction by omitting the " +"path anchor from the internal list of path parts." +msgstr "" + +#: build/NEWS:5157 +msgid "" +":gh:`102114`: Functions in the :mod:`dis` module that accept a source code " +"string as argument now print a more concise traceback when the string " +"contains a syntax or indentation error." +msgstr "" + +#: build/NEWS:5161 +msgid "" +":gh:`62432`: The :mod:`unittest` runner will now exit with status code 5 if " +"no tests were run. It is common for test runner misconfiguration to fail to " +"find any tests, this should be an error." +msgstr "" + +#: build/NEWS:5165 +msgid "" +":gh:`78079`: Fix incorrect normalization of UNC device path roots, and " +"partial UNC share path roots, in :class:`pathlib.PurePath`. Pathlib no " +"longer appends a trailing slash to such paths." +msgstr "" + +#: build/NEWS:5169 +msgid "" +":gh:`85984`: Add :func:`tty.cfmakeraw` and :func:`tty.cfmakecbreak` to :mod:" +"`tty` and modernize, the behavior of :func:`tty.setraw` and :func:`tty." +"setcbreak` to use POSIX.1-2017 Chapter 11 \"General Terminal Interface\" " +"flag masks by default." +msgstr "" + +#: build/NEWS:5174 +msgid "" +":gh:`101688`: Implement :func:`types.get_original_bases` to provide further " +"introspection for types." +msgstr "" + +#: build/NEWS:5177 +msgid "" +":gh:`101640`: :class:`argparse.ArgumentParser` now catches errors when " +"writing messages, such as when :data:`sys.stderr` is ``None``. Patch by Oleg " +"Iarygin." +msgstr "" + +#: build/NEWS:5181 +msgid "" +":gh:`83861`: Fix datetime.astimezone method return value when invoked on a " +"naive datetime instance that represents local time falling in a timezone " +"transition gap. PEP 495 requires that instances with fold=1 produce earlier " +"times than those with fold=0 in this case." +msgstr "" + +#: build/NEWS:5186 +msgid "" +":gh:`89550`: Decrease execution time of some :mod:`gzip` file writes by 15% " +"by adding more appropriate buffering." +msgstr "" + +#: build/NEWS:5189 +msgid "" +":gh:`95299`: Remove the bundled setuptools wheel from ``ensurepip``, and " +"stop installing setuptools in environments created by ``venv``." +msgstr "" + +#: build/NEWS:5192 +msgid "" +":gh:`99353`: Respect the :class:`http.client.HTTPConnection` ``.debuglevel`` " +"flag in :class:`urllib.request.AbstractHTTPHandler` when its constructor " +"parameter ``debuglevel`` is not set. And do the same for ``*HTTPS*``." +msgstr "" + +#: build/NEWS:5197 +msgid ":gh:`98040`: Remove the long-deprecated ``imp`` module." +msgstr "" + +#: build/NEWS:5199 +msgid "" +":gh:`97850`: Deprecate :func:`pkgutil.find_loader` and :func:`pkgutil." +"get_loader` in favor of :func:`importlib.util.find_spec`." +msgstr "" + +#: build/NEWS:5202 +msgid "" +":gh:`94473`: Flatten arguments in :meth:`tkinter.Canvas.coords`. It now " +"accepts not only ``x1, y1, x2, y2, ...`` and ``[x1, y1, x2, y2, ...]``, but " +"also ``(x1, y1), (x2, y2), ...`` and ``[(x1, y1), (x2, y2), ...]``." +msgstr "" + +#: build/NEWS:5206 +msgid "" +":gh:`98040`: Remove more deprecated importlib APIs: ``find_loader()``, " +"``find_module()``, ``importlib.abc.Finder``, ``pkgutil.ImpImporter``, " +"``pkgutil.ImpLoader``." +msgstr "" + +#: build/NEWS:5210 +msgid ":gh:`96522`: Fix potential deadlock in pty.spawn()" +msgstr "" + +#: build/NEWS:5212 +msgid ":gh:`96534`: Support divert(4) added in FreeBSD 14." +msgstr "" + +#: build/NEWS:5214 +msgid "" +":gh:`87474`: Fix potential file descriptor leaks in :class:`subprocess." +"Popen`." +msgstr "" + +#: build/NEWS:5217 +msgid "" +":gh:`94906`: Support multiple steps in :func:`math.nextafter`. Patch by " +"Shantanu Jain and Matthias Gorgens." +msgstr "" + +#: build/NEWS:5220 +msgid "" +":gh:`51574`: Make :func:`tempfile.mkdtemp` return absolute paths when its " +"*dir* parameter is relative." +msgstr "" + +#: build/NEWS:5223 +msgid "" +":gh:`94518`: Convert private :meth:`!_posixsubprocess.fork_exec` to use " +"Argument Clinic." +msgstr "" + +#: build/NEWS:5226 +msgid "" +":gh:`92184`: When creating zip files using :mod:`zipfile`, ``os.altsep``, if " +"not ``None``, will always be treated as a path separator even when it is not " +"``/``. Patch by Carey Metcalfe." +msgstr "" + +#: build/NEWS:5230 +msgid "" +":issue:`46797`: Deprecation warnings are now emitted for :class:`!ast.Num`, :" +"class:`!ast.Bytes`, :class:`!ast.Str`, :class:`!ast.NameConstant` and :class:" +"`!ast.Ellipsis`. These have been documented as deprecated since Python 3.8, " +"and will be removed in Python 3.14." +msgstr "" + +#: build/NEWS:5235 +msgid "" +":issue:`44844`: Enables :mod:`webbrowser` to detect and launch Microsoft " +"Edge browser." +msgstr "" + +#: build/NEWS:5238 +msgid "" +":issue:`45606`: Fixed the bug in :meth:`pathlib.Path.glob` -- previously a " +"dangling symlink would not be found by this method when the pattern is an " +"exact match, but would be found when the pattern contains a wildcard or the " +"recursive wildcard (``**``). With this change, a dangling symlink will be " +"found in both cases." +msgstr "" + +#: build/NEWS:5244 +msgid "" +":issue:`23041`: Add :const:`~csv.QUOTE_STRINGS` and :const:`~csv." +"QUOTE_NOTNULL` to the suite of :mod:`csv` module quoting styles." +msgstr "" + +#: build/NEWS:5247 +msgid "" +":issue:`24964`: Added :meth:`http.client.HTTPConnection." +"get_proxy_response_headers` that provides access to the HTTP headers on a " +"proxy server response to the ``CONNECT`` request." +msgstr "" + +#: build/NEWS:5252 +msgid "" +":issue:`17258`: :mod:`multiprocessing` now supports stronger HMAC algorithms " +"for inter-process connection authentication rather than only HMAC-MD5." +msgstr "" + +#: build/NEWS:5255 +msgid "" +":issue:`39744`: Make :func:`asyncio.subprocess.Process.communicate` close " +"the subprocess's stdin even when called with ``input=None``." +msgstr "" + +#: build/NEWS:5258 +msgid "" +":issue:`22708`: http.client CONNECT method tunnel improvements: Use HTTP 1.1 " +"protocol; send a matching Host: header with CONNECT, if one is not provided; " +"convert IDN domain names to Punycode. Patch by Michael Handler." +msgstr "" + +#: build/NEWS:5265 +msgid "" +":gh:`67056`: Document that the effect of registering or unregistering an :" +"mod:`atexit` cleanup function from within a registered cleanup function is " +"undefined." +msgstr "" + +#: build/NEWS:5269 +msgid "" +":gh:`103629`: Mention the new way of typing ``**kwargs`` with ``Unpack`` and " +"``TypedDict`` introduced in :pep:`692`." +msgstr "" + +#: build/NEWS:5272 +msgid "" +":gh:`48241`: Clarifying documentation about the url parameter to urllib." +"request.urlopen and urllib.request.Request needing to be encoded properly." +msgstr "" + +#: build/NEWS:5276 +msgid "" +":gh:`86094`: Add support for Unicode Path Extra Field in ZipFile. Patch by " +"Yeojin Kim and Andrea Giudiceandrea" +msgstr "" + +#: build/NEWS:5279 +msgid "" +":gh:`99202`: Fix extension type from documentation for compiling in C++20 " +"mode" +msgstr "" + +#: build/NEWS:5285 +msgid "" +":gh:`104494`: Update ``test_pack_configure_in`` and " +"``test_place_configure_in`` for changes to error message formatting in Tk " +"8.7." +msgstr "" + +#: build/NEWS:5289 +msgid "" +":gh:`104461`: Run test_configure_screen on X11 only, since the ``DISPLAY`` " +"environment variable and ``-screen`` option for toplevels are not useful on " +"Tk for Win32 or Aqua." +msgstr "" + +#: build/NEWS:5293 +msgid "" +":gh:`86275`: Added property-based tests to the :mod:`zoneinfo` tests, along " +"with stubs for the ``hypothesis`` interface. (Patch by Paul Ganssle)" +msgstr "" + +#: build/NEWS:5296 +msgid "" +":gh:`103329`: Regression tests for the behaviour of ``unittest.mock." +"PropertyMock`` were added." +msgstr "" + +#: build/NEWS:5299 +msgid ":gh:`102795`: fix use of poll in test_epoll's test_control_and_wait" +msgstr "" + +#: build/NEWS:5301 +msgid "" +":gh:`75729`: Fix the :func:`os.spawn* <os.spawnl>` tests failing on Windows " +"when the working directory or interpreter path contains spaces." +msgstr "" + +#: build/NEWS:5307 +msgid "" +":gh:`101282`: BOLT optimization is now applied to the libpython shared " +"library if building a shared library. BOLT instrumentation and application " +"settings can now be influenced via the ``BOLT_INSTRUMENT_FLAGS`` and " +"``BOLT_APPLY_FLAGS`` configure variables." +msgstr "" + +#: build/NEWS:5312 +msgid ":gh:`99017`: ``PYTHON_FOR_REGEN`` now require Python 3.10 or newer." +msgstr "" + +#: build/NEWS:5314 +msgid "" +":gh:`104490`: Define ``.PHONY`` / virtual make targets consistently and " +"properly." +msgstr "" + +#: build/NEWS:5317 +msgid "" +":gh:`104106`: Add gcc fallback of mkfifoat/mknodat for macOS. Patch by " +"Donghee Na." +msgstr "" + +#: build/NEWS:5320 +msgid "" +":gh:`103532`: The ``TKINTER_PROTECT_LOADTK`` macro is no longer defined or " +"used in the ``_tkinter`` module. It was previously only defined when " +"building against Tk 8.4.13 and older, but Tk older than 8.5.12 has been " +"unsupported since :gh:`91152`." +msgstr "" + +#: build/NEWS:5325 +msgid "" +":gh:`99069`: Extended workaround defining ``static_assert`` when missing " +"from the libc headers to all clang and gcc builds. In particular, this fixes " +"building on macOS <= 10.10." +msgstr "" + +#: build/NEWS:5329 +msgid "" +":gh:`100220`: Changed the default value of the ``SHELL`` Makefile variable " +"from ``/bin/sh`` to ``/bin/sh -e`` to ensure that complex recipes correctly " +"fail after an error. Previously, ``make install`` could fail to install some " +"files and yet return a successful result." +msgstr "" + +#: build/NEWS:5334 +msgid ":gh:`90656`: Add platform triplets for 64-bit LoongArch:" +msgstr "" + +#: build/NEWS:5336 +msgid "loongarch64-linux-gnusf" +msgstr "" + +#: build/NEWS:5337 +msgid "loongarch64-linux-gnuf32" +msgstr "" + +#: build/NEWS:5338 +msgid "loongarch64-linux-gnu" +msgstr "" + +#: build/NEWS:5340 +msgid "Patch by Zhang Na." +msgstr "" + +#: build/NEWS:5345 +msgid ":gh:`104623`: Update Windows installer to use SQLite 3.42.0." +msgstr "" + +#: build/NEWS:5347 +msgid "" +":gh:`82814`: Fix a potential ``[Errno 13] Permission denied`` when using :" +"func:`shutil.copystat` within Windows Subsystem for Linux (WSL) on a mounted " +"filesystem by adding ``errno.EACCES`` to the list of ignored errors within " +"the internal implementation." +msgstr "" + +#: build/NEWS:5352 +msgid "" +":gh:`103088`: Fix virtual environment :file:`activate` script having " +"incorrect line endings for Cygwin." +msgstr "" + +#: build/NEWS:5355 +msgid "" +":gh:`103088`: Fixes venvs not working in bash on Windows across different " +"disks" +msgstr "" + +#: build/NEWS:5358 +msgid ":gh:`102997`: Update Windows installer to use SQLite 3.41.2." +msgstr "" + +#: build/NEWS:5360 +msgid "" +":gh:`88013`: Fixed a bug where :exc:`TypeError` was raised when calling :" +"func:`ntpath.realpath` with a bytes parameter in some cases." +msgstr "" + +#: build/NEWS:5366 +msgid ":gh:`99834`: Update macOS installer to Tcl/Tk 8.6.13." +msgstr "" + +#: build/NEWS:5368 +msgid ":gh:`104623`: Update macOS installer to SQLite 3.42.0." +msgstr "" + +#: build/NEWS:5370 +msgid "" +":gh:`103545`: Add ``os.PRIO_DARWIN_THREAD``, ``os.PRIO_DARWIN_PROCESS``, " +"``os.PRIO_DARWIN_BG`` and ``os.PRIO_DARWIN_NONUI``. These can be used with " +"``os.setpriority`` to run the process at a lower priority and make use of " +"the efficiency cores on Apple Silicon systems." +msgstr "" + +#: build/NEWS:5376 +msgid "" +":gh:`104180`: Support reading SOCKS proxy configuration from macOS System " +"Configuration. Patch by Sam Schott." +msgstr "" + +#: build/NEWS:5379 +msgid "" +":gh:`60436`: update curses textbox to additionally handle backspace using " +"the ``curses.ascii.DEL`` key press." +msgstr "" + +#: build/NEWS:5382 +msgid ":gh:`102997`: Update macOS installer to SQLite 3.41.2." +msgstr "" + +#: build/NEWS:5387 +msgid ":gh:`104499`: Fix completions for Tk Aqua 8.7 (currently blank)." +msgstr "" + +#: build/NEWS:5389 +msgid "" +":gh:`104496`: About prints both tcl and tk versions if different (expected " +"someday)." +msgstr "" + +#: build/NEWS:5392 +msgid ":gh:`88496`: Fix IDLE test hang on macOS." +msgstr "" + +#: build/NEWS:5397 +msgid "" +":gh:`104389`: Argument Clinic C converters now accept the ``unused`` " +"keyword, for wrapping a parameter with :c:macro:`Py_UNUSED`. Patch by Erlend " +"E. Aasland." +msgstr "" + +#: build/NEWS:5404 +msgid "" +":gh:`101291`: Added unstable C API for extracting the value of \"compact\" " +"integers: :c:func:`PyUnstable_Long_IsCompact` and :c:func:" +"`PyUnstable_Long_CompactValue`." +msgstr "" + +#: build/NEWS:5408 +msgid "" +":gh:`104109`: We've added ``Py_NewInterpreterFromConfig()`` and " +"``PyInterpreterConfig`` to the public C-API (but not the stable ABI; not yet " +"at least). The new function may be used to create a new interpreter with " +"various features configured. The function was added to support PEP 684 (per-" +"interpreter GIL)." +msgstr "" + +#: build/NEWS:5414 +msgid "" +":gh:`103968`: :c:func:`PyType_FromSpec` and its variants now allow creating " +"classes whose metaclass overrides :c:member:`~PyTypeObject.tp_new`. The " +"``tp_new`` is ignored. This behavior is deprecated and will be disallowed in " +"3.14+. The new :c:func:`PyType_FromMetaclass` already disallows it." +msgstr "" + +#: build/NEWS:5420 +msgid "" +":gh:`103743`: Add :c:func:`PyUnstable_Object_GC_NewWithExtraData` function " +"that can be used to allocate additional memory after an object for data not " +"managed by Python." +msgstr "" + +#: build/NEWS:5424 +msgid "" +":gh:`103295`: Introduced :c:func:`PyUnstable_WritePerfMapEntry`, :c:func:" +"`PyUnstable_PerfMapState_Init` and :c:func:`PyUnstable_PerfMapState_Fini`. " +"These allow extension modules (JIT compilers in particular) to write to perf-" +"map files in a thread safe manner. The :doc:`../howto/perf_profiling` also " +"uses these APIs to write entries in the perf-map file." +msgstr "" + +#: build/NEWS:5431 +msgid "" +":gh:`103509`: Added C API for extending types whose instance memory layout " +"is opaque: :c:member:`PyType_Spec.basicsize` can now be zero or negative, :c:" +"func:`PyObject_GetTypeData` can be used to get subclass-specific data, and :" +"c:macro:`Py_TPFLAGS_ITEMS_AT_END` can be used to safely extend variable-size " +"objects. See :pep:`697` for details." +msgstr "" + +#: build/NEWS:5437 +msgid "" +":gh:`103091`: Add a new C-API function to eagerly assign a version tag to a " +"PyTypeObject: ``PyUnstable_Type_AssignVersionTag()``." +msgstr "" + +#: build/NEWS:5440 +msgid "" +":gh:`101408`: :c:macro:`PyObject_GC_Resize` should calculate preheader size " +"if needed. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:5443 +msgid "" +":gh:`98836`: Add support of more formatting options (left aligning, octals, " +"uppercase hexadecimals, :c:type:`intmax_t`, :c:type:`ptrdiff_t`, :c:type:" +"`wchar_t` C strings, variable width and precision) in :c:func:" +"`PyUnicode_FromFormat` and :c:func:`PyUnicode_FromFormatV`." +msgstr "" + +#: build/NEWS:5448 +msgid "" +":gh:`96803`: Add unstable C-API functions to get the code object, lasti and " +"line number from the internal ``_PyInterpreterFrame`` in the limited API. " +"The functions are:" +msgstr "" + +#: build/NEWS:5452 +msgid "" +"``PyCodeObject * PyUnstable_InterpreterFrame_GetCode(struct " +"_PyInterpreterFrame *frame)``" +msgstr "" + +#: build/NEWS:5453 +msgid "" +"``int PyUnstable_InterpreterFrame_GetLasti(struct _PyInterpreterFrame " +"*frame)``" +msgstr "" + +#: build/NEWS:5454 +msgid "" +"``int PyUnstable_InterpreterFrame_GetLine(struct _PyInterpreterFrame " +"*frame)``" +msgstr "" + +#: build/NEWS:5458 +msgid "Python 3.12.0 alpha 7" +msgstr "" + +#: build/NEWS:5460 +msgid "*Release date: 2023-04-04*" +msgstr "" + +#: build/NEWS:5465 +msgid "" +":gh:`102192`: Deprecated ``_PyErr_ChainExceptions`` in favour of " +"``_PyErr_ChainExceptions1``." +msgstr "" + +#: build/NEWS:5468 +msgid "" +":gh:`89987`: Reduce the number of inline :opcode:`CACHE` entries for :opcode:" +"`BINARY_SUBSCR`." +msgstr "" + +#: build/NEWS:5471 +msgid "" +":gh:`102859`: Removed :opcode:`!JUMP_IF_FALSE_OR_POP` and :opcode:`!" +"JUMP_IF_TRUE_OR_POP` instructions." +msgstr "" + +#: build/NEWS:5474 +msgid "" +":gh:`101975`: Fixed ``stacktop`` value on tracing entries to avoid " +"corruption on garbage collection." +msgstr "" + +#: build/NEWS:5477 +msgid "" +":gh:`102778`: Add :data:`sys.last_exc` and deprecate :data:`sys.last_type`, :" +"data:`sys.last_value` and :data:`sys.last_traceback`, which hold the same " +"information in its legacy form." +msgstr "" + +#: build/NEWS:5482 +msgid "" +":gh:`100982`: Replace all occurrences of ``COMPARE_AND_BRANCH`` with :opcode:" +"`COMPARE_OP`." +msgstr "" + +#: build/NEWS:5485 +msgid ":gh:`102701`: Fix overflow when creating very large dict." +msgstr "" + +#: build/NEWS:5487 +msgid "" +":gh:`102755`: Add :c:func:`PyErr_DisplayException` which takes just an " +"exception instance, to replace the legacy :c:func:`PyErr_Display` which " +"takes the ``(typ, exc, tb)`` triplet." +msgstr "" + +#: build/NEWS:5491 +msgid "" +":gh:`102594`: Add note to exception raised in ``PyErr_SetObject`` when " +"normalization fails." +msgstr "" + +#: build/NEWS:5494 +msgid "" +":gh:`90997`: Shrink the number of inline :opcode:`CACHE` entries used by :" +"opcode:`LOAD_GLOBAL`." +msgstr "" + +#: build/NEWS:5497 +msgid "" +":gh:`102491`: Improve import time of ``platform`` by removing IronPython " +"version parsing. The IronPython version parsing was not functional (see " +"https://github.com/IronLanguages/ironpython3/issues/1667)." +msgstr "" + +#: build/NEWS:5501 +msgid "" +":gh:`101291`: Rearrage bits in first field (after header) of PyLongObject. * " +"Bits 0 and 1: 1 - sign. I.e. 0 for positive numbers, 1 for zero and 2 for " +"negative numbers. * Bit 2 reserved (probably for the immortal bit) * Bits 3+ " +"the unsigned size." +msgstr "" + +#: build/NEWS:5506 +msgid "" +"This makes a few operations slightly more efficient, and will enable a more " +"compact and faster 2s-complement representation of most ints in future." +msgstr "" + +#: build/NEWS:5510 +msgid "" +":gh:`102397`: Fix segfault from race condition in signal handling during " +"garbage collection. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:5513 +msgid "" +":gh:`102406`: :mod:`codecs` encoding/decoding errors now get the context " +"information (which operation and which codecs) attached as :pep:`678` notes " +"instead of through chaining a new instance of the exception." +msgstr "" + +#: build/NEWS:5518 +msgid "" +":gh:`102281`: Fix potential nullptr dereference and use of uninitialized " +"memory in fileutils. Patch by Max Bachmann." +msgstr "" + +#: build/NEWS:5521 +msgid "" +":gh:`102300`: Reuse operands with refcount of 1 in float specializations of " +"BINARY_OP." +msgstr "" + +#: build/NEWS:5527 +msgid "" +":gh:`102255`: Improve build support for the Xbox. Patch by Max Bachmann." +msgstr "" + +#: build/NEWS:5530 +msgid "" +":gh:`102027`: Fix SSE2 and SSE3 detection in ``_blake2`` internal module. " +"Patch by Max Bachmann." +msgstr "" + +#: build/NEWS:5533 +msgid "" +":gh:`101865`: Deprecate ``co_lnotab`` in code objects, schedule it for " +"removal in Python 3.14" +msgstr "" + +#: build/NEWS:5536 +msgid "" +":issue:`1635741`: Adapt :mod:`!_pickle` to :pep:`687`. Patch by Mohamed " +"Koubaa and Erlend Aasland." +msgstr "" + +#: build/NEWS:5542 +msgid "" +":gh:`103085`: Pure python :func:`locale.getencoding` will not warn " +"deprecation." +msgstr "" + +#: build/NEWS:5545 +msgid "" +":gh:`103068`: It's no longer possible to register conditional breakpoints " +"in :class:`~pdb.Pdb` that raise :exc:`SyntaxError`. Patch by Tian Gao." +msgstr "" + +#: build/NEWS:5549 +msgid ":gh:`102549`: Don't ignore exceptions in member type creation." +msgstr "" + +#: build/NEWS:5551 +msgid "" +":gh:`103056`: Ensure final ``_generate_next_value_`` is a ``staticmethod``." +msgstr "" + +#: build/NEWS:5554 +msgid "" +":gh:`103046`: Display current line label correctly in :mod:`dis` when " +"``show_caches`` is False and ``lasti`` points to a CACHE entry." +msgstr "" + +#: build/NEWS:5557 +msgid "" +":gh:`102433`: :func:`isinstance` checks against :func:`runtime-checkable " +"protocols <typing.runtime_checkable>` now use :func:`inspect.getattr_static` " +"rather than :func:`hasattr` to lookup whether attributes exist. This means " +"that descriptors and :meth:`~object.__getattr__` methods are no longer " +"unexpectedly evaluated during ``isinstance()`` checks against runtime-" +"checkable protocols. However, it may also mean that some objects which used " +"to be considered instances of a runtime-checkable protocol may no longer be " +"considered instances of that protocol on Python 3.12+, and vice versa. Most " +"users are unlikely to be affected by this change. Patch by Alex Waygood." +msgstr "" + +#: build/NEWS:5568 +msgid "" +":gh:`103023`: It's no longer possible to register expressions to display in :" +"class:`~pdb.Pdb` that raise :exc:`SyntaxError`. Patch by Tian Gao." +msgstr "" + +#: build/NEWS:5572 +msgid "" +":gh:`102947`: Improve traceback when :func:`dataclasses.fields` is called on " +"a non-dataclass. Patch by Alex Waygood" +msgstr "" + +#: build/NEWS:5575 +msgid "" +":gh:`102780`: The :class:`asyncio.Timeout` context manager now works " +"reliably even when performing cleanup due to task cancellation. Previously " +"it could raise a :exc:`~asyncio.CancelledError` instead of an :exc:`~asyncio." +"TimeoutError` in such cases." +msgstr "" + +#: build/NEWS:5580 +msgid "" +":gh:`102871`: Remove support for obsolete browsers from :mod:`webbrowser`. " +"Removed browsers include Grail, Mosaic, Netscape, Galeon, Skipstone, Iceape, " +"Firebird, and Firefox versions 35 and below." +msgstr "" + +#: build/NEWS:5584 +msgid "" +":gh:`102839`: Improve performance of :func:`math.log` arguments handling by " +"removing the argument clinic." +msgstr "" + +#: build/NEWS:5587 +msgid "" +":gh:`102828`: Add the ``onexc`` arg to :func:`shutil.rmtree`, which is like " +"``onerror`` but expects an exception instance rather than an exc_info tuple. " +"Deprecate ``onerror``." +msgstr "" + +#: build/NEWS:5591 +msgid "" +":gh:`88965`: typing: Fix a bug relating to substitution in custom classes " +"generic over a :class:`~typing.ParamSpec`. Previously, if the ``ParamSpec`` " +"was substituted with a parameters list that itself contained a :class:" +"`~typing.TypeVar`, the ``TypeVar`` in the parameters list could not be " +"subsequently substituted. This is now fixed." +msgstr "" + +#: build/NEWS:5597 +msgid "Patch by Nikita Sobolev." +msgstr "" + +#: build/NEWS:5599 +msgid "" +":gh:`76846`: Fix issue where ``__new__()`` and ``__init__()`` methods of :" +"class:`pathlib.PurePath` and :class:`~pathlib.Path` subclasses were not " +"called in some circumstances." +msgstr "" + +#: build/NEWS:5603 +msgid "" +":gh:`78530`: :func:`asyncio.wait` now accepts generators yielding tasks. " +"Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:5606 +msgid "" +":gh:`102748`: :func:`asyncio.iscoroutine` now returns ``False`` for " +"generators as :mod:`asyncio` does not support legacy generator-based " +"coroutines. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:5610 +msgid "" +":gh:`102670`: Optimized fmean(), correlation(), covariance(), and " +"linear_regression() using the new math.sumprod() function." +msgstr "" + +#: build/NEWS:5613 +msgid "" +":gh:`102615`: Typing: Improve the ``repr`` of generic aliases for classes " +"generic over a :class:`~typing.ParamSpec`. (Use square brackets to represent " +"a parameter list.)" +msgstr "" + +#: build/NEWS:5617 +msgid "" +":gh:`100112`: :meth:`asyncio.Task.get_coro` now always returns a coroutine " +"when wrapping an awaitable object. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:5620 +msgid "" +":gh:`102578`: Speed up setting or deleting mutable attributes on non-" +"dataclass subclasses of frozen dataclasses. Due to the implementation of " +"``__setattr__`` and ``__delattr__`` for frozen dataclasses, this previously " +"had a time complexity of *O*\\ (*n*). It now has a time complexity of *O*\\ " +"(1)." +msgstr "" + +#: build/NEWS:5626 +msgid "" +":gh:`102519`: Add :func:`os.listdrives`, :func:`os.listvolumes` and :func:" +"`os.listmounts` functions on Windows for enumerating drives, volumes and " +"mount points" +msgstr "" + +#: build/NEWS:5630 +msgid "" +":gh:`74468`: Attribute name of the extracted :mod:`tarfile` file object now " +"holds filename of itself rather than of the archive it is contained in. " +"Patch by Oleg Iarygin." +msgstr "" + +#: build/NEWS:5634 +msgid "" +":gh:`102378`: Private helper method ``inspect." +"_signature_strip_non_python_syntax`` will no longer strip ``/`` from the " +"input string." +msgstr "" + +#: build/NEWS:5638 +msgid "" +":gh:`79940`: Add :func:`inspect.getasyncgenstate` and :func:`inspect." +"getasyncgenlocals`. Patch by Thomas Krennwallner." +msgstr "" + +#: build/NEWS:5641 +msgid "" +":gh:`102103`: Add ``module`` argument to :func:`dataclasses.make_dataclass` " +"and make classes produced by it pickleable." +msgstr "" + +#: build/NEWS:5645 +msgid "" +":gh:`102069`: Fix ``__weakref__`` descriptor generation for custom " +"dataclasses." +msgstr "" + +#: build/NEWS:5648 +msgid "" +":gh:`102038`: Skip a ``stat`` in :mod:`site` if we have already found a " +"``pyvenv.cfg``" +msgstr "" + +#: build/NEWS:5651 +msgid "" +":gh:`98886`: Fix issues when defining dataclasses that have fields with " +"specific underscore names that aren't clearly reserved by :mod:`dataclasses`." +msgstr "" + +#: build/NEWS:5655 +msgid "" +":gh:`101673`: Fix a :mod:`pdb` bug where ``ll`` clears the changes to local " +"variables." +msgstr "" + +#: build/NEWS:5658 +msgid ":gh:`101313`: Added -h and --help arguments to the webbrowser CLI" +msgstr "" + +#: build/NEWS:5660 +msgid "" +":gh:`100372`: :meth:`ssl.SSLContext.load_verify_locations` no longer " +"incorrectly accepts some cases of trailing data when parsing DER." +msgstr "" + +#: build/NEWS:5663 +msgid "" +":gh:`89727`: Fix pathlib.Path.walk RecursionError on deep directory trees by " +"rewriting it using iteration instead of recursion." +msgstr "" + +#: build/NEWS:5666 +msgid "" +":gh:`100131`: Added an optional ``delete`` keyword argument to :class:" +"`tempfile.TemporaryDirectory`." +msgstr "" + +#: build/NEWS:5669 +msgid "" +":gh:`48330`: Added ``--durations`` command line option, showing the N " +"slowest test cases. :class:`unittest.TextTestRunner` and :class:`unittest." +"TextTestResult` constructors accept a new *durations* keyword argument. " +"Subclasses should take this into account or accept ``**kwargs``. Added :meth:" +"`unittest.TestResult.addDuration` method and :attr:`unittest.TestResult." +"collectedDurations` attribute." +msgstr "" + +#: build/NEWS:5676 +msgid "(Contributed by Giampaolo Rodola)" +msgstr "" + +#: build/NEWS:5678 +msgid "" +":gh:`98169`: Fix :func:`dataclasses.astuple` crash when :class:`collections." +"defaultdict` is present in the attributes." +msgstr "" + +#: build/NEWS:5681 +msgid "" +":gh:`96931`: Fix incorrect results from :meth:`ssl.SSLSocket.shared_ciphers`" +msgstr "" + +#: build/NEWS:5684 +msgid "" +":gh:`95495`: When built against OpenSSL 3.0, the :mod:`ssl` module had a bug " +"where it reported unauthenticated EOFs (i.e. without close_notify) as a " +"clean TLS-level EOF. It now raises :exc:`~ssl.SSLEOFError`, matching the " +"behavior in previous versions of OpenSSL. The :attr:`~ssl.SSLContext." +"options` attribute on :class:`~ssl.SSLContext` also no longer includes :" +"const:`~ssl.OP_IGNORE_UNEXPECTED_EOF` by default. This option may be set to " +"specify the previous OpenSSL 3.0 behavior." +msgstr "" + +#: build/NEWS:5692 +msgid "" +":gh:`94684`: Now :func:`uuid.uuid3` and :func:`uuid.uuid5` functions " +"support :class:`bytes` objects as their *name* argument." +msgstr "" + +#: build/NEWS:5695 +msgid "" +":gh:`94440`: Fix a :mod:`concurrent.futures.process` bug where " +"``ProcessPoolExecutor`` shutdown could hang after a future has been quickly " +"submitted and canceled." +msgstr "" + +#: build/NEWS:5699 +msgid "" +":gh:`72346`: Added deprecation warning to *isdst* parameter of :func:`email." +"utils.localtime`." +msgstr "" + +#: build/NEWS:5702 +msgid "" +":issue:`36305`: Fix handling of Windows filenames that resemble drives, such " +"as ``./a:b``, in :mod:`pathlib`." +msgstr "" + +#: build/NEWS:5708 +msgid "" +":gh:`103112`: Add docstring to :meth:`http.client.HTTPResponse.read` to fix " +"``pydoc`` output." +msgstr "" + +#: build/NEWS:5714 +msgid ":gh:`102980`: Improve test coverage on :mod:`pdb`." +msgstr "" + +#: build/NEWS:5716 +msgid "" +":gh:`102537`: Adjust the error handling strategy in ``test_zoneinfo." +"TzPathTest.python_tzpath_context``. Patch by Paul Ganssle." +msgstr "" + +#: build/NEWS:5719 +msgid ":gh:`101377`: Improved test_locale_calendar_formatweekday of calendar." +msgstr "" + +#: build/NEWS:5724 +msgid "" +":gh:`102973`: Add a dev container (along with accompanying Dockerfile) for " +"development purposes." +msgstr "" + +#: build/NEWS:5727 +msgid ":gh:`102711`: Fix ``-Wstrict-prototypes`` compiler warnings." +msgstr "" + +#: build/NEWS:5732 +msgid "" +":gh:`102690`: Update :mod:`webbrowser` to fall back to Microsoft Edge " +"instead of Internet Explorer." +msgstr "" + +#: build/NEWS:5735 +msgid "" +":gh:`99726`: Improves correctness of stat results for Windows, and uses " +"faster API when available" +msgstr "" + +#: build/NEWS:5741 +msgid ":gh:`102809`: ``Misc/gdbinit`` was removed." +msgstr "" + +#: build/NEWS:5746 +msgid "" +":gh:`102013`: Add a new (unstable) C-API function for iterating over GC'able " +"objects using a callback: ``PyUnstable_VisitObjects``." +msgstr "" + +#: build/NEWS:5751 +msgid "Python 3.12.0 alpha 6" +msgstr "" + +#: build/NEWS:5753 +msgid "*Release date: 2023-03-07*" +msgstr "" + +#: build/NEWS:5758 +msgid "" +":gh:`99108`: Replace builtin hashlib implementations of MD5 and SHA1 with " +"verified ones from the HACL* project." +msgstr "" + +#: build/NEWS:5761 +msgid "" +":gh:`101727`: Updated the OpenSSL version used in Windows and macOS binary " +"release builds to 1.1.1t to address :cve:`2023-0286`, :cve:`2022-4303`, and :" +"cve:`2022-4303` per `the OpenSSL 2023-02-07 security advisory <https://" +"openssl-library.org/news/secadv/20230207.txt>`_." +msgstr "" + +#: build/NEWS:5767 +msgid "" +":gh:`99108`: Replace the builtin :mod:`hashlib` implementations of SHA2-384 " +"and SHA2-512 originally from LibTomCrypt with formally verified, side-" +"channel resistant code from the `HACL* <https://github.com/hacl-star/hacl-" +"star/>`_ project. The builtins remain a fallback only used when OpenSSL does " +"not provide them." +msgstr "" + +#: build/NEWS:5773 +msgid "" +":gh:`101283`: :class:`subprocess.Popen` now uses a safer approach to find " +"``cmd.exe`` when launching with ``shell=True``. Patch by Eryk Sun, based on " +"a patch by Oleg Iarygin." +msgstr "" + +#: build/NEWS:5780 +msgid "" +":gh:`102493`: Fix regression in semantics of normalisation in " +"``PyErr_SetObject``." +msgstr "" + +#: build/NEWS:5783 +msgid "" +":gh:`102416`: Do not memoize incorrectly automatically generated loop rules " +"in the parser. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:5786 +msgid "" +":gh:`102356`: Fix a bug that caused a crash when deallocating deeply nested " +"filter objects. Patch by Marta Gómez Macías." +msgstr "" + +#: build/NEWS:5789 +msgid "" +":gh:`102336`: Cleanup Windows 7 specific special handling. Patch by Max " +"Bachmann." +msgstr "" + +#: build/NEWS:5792 +msgid "" +":gh:`102250`: Fixed a segfault occurring when the interpreter calls a " +"``__bool__`` method that raises." +msgstr "" + +#: build/NEWS:5795 +msgid "" +":gh:`102126`: Fix deadlock at shutdown when clearing thread states if any " +"finalizer tries to acquire the runtime head lock. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:5799 +msgid "" +":gh:`102027`: Use ``GetCurrentProcessId`` on Windows when ``getpid`` is " +"unavailable. Patch by Max Bachmann." +msgstr "" + +#: build/NEWS:5802 +msgid "" +":gh:`102056`: Fix error handling bugs in interpreter's exception printing " +"code, which could cause a crash on infinite recursion." +msgstr "" + +#: build/NEWS:5805 +msgid "" +":gh:`100982`: Restrict the scope of the :opcode:`FOR_ITER_RANGE` instruction " +"to the scope of the original :opcode:`FOR_ITER` instruction, to allow " +"instrumentation." +msgstr "" + +#: build/NEWS:5809 +msgid "" +":gh:`101967`: Fix possible segfault in ``positional_only_passed_as_keyword`` " +"function, when new list created." +msgstr "" + +#: build/NEWS:5812 +msgid "" +":gh:`101952`: Fix possible segfault in ``BUILD_SET`` opcode, when new set " +"created." +msgstr "" + +#: build/NEWS:5815 +msgid "" +":gh:`74895`: :mod:`socket.getaddrinfo` no longer raises :class:" +"`OverflowError` for :class:`int` **port** values outside of the C long " +"range. Out of range values are left up to the underlying string based C " +"library API to report. A :class:`socket.gaierror` ``SAI_SERVICE`` may occur " +"instead, or no error at all as not all platform C libraries generate an " +"error." +msgstr "" + +#: build/NEWS:5822 +msgid "" +":gh:`101799`: Add :opcode:`CALL_INTRINSIC_2` and use it instead of :opcode:`!" +"PREP_RERAISE_STAR`." +msgstr "" + +#: build/NEWS:5825 +msgid "" +":gh:`101857`: Fix xattr support detection on Linux systems by widening the " +"check to linux, not just glibc. This fixes support for musl." +msgstr "" + +#: build/NEWS:5828 +msgid "" +":gh:`84783`: Make the slice object hashable. Patch by Will Bradshaw and " +"Furkan Onder." +msgstr "" + +#: build/NEWS:5831 +msgid "" +":gh:`87849`: Change the ``SEND`` instruction to leave the receiver on the " +"stack. This allows the specialized form of ``SEND`` to skip the chain of C " +"calls and jump directly to the ``RESUME`` in the generator or coroutine." +msgstr "" + +#: build/NEWS:5836 +msgid "" +":gh:`101765`: Fix SystemError / segmentation fault in iter ``__reduce__`` " +"when internal access of ``builtins.__dict__`` keys mutates the iter object." +msgstr "" + +#: build/NEWS:5840 +msgid "" +":gh:`101430`: Update :mod:`tracemalloc` to handle presize of object " +"properly. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:5843 +msgid "" +":gh:`101696`: Invalidate type version tag in ``_PyStaticType_Dealloc`` for " +"static types, avoiding bug where a false cache hit could crash the " +"interpreter. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:5847 +msgid ":gh:`101632`: Adds a new :opcode:`RETURN_CONST` instruction." +msgstr "" + +#: build/NEWS:5849 +msgid "" +":gh:`100719`: Remove gi_code field from generator (and coroutine and async " +"generator) objects as it is redundant. The frame already includes a " +"reference to the code object." +msgstr "" + +#: build/NEWS:5853 +msgid "" +":gh:`98627`: When an interpreter is configured to check (and only then), " +"importing an extension module will now fail when the extension does not " +"support multiple interpreters (i.e. doesn't implement PEP 489 multi-phase " +"init). This does not apply to the main interpreter, nor to subinterpreters " +"created with ``Py_NewInterpreter()``." +msgstr "" + +#: build/NEWS:5862 +msgid "" +":gh:`102302`: Micro-optimise hashing of :class:`inspect.Parameter`, reducing " +"the time it takes to hash an instance by around 40%." +msgstr "" + +#: build/NEWS:5865 +msgid "" +":gh:`101979`: Fix a bug where parentheses in the ``metavar`` argument to :" +"meth:`argparse.ArgumentParser.add_argument` were dropped. Patch by Yeojin " +"Kim." +msgstr "" + +#: build/NEWS:5869 +msgid "" +":gh:`91038`: :meth:`platform.platform` now has boolean default arguments." +msgstr "" + +#: build/NEWS:5872 +msgid "" +":gh:`81652`: Add :const:`mmap.MAP_ALIGNED_SUPER` FreeBSD and :const:`mmap." +"MAP_CONCEAL` OpenBSD constants to :mod:`mmap`. Patch by Yeojin Kim." +msgstr "" + +#: build/NEWS:5876 +msgid ":gh:`102179`: Fix :func:`os.dup2` error message for negative fds." +msgstr "" + +#: build/NEWS:5878 +msgid "" +":gh:`101961`: For the binary mode, :func:`fileinput.hookcompressed` doesn't " +"set the ``encoding`` value even if the value is ``None``. Patch by Gihwan " +"Kim." +msgstr "" + +#: build/NEWS:5882 +msgid "" +":gh:`101936`: The default value of ``fp`` becomes :class:`io.BytesIO` if :" +"exc:`~urllib.error.HTTPError` is initialized without a designated ``fp`` " +"parameter. Patch by Long Vo." +msgstr "" + +#: build/NEWS:5886 +msgid "" +":gh:`101566`: In zipfile, sync Path with `zipp 3.14 <https://zipp." +"readthedocs.io/en/latest/history.html#v3-14-0>`_, including fix for " +"extractall on the underlying zipfile after being wrapped in ``Path``." +msgstr "" + +#: build/NEWS:5891 +msgid "" +":gh:`97930`: Apply changes from `importlib_resources 5.12 <https://importlib-" +"resources.readthedocs.io/en/latest/history.html#v5-12-0>`_, including fix " +"for ``MultiplexedPath`` to support directories in multiple namespaces " +"(python/importlib_resources#265)." +msgstr "" + +#: build/NEWS:5896 +msgid ":gh:`101997`: Upgrade pip wheel bundled with ensurepip (pip 23.0.1)" +msgstr "" + +#: build/NEWS:5898 +msgid "" +":gh:`99108`: The built-in extension modules for :mod:`hashlib` SHA2 " +"algorithms, used when OpenSSL does not provide them, now live in a single " +"internal ``_sha2`` module instead of separate ``_sha256`` and ``_sha512`` " +"modules." +msgstr "" + +#: build/NEWS:5903 +msgid "" +":gh:`101892`: Callable iterators no longer raise :class:`SystemError` when " +"the callable object exhausts the iterator but forgets to either return a " +"sentinel value or raise :class:`StopIteration`." +msgstr "" + +#: build/NEWS:5907 +msgid "" +":gh:`87634`: Remove locking behavior from :func:`functools.cached_property`." +msgstr "" + +#: build/NEWS:5910 +msgid "" +":gh:`97786`: Fix potential undefined behaviour in corner cases of floating-" +"point-to-time conversions." +msgstr "" + +#: build/NEWS:5913 +msgid "" +":gh:`101517`: Fixed bug where :mod:`bdb` looks up the source line with :mod:" +"`linecache` with a ``lineno=None``, which causes it to fail with an " +"unhandled exception." +msgstr "" + +#: build/NEWS:5917 +msgid "" +":gh:`101773`: Optimize :class:`fractions.Fraction` for small components. The " +"private argument ``_normalize`` of the :class:`fractions.Fraction` " +"constructor has been removed." +msgstr "" + +#: build/NEWS:5921 +msgid "" +":gh:`101693`: In :meth:`sqlite3.Cursor.execute`, :exc:`DeprecationWarning` " +"is now emitted when :ref:`named placeholders <sqlite3-placeholders>` are " +"used together with parameters supplied as a :term:`sequence` instead of as " +"a :class:`dict`. Starting from Python 3.14, using named placeholders with " +"parameters supplied as a sequence will raise a :exc:`~sqlite3." +"ProgrammingError`. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:5928 +msgid "" +":gh:`101446`: Change repr of :class:`collections.OrderedDict` to use regular " +"dictionary formatting instead of pairs of keys and values." +msgstr "" + +#: build/NEWS:5931 +msgid "" +":gh:`101362`: Speed up :class:`pathlib.PurePath` construction by handling " +"arguments more uniformly. When a :class:`pathlib.Path` argument is supplied, " +"we use its string representation rather than joining its parts with :func:" +"`os.path.join`." +msgstr "" + +#: build/NEWS:5936 +msgid "" +":gh:`101362`: Speed up :class:`pathlib.PurePath` construction by calling :" +"func:`os.path.join` only when two or more arguments are given." +msgstr "" + +#: build/NEWS:5939 +msgid "" +":gh:`101362`: Speed up :class:`pathlib.Path` construction by running the " +"path flavour compatibility check only when pathlib is imported." +msgstr "" + +#: build/NEWS:5942 +msgid "" +":gh:`85984`: Refactored the implementation of :func:`pty.fork` to use :func:" +"`os.login_tty`." +msgstr "" + +#: build/NEWS:5945 +msgid "" +"A :exc:`DeprecationWarning` is now raised by ``pty.master_open()`` and ``pty." +"slave_open()``. They were undocumented and deprecated long long ago in the " +"docstring in favor of :func:`pty.openpty`." +msgstr "" + +#: build/NEWS:5949 +msgid "" +":gh:`101561`: Add a new decorator :func:`typing.override`. See :pep:`698` " +"for details. Patch by Steven Troxler." +msgstr "" + +#: build/NEWS:5952 +msgid ":gh:`63301`: Set exit code when :mod:`tabnanny` CLI exits on error." +msgstr "" + +#: build/NEWS:5954 +msgid "" +":gh:`101360`: Fix anchor matching in :meth:`pathlib.PureWindowsPath.match`. " +"Path and pattern anchors are now matched with :mod:`fnmatch`, just like " +"other path parts. This allows patterns such as ``\"*:/Users/*\"`` to be " +"matched." +msgstr "" + +#: build/NEWS:5959 +msgid "" +":gh:`101277`: Remove global state from :mod:`itertools` module (:pep:`687`). " +"Patches by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:5962 +msgid "" +":gh:`100809`: Fix handling of drive-relative paths (like 'C:' and 'C:foo') " +"in :meth:`pathlib.Path.absolute`. This method now uses the OS API to " +"retrieve the correct current working directory for the drive." +msgstr "" + +#: build/NEWS:5966 +msgid "" +":gh:`99138`: Apply :pep:`687` to :mod:`zoneinfo`. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:5969 +msgid "" +":gh:`96764`: :func:`asyncio.wait_for` now uses :func:`asyncio.timeout` as " +"its underlying implementation. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:5972 +msgid "" +":gh:`88233`: Correctly preserve \"extra\" fields in ``zipfile`` regardless " +"of their ordering relative to a zip64 \"extra.\"" +msgstr "" + +#: build/NEWS:5975 +msgid "" +":issue:`23224`: Fix segfaults when creating :class:`lzma.LZMADecompressor` " +"and :class:`bz2.BZ2Decompressor` objects without calling ``__init__()``, and " +"fix leakage of locks and internal buffers when calling the ``__init__()`` " +"methods of :class:`lzma.LZMADecompressor`, :class:`lzma.LZMACompressor`, :" +"class:`bz2.BZ2Compressor`, and :class:`bz2.BZ2Decompressor` objects multiple " +"times." +msgstr "" + +#: build/NEWS:5985 +msgid "" +":gh:`85417`: Update :mod:`cmath` documentation to clarify behaviour on " +"branch cuts." +msgstr "" + +#: build/NEWS:5988 +msgid "" +":gh:`97725`: Fix :meth:`asyncio.Task.print_stack` description for " +"``file=None``. Patch by Oleg Iarygin." +msgstr "" + +#: build/NEWS:5994 +msgid "" +":gh:`102019`: Fix deadlock on shutdown if ``test_current_{exception,frames}" +"`` fails. Patch by Jacob Bower." +msgstr "" + +#: build/NEWS:5997 +msgid "" +":gh:`85984`: Utilize new \"winsize\" functions from termios in pty tests." +msgstr "" + +#: build/NEWS:5999 +msgid "" +":gh:`89792`: ``test_tools`` now copies up to 10x less source data to a " +"temporary directory during the ``freeze`` test by ignoring git metadata and " +"other artifacts. It also limits its python build parallelism based on os." +"cpu_count instead of hard coding it as 8 cores." +msgstr "" + +#: build/NEWS:6007 +msgid "" +":gh:`99942`: On Android, in a static build, python-config in embed mode no " +"longer incorrectly reports a library to link to." +msgstr "" + +#: build/NEWS:6010 +msgid "" +":gh:`99942`: On Android, python.pc now correctly reports the library to link " +"to, the same as python-config.sh." +msgstr "" + +#: build/NEWS:6013 +msgid "" +":gh:`100221`: Fix creating install directories in ``make sharedinstall`` if " +"they exist outside ``DESTDIR`` already." +msgstr "" + +#: build/NEWS:6016 +msgid "" +":gh:`96821`: Explicitly mark C extension modules that need defined signed " +"integer overflow, and add a configure option :option:`--with-strict-" +"overflow`. Patch by Matthias Görgens and Shantanu Jain." +msgstr "" + +#: build/NEWS:6024 +msgid "" +":gh:`102344`: Implement ``winreg.QueryValue`` using ``QueryValueEx`` and " +"``winreg.SetValue`` using ``SetValueEx``. Patch by Max Bachmann." +msgstr "" + +#: build/NEWS:6027 +msgid "" +":gh:`101881`: Handle read and write operations on non-blocking pipes " +"properly on Windows." +msgstr "" + +#: build/NEWS:6030 +msgid "" +":gh:`101881`: Add support for the os.get_blocking() and os.set_blocking() " +"functions on Windows." +msgstr "" + +#: build/NEWS:6033 +msgid "" +":gh:`101849`: Ensures installer will correctly upgrade existing ``py.exe`` " +"launcher installs." +msgstr "" + +#: build/NEWS:6036 +msgid "" +":gh:`101763`: Updates copy of libffi bundled with Windows installs to 3.4.4." +msgstr "" + +#: build/NEWS:6039 +msgid ":gh:`101759`: Update Windows installer to SQLite 3.40.1." +msgstr "" + +#: build/NEWS:6041 +msgid "" +":gh:`101614`: Correctly handle extensions built against debug binaries that " +"reference ``python3_d.dll``." +msgstr "" + +#: build/NEWS:6044 +msgid "" +":gh:`101196`: The functions ``os.path.isdir``, ``os.path.isfile``, ``os.path." +"islink`` and ``os.path.exists`` are now 13% to 28% faster on Windows, by " +"making fewer Win32 API calls." +msgstr "" + +#: build/NEWS:6051 +msgid ":gh:`101759`: Update macOS installer to SQLite 3.40.1." +msgstr "" + +#: build/NEWS:6056 +msgid "" +":gh:`101907`: Removes use of non-standard C++ extension in public header " +"files." +msgstr "" + +#: build/NEWS:6059 +msgid "" +":gh:`99293`: Document that the Py_TPFLAGS_VALID_VERSION_TAG is an internal " +"feature, should not be used, and will be removed." +msgstr "" + +#: build/NEWS:6062 +msgid "" +":gh:`101578`: Add :c:func:`PyErr_GetRaisedException` and :c:func:" +"`PyErr_SetRaisedException` for saving and restoring the current exception. " +"These functions return and accept a single exception object, rather than the " +"triple arguments of the now-deprecated :c:func:`PyErr_Fetch` and :c:func:" +"`PyErr_Restore`. This is less error prone and a bit more efficient." +msgstr "" + +#: build/NEWS:6069 +msgid "" +"Add :c:func:`PyException_GetArgs` and :c:func:`PyException_SetArgs` as " +"convenience functions for retrieving and modifying the :attr:`~BaseException." +"args` passed to the exception's constructor." +msgstr "" + +#: build/NEWS:6073 +msgid "" +":gh:`91744`: Introduced the *Unstable C API tier*, marking APi that is " +"allowed to change in minor releases without a deprecation period. See :pep:" +"`689` for details." +msgstr "" + +#: build/NEWS:6079 +msgid "Python 3.12.0 alpha 5" +msgstr "" + +#: build/NEWS:6081 +msgid "*Release date: 2023-02-07*" +msgstr "" + +#: build/NEWS:6086 +msgid "" +":gh:`99108`: Replace the builtin :mod:`hashlib` implementations of SHA2-224 " +"and SHA2-256 originally from LibTomCrypt with formally verified, side-" +"channel resistant code from the `HACL* <https://github.com/hacl-star/hacl-" +"star/>`_ project. The builtins remain a fallback only used when OpenSSL does " +"not provide them." +msgstr "" + +#: build/NEWS:6095 +msgid "" +":gh:`92173`: Fix the ``defs`` and ``kwdefs`` arguments to :c:func:" +"`PyEval_EvalCodeEx` and a reference leak in that function." +msgstr "" + +#: build/NEWS:6098 +msgid "" +":gh:`59956`: The GILState API is now partially compatible with " +"subinterpreters. Previously, ``PyThreadState_GET()`` and " +"``PyGILState_GetThisThreadState()`` would get out of sync, causing " +"inconsistent behavior and crashes." +msgstr "" + +#: build/NEWS:6103 +msgid "" +":gh:`101400`: Fix wrong lineno in exception message on :keyword:`continue` " +"or :keyword:`break` which are not in a loop. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:6107 +msgid "" +":gh:`101372`: Fix :func:`~unicodedata.is_normalized` to properly handle the " +"UCD 3.2.0 cases. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:6110 +msgid "" +":gh:`101266`: Fix :func:`sys.getsizeof` reporting for :class:`int` " +"subclasses." +msgstr "" + +#: build/NEWS:6113 +msgid "" +":gh:`101291`: Refactor the ``PyLongObject`` struct into a normal Python " +"object header and a ``PyLongValue`` struct." +msgstr "" + +#: build/NEWS:6116 +msgid "" +":gh:`101046`: Fix a possible memory leak in the parser when raising :exc:" +"`MemoryError`. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:6119 +msgid "" +":gh:`101037`: Fix potential memory underallocation issue for instances of :" +"class:`int` subclasses with value zero." +msgstr "" + +#: build/NEWS:6122 +msgid "" +":gh:`100762`: Record the (virtual) exception block depth in the oparg of :" +"opcode:`YIELD_VALUE`. Use this to avoid the expensive ``throw()`` when " +"closing generators (and coroutines) that can be closed trivially." +msgstr "" + +#: build/NEWS:6126 +msgid "" +":gh:`100982`: Adds a new :opcode:`COMPARE_AND_BRANCH` instruction. This is a " +"bit more efficient when performing a comparison immediately followed by a " +"branch, and restores the design intent of PEP 659 that specializations are " +"local to a single instruction." +msgstr "" + +#: build/NEWS:6131 +msgid "" +":gh:`100942`: Fixed segfault in property.getter/setter/deleter that occurred " +"when a property subclass overrode the ``__new__`` method to return a non-" +"property instance." +msgstr "" + +#: build/NEWS:6135 +msgid "" +":gh:`100923`: Remove the ``mask`` cache entry for the :opcode:`COMPARE_OP` " +"instruction and embed the mask into the oparg." +msgstr "" + +#: build/NEWS:6138 +msgid "" +":gh:`100892`: Fix race while iterating over thread states in clearing :class:" +"`threading.local`. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:6141 +msgid "" +":gh:`91351`: Fix a case where re-entrant imports could corrupt the import " +"deadlock detection code and cause a :exc:`KeyError` to be raised out of :mod:" +"`importlib/_bootstrap`. In addition to the straightforward cases, this " +"could also happen when garbage collection leads to a warning being emitted " +"-- as happens when it collects an open socket or file)" +msgstr "" + +#: build/NEWS:6147 +msgid "" +":gh:`100726`: Optimize construction of ``range`` object for medium size " +"integers." +msgstr "" + +#: build/NEWS:6150 +msgid "" +":gh:`100712`: Added option to build cpython with specialization disabled, by " +"setting ``ENABLE_SPECIALIZATION=False`` in :mod:`opcode`, followed by ``make " +"regen-all``." +msgstr "" + +#: build/NEWS:6154 +msgid "" +":issue:`32780`: Inter-field padding is now inserted into the PEP3118 format " +"strings obtained from :class:`ctypes.Structure` objects, reflecting their " +"true representation in memory." +msgstr "" + +#: build/NEWS:6161 +msgid ":gh:`101541`: [Enum] - fix psuedo-flag creation" +msgstr "" + +#: build/NEWS:6163 +msgid ":gh:`101570`: Upgrade pip wheel bundled with ensurepip (pip 23.0)" +msgstr "" + +#: build/NEWS:6165 +msgid "" +":gh:`101323`: Fix a bug where errors where not thrown by zlib." +"_ZlibDecompressor if encountered during decompressing." +msgstr "" + +#: build/NEWS:6168 +msgid "" +":gh:`101317`: Add *ssl_shutdown_timeout* parameter for :meth:`asyncio." +"StreamWriter.start_tls`." +msgstr "" + +#: build/NEWS:6171 +msgid "" +":gh:`101326`: Fix regression when passing ``None`` as second or third " +"argument to ``FutureIter.throw``." +msgstr "" + +#: build/NEWS:6174 +msgid "" +":gh:`92123`: Adapt the ``_elementtree`` extension module to multi-phase init " +"(:pep:`489`). Patches by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:6177 +msgid "" +":gh:`100795`: Avoid potential unexpected ``freeaddrinfo`` call (double free) " +"in :mod:`socket` when when a libc ``getaddrinfo()`` implementation leaves " +"garbage in an output pointer when returning an error. Original patch by " +"Sergey G. Brester." +msgstr "" + +#: build/NEWS:6182 +msgid "" +":gh:`101143`: Remove unused references to :class:`~asyncio.TimerHandle` in " +"``asyncio.base_events.BaseEventLoop._add_callback``." +msgstr "" + +#: build/NEWS:6185 +msgid "" +":gh:`101144`: Make :func:`zipfile.Path.open` and :func:`zipfile.Path." +"read_text` also accept ``encoding`` as a positional argument. This was the " +"behavior in Python 3.9 and earlier. 3.10 introduced a regression where " +"supplying it as a positional argument would lead to a :exc:`TypeError`." +msgstr "" + +#: build/NEWS:6191 +msgid "" +":gh:`94518`: Group-related variables of ``_posixsubprocess`` module are " +"renamed to stress that supplimentary group affinity is added to a fork, not " +"replace the inherited ones. Patch by Oleg Iarygin." +msgstr "" + +#: build/NEWS:6195 +msgid "" +":gh:`101015`: Fix :func:`typing.get_type_hints` on ``'*tuple[...]'`` and " +"``*tuple[...]``. It must not drop the ``Unpack`` part." +msgstr "" + +#: build/NEWS:6198 +msgid "" +":gh:`101000`: Add :func:`os.path.splitroot`, which splits a path into a 3-" +"item tuple ``(drive, root, tail)``. This new function is used by :mod:" +"`pathlib` to improve the performance of path construction by up to a third." +msgstr "" + +#: build/NEWS:6203 +msgid "" +":gh:`100573`: Fix a Windows :mod:`asyncio` bug with named pipes where a " +"client doing ``os.stat()`` on the pipe would cause an error in the server " +"that disabled serving future requests." +msgstr "" + +#: build/NEWS:6207 +msgid "" +":gh:`39615`: :func:`warnings.warn` now has the ability to skip stack frames " +"based on code filename prefix rather than only a numeric ``stacklevel`` via " +"the new ``skip_file_prefixes`` keyword argument." +msgstr "" + +#: build/NEWS:6211 +msgid ":gh:`100750`: pass encoding kwarg to subprocess in platform" +msgstr "" + +#: build/NEWS:6213 +msgid "" +":gh:`100160`: Emit a deprecation warning in :meth:`asyncio." +"DefaultEventLoopPolicy.get_event_loop` if there is no current event loop set " +"and it decides to create one." +msgstr "" + +#: build/NEWS:6217 +msgid "" +":gh:`96290`: Fix handling of partial and invalid UNC drives in ``ntpath." +"splitdrive()``, and in ``ntpath.normpath()`` on non-Windows systems. Paths " +"such as '\\\\server' and '\\\\' are now considered by ``splitdrive()`` to " +"contain only a drive, and consequently are not modified by ``normpath()`` on " +"non-Windows systems. The behaviour of ``normpath()`` on Windows systems is " +"unaffected, as native OS APIs are used. Patch by Eryk Sun, with " +"contributions by Barney Gale." +msgstr "" + +#: build/NEWS:6225 +msgid "" +":gh:`99952`: Fix a reference undercounting issue in :class:`ctypes." +"Structure` with ``from_param()`` results larger than a C pointer." +msgstr "" + +#: build/NEWS:6229 +msgid "" +":gh:`67790`: Add float-style formatting support for :class:`fractions." +"Fraction` instances." +msgstr "" + +#: build/NEWS:6232 +msgid ":gh:`99266`: Preserve more detailed error messages in :mod:`ctypes`." +msgstr "" + +#: build/NEWS:6234 +msgid "" +":gh:`86682`: Ensure runtime-created collections have the correct module name " +"using the newly added (internal) :func:`sys._getframemodulename`." +msgstr "" + +#: build/NEWS:6237 +msgid "" +":gh:`88597`: :mod:`uuid` now has a command line interface. Try ``python -m " +"uuid -h``." +msgstr "" + +#: build/NEWS:6240 +msgid "" +":gh:`60580`: :data:`ctypes.wintypes.BYTE` definition changed from :data:" +"`~ctypes.c_byte` to :data:`~ctypes.c_ubyte` to match Windows SDK. Patch by " +"Anatoly Techtonik and Oleg Iarygin." +msgstr "" + +#: build/NEWS:6244 +msgid "" +":gh:`94518`: ``_posixsubprocess`` now initializes all UID and GID variables " +"using a reserved ``-1`` value instead of a separate flag. Patch by Oleg " +"Iarygin." +msgstr "" + +#: build/NEWS:6248 +msgid "" +":issue:`38941`: The :mod:`xml.etree.ElementTree` module now emits :exc:" +"`DeprecationWarning` when testing the truth value of an :class:`xml.etree." +"ElementTree.Element`. Before, the Python implementation emitted :exc:" +"`FutureWarning`, and the C implementation emitted nothing." +msgstr "" + +#: build/NEWS:6253 +msgid "" +":issue:`40077`: Convert :mod:`elementtree` types to heap types. Patch by " +"Erlend E. Aasland." +msgstr "" + +#: build/NEWS:6256 +msgid "" +":issue:`29847`: Fix a bug where :class:`pathlib.Path` accepted and ignored " +"keyword arguments. Patch provided by Yurii Karabas." +msgstr "" + +#: build/NEWS:6259 +msgid "" +":gh:`77772`: :class:`ctypes.CDLL`, :class:`ctypes.OleDLL`, :class:`ctypes." +"WinDLL`, and :class:`ctypes.PyDLL` now accept :term:`path-like objects <path-" +"like object>` as their ``name`` argument. Patch by Robert Hoelzl." +msgstr "" + +#: build/NEWS:6267 +msgid "" +":gh:`88324`: Reword :mod:`subprocess` to emphasize default behavior of " +"*stdin*, *stdout*, and *stderr* arguments. Remove inaccurate statement about " +"child file handle inheritance." +msgstr "" + +#: build/NEWS:6274 +msgid "" +":gh:`101334`: ``test_tarfile`` has been updated to pass when run as a high " +"UID." +msgstr "" + +#: build/NEWS:6280 +msgid "" +":gh:`101282`: Update BOLT configuration not to use deprecated usage of ``--" +"split functions``. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:6283 +msgid "" +":gh:`101522`: Allow overriding Windows dependencies versions and paths using " +"MSBuild properties." +msgstr "" + +#: build/NEWS:6286 +msgid "" +":gh:`77532`: Minor fixes to allow building with ``PlatformToolset=ClangCL`` " +"on Windows." +msgstr "" + +#: build/NEWS:6289 +msgid "" +":gh:`101152`: In accordance with :PEP:`699`, the ``ma_version_tag`` field " +"in :c:type:`PyDictObject` is deprecated for extension modules. Accessing " +"this field will generate a compiler warning at compile time. This field will " +"be removed in Python 3.14." +msgstr "" + +#: build/NEWS:6294 +msgid "" +":gh:`100340`: Allows -Wno-int-conversion for wasm-sdk 17 and onwards, thus " +"enables building WASI builds once against the latest sdk." +msgstr "" + +#: build/NEWS:6297 +msgid "" +":gh:`101060`: Conditionally add ``-fno-reorder-blocks-and-partition`` in " +"configure. Effectively fixes ``--enable-bolt`` when using Clang, as this " +"appears to be a GCC-only flag." +msgstr "" + +#: build/NEWS:6301 +msgid "" +":gh:`98705`: ``__bool__`` is defined in AIX system header files which breaks " +"the build in AIX, so undefine it." +msgstr "" + +#: build/NEWS:6304 +msgid "" +":gh:`98636`: Fix a regression in detecting ``gdbm_compat`` library for the " +"``_gdbm`` module build." +msgstr "" + +#: build/NEWS:6307 +msgid "" +":gh:`96305`: ``_aix_support`` now uses a simple code to get platform details " +"rather than the now non-existent ``_bootsubprocess`` during bootstrap." +msgstr "" + +#: build/NEWS:6314 +msgid "" +":gh:`101543`: Ensure the install path in the registry is only used when the " +"standard library hasn't been located in any other way." +msgstr "" + +#: build/NEWS:6317 +msgid "" +":gh:`101467`: The ``py.exe`` launcher now correctly filters when only a " +"single runtime is installed. It also correctly handles prefix matches on " +"tags so that ``-3.1`` does not match ``3.11``, but would still match " +"``3.1-32``." +msgstr "" + +#: build/NEWS:6322 +msgid ":gh:`99834`: Updates bundled copy of Tcl/Tk to 8.6.13.0" +msgstr "" + +#: build/NEWS:6324 +msgid "" +":gh:`101135`: Restore ability to launch older 32-bit versions from the :file:" +"`py.exe` launcher when both 32-bit and 64-bit installs of the same version " +"are available." +msgstr "" + +#: build/NEWS:6328 +msgid "" +":gh:`82052`: Fixed an issue where writing more than 32K of Unicode output to " +"the console screen in one go can result in mojibake." +msgstr "" + +#: build/NEWS:6331 +msgid "" +":gh:`100320`: Ensures the ``PythonPath`` registry key from an install is " +"used when launching from a different copy of Python that relies on an " +"existing install to provide a copy of its modules and standard library." +msgstr "" + +#: build/NEWS:6335 +msgid "" +":gh:`100247`: Restores support for the :file:`py.exe` launcher finding " +"shebang commands in its configuration file using the full command name." +msgstr "" + +#: build/NEWS:6340 +msgid "Python 3.12.0 alpha 4" +msgstr "" + +#: build/NEWS:6342 +msgid "*Release date: 2023-01-10*" +msgstr "" + +#: build/NEWS:6347 +msgid "" +":gh:`100776`: Fix misleading default value in :func:`input`'s " +"``__text_signature__``." +msgstr "" + +#: build/NEWS:6350 +msgid "" +":gh:`99005`: Remove :opcode:`!UNARY_POSITIVE`, :opcode:`!ASYNC_GEN_WRAP` " +"and :opcode:`!LIST_TO_TUPLE`, replacing them with intrinsics." +msgstr "" + +#: build/NEWS:6354 +msgid "" +":gh:`99005`: Add new :opcode:`CALL_INTRINSIC_1` instruction. Remove :opcode:" +"`IMPORT_STAR`, :opcode:`PRINT_EXPR` and :opcode:`STOPITERATION_ERROR`, " +"replacing them with the :opcode:`CALL_INTRINSIC_1` instruction." +msgstr "" + +#: build/NEWS:6359 +msgid "" +":gh:`100288`: Remove the LOAD_ATTR_METHOD_WITH_DICT specialized instruction. " +"Stats show it is not useful." +msgstr "" + +#: build/NEWS:6362 +msgid "" +":gh:`100720`: Added ``_PyFrame_NumSlotsForCodeObject``, which returns the " +"number of slots needed in a frame for a given code object." +msgstr "" + +#: build/NEWS:6365 +msgid "" +":gh:`100719`: Removed the co_nplaincellvars field from the code object, as " +"it is redundant." +msgstr "" + +#: build/NEWS:6368 +msgid "" +":gh:`100637`: Fix :func:`int.__sizeof__` calculation to include the 1-" +"element ``ob_digit`` array for ``0`` and ``False``." +msgstr "" + +#: build/NEWS:6371 +msgid "" +":gh:`100649`: Update the native_thread_id field of PyThreadState after fork." +msgstr "" + +#: build/NEWS:6374 +msgid "" +":gh:`100126`: Fix an issue where \"incomplete\" frames could be briefly " +"visible to C code while other frames are being torn down, possibly resulting " +"in corruption or hard crashes of the interpreter while running finalizers." +msgstr "" + +#: build/NEWS:6379 +msgid "" +":gh:`87447`: Fix :exc:`SyntaxError` on comprehension rebind checking with " +"names that are not actually redefined." +msgstr "" + +#: build/NEWS:6382 +msgid "" +"Now reassigning ``b`` in ``[(b := 1) for a, b.prop in some_iter]`` is " +"allowed. Reassigning ``a`` is still disallowed as per :pep:`572`." +msgstr "" + +#: build/NEWS:6385 +msgid "" +":gh:`100268`: Add :meth:`int.is_integer` to improve duck type compatibility " +"between :class:`int` and :class:`float`." +msgstr "" + +#: build/NEWS:6388 +msgid "" +":gh:`100425`: Improve the accuracy of ``sum()`` with compensated summation." +msgstr "" + +#: build/NEWS:6391 +msgid "" +":gh:`100374`: Fix incorrect result and delay in :func:`socket.getfqdn`. " +"Patch by Dominic Socular." +msgstr "" + +#: build/NEWS:6394 +msgid "" +":gh:`100357`: Convert ``vars``, ``dir``, ``next``, ``getattr``, and ``iter`` " +"to argument clinic." +msgstr "" + +#: build/NEWS:6397 +msgid "" +":gh:`100117`: Improve the output of :meth:`codeobject.co_lines` by emitting " +"only one entry for each line range." +msgstr "" + +#: build/NEWS:6400 +msgid "" +":gh:`90043`: Handle NaNs when specializing :opcode:`COMPARE_OP` for :class:" +"`float` values." +msgstr "" + +#: build/NEWS:6403 +msgid "" +":gh:`100222`: Redefine the ``_Py_CODEUNIT`` typedef as a union to describe " +"its layout to the C compiler, avoiding type punning and improving clarity." +msgstr "" + +#: build/NEWS:6407 +msgid "" +":gh:`99955`: Internal compiler functions (in compile.c) now consistently " +"return -1 on error and 0 on success." +msgstr "" + +#: build/NEWS:6410 +msgid "" +":gh:`100188`: The ``BINARY_SUBSCR_LIST_INT`` and ``BINARY_SUBSCR_TUPLE_INT`` " +"instructions are no longer used for negative integers because those " +"instructions always miss when encountering negative integers." +msgstr "" + +#: build/NEWS:6415 +msgid "" +":gh:`99110`: Initialize frame->previous in frameobject.c to fix a " +"segmentation fault when accessing frames created by :c:func:`PyFrame_New`." +msgstr "" + +#: build/NEWS:6418 +msgid "" +":gh:`94155`: Improved the hashing algorithm for code objects, mitigating " +"some hash collisions." +msgstr "" + +#: build/NEWS:6421 +msgid "" +":gh:`99540`: ``None`` now hashes to a constant value. This is not a " +"requirements change." +msgstr "" + +#: build/NEWS:6424 +msgid "" +":gh:`100143`: When built with ``--enable-pystats``, stats collection is now " +"off by default. To enable it early at startup, pass the ``-Xpystats`` flag. " +"Stats are now always dumped, even if switched off." +msgstr "" + +#: build/NEWS:6428 +msgid "" +":gh:`100146`: Improve ``BUILD_LIST`` opcode so that it works similarly to " +"the ``BUILD_TUPLE`` opcode, by stealing references from the stack rather " +"than repeatedly using stack operations to set list elements. Implementation " +"details are in a new private API :c:func:`!_PyList_FromArraySteal`." +msgstr "" + +#: build/NEWS:6434 +msgid ":gh:`100110`: Specialize ``FOR_ITER`` for tuples." +msgstr "" + +#: build/NEWS:6436 +msgid "" +":gh:`100050`: Honor existing errors obtained when searching for mismatching " +"parentheses in the tokenizer. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:6439 +msgid "" +":gh:`92216`: Improve the performance of :func:`hasattr` for type objects " +"with a missing attribute." +msgstr "" + +#: build/NEWS:6442 +msgid ":gh:`99582`: Freeze :mod:`zipimport` module into ``_bootstrap_python``." +msgstr "" + +#: build/NEWS:6444 +msgid "" +":gh:`99554`: Pack debugging location tables more efficiently during bytecode " +"compilation." +msgstr "" + +#: build/NEWS:6447 +msgid "" +":gh:`98522`: Add an internal version number to code objects, to give better " +"versioning of inner functions and comprehensions, and thus better " +"specialization of those functions. This change is invisible to both Python " +"and C extensions." +msgstr "" + +#: build/NEWS:6452 +msgid ":gh:`94603`: Improve performance of ``list.pop`` for small lists." +msgstr "" + +#: build/NEWS:6454 +msgid ":gh:`89051`: Add :const:`ssl.OP_LEGACY_SERVER_CONNECT`" +msgstr "" + +#: build/NEWS:6456 +msgid "" +":issue:`32782`: ``ctypes`` arrays of length 0 now report a correct itemsize " +"when a ``memoryview`` is constructed from them, rather than always giving a " +"value of 0." +msgstr "" + +#: build/NEWS:6463 +msgid "" +":gh:`100833`: Speed up :func:`math.fsum` by removing defensive ``volatile`` " +"qualifiers." +msgstr "" + +#: build/NEWS:6466 +msgid "" +":gh:`100805`: Modify :func:`random.choice` implementation to once again work " +"with NumPy arrays." +msgstr "" + +#: build/NEWS:6469 +msgid ":gh:`100813`: Add :const:`socket.IP_PKTINFO` constant." +msgstr "" + +#: build/NEWS:6471 +msgid "" +":gh:`100792`: Make :meth:`email.message.Message.__contains__` twice as fast." +msgstr "" + +#: build/NEWS:6474 +msgid "" +":gh:`91851`: Microoptimizations for :meth:`fractions.Fraction.__round__`, :" +"meth:`fractions.Fraction.__ceil__` and :meth:`fractions.Fraction.__floor__`." +msgstr "" + +#: build/NEWS:6478 +msgid "" +":gh:`90104`: Avoid RecursionError on ``repr`` if a dataclass field " +"definition has a cyclic reference." +msgstr "" + +#: build/NEWS:6481 +msgid "" +":gh:`100689`: Fix crash in :mod:`pyexpat` by statically allocating " +"``PyExpat_CAPI`` capsule." +msgstr "" + +#: build/NEWS:6484 +msgid "" +":gh:`100740`: Fix ``unittest.mock.Mock`` not respecting the spec for " +"attribute names prefixed with ``assert``." +msgstr "" + +#: build/NEWS:6487 +msgid "" +":gh:`91219`: Change ``SimpleHTTPRequestHandler`` to support subclassing to " +"provide a different set of index file names instead of using ``__init__`` " +"parameters." +msgstr "" + +#: build/NEWS:6491 +msgid "" +":gh:`100690`: ``Mock`` objects which are not unsafe will now raise an " +"``AttributeError`` when accessing an attribute that matches the name of an " +"assertion but without the prefix ``assert_``, e.g. accessing ``called_once`` " +"instead of ``assert_called_once``. This is in addition to this already " +"happening for accessing attributes with prefixes ``assert``, ``assret``, " +"``asert``, ``aseert``, and ``assrt``." +msgstr "" + +#: build/NEWS:6498 +msgid "" +":gh:`89727`: Simplify and optimize :func:`os.walk` by using :func:" +"`isinstance` checks to check the top of the stack." +msgstr "" + +#: build/NEWS:6501 +msgid ":gh:`100485`: Add math.sumprod() to compute the sum of products." +msgstr "" + +#: build/NEWS:6503 +msgid "" +":gh:`86508`: Fix :func:`asyncio.open_connection` to skip binding to local " +"addresses of different family. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:6506 +msgid "" +":gh:`97930`: ``importlib.resources.files`` now accepts a module as an anchor " +"instead of only accepting packages. If a module is passed, resources are " +"resolved adjacent to that module (in the same package or at the package " +"root). The parameter was renamed from ``package`` to ``anchor`` with a " +"compatibility shim for those passing by keyword. Additionally, the new " +"``anchor`` parameter is now optional and will default to the caller's module." +msgstr "" + +#: build/NEWS:6514 +msgid "" +":gh:`100585`: Fixed a bug where importlib.resources.as_file was leaving file " +"pointers open" +msgstr "" + +#: build/NEWS:6517 +msgid "" +":gh:`100562`: Improve performance of :meth:`pathlib.Path.absolute` by nearly " +"2x. This comes at the cost of a performance regression in :meth:`pathlib." +"Path.cwd`, which is generally used less frequently in user code." +msgstr "" + +#: build/NEWS:6522 +msgid "" +":gh:`100519`: Small simplification of :func:`http.cookiejar." +"eff_request_host` that improves readability and better matches the RFC " +"wording." +msgstr "" + +#: build/NEWS:6526 +msgid "" +":gh:`100287`: Fix the interaction of :func:`unittest.mock.seal` with :class:" +"`unittest.mock.AsyncMock`." +msgstr "" + +#: build/NEWS:6529 +msgid "" +":gh:`100488`: Add :meth:`Fraction.is_integer` to check whether a :class:" +"`fractions.Fraction` is an integer. This improves duck type compatibility " +"with :class:`float` and :class:`int`." +msgstr "" + +#: build/NEWS:6533 +msgid "" +":gh:`100474`: :mod:`http.server` now checks that an index page is actually a " +"regular file before trying to serve it. This avoids issues with directories " +"named ``index.html``." +msgstr "" + +#: build/NEWS:6537 +msgid "" +":gh:`100363`: Speed up :func:`asyncio.get_running_loop` by removing " +"redundant ``getpid`` checks. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:6540 +msgid "" +":gh:`78878`: Fix crash when creating an instance of :class:`!_ctypes.CField`." +msgstr "" + +#: build/NEWS:6543 +msgid "" +":gh:`100348`: Fix ref cycle in :class:`!asyncio._SelectorSocketTransport` by " +"removing ``_read_ready_cb`` in ``close``." +msgstr "" + +#: build/NEWS:6547 +msgid "" +":gh:`100344`: Provide C implementation for :func:`asyncio.current_task` for " +"a 4x-6x speedup." +msgstr "" + +#: build/NEWS:6550 +msgid "" +":gh:`100272`: Fix JSON serialization of OrderedDict. It now preserves the " +"order of keys." +msgstr "" + +#: build/NEWS:6553 +msgid "" +":gh:`83076`: Instantiation of ``Mock()`` and ``AsyncMock()`` is now 3.8x " +"faster." +msgstr "" + +#: build/NEWS:6556 +msgid "" +":gh:`100234`: Set a default value of 1.0 for the ``lambd`` parameter in " +"random.expovariate()." +msgstr "" + +#: build/NEWS:6559 +msgid "" +":gh:`100228`: A :exc:`DeprecationWarning` may be raised when :func:`os.fork` " +"or :func:`os.forkpty` is called from multi-threaded processes. Forking with " +"threads is unsafe and can cause deadlocks, crashes and subtle problems. Lack " +"of a warning does not indicate that the fork call was actually safe, as " +"Python may not be aware of all threads." +msgstr "" + +#: build/NEWS:6565 +msgid ":gh:`100039`: Improve signatures for enums and flags." +msgstr "" + +#: build/NEWS:6567 +msgid "" +":gh:`100133`: Fix regression in :mod:`asyncio` where a subprocess would " +"sometimes lose data received from pipe." +msgstr "" + +#: build/NEWS:6570 +msgid "" +":issue:`44592`: Fixes inconsistent handling of case sensitivity of " +"*extrasaction* arg in :class:`csv.DictWriter`." +msgstr "" + +#: build/NEWS:6573 +msgid "" +":gh:`100098`: Fix ``tuple`` subclasses being cast to ``tuple`` when used as " +"enum values." +msgstr "" + +#: build/NEWS:6576 +msgid "" +":gh:`85432`: Rename the *fmt* parameter of the pure-Python implementation " +"of :meth:`datetime.time.strftime` to *format*. Rename the *t* parameter of :" +"meth:`datetime.datetime.fromtimestamp` to *timestamp*. These changes mean " +"the parameter names in the pure-Python implementation now match the " +"parameter names in the C implementation. Patch by Alex Waygood." +msgstr "" + +#: build/NEWS:6583 +msgid "" +":gh:`98778`: Update :exc:`~urllib.error.HTTPError` to be initialized " +"properly, even if the ``fp`` is ``None``. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:6586 +msgid "" +":gh:`99925`: Unify error messages in JSON serialization between ``json." +"dumps(float('nan'), allow_nan=False)`` and ``json.dumps(float('nan'), " +"allow_nan=False, indent=<SOMETHING>)``. Now both include the representation " +"of the value that could not be serialized." +msgstr "" + +#: build/NEWS:6591 +msgid "" +":gh:`89727`: Fix issue with :func:`os.walk` where a :exc:`RecursionError` " +"would occur on deep directory structures by adjusting the implementation of :" +"func:`os.walk` to be iterative instead of recursive." +msgstr "" + +#: build/NEWS:6596 +msgid "" +":gh:`94943`: Add :ref:`enum-dataclass-support` to the :class:`~enum.Enum` :" +"meth:`~enum.Enum.__repr__`. When inheriting from a :class:`~dataclasses." +"dataclass`, only show the field names in the value section of the member :" +"func:`repr`, and not the dataclass' class name." +msgstr "" + +#: build/NEWS:6601 +msgid "" +":gh:`83035`: Fix :func:`inspect.getsource` handling of decorator calls with " +"nested parentheses." +msgstr "" + +#: build/NEWS:6604 +msgid "" +":gh:`99576`: Fix ``.save()`` method for ``LWPCookieJar`` and " +"``MozillaCookieJar``: saved file was not truncated on repeated save." +msgstr "" + +#: build/NEWS:6607 +msgid "" +":gh:`94912`: Add :func:`inspect.markcoroutinefunction` decorator which " +"manually marks a function as a coroutine for the benefit of :func:" +"`iscoroutinefunction`." +msgstr "" + +#: build/NEWS:6611 +msgid "" +":gh:`99509`: Add :pep:`585` support for :class:`multiprocessing.queues." +"Queue`." +msgstr "" + +#: build/NEWS:6614 +msgid "" +":gh:`99482`: Remove ``Jython`` partial compatibility code from several " +"stdlib modules." +msgstr "" + +#: build/NEWS:6617 +msgid "" +":gh:`99433`: Fix :mod:`doctest` failure on :class:`types.MethodWrapperType` " +"in modules." +msgstr "" + +#: build/NEWS:6620 +msgid "" +":gh:`85267`: Several improvements to :func:`inspect.signature`'s handling of " +"``__text_signature``. - Fixes a case where :func:`inspect.signature` dropped " +"parameters - Fixes a case where :func:`inspect.signature` raised :exc:" +"`tokenize.TokenError` - Allows :func:`inspect.signature` to understand " +"defaults involving binary operations of constants - :func:`inspect." +"signature` is documented as only raising :exc:`TypeError` or :exc:" +"`ValueError`, but sometimes raised :exc:`RuntimeError`. These cases now " +"raise :exc:`ValueError` - Removed a dead code path" +msgstr "" + +#: build/NEWS:6630 +msgid "" +":gh:`91166`: :mod:`asyncio` is optimized to avoid excessive copying when " +"writing to socket and use :meth:`~socket.socket.sendmsg` if the platform " +"supports it. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:6634 +msgid "" +":gh:`98030`: Add missing TCP socket options from Linux: ``TCP_MD5SIG``, " +"``TCP_THIN_LINEAR_TIMEOUTS``, ``TCP_THIN_DUPACK``, ``TCP_REPAIR``, " +"``TCP_REPAIR_QUEUE``, ``TCP_QUEUE_SEQ``, ``TCP_REPAIR_OPTIONS``, " +"``TCP_TIMESTAMP``, ``TCP_CC_INFO``, ``TCP_SAVE_SYN``, ``TCP_SAVED_SYN``, " +"``TCP_REPAIR_WINDOW``, ``TCP_FASTOPEN_CONNECT``, ``TCP_ULP``, " +"``TCP_MD5SIG_EXT``, ``TCP_FASTOPEN_KEY``, ``TCP_FASTOPEN_NO_COOKIE``, " +"``TCP_ZEROCOPY_RECEIVE``, ``TCP_INQ``, ``TCP_TX_DELAY``." +msgstr "" + +#: build/NEWS:6642 +msgid "" +":gh:`88500`: Reduced the memory usage of :func:`urllib.parse.unquote` and :" +"func:`urllib.parse.unquote_to_bytes` on large values." +msgstr "" + +#: build/NEWS:6645 +msgid "" +":gh:`96127`: ``inspect.signature`` was raising ``TypeError`` on call with " +"mock objects. Now it correctly returns ``(*args, **kwargs)`` as inferred " +"signature." +msgstr "" + +#: build/NEWS:6649 +msgid "" +":gh:`95882`: Fix a 3.11 regression in :func:`~contextlib." +"asynccontextmanager`, which caused it to propagate exceptions with incorrect " +"tracebacks and fix a 3.11 regression in :func:`~contextlib.contextmanager`, " +"which caused it to propagate exceptions with incorrect tracebacks for :exc:" +"`StopIteration`." +msgstr "" + +#: build/NEWS:6655 +msgid "" +":gh:`78707`: Deprecate passing more than one positional argument to :meth:" +"`pathlib.PurePath.relative_to` and :meth:`~pathlib.PurePath.is_relative_to`." +msgstr "" + +#: build/NEWS:6659 +msgid "" +":gh:`92122`: Fix reStructuredText syntax errors in docstrings in the :mod:" +"`enum` module." +msgstr "" + +#: build/NEWS:6662 +msgid "" +":gh:`91851`: Optimize the :class:`~fractions.Fraction` arithmetics for small " +"components." +msgstr "" + +#: build/NEWS:6665 +msgid "" +":issue:`24132`: Make :class:`pathlib.PurePath` and :class:`~pathlib.Path` " +"subclassable (private to start). Previously, attempting to instantiate a " +"subclass resulted in an :exc:`AttributeError` being raised. Patch by Barney " +"Gale." +msgstr "" + +#: build/NEWS:6670 +msgid "" +":issue:`40447`: Accept :class:`os.PathLike` (such as :class:`pathlib.Path`) " +"in the ``stripdir`` arguments of :meth:`compileall.compile_file` and :meth:" +"`compileall.compile_dir`." +msgstr "" + +#: build/NEWS:6674 +msgid "" +":issue:`36880`: Fix a reference counting issue when a :mod:`ctypes` callback " +"with return type :class:`~ctypes.py_object` returns ``None``, which could " +"cause crashes." +msgstr "" + +#: build/NEWS:6681 +msgid "" +":gh:`100616`: Document existing ``attr`` parameter to :func:`curses.window." +"vline` function in :mod:`curses`." +msgstr "" + +#: build/NEWS:6684 +msgid "" +":gh:`100472`: Remove claim in documentation that the ``stripdir``, " +"``prependdir`` and ``limit_sl_dest`` parameters of :func:`compileall." +"compile_dir` and :func:`compileall.compile_file` could be :class:`bytes`." +msgstr "" + +#: build/NEWS:6689 +msgid "" +":issue:`25377`: Clarify use of octal format of mode argument in help(os." +"chmod) as well as help(os.fchmod)" +msgstr "" + +#: build/NEWS:6695 +msgid ":gh:`100454`: Start running SSL tests with OpenSSL 3.1.0-beta1." +msgstr "" + +#: build/NEWS:6697 +msgid "" +":gh:`100086`: The Python test runner (libregrtest) now logs Python build " +"information like \"debug\" vs \"release\" build, or LTO and PGO " +"optimizations. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:6701 +msgid "" +":gh:`93018`: Make two tests forgiving towards host system libexpat with " +"backported security fixes applied." +msgstr "" + +#: build/NEWS:6707 +msgid "" +":gh:`100540`: Removed the ``--with-system-ffi`` ``configure`` option; " +"``libffi`` must now always be supplied by the system on all non-Windows " +"platforms. The option has had no effect on non-Darwin platforms for several " +"releases, and in 3.11 only had the non-obvious effect of invoking ``pkg-" +"config`` to find ``libffi`` and never setting ``-DUSING_APPLE_OS_LIBFFI``. " +"Now on Darwin platforms ``configure`` will first check for the OS ``libffi`` " +"and then fall back to the same processing as other platforms if it is not " +"found." +msgstr "" + +#: build/NEWS:6716 +msgid "" +":gh:`88267`: Avoid exporting Python symbols in linked Windows applications " +"when the core is built as static." +msgstr "" + +#: build/NEWS:6719 +msgid "" +":issue:`41916`: Allow override of ac_cv_cxx_thread so that cross compiled " +"python can set -pthread for CXX." +msgstr "" + +#: build/NEWS:6725 +msgid ":gh:`100180`: Update Windows installer to OpenSSL 1.1.1s" +msgstr "" + +#: build/NEWS:6727 +msgid "" +":gh:`99191`: Use ``_MSVC_LANG >= 202002L`` instead of less-precise " +"``_MSC_VER >=1929`` to more accurately test for C++20 support in :file:`PC/" +"_wmimodule.cpp`." +msgstr "" + +#: build/NEWS:6731 +msgid "" +":gh:`79218`: Define ``MS_WIN64`` for Mingw-w64 64bit, fix cython compilation " +"failure." +msgstr "" + +#: build/NEWS:6734 +msgid "" +":gh:`99941`: Ensure that :func:`asyncio.Protocol.data_received` receives an " +"immutable :class:`bytes` object (as documented), instead of :class:" +"`bytearray`." +msgstr "" + +#: build/NEWS:6738 +msgid "" +":issue:`43984`: :meth:`winreg.SetValueEx` now leaves the target value " +"untouched in the case of conversion errors. Previously, ``-1`` would be " +"written in case of such errors." +msgstr "" + +#: build/NEWS:6742 +msgid "" +":issue:`34816`: ``hasattr(ctypes.windll, 'nonexistant')`` now returns " +"``False`` instead of raising :exc:`OSError`." +msgstr "" + +#: build/NEWS:6748 +msgid ":gh:`100180`: Update macOS installer to OpenSSL 1.1.1s" +msgstr "" + +#: build/NEWS:6750 +msgid "" +":gh:`100540`: Removed obsolete ``dlfcn.h`` shim from the ``_ctypes`` " +"extension module, which has not been necessary since Mac OS X 10.2." +msgstr "" + +#: build/NEWS:6756 +msgid "" +":issue:`45256`: Fix a bug that caused an :exc:`AttributeError` to be raised " +"in ``python-gdb.py`` when ``py-locals`` is used without a frame." +msgstr "" + +#: build/NEWS:6759 +msgid "" +":gh:`100342`: Add missing ``NULL`` check for possible allocation failure in " +"``*args`` parsing in Argument Clinic." +msgstr "" + +#: build/NEWS:6765 +msgid "" +":gh:`99947`: Raising SystemError on import will now have its cause be set to " +"the original unexpected exception." +msgstr "" + +#: build/NEWS:6768 +msgid "" +":gh:`99240`: In argument parsing, after deallocating newly allocated memory, " +"reset its pointer to NULL." +msgstr "" + +#: build/NEWS:6771 +msgid "" +":gh:`98724`: The :c:macro:`Py_CLEAR`, :c:macro:`Py_SETREF` and :c:macro:" +"`Py_XSETREF` macros now only evaluate their arguments once. If an argument " +"has side effects, these side effects are no longer duplicated. Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:6778 +msgid "Python 3.12.0 alpha 3" +msgstr "" + +#: build/NEWS:6780 +msgid "*Release date: 2022-12-06*" +msgstr "" + +#: build/NEWS:6785 +msgid "" +":gh:`100001`: ``python -m http.server`` no longer allows terminal control " +"characters sent within a garbage request to be printed to the stderr server " +"log." +msgstr "" + +#: build/NEWS:6789 +msgid "" +"This is done by changing the :mod:`http.server` :class:" +"`BaseHTTPRequestHandler` ``.log_message`` method to replace control " +"characters with a :samp:`\\\\x{HH}` hex escape before printing." +msgstr "" + +#: build/NEWS:6793 +msgid "" +":gh:`87604`: Avoid publishing list of active per-interpreter audit hooks via " +"the :mod:`gc` module" +msgstr "" + +#: build/NEWS:6799 +msgid "" +":gh:`99891`: Fix a bug in the tokenizer that could cause infinite recursion " +"when showing syntax warnings that happen in the first line of the source. " +"Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:6803 +msgid "" +":gh:`91054`: Add :c:func:`PyCode_AddWatcher` and :c:func:" +"`PyCode_ClearWatcher` APIs to register callbacks to receive notification on " +"creation and destruction of code objects." +msgstr "" + +#: build/NEWS:6807 +msgid "" +":gh:`99729`: Fix an issue that could cause frames to be visible to Python " +"code as they are being torn down, possibly leading to memory corruption or " +"hard crashes of the interpreter." +msgstr "" + +#: build/NEWS:6811 +msgid "" +":gh:`99708`: Fix bug where compiler crashes on an if expression with an " +"empty body block." +msgstr "" + +#: build/NEWS:6814 +msgid "" +":gh:`99578`: Fix a reference bug in :func:`!_imp.create_builtin` after the " +"creation of the first sub-interpreter for modules ``builtins`` and ``sys``. " +"Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:6818 +msgid "" +":gh:`99581`: Fixed a bug that was causing a buffer overflow if the tokenizer " +"copies a line missing the newline character from a file that is as long as " +"the available tokenizer buffer. Patch by Pablo galindo" +msgstr "" + +#: build/NEWS:6822 +msgid "" +":gh:`99553`: Fix bug where an :exc:`ExceptionGroup` subclass can wrap a :exc:" +"`BaseException`." +msgstr "" + +#: build/NEWS:6825 +msgid "" +":gh:`99547`: Add a function to os.path to check if a path is a junction: " +"isjunction. Add similar functionality to pathlib.Path as is_junction." +msgstr "" + +#: build/NEWS:6829 +msgid "" +":gh:`99370`: Fix zip path for venv created from a non-installed python on " +"POSIX platforms." +msgstr "" + +#: build/NEWS:6832 +msgid ":gh:`99377`: Add audit events for thread creation and clear operations." +msgstr "" + +#: build/NEWS:6834 +msgid "" +":gh:`98686`: Remove the ``BINARY_OP_GENERIC`` and ``COMPARE_OP_GENERIC`` " +"\"specializations\"." +msgstr "" + +#: build/NEWS:6837 +msgid "" +":gh:`99298`: Remove the remaining error paths for attribute specializations, " +"and refuse to specialize attribute accesses on types that haven't had :c:" +"func:`PyType_Ready` called on them yet." +msgstr "" + +#: build/NEWS:6841 +msgid "" +":gh:`99127`: Allow some features of :mod:`syslog` to the main interpreter " +"only. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:6844 +msgid "" +":gh:`91053`: Optimizing interpreters and JIT compilers may need to " +"invalidate internal metadata when functions are modified. This change adds " +"the ability to provide a callback that will be invoked each time a function " +"is created, modified, or destroyed." +msgstr "" + +#: build/NEWS:6849 +msgid "" +":gh:`90994`: Improve error messages when there's a syntax error with call " +"arguments. The following three cases are covered: - No value is assigned to " +"a named argument, eg ``foo(a=)``. - A value is assigned to a star argument, " +"eg ``foo(*args=[0])``. - A value is assigned to a double-star keyword " +"argument, eg ``foo(**kwarg={'a': 0})``." +msgstr "" + +#: build/NEWS:6855 +msgid "" +":issue:`45026`: Optimize the :class:`range` object iterator. It is now " +"smaller, faster iteration of ranges containing large numbers. Smaller " +"pickles, faster unpickling." +msgstr "" + +#: build/NEWS:6859 +msgid "" +":issue:`31718`: Raise :exc:`ValueError` instead of :exc:`SystemError` when " +"methods of uninitialized :class:`io.IncrementalNewlineDecoder` objects are " +"called. Patch by Oren Milman." +msgstr "" + +#: build/NEWS:6863 +msgid "" +":issue:`38031`: Fix a possible assertion failure in :class:`io.FileIO` when " +"the opener returns an invalid file descriptor." +msgstr "" + +#: build/NEWS:6869 +msgid "" +":gh:`100001`: Also \\ escape \\s in the http.server BaseHTTPRequestHandler." +"log_message so that it is technically possible to parse the line and " +"reconstruct what the original data was. Without this a \\xHH is ambiguious " +"as to if it is a hex replacement we put in or the characters r\"\\x\" came " +"through in the original request line." +msgstr "" + +#: build/NEWS:6875 +msgid "" +":gh:`99957`: Add ``frozen_default`` parameter to :func:`typing." +"dataclass_transform`." +msgstr "" + +#: build/NEWS:6878 +msgid "" +":gh:`79033`: Fix :func:`asyncio.Server.wait_closed` to actually do what the " +"docs promise -- wait for all existing connections to complete, after closing " +"the server." +msgstr "" + +#: build/NEWS:6882 +msgid "" +":gh:`51524`: Fix bug when calling trace.CoverageResults with valid infile." +msgstr "" + +#: build/NEWS:6885 +msgid "" +":gh:`99645`: Fix a bug in handling class cleanups in :class:`unittest." +"TestCase`. Now ``addClassCleanup()`` uses separate lists for different " +"``TestCase`` subclasses, and ``doClassCleanups()`` only cleans up the " +"particular class." +msgstr "" + +#: build/NEWS:6890 +msgid "" +":gh:`99508`: Fix ``TypeError`` in ``Lib/importlib/_bootstrap_external.py`` " +"while calling ``_imp.source_hash()``." +msgstr "" + +#: build/NEWS:6894 +msgid "" +":gh:`66285`: Fix :mod:`asyncio` to not share event loop and signal wakeupfd " +"in forked processes. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:6897 +msgid "" +":gh:`97001`: Release the GIL when calling termios APIs to avoid blocking " +"threads." +msgstr "" + +#: build/NEWS:6900 +msgid "" +":gh:`92647`: Use final status of an enum to determine lookup or creation " +"branch of functional API." +msgstr "" + +#: build/NEWS:6903 +msgid "" +":gh:`99388`: Add *loop_factory* parameter to :func:`asyncio.run` to allow " +"specifying a custom event loop factory. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:6906 +msgid "" +":gh:`99341`: Fix :func:`ast.increment_lineno` to also cover :class:`ast." +"TypeIgnore` when changing line numbers." +msgstr "" + +#: build/NEWS:6909 +msgid "" +":gh:`99382`: Check the number of arguments in substitution in user generics " +"containing a :class:`~typing.TypeVarTuple` and one or more :class:`~typing." +"TypeVar`." +msgstr "" + +#: build/NEWS:6913 +msgid "" +":gh:`99379`: Fix substitution of :class:`~typing.ParamSpec` followed by :" +"class:`~typing.TypeVarTuple` in generic aliases." +msgstr "" + +#: build/NEWS:6916 +msgid "" +":gh:`99344`: Fix substitution of :class:`~typing.TypeVarTuple` and :class:" +"`~typing.ParamSpec` together in user generics." +msgstr "" + +#: build/NEWS:6919 +msgid "" +":gh:`99284`: Remove ``_use_broken_old_ctypes_structure_semantics_`` old " +"untested and undocumented hack from :mod:`ctypes`." +msgstr "" + +#: build/NEWS:6922 +msgid "" +":gh:`99201`: Fix :exc:`IndexError` when initializing the config variables on " +"Windows if ``HAVE_DYNAMIC_LOADING`` is not set." +msgstr "" + +#: build/NEWS:6925 +msgid "" +":gh:`99240`: Fix double-free bug in Argument Clinic ``str_converter`` by " +"extracting memory clean up to a new ``post_parsing`` section." +msgstr "" + +#: build/NEWS:6928 +msgid "" +":gh:`64490`: Fix refcount error when arguments are packed to tuple in " +"Argument Clinic." +msgstr "" + +#: build/NEWS:6931 +msgid "" +":gh:`99029`: :meth:`pathlib.PurePath.relative_to` now treats naked Windows " +"drive paths as relative. This brings its behaviour in line with other parts " +"of pathlib." +msgstr "" + +#: build/NEWS:6935 +msgid "" +":gh:`98253`: The implementation of the typing module is now more resilient " +"to reference leaks in binary extension modules." +msgstr "" + +#: build/NEWS:6938 +msgid "" +"Previously, a reference leak in a typed C API-based extension module could " +"leak internals of the typing module, which could in turn introduce leaks in " +"essentially any other package with typed function signatures. Although the " +"typing package is not the original source of the problem, such non-local " +"dependences exacerbate debugging of large-scale projects, and the " +"implementation was therefore changed to reduce harm by providing better " +"isolation." +msgstr "" + +#: build/NEWS:6946 +msgid "" +":gh:`98458`: Fix infinite loop in unittest when a self-referencing chained " +"exception is raised" +msgstr "" + +#: build/NEWS:6949 +msgid "" +":gh:`93453`: :func:`asyncio.get_event_loop` and many other :mod:`asyncio` " +"functions like :func:`asyncio.ensure_future`, :func:`asyncio.shield` or :" +"func:`asyncio.gather`, and also the :meth:`~asyncio." +"BaseDefaultEventLoopPolicy.get_event_loop` method of :class:`asyncio." +"BaseDefaultEventLoopPolicy` now raise a :exc:`RuntimeError` if called when " +"there is no running event loop and the current event loop was not set. " +"Previously they implicitly created and set a new current event loop. :exc:" +"`DeprecationWarning` is no longer emitted if there is no running event loop " +"but the current event loop was set." +msgstr "" + +#: build/NEWS:6959 +msgid "" +":gh:`97966`: On ``uname_result``, restored expectation that ``_fields`` and " +"``_asdict`` would include all six properties including ``processor``." +msgstr "" + +#: build/NEWS:6962 +msgid "" +":gh:`98248`: Provide informative error messages in :func:`struct.pack` when " +"its integral arguments are not in range." +msgstr "" + +#: build/NEWS:6965 +msgid "" +":gh:`98108`: ``zipfile.Path`` is now pickleable if its initialization " +"parameters were pickleable (e.g. for file system paths)." +msgstr "" + +#: build/NEWS:6968 +msgid "" +":gh:`98098`: Created packages from zipfile and test_zipfile modules, " +"separating ``zipfile.Path`` functionality." +msgstr "" + +#: build/NEWS:6971 +msgid "" +":gh:`82836`: Fix :attr:`~ipaddress.IPv4Address.is_private` properties in " +"the :mod:`ipaddress` module. Previously non-private networks (0.0.0.0/0) " +"would return ``True`` from this method; now they correctly return ``False``." +msgstr "" + +#: build/NEWS:6976 +msgid "" +":gh:`96828`: Add an :const:`~ssl.OP_ENABLE_KTLS` option for enabling the use " +"of the kernel TLS (kTLS). Patch by Illia Volochii." +msgstr "" + +#: build/NEWS:6979 +msgid "" +":gh:`88863`: To avoid apparent memory leaks when :func:`asyncio." +"open_connection` raises, break reference cycles generated by local exception " +"and future instances (which has exception instance as its member var). Patch " +"by Dong Uk, Kang." +msgstr "" + +#: build/NEWS:6984 +msgid "" +":gh:`91078`: :meth:`TarFile.next` now returns ``None`` when called on an " +"empty tarfile." +msgstr "" + +#: build/NEWS:6987 +msgid "" +":issue:`47220`: Document the optional *callback* parameter of :class:" +"`WeakMethod`. Patch by Géry Ogam." +msgstr "" + +#: build/NEWS:6990 +msgid "" +":issue:`44817`: Ignore WinError 53 (ERROR_BAD_NETPATH), 65 " +"(ERROR_NETWORK_ACCESS_DENIED) and 161 (ERROR_BAD_PATHNAME) when using ntpath." +"realpath()." +msgstr "" + +#: build/NEWS:6994 +msgid "" +":issue:`41260`: Rename the *fmt* parameter of the pure Python implementation " +"of :meth:`datetime.date.strftime` to *format*." +msgstr "" + +#: build/NEWS:6997 +msgid "" +":issue:`15999`: All built-in functions now accept arguments of any type " +"instead of just ``bool`` and ``int`` for boolean parameters." +msgstr "" + +#: build/NEWS:7003 +msgid "" +":gh:`99931`: Use `sphinxext-opengraph <https://sphinxext-opengraph." +"readthedocs.io/>`__ to generate `OpenGraph metadata <https://ogp.me/>`__." +msgstr "" + +#: build/NEWS:7007 +msgid "" +":gh:`89682`: Reworded docstring of the default ``__contains__`` to clarify " +"that it returns a :class:`bool`." +msgstr "" + +#: build/NEWS:7010 +msgid "" +":gh:`88330`: Improved the description of what a resource is in importlib." +"resources docs." +msgstr "" + +#: build/NEWS:7013 +msgid "" +":gh:`92892`: Document that calling variadic functions with ctypes requires " +"special care on macOS/arm64 (and possibly other platforms)." +msgstr "" + +#: build/NEWS:7016 +msgid "" +":issue:`41825`: Restructured the documentation for the :func:`os.wait* <os." +"wait>` family of functions, and improved the docs for :func:`os.waitid` with " +"more explanation of the possible argument constants." +msgstr "" + +#: build/NEWS:7024 +msgid "" +":gh:`99892`: Skip test_normalization() of test_unicodedata if it fails to " +"download NormalizationTest.txt file from pythontest.net. Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:7028 +msgid "" +":gh:`99934`: Correct test_marsh on (32 bit) x86: test_deterministic sets was " +"failing." +msgstr "" + +#: build/NEWS:7031 +msgid "" +":gh:`99741`: We've implemented multi-phase init (PEP 489/630/687) for the " +"internal (for testing) _xxsubinterpreters module." +msgstr "" + +#: build/NEWS:7034 +msgid "" +":gh:`99659`: Optional big memory tests in ``test_sqlite3`` now catch the " +"correct :exc:`sqlite.DataError` exception type in case of too large strings " +"and/or blobs passed." +msgstr "" + +#: build/NEWS:7038 +msgid ":gh:`99593`: Cover the Unicode C API with tests." +msgstr "" + +#: build/NEWS:7040 +msgid ":gh:`96002`: Add functional test for Argument Clinic." +msgstr "" + +#: build/NEWS:7045 +msgid "" +":gh:`99086`: Fix ``-Wimplicit-int``, ``-Wstrict-prototypes``, and ``-" +"Wimplicit-function-declaration`` compiler warnings in :program:`configure` " +"checks." +msgstr "" + +#: build/NEWS:7049 +msgid ":gh:`99337`: Fix a compilation issue with GCC 12 on macOS." +msgstr "" + +#: build/NEWS:7051 +msgid "" +":gh:`99289`: Add a ``COMPILEALL_OPTS`` variable in Makefile to override :mod:" +"`compileall` options (default: ``-j0``) in ``make install``. Also merged the " +"``compileall`` commands into a single command building .pyc files for the " +"all optimization levels (0, 1, 2) at once. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:7057 +msgid "" +":gh:`98872`: Fix a possible fd leak in ``Programs/_freeze_module.c`` " +"introduced in Python 3.11." +msgstr "" + +#: build/NEWS:7060 +msgid "" +":gh:`88226`: Always define ``TARGET_*`` labels in ``Python/ceval.c``, even " +"if ``USE_COMPUTED_GOTOS`` is disabled. This allows breakpoints to be set at " +"those labels in (for instance) ``gdb``." +msgstr "" + +#: build/NEWS:7067 +msgid "" +":gh:`99345`: Use faster initialization functions to detect install location " +"for Windows Store package" +msgstr "" + +#: build/NEWS:7070 +msgid "" +":gh:`98629`: Fix initialization of :data:`sys.version` and ``sys._git`` on " +"Windows" +msgstr "" + +#: build/NEWS:7073 +msgid "" +":gh:`99442`: Fix handling in :ref:`launcher` when ``argv[0]`` does not " +"include a file extension." +msgstr "" + +#: build/NEWS:7076 +msgid "" +":issue:`40882`: Fix a memory leak in :class:`multiprocessing.shared_memory." +"SharedMemory` on Windows." +msgstr "" + +#: build/NEWS:7082 +msgid "" +":gh:`87235`: On macOS ``python3 /dev/fd/9 9</path/to/script.py`` failed for " +"any script longer than a couple of bytes." +msgstr "" + +#: build/NEWS:7085 +msgid ":gh:`98940`: Fix ``Mac/Extras.install.py`` file filter bug." +msgstr "" + +#: build/NEWS:7090 +msgid ":gh:`64490`: Argument Clinic varargs bugfixes" +msgstr "" + +#: build/NEWS:7092 +msgid "Fix out-of-bounds error in :c:func:`!_PyArg_UnpackKeywordsWithVararg`." +msgstr "" + +#: build/NEWS:7093 +msgid "Fix incorrect check which allowed more than one varargs in clinic.py." +msgstr "" + +#: build/NEWS:7094 +msgid "Fix miscalculation of ``noptargs`` in generated code." +msgstr "" + +#: build/NEWS:7095 +msgid "" +"Do not generate ``noptargs`` when there is a vararg argument and no optional " +"argument." +msgstr "" + +#: build/NEWS:7100 +msgid "" +":gh:`98680`: ``PyBUF_*`` constants were marked as part of Limited API of " +"Python 3.11+. These were available in 3.11.0 with :c:macro:`Py_LIMITED_API` " +"defined for 3.11, and are necessary to use the buffer API." +msgstr "" + +#: build/NEWS:7105 +msgid "" +":gh:`99612`: Fix :c:func:`PyUnicode_DecodeUTF8Stateful` for ASCII-only data: " +"``*consumed`` was not set." +msgstr "" + +#: build/NEWS:7108 +msgid "" +":gh:`47146`: The ``structmember.h`` header is deprecated. Its non-deprecated " +"contents are now available just by including ``Python.h``, with a ``Py_`` " +"prefix added if it was missing. (Deprecated contents are :c:macro:" +"`T_OBJECT`, :c:macro:`T_NONE`, and no-op flags.) Patch by Petr Viktorin, " +"based on earlier work by Alexander Belopolsky and Matthias Braun." +msgstr "" + +#: build/NEWS:7117 +msgid "Python 3.12.0 alpha 2" +msgstr "" + +#: build/NEWS:7119 +msgid "*Release date: 2022-11-14*" +msgstr "" + +#: build/NEWS:7124 +msgid "" +":gh:`98433`: The IDNA codec decoder used on DNS hostnames by :mod:`socket` " +"or :mod:`asyncio` related name resolution functions no longer involves a " +"quadratic algorithm. This prevents a potential CPU denial of service if an " +"out-of-spec excessive length hostname involving bidirectional characters " +"were decoded. Some protocols such as :mod:`urllib` http :samp:`3{xx}` " +"redirects potentially allow for an attacker to supply such a name." +msgstr "" + +#: build/NEWS:7132 +msgid "" +"Individual labels within an IDNA encoded DNS name will now raise an error " +"early during IDNA decoding if they are longer than 1024 unicode characters " +"given that each decoded DNS label must be 63 or fewer characters and the " +"entire decoded DNS name is limited to 255. Only an application presenting a " +"hostname or label consisting primarily of :rfc:`3454` section 3.1 " +"\"Nothing\" characters to be removed would run into of this new limit. See " +"also :rfc:`5894` section 6 and :rfc:`3491`." +msgstr "" + +#: build/NEWS:7140 +msgid ":gh:`98739`: Update bundled libexpat to 2.5.0" +msgstr "" + +#: build/NEWS:7145 +msgid "" +":gh:`81057`: The docs clearly say that ``PyImport_Inittab``, :c:func:" +"`PyImport_AppendInittab`, and :c:func:`PyImport_ExtendInittab` should not be " +"used after :c:func:`Py_Initialize` has been called. We now enforce this for " +"the two functions. Additionally, the runtime now uses an internal copy of " +"``PyImport_Inittab``, to guard against modification." +msgstr "" + +#: build/NEWS:7151 +msgid "" +":gh:`99298`: Fix an issue that could potentially cause incorrect error " +"handling for some bytecode instructions." +msgstr "" + +#: build/NEWS:7154 +msgid "" +":gh:`99254`: The compiler now removes all unused constants from code objects " +"(except the first one, which may be a docstring)." +msgstr "" + +#: build/NEWS:7157 +msgid "" +":gh:`99205`: Fix an issue that prevented :c:type:`PyThreadState` and :c:type:" +"`PyInterpreterState` memory from being freed properly." +msgstr "" + +#: build/NEWS:7160 +msgid "" +":gh:`81057`: The 18 global C variables holding the state of the allocators " +"have been moved to ``_PyRuntimeState``. This is a strictly internal change " +"with no change in behavior." +msgstr "" + +#: build/NEWS:7164 +msgid "" +":gh:`99181`: Fix failure in :keyword:`except* <except_star>` with unhashable " +"exceptions." +msgstr "" + +#: build/NEWS:7167 +msgid "" +":gh:`99204`: Fix calculation of :data:`sys._base_executable` when inside a " +"POSIX virtual environment using copies of the python binary when the base " +"installation does not provide the executable name used by the venv. " +"Calculation will fall back to alternative names (\"python<MAJOR>\", " +"\"python<MAJOR>.<MINOR>\")." +msgstr "" + +#: build/NEWS:7173 +msgid "" +":gh:`96055`: Update :mod:`faulthandler` to emit an error message with the " +"proper unexpected signal number. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:7176 +msgid "" +":gh:`99153`: Fix location of :exc:`SyntaxError` for a :keyword:`try` block " +"with both :keyword:`except` and :keyword:`except* <except_star>`." +msgstr "" + +#: build/NEWS:7179 +msgid "" +":gh:`98686`: Merge the adaptive opcode logic into each instruction's " +"unquickened variant, and merge the logic in ``EXTENDED_ARG_QUICK`` into :" +"opcode:`EXTENDED_ARG`. With these changes, the quickening that happens at " +"code object creation is now only responsible for initializing warmup " +"counters and inserting superinstructions." +msgstr "" + +#: build/NEWS:7185 +msgid "" +":gh:`99103`: Fix the error reporting positions of specialized traceback " +"anchors when the source line contains Unicode characters." +msgstr "" + +#: build/NEWS:7188 +msgid "" +":gh:`99139`: Improve the error suggestion for :exc:`NameError` exceptions " +"for instances. Now if a :exc:`NameError` is raised in a method and the " +"instance has an attribute that's exactly equal to the name in the exception, " +"the suggestion will include ``self.<NAME>`` instead of the closest match in " +"the method scope. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:7194 +msgid "" +":gh:`98401`: Octal escapes with value larger than ``0o377`` (ex: " +"``\"\\477\"``), deprecated in Python 3.11, now produce a :exc:" +"`SyntaxWarning`, instead of :exc:`DeprecationWarning`. In a future Python " +"version they will be eventually a :exc:`SyntaxError`. Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:7200 +msgid "" +":gh:`98401`: A backslash-character pair that is not a valid escape sequence " +"now generates a :exc:`SyntaxWarning`, instead of :exc:`DeprecationWarning`. " +"For example, ``re.compile(\"\\d+\\.\\d+\")`` now emits a :exc:" +"`SyntaxWarning` (``\"\\d\"`` is an invalid escape sequence), use raw strings " +"for regular expression: ``re.compile(r\"\\d+\\.\\d+\")``. In a future Python " +"version, :exc:`SyntaxError` will eventually be raised, instead of :exc:" +"`SyntaxWarning`. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:7208 +msgid "" +":gh:`96793`: Handle StopIteration and StopAsyncIteration raised in generator " +"or coroutines in the bytecode, rather than in wrapping C code." +msgstr "" + +#: build/NEWS:7211 +msgid "" +":gh:`98931`: Improve the :exc:`SyntaxError` error message when the user " +"types ``import x from y`` instead of ``from y import x``. Patch by Pablo " +"Galindo" +msgstr "" + +#: build/NEWS:7215 +msgid "" +":gh:`98852`: Fix subscription of type aliases containing bare generic types " +"or types like :class:`~typing.TypeVar`: for example ``tuple[A, T][int]`` and " +"``tuple[TypeVar, T][int]``, where ``A`` is a generic type, and ``T`` is a " +"type variable." +msgstr "" + +#: build/NEWS:7220 +msgid "" +":gh:`98925`: Lower the recursion depth for marshal on WASI to support (in-" +"development) wasmtime 2.0." +msgstr "" + +#: build/NEWS:7223 +msgid "" +":gh:`98783`: Fix multiple crashes in debug mode when ``str`` subclasses are " +"used instead of ``str`` itself." +msgstr "" + +#: build/NEWS:7226 +msgid "" +":gh:`98811`: Use complete source locations to simplify detection of " +"``__future__`` imports which are not at the beginning of the file. Also " +"corrects the offset in the exception raised in one case, which was off by " +"one and impeded highlighting." +msgstr "" + +#: build/NEWS:7231 +msgid "" +":gh:`96793`: Add specialization of :opcode:`FOR_ITER` for generators. Saves " +"multiple layers of dispatch and checking to get from the :opcode:`FOR_ITER` " +"instruction in the caller to the :opcode:`RESUME` in the generator." +msgstr "" + +#: build/NEWS:7236 +msgid ":gh:`98762`: Fix source locations of :keyword:`match` sub-patterns." +msgstr "" + +#: build/NEWS:7238 +msgid "" +":gh:`98586`: Added the methods :c:func:`PyObject_Vectorcall` and :c:func:" +"`PyObject_VectorcallMethod` to the :ref:`Limited API <stable>` along with " +"the auxiliary macro constant :c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET`." +msgstr "" + +#: build/NEWS:7243 +msgid "" +"The availability of these functions enables more efficient :PEP:`590` vector " +"calls from binary extension modules that avoid argument boxing/unboxing " +"overheads." +msgstr "" + +#: build/NEWS:7247 +msgid "" +":gh:`99257`: Fix an issue where member descriptors (such as those for :attr:" +"`~object.__slots__`) could behave incorrectly or crash instead of raising a :" +"exc:`TypeError` when accessed via an instance of an invalid type." +msgstr "" + +#: build/NEWS:7252 +msgid "" +":gh:`93143`: Rather than changing :attr:`~types.CodeType.co_code`, the " +"interpreter will now display a :exc:`RuntimeWarning` and assign :const:" +"`None` to any fast locals that are left unbound after jumps or :keyword:" +"`del` statements executed while tracing." +msgstr "" + +#: build/NEWS:7257 +msgid "" +":gh:`96421`: When calling into Python code from C code, through :c:func:" +"`PyEval_EvalFrameEx` or a related C-API function, a shim frame in inserted " +"into the call stack. This occurs in the ``_PyEval_EvalFrameDefault()`` " +"function. The extra frame should be invisible to all Python and most C " +"extensions, but out-of-process profilers and debuggers need to be aware of " +"it. These shim frames can be detected by checking ``frame->owner == " +"FRAME_OWNED_BY_CSTACK``." +msgstr "" + +#: build/NEWS:7265 +msgid "" +"Extensions implementing their own interpreters using PEP 523 need to be " +"aware of this shim frame and the changes to the semantics of :opcode:" +"`RETURN_VALUE`, :opcode:`YIELD_VALUE`, and :opcode:`RETURN_GENERATOR`, which " +"now clear the frame." +msgstr "" + +#: build/NEWS:7270 +msgid "" +":gh:`98415`: Fix detection of MAC addresses for :mod:`uuid` on certain OSs. " +"Patch by Chaim Sanders" +msgstr "" + +#: build/NEWS:7273 +msgid "" +":gh:`98686`: Quicken all code objects, and specialize adaptive bytecode " +"instructions more aggressively." +msgstr "" + +#: build/NEWS:7276 +msgid "" +":gh:`92119`: Print exception class name instead of its string representation " +"when raising errors from :mod:`ctypes` calls." +msgstr "" + +#: build/NEWS:7279 +msgid "" +":gh:`91058`: :exc:`ImportError` raised from failed ``from <module> import " +"<name>`` now include suggestions for the value of ``<name>`` based on the " +"available names in ``<module>``. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:7283 +msgid "" +":gh:`96793`: The :opcode:`FOR_ITER` now leaves the iterator on the stack on " +"termination of the loop. This is to assist specialization of loops for " +"generators." +msgstr "" + +#: build/NEWS:7287 +msgid "" +":gh:`90716`: Add _pylong.py module. It includes asymptotically faster " +"algorithms that can be used for operations on integers with many digits. It " +"is used by longobject.c to speed up some operations." +msgstr "" + +#: build/NEWS:7291 +msgid "" +":gh:`95389`: Expose :const:`~socket.ETH_P_ALL` and some of the :ref:" +"`ETHERTYPE_* constants <socket-ethernet-types>` in :mod:`socket`. Patch by " +"Noam Cohen." +msgstr "" + +#: build/NEWS:7295 +msgid "" +":gh:`93696`: Allow :mod:`pdb` to locate source for frozen modules in the " +"standard library." +msgstr "" + +#: build/NEWS:7301 +msgid "" +":gh:`99418`: Fix bug in :func:`urllib.parse.urlparse` that causes URL " +"schemes that begin with a digit, a plus sign, or a minus sign to be parsed " +"incorrectly." +msgstr "" + +#: build/NEWS:7305 +msgid "" +":gh:`94597`: Deprecate :class:`asyncio.AbstractChildWatcher` to be removed " +"in Python 3.14. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:7308 +msgid ":gh:`99305`: Improve performance of :func:`secrets.token_hex`." +msgstr "" + +#: build/NEWS:7310 +msgid "" +":gh:`74044`: Fixed bug where :func:`inspect.signature` reported incorrect " +"arguments for decorated methods." +msgstr "" + +#: build/NEWS:7313 +msgid "" +":gh:`99275`: Fix ``SystemError`` in :mod:`ctypes` when exception was not set " +"during ``__initsubclass__``." +msgstr "" + +#: build/NEWS:7316 +msgid "" +":gh:`99277`: Remove older version of ``_SSLProtocolTransport." +"get_write_buffer_limits`` in :mod:`!asyncio.sslproto`" +msgstr "" + +#: build/NEWS:7320 +msgid ":gh:`99248`: fix negative numbers failing in verify()" +msgstr "" + +#: build/NEWS:7322 +msgid "" +":gh:`99155`: Fix :class:`statistics.NormalDist` pickle with ``0`` and ``1`` " +"protocols." +msgstr "" + +#: build/NEWS:7325 +msgid "" +":gh:`93464`: ``enum.auto()`` is now correctly activated when combined with " +"other assignment values. E.g. ``ONE = auto(), 'some text'`` will now " +"evaluate as ``(1, 'some text')``." +msgstr "" + +#: build/NEWS:7329 +msgid ":gh:`99134`: Update the bundled copy of pip to version 22.3.1." +msgstr "" + +#: build/NEWS:7331 +msgid "" +":gh:`92584`: Remove the ``distutils`` package. It was deprecated in Python " +"3.10 by :pep:`632` \"Deprecate distutils module\". For projects still using " +"``distutils`` and cannot be updated to something else, the ``setuptools`` " +"project can be installed: it still provides ``distutils``. Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:7337 +msgid "" +":gh:`98999`: Now :mod:`!_pyio` is consistent with :mod:`!_io` in raising " +"``ValueError`` when executing methods over closed buffers." +msgstr "" + +#: build/NEWS:7340 +msgid "" +":gh:`83004`: Clean up refleak on failed module initialisation in :mod:`!" +"_zoneinfo`" +msgstr "" + +#: build/NEWS:7343 +msgid "" +":gh:`83004`: Clean up refleaks on failed module initialisation in :mod:`!" +"_pickle`" +msgstr "" + +#: build/NEWS:7346 +msgid "" +":gh:`83004`: Clean up refleak on failed module initialisation in :mod:`!_io`." +msgstr "" + +#: build/NEWS:7349 +msgid "" +":gh:`98897`: Fix memory leak in :func:`math.dist` when both points don't " +"have the same dimension. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:7352 +msgid "" +":gh:`98878`: Use the frame bound builtins when offering a name suggestion " +"in :mod:`traceback` to prevent crashing when ``__builtins__`` is not a dict." +msgstr "" + +#: build/NEWS:7356 +msgid "" +":gh:`98139`: In :mod:`importlib._bootstrap`, enhance namespace package repr " +"to ``<module 'x' (namespace) from ['path']>``." +msgstr "" + +#: build/NEWS:7359 +msgid "" +":gh:`90352`: Fix ``_SelectorDatagramTransport`` to inherit from :class:" +"`~asyncio.DatagramTransport` in :mod:`asyncio`. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:7363 +msgid "" +":gh:`98793`: Fix argument typechecks in :func:`!_overlapped.WSAConnect` and :" +"func:`!_overlapped.Overlapped.WSASendTo` functions." +msgstr "" + +#: build/NEWS:7366 +msgid "" +":gh:`98744`: Prevent crashing in :mod:`traceback` when retrieving the byte-" +"offset for some source files that contain certain unicode characters." +msgstr "" + +#: build/NEWS:7369 +msgid "" +":gh:`98740`: Fix internal error in the :mod:`re` module which in very rare " +"circumstances prevented compilation of a regular expression containing a :" +"ref:`conditional expression <re-conditional-expression>` without the " +"\"else\" branch." +msgstr "" + +#: build/NEWS:7374 +msgid "" +":gh:`98703`: Fix :meth:`asyncio.StreamWriter.drain` to call ``protocol." +"connection_lost`` callback only once on Windows." +msgstr "" + +#: build/NEWS:7377 +msgid "" +":gh:`98624`: Add a mutex to unittest.mock.NonCallableMock to protect " +"concurrent access to mock attributes." +msgstr "" + +#: build/NEWS:7380 +msgid "" +":gh:`98658`: The :class:`array.array` class now supports subscripting, " +"making it a :term:`generic type`." +msgstr "" + +#: build/NEWS:7383 +msgid "" +":gh:`98284`: Improved :class:`TypeError` message for undefined abstract " +"methods of a :class:`abc.ABC` instance. The names of the missing methods are " +"surrounded by single-quotes to highlight them." +msgstr "" + +#: build/NEWS:7387 +msgid "" +":gh:`96151`: Allow ``BUILTINS`` to be a valid field name for frozen " +"dataclasses." +msgstr "" + +#: build/NEWS:7390 +msgid "" +":gh:`98086`: Make sure ``patch.dict()`` can be applied on async functions." +msgstr "" + +#: build/NEWS:7393 +msgid "" +":gh:`72719`: Remove modules :mod:`!asyncore` and :mod:`!asynchat`, which " +"were deprecated by :pep:`594`." +msgstr "" + +#: build/NEWS:7396 +msgid "" +":gh:`96192`: Fix handling of ``bytes`` :term:`path-like objects <path-like " +"object>` in :func:`os.ismount`." +msgstr "" + +#: build/NEWS:7399 +msgid "" +":gh:`94172`: :mod:`ftplib`: Remove the ``FTP_TLS.ssl_version`` class " +"attribute: use the *context* parameter instead. Patch by Victor Stinner" +msgstr "" + +#: build/NEWS:7402 +msgid "" +":gh:`94172`: Remove the *keyfile* and *certfile* parameters from the :mod:" +"`ftplib`, :mod:`imaplib`, :mod:`poplib` and :mod:`smtplib` modules, and the " +"*key_file*, *cert_file* and *check_hostname* parameters from the :mod:`http." +"client` module, all deprecated since Python 3.6. Use the *context* parameter " +"(*ssl_context* in :mod:`imaplib`) instead. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:7409 +msgid "" +":gh:`83638`: Add the :attr:`~sqlite3.Connection.autocommit` attribute to :" +"class:`sqlite3.Connection` and the *autocommit* parameter to :func:`sqlite3." +"connect` to control :pep:`249`-compliant :ref:`transaction handling <sqlite3-" +"transaction-control-autocommit>`. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:7415 +msgid "" +":gh:`92452`: Fixed a race condition that could cause :func:`sysconfig." +"get_config_var` to incorrectly return :const:`None` in multi-threaded " +"programs." +msgstr "" + +#: build/NEWS:7419 +msgid "" +":gh:`91803`: Fix an error when using a method of objects mocked with :func:" +"`unittest.mock.create_autospec` after it was sealed with :func:`unittest." +"mock.seal` function." +msgstr "" + +#: build/NEWS:7423 +msgid "" +":issue:`38523`: :func:`shutil.copytree` now applies the " +"*ignore_dangling_symlinks* argument recursively." +msgstr "" + +#: build/NEWS:7426 +msgid "" +":issue:`40358`: Add walk_up argument in :meth:`pathlib.PurePath.relative_to`." +msgstr "" + +#: build/NEWS:7428 +msgid "" +":issue:`36267`: Fix IndexError in :class:`argparse.ArgumentParser` when a " +"``store_true`` action is given an explicit argument." +msgstr "" + +#: build/NEWS:7434 +msgid "" +":gh:`98832`: Changes wording of docstring for :func:`pathlib.Path.iterdir`." +msgstr "" + +#: build/NEWS:7437 +msgid "" +":gh:`97966`: Update uname docs to clarify the special nature of the platform " +"attribute and to indicate when it became late-bound." +msgstr "" + +#: build/NEWS:7443 +msgid "" +":gh:`98903`: The Python test suite now fails with exit code 4 if no tests " +"ran. It should help detecting typos in test names and test methods." +msgstr "" + +#: build/NEWS:7446 +msgid "" +":gh:`98713`: Fix a bug in the :mod:`typing` tests where a test relying on " +"CPython-specific implementation details was not decorated with " +"``@cpython_only`` and was not skipped on other implementations." +msgstr "" + +#: build/NEWS:7450 +msgid "" +":gh:`87390`: Add tests for star-unpacking with PEP 646, and some other " +"miscellaneous PEP 646 tests." +msgstr "" + +#: build/NEWS:7453 +msgid "" +":gh:`96853`: Added explicit coverage of ``Py_Initialize`` (and hence " +"``Py_InitializeEx``) back to the embedding tests (all other embedding tests " +"migrated to ``Py_InitializeFromConfig`` in Python 3.11)" +msgstr "" + +#: build/NEWS:7457 +msgid "" +":issue:`34272`: Some C API tests were moved into the new Lib/test/test_capi/ " +"directory." +msgstr "" + +#: build/NEWS:7463 +msgid "" +":gh:`99086`: Fix ``-Wimplicit-int`` compiler warning in :program:`configure` " +"check for ``PTHREAD_SCOPE_SYSTEM``." +msgstr "" + +#: build/NEWS:7466 +msgid ":gh:`99016`: Fix build with ``PYTHON_FOR_REGEN=python3.8``." +msgstr "" + +#: build/NEWS:7468 +msgid "" +":gh:`97731`: Specify the full path to the source location for ``make " +"docclean`` (needed for cross-builds)." +msgstr "" + +#: build/NEWS:7471 +msgid ":gh:`98949`: Drop unused build dependency on ``readelf``." +msgstr "" + +#: build/NEWS:7473 +msgid "" +":gh:`98989`: Use ``python3.11``, if available, for regeneration and freezing." +msgstr "" + +#: build/NEWS:7476 +msgid "" +":gh:`98831`: Add new tooling, in ``Tools/cases_generator``, to generate the " +"interpreter switch statement from a list of opcode definitions. This only " +"affects adding, modifying or removing instruction definitions. The " +"instruction definitions now live in ``Python/bytecodes.c``, in the form of a " +"`custom DSL (under development) <https://github.com/faster-cpython/ideas/" +"blob/main/3.12/interpreter_definition.md>`__. The tooling reads this file " +"and writes ``Python/generated_cases.c.h``, which is then included by " +"``Python/ceval.c`` to provide most of the cases of the main interpreter " +"switch." +msgstr "" + +#: build/NEWS:7486 +msgid "" +":gh:`98817`: Remove PCbuild/lib.pyproj: it's not used for anything, is only " +"a minor convenience for Visual Studio users (who probably mostly don't even " +"know about it), and it takes a lot of maintenance effort to keep updated." +msgstr "" + +#: build/NEWS:7491 +msgid "" +":gh:`98776`: Fix ``make regen-test-levenshtein`` for out-of-tree builds." +msgstr "" + +#: build/NEWS:7494 +msgid "" +":gh:`98707`: Don't use vendored ``libmpdec`` headers if :option:`--with-" +"system-libmpdec` is passed to :program:`configure`. Don't use vendored " +"``libexpat`` headers if :option:`--with-system-expat` is passed to :program:" +"`configure`." +msgstr "" + +#: build/NEWS:7502 +msgid "" +":gh:`98689`: Update Windows builds to zlib v1.2.13. v1.2.12 has :cve:" +"`2022-37434`, but the vulnerable ``inflateGetHeader`` API is not used by " +"Python." +msgstr "" + +#: build/NEWS:7506 +msgid "" +":gh:`98790`: Assumes that a missing ``DLLs`` directory means that standard " +"extension modules are in the executable's directory." +msgstr "" + +#: build/NEWS:7509 +msgid "" +":gh:`98745`: Update :file:`py.exe` launcher to install 3.11 by default and " +"3.12 on request." +msgstr "" + +#: build/NEWS:7512 +msgid "" +":gh:`98692`: Fix the :ref:`launcher` ignoring unrecognized shebang lines " +"instead of treating them as local paths" +msgstr "" + +#: build/NEWS:7515 +msgid ":gh:`94328`: Update Windows installer to use SQLite 3.39.4." +msgstr "" + +#: build/NEWS:7520 +msgid ":gh:`94328`: Update macOS installer to SQLite 3.39.4." +msgstr "" + +#: build/NEWS:7525 +msgid "" +":gh:`98724`: The :c:macro:`Py_CLEAR`, :c:macro:`Py_SETREF` and :c:macro:" +"`Py_XSETREF` macros now only evaluate their argument once. If the argument " +"has side effects, these side effects are no longer duplicated. Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:7530 +msgid "" +":gh:`98978`: Fix use-after-free in ``Py_SetPythonHome(NULL)``, " +"``Py_SetProgramName(NULL)`` and ``_Py_SetProgramFullPath(NULL)`` function " +"calls. Issue reported by Benedikt Reinartz. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:7534 +msgid "" +":gh:`98410`: Add ``getbufferproc`` and ``releasebufferproc`` to the stable " +"API." +msgstr "" + +#: build/NEWS:7537 +msgid "" +":gh:`98610`: Some configurable capabilities of sub-interpreters have " +"changed. They always allow subprocesses (:mod:`subprocess`) now, whereas " +"before subprocesses could be optionally disallowed for a sub-interpreter. " +"Instead :func:`os.exec` can now be disallowed. Disallowing daemon threads is " +"now supported. Disallowing all threads is still allowed, but is never done " +"by default. Note that the optional restrictions are only available through " +"``_Py_NewInterpreterFromConfig()``, which isn't a public API. They do not " +"affect the main interpreter, nor :c:func:`Py_NewInterpreter`." +msgstr "" + +#: build/NEWS:7546 +msgid "" +":gh:`98608`: A ``_PyInterpreterConfig`` has been added and " +"``_Py_NewInterpreter()`` has been renamed to " +"``_Py_NewInterpreterFromConfig()``. The \"isolated_subinterpreters\" " +"argument is now a granular config that captures the previous behavior. Note " +"that this is all \"private\" API." +msgstr "" + +#: build/NEWS:7552 +msgid "" +":gh:`96853`: ``Py_InitializeEx`` now correctly calls ``PyConfig_Clear`` " +"after initializing the interpreter (the omission didn't cause a memory leak " +"only because none of the dynamically allocated config fields are populated " +"by the wrapper function)" +msgstr "" + +#: build/NEWS:7557 +msgid "" +":gh:`91248`: Add :c:func:`PyFrame_GetVar` and :c:func:`PyFrame_GetVarString` " +"functions to get a frame variable by its name. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:7563 +msgid "Python 3.12.0 alpha 1" +msgstr "" + +#: build/NEWS:7565 +msgid "*Release date: 2022-10-25*" +msgstr "" + +#: build/NEWS:7570 +msgid "" +":gh:`97616`: Fix multiplying a list by an integer (``list *= int``): detect " +"the integer overflow when the new allocated length is close to the maximum " +"size. Issue reported by Jordan Limor. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:7574 +msgid "" +":gh:`97514`: On Linux the :mod:`multiprocessing` module returns to using " +"filesystem backed unix domain sockets for communication with the " +"*forkserver* process instead of the Linux abstract socket namespace. Only " +"code that chooses to use the :ref:`\"forkserver\" start method " +"<multiprocessing-start-methods>` is affected." +msgstr "" + +#: build/NEWS:7580 +msgid "" +"Abstract sockets have no permissions and could allow any user on the system " +"in the same `network namespace <https://man7.org/linux/man-pages/man7/" +"network_namespaces.7.html>`_ (often the whole system) to inject code into " +"the multiprocessing *forkserver* process. This was a potential privilege " +"escalation. Filesystem based socket permissions restrict this to the " +"*forkserver* process user as was the default in Python 3.8 and earlier." +msgstr "" + +#: build/NEWS:7588 +msgid "This prevents Linux :cve:`2022-42919`." +msgstr "" + +#: build/NEWS:7590 +msgid "" +":gh:`87389`: :mod:`http.server`: Fix an open redirection vulnerability in " +"the HTTP server when an URI path starts with ``//``. Vulnerability " +"discovered, and initial fix proposed, by Hamza Avvan." +msgstr "" + +#: build/NEWS:7594 +msgid "" +":gh:`79096`: LWPCookieJar and MozillaCookieJar create files with file mode " +"600 instead of 644 (Microsoft Windows is not affected)" +msgstr "" + +#: build/NEWS:7597 +msgid "" +":gh:`92888`: Fix ``memoryview`` use after free when accessing the backing " +"buffer in certain cases." +msgstr "" + +#: build/NEWS:7600 +msgid "" +":gh:`68966`: The deprecated mailcap module now refuses to inject unsafe text " +"(filenames, MIME types, parameters) into shell commands. Instead of using " +"such text, it will warn and act as if a match was not found (or for test " +"commands, as if the test failed)." +msgstr "" + +#: build/NEWS:7608 +msgid "" +":gh:`98374`: Suppress ImportError for invalid query for help() command. " +"Patch by Donghee Na." +msgstr "" + +#: build/NEWS:7611 +msgid "" +":gh:`98461`: Fix source location in bytecode for list, set and dict " +"comprehensions as well as generator expressions." +msgstr "" + +#: build/NEWS:7614 +msgid "" +":gh:`98354`: Added unicode check for ``name`` attribute of ``spec`` argument " +"passed in :func:`!_imp.create_builtin` function." +msgstr "" + +#: build/NEWS:7617 +msgid ":gh:`98398`: Fix source location of 'assert' bytecodes." +msgstr "" + +#: build/NEWS:7619 +msgid "" +":gh:`98390`: Fix location of sub-expressions of boolean expressions, by " +"reducing their scope to that of the sub-expression." +msgstr "" + +#: build/NEWS:7622 +msgid "" +":gh:`98254`: Modules from the standard library are now potentially suggested " +"as part of the error messages displayed by the interpreter when an :exc:" +"`NameError` is raised to the top level. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:7626 +msgid "" +":gh:`97997`: Add running column offset to the tokenizer state to avoid " +"calculating AST column information with pointer arithmetic." +msgstr "" + +#: build/NEWS:7629 +msgid "" +":gh:`97973`: Modify the tokenizer to return all necessary information the " +"parser needs to set location information in the AST nodes, so that the " +"parser does not have to calculate those doing pointer arithmetic." +msgstr "" + +#: build/NEWS:7633 +msgid "" +":gh:`96078`: :func:`os.sched_yield` now release the GIL while calling " +"sched_yield(2). Patch by Donghee Na." +msgstr "" + +#: build/NEWS:7636 +msgid ":gh:`97955`: Migrate :mod:`zoneinfo` to Argument Clinic." +msgstr "" + +#: build/NEWS:7638 +msgid "" +":gh:`97912`: The compiler now avoids quadratic behavior when finding which " +"instructions should use the :opcode:`LOAD_FAST_CHECK` opcode." +msgstr "" + +#: build/NEWS:7641 +msgid "" +":gh:`97002`: Fix an issue where several frame objects could be backed by the " +"same interpreter frame, possibly leading to corrupted memory and hard " +"crashes of the interpreter." +msgstr "" + +#: build/NEWS:7645 +msgid "" +":gh:`97943`: Bugfix: :c:func:`PyFunction_GetAnnotations` should return a " +"borrowed reference. It was returning a new reference." +msgstr "" + +#: build/NEWS:7648 +msgid "" +":gh:`97922`: The Garbage Collector now runs only on the eval breaker " +"mechanism of the Python bytecode evaluation loop instead on object " +"allocations. The GC can also run when :c:func:`PyErr_CheckSignals` is called " +"so C extensions that need to run for a long time without executing any " +"Python code also have a chance to execute the GC periodically." +msgstr "" + +#: build/NEWS:7654 +msgid "" +":gh:`65961`: When ``__package__`` is different than ``__spec__.parent``, " +"raise a ``DeprecationWarning`` instead of ``ImportWarning``." +msgstr "" + +#: build/NEWS:7658 +msgid "" +"Also remove ``importlib.util.set_package()`` which was scheduled for removal." +msgstr "" + +#: build/NEWS:7661 +msgid "" +":gh:`97850`: Long deprecated, ``module_repr()`` should now be completely " +"eradicated." +msgstr "" + +#: build/NEWS:7664 +msgid "" +":gh:`86298`: In cases where ``warnings.warn_explicit()`` consults the " +"module's loader, an ``DeprecationWarning`` is issued when ``m.__loader__`` " +"differs from ``m.__spec__.loader``." +msgstr "" + +#: build/NEWS:7668 +msgid "" +":gh:`97779`: Ensure that all Python frame objects are backed by \"complete\" " +"frames." +msgstr "" + +#: build/NEWS:7671 +msgid "" +":gh:`91052`: Add API for subscribing to modification events on selected " +"dictionaries." +msgstr "" + +#: build/NEWS:7674 +msgid "" +":gh:`97752`: Fix possible data corruption or crashes when accessing the " +"``f_back`` member of newly-created generator or coroutine frames." +msgstr "" + +#: build/NEWS:7677 +msgid "" +":gh:`97591`: Fixed a missing incref/decref pair in ``Exception." +"__setstate__()``. Patch by Ofey Chan." +msgstr "" + +#: build/NEWS:7680 +msgid "" +":gh:`97670`: Remove the :func:`sys.getdxp` function and the ``Tools/scripts/" +"analyze_dxp.py`` script. DXP stands for \"dynamic execution pairs\". They " +"were related to ``DYNAMIC_EXECUTION_PROFILE`` and ``DXPAIRS`` macros which " +"have been removed in Python 3.11. Python can now be built with :option:`./" +"configure --enable-pystats <--enable-pystats>` to gather statistics on " +"Python opcodes. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:7687 +msgid "" +":gh:`94526`: Fix the Python path configuration used to initialized :data:" +"`sys.path` at Python startup. Paths are no longer encoded to UTF-8/strict to " +"avoid encoding errors if it contains surrogate characters (bytes paths are " +"decoded with the surrogateescape error handler). Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:7693 +msgid "" +":gh:`96670`: The parser now raises :exc:`SyntaxError` when parsing source " +"code containing null bytes. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:7696 +msgid "" +":gh:`96975`: Fix a crash occurring when :c:func:`PyEval_GetFrame` is called " +"while the topmost Python frame is in a partially-initialized state." +msgstr "" + +#: build/NEWS:7699 +msgid "" +":gh:`96848`: Fix command line parsing: reject :option:`-X int_max_str_digits " +"<-X>` option with no value (invalid) when the :envvar:" +"`PYTHONINTMAXSTRDIGITS` environment variable is set to a valid limit. Patch " +"by Victor Stinner." +msgstr "" + +#: build/NEWS:7704 +msgid "" +":gh:`95921`: Fix overly-broad source position information for chained " +"comparisons used as branching conditions." +msgstr "" + +#: build/NEWS:7707 +msgid ":gh:`96821`: Fix undefined behaviour in ``audioop.c``." +msgstr "" + +#: build/NEWS:7709 +msgid ":gh:`96821`: Fix undefined behaviour in ``_testcapimodule.c``." +msgstr "" + +#: build/NEWS:7711 +msgid "" +":gh:`95778`: When :exc:`ValueError` is raised if an integer is larger than " +"the limit, mention the :func:`sys.set_int_max_str_digits` function in the " +"error message. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:7715 +msgid "" +":gh:`96387`: At Python exit, sometimes a thread holding the GIL can wait " +"forever for a thread (usually a daemon thread) which requested to drop the " +"GIL, whereas the thread already exited. To fix the race condition, the " +"thread which requested the GIL drop now resets its request before exiting. " +"Issue discovered and analyzed by Mingliang ZHAO. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:7722 +msgid "" +":gh:`96864`: Fix a possible assertion failure, fatal error, or :exc:" +"`SystemError` if a line tracing event raises an exception while opcode " +"tracing is enabled." +msgstr "" + +#: build/NEWS:7726 +msgid "" +":gh:`95778`: The ``PyLong_FromString`` function was refactored to make it " +"more maintainable and extensible." +msgstr "" + +#: build/NEWS:7729 +msgid "" +":gh:`96678`: Fix undefined behaviour in C code of null pointer arithmetic." +msgstr "" + +#: build/NEWS:7732 +msgid "" +":gh:`96754`: Make sure that all frame objects created are created from valid " +"interpreter frames. Prevents the possibility of invalid frames in backtraces " +"and signal handlers." +msgstr "" + +#: build/NEWS:7736 +msgid "" +":gh:`90997`: Improve the performance of reading and writing inline bytecode " +"caches on some platforms." +msgstr "" + +#: build/NEWS:7739 +msgid ":gh:`96751`: Remove dead code from ``CALL_FUNCTION_EX`` opcode." +msgstr "" + +#: build/NEWS:7741 +msgid "" +":gh:`90751`: :class:`memoryview` now supports half-floats. Patch by Donghee " +"Na and Antoine Pitrou." +msgstr "" + +#: build/NEWS:7744 +msgid ":gh:`96678`: Fix case of undefined behavior in ceval.c" +msgstr "" + +#: build/NEWS:7746 +msgid ":gh:`64373`: Convert :mod:`!_functools` to argument clinic." +msgstr "" + +#: build/NEWS:7748 +msgid ":gh:`96641`: Do not expose ``KeyWrapper`` in :mod:`!_functools`." +msgstr "" + +#: build/NEWS:7750 +msgid "" +":gh:`96636`: Ensure that tracing, ``sys.setrace()``, is turned on " +"immediately. In pre-release versions of 3.11, some tracing events might have " +"been lost when turning on tracing in a ``__del__`` method or interrupt." +msgstr "" + +#: build/NEWS:7755 +msgid "" +":gh:`96572`: Fix use after free in trace refs build mode. Patch by Kumar " +"Aditya." +msgstr "" + +#: build/NEWS:7758 +msgid "" +":gh:`96611`: When loading a file with invalid UTF-8 inside a multi-line " +"string, a correct SyntaxError is emitted." +msgstr "" + +#: build/NEWS:7761 +msgid "" +":gh:`96612`: Make sure that incomplete frames do not show up in tracemalloc " +"traces." +msgstr "" + +#: build/NEWS:7764 +msgid "" +":gh:`90230`: Fix compiler warnings and test failures when building with ``--" +"enable-pystats``." +msgstr "" + +#: build/NEWS:7767 +msgid "" +":gh:`96587`: Correctly raise ``SyntaxError`` on exception groups (:pep:" +"`654`) on python versions prior to 3.11" +msgstr "" + +#: build/NEWS:7770 +msgid "" +":gh:`96569`: Remove two cases of undefined behavior, by adding NULL checks." +msgstr "" + +#: build/NEWS:7773 +msgid "" +":gh:`96582`: Fix possible ``NULL`` pointer dereference in " +"``_PyThread_CurrentFrames``. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:7776 +msgid "" +":gh:`91079`: Separate Python recursion checking from C recursion checking " +"which reduces the chance of C stack overflow and allows the recursion limit " +"to be increased safely." +msgstr "" + +#: build/NEWS:7780 +msgid "" +":gh:`93911`: Fix an issue that could prevent :opcode:`LOAD_ATTR` from " +"specializing properly when accessing properties." +msgstr "" + +#: build/NEWS:7783 +msgid "" +":gh:`96348`: Emit a DeprecationWarning when :meth:`~generator.throw`, :meth:" +"`~coroutine.throw` or :meth:`~agen.athrow` are called with more than one " +"argument." +msgstr "" + +#: build/NEWS:7787 +msgid "" +":gh:`95196`: Disable incorrect pickling of the C implemented classmethod " +"descriptors." +msgstr "" + +#: build/NEWS:7790 +msgid "" +":gh:`96364`: Fix text signatures of ``list.__getitem__`` and ``dict." +"__getitem__``." +msgstr "" + +#: build/NEWS:7793 +msgid "" +":gh:`96352`: Fix :exc:`AttributeError` missing ``name`` and ``obj`` " +"attributes in :meth:`object.__getattribute__`. Patch by Philip Georgi." +msgstr "" + +#: build/NEWS:7796 +msgid "" +":gh:`93554`: Change the jump opcodes so that all conditional jumps are " +"forward jumps. Backward jumps are converted by the assembler into a " +"conditional forward jump whose target is the fallthrough block (and with a " +"reversed condition), followed by an unconditional backward jump. For example:" +msgstr "" + +#: build/NEWS:7802 +msgid "" +"``POP_JUMP_IF_TRUE BACKWARD_TARGET`` becomes ``POP_JUMP_IF_FALSE NEXT_BLOCK; " +"JUMP BACKWARD_TARGET``." +msgstr "" + +#: build/NEWS:7805 +msgid "" +"All the directed conditional jump opcodes were removed: " +"``POP_JUMP_FORWARD_IF_TRUE``, ``POP_JUMP_BACKWARD_IF_TRUE``, " +"``POP_JUMP_FORWARD_IF_FALSE``, ``POP_JUMP_BACKWARD_IF_FALSE``, " +"``POP_JUMP_FORWARD_IF_NONE``, ``POP_JUMP_BACKWARD_IF_NONE``, " +"``POP_JUMP_FORWARD_IF_NOT_NONE``, ``POP_JUMP_BACKWARD_IF_NOT_NONE``." +msgstr "" + +#: build/NEWS:7811 +msgid "" +"The corresponding opcodes without direction are no longer pseudo-" +"instructions, and they implement the forward conditional jumps." +msgstr "" + +#: build/NEWS:7814 +msgid "" +":gh:`96268`: Loading a file with invalid UTF-8 will now report the broken " +"character at the correct location." +msgstr "" + +#: build/NEWS:7817 +msgid "" +":gh:`96237`: The internal field ``_PyInterpreterFrame.f_func`` is renamed to " +"``_PyInterpreterFrame.f_funcobj`` and may be any object. The ``f_globals`` " +"and ``f_builtin`` fields may hold junk values." +msgstr "" + +#: build/NEWS:7821 +msgid "It is safest to treat the ``_PyInterpreterFrame`` struct as opaque." +msgstr "" + +#: build/NEWS:7823 +msgid "" +":gh:`96187`: Fixed a bug that caused ``_PyCode_GetExtra`` to return garbage " +"for negative indexes. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:7826 +msgid "" +":gh:`96143`: Add a new ``-X perf`` Python command line option as well as :" +"func:`sys.activate_stack_trampoline` and :func:`sys." +"deactivate_stack_trampoline` function in the :mod:`sys` module that allows " +"to set/unset the interpreter in a way that the Linux ``perf`` profiler can " +"detect Python calls. The new :func:`sys.is_stack_trampoline_active` function " +"allows to query the state of the perf trampoline. Design by Pablo Galindo. " +"Patch by Pablo Galindo and Christian Heimes with contributions from Gregory " +"P. Smith [Google] and Mark Shannon." +msgstr "" + +#: build/NEWS:7836 +msgid "" +":gh:`96071`: Fix a deadlock in :c:func:`PyGILState_Ensure` when allocating " +"new thread state. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:7839 +msgid "" +":gh:`96046`: :c:func:`PyType_Ready` now initializes ``ht_cached_keys`` and " +"performs additional checks to ensure that type objects are properly " +"configured. This avoids crashes in 3rd party packages that don't use regular " +"API to create new types." +msgstr "" + +#: build/NEWS:7844 +msgid "" +":gh:`96005`: On WASI :const:`~errno.ENOTCAPABLE` is now mapped to :exc:" +"`PermissionError`. The :mod:`errno` modules exposes the new error number. " +"``getpath.py`` now ignores :exc:`PermissionError` when it cannot open " +"landmark files ``pybuilddir.txt`` and ``pyenv.cfg``." +msgstr "" + +#: build/NEWS:7849 +msgid "" +":gh:`93678`: Added test a harness for direct unit tests of the compiler's " +"optimization stage. The ``_testinternalcapi.optimize_cfg()`` function runs " +"the optimiser on a sequence of instructions. The ``CfgOptimizationTestCase`` " +"class in ``test.support`` has utilities for invoking the optimizer and " +"checking the output." +msgstr "" + +#: build/NEWS:7855 +msgid "" +":gh:`95245`: Reduces the size of a \"simple\" Python object from 8 to 6 " +"words by moving the weakreflist pointer into the pre-header directly before " +"the object's dict/values pointer." +msgstr "" + +#: build/NEWS:7859 +msgid "" +":gh:`90997`: Compile virtual :keyword:`try`/:keyword:`except` blocks to " +"handle exceptions raised during :meth:`~generator.close` or :meth:" +"`~generator.throw` calls through a suspended frame." +msgstr "" + +#: build/NEWS:7863 +msgid "" +":gh:`95977`: Optimized calling :meth:`~object.__get__` with vectorcall. " +"Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:7866 +msgid "" +":gh:`91210`: Improve error message when a parameter without a default value " +"follows one with a default value, and show the same message, even when the " +"non-default/default sequence is preceded by positional-only parameters." +msgstr "" + +#: build/NEWS:7871 +msgid "" +":gh:`95922`: Fixed bug where the compiler's ``eliminate_empty_basic_blocks`` " +"function ignores the last block of the code unit." +msgstr "" + +#: build/NEWS:7875 +msgid "" +":gh:`95818`: Skip over incomplete frames in :c:func:`PyThreadState_GetFrame`." +msgstr "" + +#: build/NEWS:7878 +msgid "" +":gh:`95876`: Fix format string in ``_PyPegen_raise_error_known_location`` " +"that can lead to memory corruption on some 64bit systems. The function was " +"building a tuple with ``i`` (int) instead of ``n`` (Py_ssize_t) for " +"Py_ssize_t arguments." +msgstr "" + +#: build/NEWS:7883 +msgid "" +":gh:`95605`: Fix misleading contents of error message when converting an all-" +"whitespace string to :class:`float`." +msgstr "" + +#: build/NEWS:7886 +msgid "" +":gh:`95150`: Update code object hashing and equality to consider all " +"debugging and exception handling tables. This fixes an issue where certain " +"non-identical code objects could be \"deduplicated\" during compilation." +msgstr "" + +#: build/NEWS:7890 +msgid "" +":gh:`91146`: Reduce allocation size of :class:`list` from :meth:`str.split` " +"and :meth:`str.rsplit`. Patch by Donghee Na and Inada Naoki." +msgstr "" + +#: build/NEWS:7894 +msgid "" +":gh:`87092`: Create a 'jump target label' abstraction in the compiler so " +"that the compiler's codegen stage does not work directly with basic blocks. " +"This prepares the code for changes to the underlying CFG generation " +"mechanism." +msgstr "" + +#: build/NEWS:7899 +msgid "" +":gh:`95355`: ``_PyPegen_Parser_New`` now properly detects token memory " +"allocation errors. Patch by Honglin Zhu." +msgstr "" + +#: build/NEWS:7902 +msgid "" +":gh:`90081`: Run Python code in tracer/profiler function at full speed. " +"Fixes slowdown in earlier versions of 3.11." +msgstr "" + +#: build/NEWS:7905 +msgid "" +":gh:`95324`: Emit a warning in debug mode if an object does not call :c:func:" +"`PyObject_GC_UnTrack` before deallocation. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:7908 +msgid "" +":gh:`95245`: Merge managed dict and values pointer into a single tagged " +"pointer to save one word in the pre-header." +msgstr "" + +#: build/NEWS:7911 +msgid "" +":gh:`93678`: Add cfg_builder struct and refactor the relevant code so that a " +"cfg can be constructed without an instance of the compiler struct." +msgstr "" + +#: build/NEWS:7914 +msgid "" +":gh:`95185`: Prevented crashes in the AST constructor when compiling some " +"absurdly long expressions like ``\"+0\"*1000000``. :exc:`RecursionError` is " +"now raised instead. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:7918 +msgid "" +":gh:`93351`: :class:`ast.AST` node positions are now validated when provided " +"to :func:`compile` and other related functions. If invalid positions are " +"detected, a :exc:`ValueError` will be raised." +msgstr "" + +#: build/NEWS:7922 +msgid "" +":gh:`94438`: Fix an issue that caused extended opcode arguments and some " +"conditional pops to be ignored when calculating valid jump targets for " +"assignments to the ``f_lineno`` attribute of frame objects. In some cases, " +"this could cause inconsistent internal state, resulting in a hard crash of " +"the interpreter." +msgstr "" + +#: build/NEWS:7928 +msgid "" +":gh:`95060`: Undocumented ``PyCode_Addr2Location`` function now properly " +"returns when ``addrq`` argument is less than zero." +msgstr "" + +#: build/NEWS:7931 +msgid "" +":gh:`95113`: Replace all ``EXTENDED_ARG_QUICK`` instructions with basic :" +"opcode:`EXTENDED_ARG` instructions in unquickened code. Consumers of non-" +"adaptive bytecode should be able to handle extended arguments the same way " +"they were handled in CPython 3.10 and older." +msgstr "" + +#: build/NEWS:7936 +msgid "" +":gh:`91409`: Fix incorrect source location info caused by certain " +"optimizations in the bytecode compiler." +msgstr "" + +#: build/NEWS:7939 +msgid "" +":gh:`95023`: Implement :func:`os.setns` and :func:`os.unshare` for Linux. " +"Patch by Noam Cohen." +msgstr "" + +#: build/NEWS:7942 +msgid "" +":gh:`94036`: Fix incorrect source location info for some multi-line " +"attribute accesses and method calls." +msgstr "" + +#: build/NEWS:7945 +msgid "" +":gh:`94938`: Fix error detection in some builtin functions when keyword " +"argument name is an instance of a str subclass with overloaded ``__eq__`` " +"and ``__hash__``. Previously it could cause SystemError or other undesired " +"behavior." +msgstr "" + +#: build/NEWS:7950 +msgid "" +":gh:`94996`: :func:`ast.parse` will no longer parse function definitions " +"with positional-only params when passed ``feature_version`` less than ``(3, " +"8)``. Patch by Shantanu Jain." +msgstr "" + +#: build/NEWS:7954 +msgid "" +":gh:`94739`: Allow jumping within, out of, and across exception handlers in " +"the debugger." +msgstr "" + +#: build/NEWS:7957 +msgid "" +":gh:`94949`: :func:`ast.parse` will no longer parse parenthesized context " +"managers when passed ``feature_version`` less than ``(3, 9)``. Patch by " +"Shantanu Jain." +msgstr "" + +#: build/NEWS:7961 +msgid "" +":gh:`94947`: :func:`ast.parse` will no longer parse assignment expressions " +"when passed ``feature_version`` less than ``(3, 8)``. Patch by Shantanu Jain." +msgstr "" + +#: build/NEWS:7965 +msgid "" +":gh:`91256`: Ensures the program name is known for help text during " +"interpreter startup." +msgstr "" + +#: build/NEWS:7968 +msgid "" +":gh:`94869`: Fix the column offsets for some expressions in multi-line f-" +"strings :mod:`ast` nodes. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:7971 +msgid "" +":gh:`94893`: Fix an issue where frame object manipulations could corrupt " +"inline bytecode caches." +msgstr "" + +#: build/NEWS:7974 +msgid "" +":gh:`94822`: Fix an issue where lookups of metaclass descriptors may be " +"ignored when an identically-named attribute also exists on the class itself." +msgstr "" + +#: build/NEWS:7978 +msgid "" +":gh:`91153`: Fix an issue where a :class:`bytearray` item assignment could " +"crash if it's resized by the new value's :meth:`__index__` method." +msgstr "" + +#: build/NEWS:7981 +msgid "" +":gh:`90699`: Fix reference counting bug in :meth:`bool.__repr__`. Patch by " +"Kumar Aditya." +msgstr "" + +#: build/NEWS:7984 +msgid "" +":gh:`94694`: Fix an issue that could cause code with multi-line method " +"lookups to have misleading or incorrect column offset information. In some " +"cases (when compiling a hand-built AST) this could have resulted in a hard " +"crash of the interpreter." +msgstr "" + +#: build/NEWS:7989 +msgid "" +":gh:`93252`: Fix an issue that caused internal frames to outlive failed " +"Python function calls, possibly resulting in memory leaks or hard " +"interpreter crashes." +msgstr "" + +#: build/NEWS:7993 +msgid "" +":gh:`94215`: Fix an issue where exceptions raised by line-tracing events " +"would cause frames to be left in an invalid state, possibly resulting in a " +"hard crash of the interpreter." +msgstr "" + +#: build/NEWS:7997 +msgid "" +":gh:`92228`: Disable the compiler's inline-small-exit-blocks optimization " +"for exit blocks that are associated with source code lines. This fixes a bug " +"where the debugger cannot tell where an exception handler ends and the " +"following code block begins." +msgstr "" + +#: build/NEWS:8002 +msgid "" +":gh:`94485`: Line number of a module's ``RESUME`` instruction is set to 0 as " +"specified in :pep:`626`." +msgstr "" + +#: build/NEWS:8005 +msgid "" +":gh:`94438`: Account for instructions that can push NULL to the stack when " +"setting line number in a frame. Prevents some (unlikely) crashes." +msgstr "" + +#: build/NEWS:8008 +msgid "" +":gh:`91719`: Reload ``opcode`` when raising ``unknown opcode error`` in the " +"interpreter main loop, for C compilers to generate dispatching code " +"independently." +msgstr "" + +#: build/NEWS:8012 +msgid "" +":gh:`94329`: Compile and run code with unpacking of extremely large " +"sequences (1000s of elements). Such code failed to compile. It now compiles " +"and runs correctly." +msgstr "" + +#: build/NEWS:8016 +msgid "" +":gh:`94360`: Fixed a tokenizer crash when reading encoded files with syntax " +"errors from ``stdin`` with non utf-8 encoded text. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:8020 +msgid "" +":gh:`88116`: Fix an issue when reading line numbers from code objects if the " +"encoded line numbers are close to ``INT_MIN``. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:8024 +msgid "" +":gh:`94262`: Don't create frame objects for incomplete frames. Prevents the " +"creation of generators and closures from being observable to Python and C " +"extensions, restoring the behavior of 3.10 and earlier." +msgstr "" + +#: build/NEWS:8028 +msgid "" +":gh:`94192`: Fix error for dictionary literals with invalid expression as " +"value." +msgstr "" + +#: build/NEWS:8031 +msgid "" +":gh:`87995`: :class:`types.MappingProxyType` instances are now hashable if " +"the underlying mapping is hashable." +msgstr "" + +#: build/NEWS:8034 +msgid "" +":gh:`93883`: Revise the display strategy of traceback enhanced error " +"locations. The indicators are only shown when the location doesn't span the " +"whole line." +msgstr "" + +#: build/NEWS:8038 +msgid "" +":gh:`94163`: Add :opcode:`BINARY_SLICE` and :opcode:`STORE_SLICE` " +"instructions for more efficient handling and better specialization of " +"slicing operations, where the slice is explicit in the source code." +msgstr "" + +#: build/NEWS:8042 +msgid ":gh:`94021`: Fix unreachable code warning in ``Python/specialize.c``." +msgstr "" + +#: build/NEWS:8044 +msgid "" +":gh:`93911`: Specialize ``LOAD_ATTR`` for objects with custom " +"``__getattribute__``." +msgstr "" + +#: build/NEWS:8047 +msgid "" +":gh:`93955`: Improve performance of attribute lookups on objects with custom " +"``__getattribute__`` and ``__getattr__``. Patch by Ken Jin." +msgstr "" + +#: build/NEWS:8050 +msgid ":gh:`93911`: Specialize ``LOAD_ATTR`` for ``property()`` attributes." +msgstr "" + +#: build/NEWS:8052 +msgid "" +":gh:`93678`: Refactor compiler optimisation code so that it no longer needs " +"the ``struct assembler`` and ``struct compiler`` passed around. Instead, " +"each function takes the CFG and other data that it actually needs. This will " +"make it possible to test this code directly." +msgstr "" + +#: build/NEWS:8057 +msgid "" +":gh:`93841`: When built with ``-enable-pystats``, ``sys._stats_on()``, ``sys." +"_stats_off()``, ``sys._stats_clear()`` and ``sys._stats_dump()`` functions " +"have been added to enable gathering stats for parts of programs." +msgstr "" + +#: build/NEWS:8061 +msgid "" +":gh:`93516`: Store offset of first traceable instruction in code object to " +"avoid having to recompute it for each instruction when tracing." +msgstr "" + +#: build/NEWS:8064 +msgid "" +":gh:`93516`: Lazily create a table mapping bytecode offsets to line numbers " +"to speed up calculation of line numbers when tracing." +msgstr "" + +#: build/NEWS:8067 +msgid "" +":gh:`89828`: :class:`types.GenericAlias` no longer relays the ``__class__`` " +"attribute. For example, ``isinstance(list[int], type)`` no longer returns " +"``True``." +msgstr "" + +#: build/NEWS:8071 +msgid "" +":gh:`93678`: Refactor the compiler to reduce boilerplate and repetition." +msgstr "" + +#: build/NEWS:8074 +msgid "" +":gh:`93671`: Fix some exponential backtrace case happening with deeply " +"nested sequence patterns in match statements. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:8077 +msgid "" +":gh:`93662`: Make sure that the end column offsets are correct in multi-line " +"method calls. Previously, the end column could precede the column offset." +msgstr "" + +#: build/NEWS:8081 +msgid "" +":gh:`93461`: :func:`importlib.invalidate_caches` now drops entries from :" +"data:`sys.path_importer_cache` with a relative path as name. This solves a " +"caching issue when a process changes its current working directory." +msgstr "" + +#: build/NEWS:8085 +msgid "" +"``FileFinder`` no longer inserts a dot in the path, e.g. ``/egg/./spam`` is " +"now ``/egg/spam``." +msgstr "" + +#: build/NEWS:8088 +msgid "" +":gh:`93621`: Change order of bytecode instructions emitted for :keyword:" +"`with` and :keyword:`async with` to reduce the number of entries in the " +"exception table." +msgstr "" + +#: build/NEWS:8092 +msgid "" +":gh:`93533`: Reduce the size of the inline cache for ``LOAD_METHOD`` by 2 " +"bytes." +msgstr "" + +#: build/NEWS:8095 +msgid "" +":gh:`93444`: Removed redundant fields from the compiler's basicblock struct: " +"``b_nofallthrough``, ``b_exit``, ``b_return``. They can be easily calculated " +"from the opcode of the last instruction of the block." +msgstr "" + +#: build/NEWS:8099 +msgid "" +":gh:`93429`: ``LOAD_METHOD`` instruction has been removed. It was merged " +"back into ``LOAD_ATTR``." +msgstr "" + +#: build/NEWS:8102 +msgid "" +":gh:`93418`: Fixed an assert where an f-string has an equal sign '=' " +"following an expression, but there's no trailing brace. For example, " +"f\"{i=\"." +msgstr "" + +#: build/NEWS:8106 +msgid "" +":gh:`93382`: Cache the result of :c:func:`PyCode_GetCode` function to " +"restore the *O*\\ (1) lookup of the :attr:`~types.CodeType.co_code` " +"attribute." +msgstr "" + +#: build/NEWS:8110 +msgid "" +":gh:`93359`: Ensure that custom :mod:`ast` nodes without explicit end " +"positions can be compiled. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:8113 +msgid "" +":gh:`93356`: Code for exception handlers is emitted at the end of the code " +"unit's bytecode. This avoids one jump when no exception is raised." +msgstr "" + +#: build/NEWS:8116 +msgid "" +":gh:`93354`: Use exponential backoff for specialization counters in the " +"interpreter. Can reduce the number of failed specializations significantly " +"and avoid slowdown for those parts of a program that are not suitable for " +"specialization." +msgstr "" + +#: build/NEWS:8121 +msgid "" +":gh:`93283`: Improve error message for invalid syntax of conversion " +"character in f-string expressions." +msgstr "" + +#: build/NEWS:8124 +msgid "" +":gh:`93345`: Fix a crash in substitution of a ``TypeVar`` in nested generic " +"alias after ``TypeVarTuple``." +msgstr "" + +#: build/NEWS:8127 +msgid "" +":gh:`93223`: When a bytecode instruction jumps to an unconditional jump " +"instruction, the first instruction can often be optimized to target the " +"unconditional jump's target directly. For tracing reasons, this would " +"previously only occur if both instructions have the same line number. This " +"also now occurs if the unconditional jump is artificial, i.e., if it has no " +"associated line number." +msgstr "" + +#: build/NEWS:8134 +msgid "" +":gh:`84694`: The ``--experimental-isolated-subinterpreters`` configure " +"option and ``EXPERIMENTAL_ISOLATED_SUBINTERPRETERS`` macro have been removed." +msgstr "" + +#: build/NEWS:8138 +msgid "" +":gh:`91924`: Fix ``__lltrace__`` debug feature if the stdout encoding is not " +"UTF-8. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:8141 +msgid "" +":gh:`93040`: Wraps unused parameters in ``Objects/obmalloc.c`` with " +"``Py_UNUSED``." +msgstr "" + +#: build/NEWS:8144 +msgid "" +":gh:`93143`: Avoid ``NULL`` checks for uninitialized local variables by " +"determining at compile time which variables must be initialized." +msgstr "" + +#: build/NEWS:8147 +msgid "" +":gh:`93061`: Backward jumps after ``async for`` loops are no longer given " +"dubious line numbers." +msgstr "" + +#: build/NEWS:8150 +msgid "" +":gh:`93065`: Fix contextvars HAMT implementation to handle iteration over " +"deep trees." +msgstr "" + +#: build/NEWS:8153 +msgid "" +"The bug was discovered and fixed by Eli Libman. See `MagicStack/" +"immutables#84 <https://github.com/MagicStack/immutables/issues/84>`_ for " +"more details." +msgstr "" + +#: build/NEWS:8157 +msgid "" +":gh:`93012`: Added the new function :c:func:`PyType_FromMetaclass`, which " +"generalizes the existing :c:func:`PyType_FromModuleAndSpec` using an " +"additional metaclass argument. This is useful for language binding tools, " +"where it can be used to intercept type-related operations like subclassing " +"or static attribute access by specifying a metaclass with custom slots." +msgstr "" + +#: build/NEWS:8163 +msgid "" +"Importantly, :c:func:`PyType_FromMetaclass` is available in the Limited API, " +"which provides a path towards migrating more binding tools onto the Stable " +"ABI." +msgstr "" + +#: build/NEWS:8167 +msgid "" +":gh:`93021`: Fix the :attr:`__text_signature__` for :meth:`__get__` methods " +"implemented in C. Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:8170 +msgid "" +":gh:`89914`: The operand of the ``YIELD_VALUE`` instruction is set to the " +"stack depth. This is done to help frame handling on ``yield`` and may assist " +"debuggers." +msgstr "" + +#: build/NEWS:8174 +msgid "" +":gh:`92955`: Fix memory leak in code object's lines and positions iterators " +"as they were not finalized at exit. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:8177 +msgid "" +":gh:`92930`: Fixed a crash in ``_pickle.c`` from mutating collections during " +"``__reduce__`` or ``persistent_id``." +msgstr "" + +#: build/NEWS:8180 +msgid "" +":gh:`90690`: The PRECALL instruction has been removed. It offered only a " +"small advantage for specialization and is not needed in the vast majority of " +"cases." +msgstr "" + +#: build/NEWS:8184 +msgid "" +":gh:`92914`: Always round the allocated size for lists up to the nearest " +"even number." +msgstr "" + +#: build/NEWS:8187 +msgid "" +":gh:`92858`: Improve error message for some suites with syntax error before " +"':'" +msgstr "" + +#: build/NEWS:8190 +msgid "" +":gh:`90473`: Decrease default recursion limit on WASI to address limited " +"call stack size." +msgstr "" + +#: build/NEWS:8193 +msgid "" +":gh:`92804`: Fix memory leak in ``memoryview`` iterator as it was not " +"finalized at exit. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:8196 +msgid "" +":gh:`92777`: Specialize ``LOAD_METHOD`` for objects with lazy dictionaries. " +"Patch by Ken Jin." +msgstr "" + +#: build/NEWS:8199 +msgid "" +":gh:`92658`: Add support for connecting and binding to Hyper-V sockets on " +"Windows Hyper-V hosts and guests." +msgstr "" + +#: build/NEWS:8202 +msgid "" +":gh:`92236`: Remove spurious \"LINE\" event when starting a generator or " +"coroutine, visible tracing functions implemented in C." +msgstr "" + +#: build/NEWS:8205 +msgid "" +":gh:`91102`: :meth:`!_warnings.warn_explicit` is ported to Argument Clinic." +msgstr "" + +#: build/NEWS:8208 +msgid "" +":gh:`92619`: Make the compiler duplicate an exit block only if none of its " +"instructions have a lineno (previously only the first instruction in the " +"block was checked, leading to unnecessarily duplicated blocks)." +msgstr "" + +#: build/NEWS:8212 +msgid "" +":gh:`88750`: The deprecated debug build only ``PYTHONTHREADDEBUG`` " +"environment variable no longer does anything." +msgstr "" + +#: build/NEWS:8215 +msgid ":gh:`92261`: Fix hang when trying to iterate over a ``typing.Union``." +msgstr "" + +#: build/NEWS:8217 +msgid "" +":gh:`91432`: Specialized the :opcode:`FOR_ITER` opcode using the PEP 659 " +"machinery" +msgstr "" + +#: build/NEWS:8220 +msgid "" +":gh:`91399`: Removed duplicate '{0, 0, 0, 0, 0, 0}' entry in 'Objects/" +"unicodetype_db.h'." +msgstr "" + +#: build/NEWS:8223 +msgid ":gh:`91578`: Updates the error message for abstract class." +msgstr "" + +#: build/NEWS:8225 +msgid "" +":issue:`47091`: Improve performance of repetition of :class:`list` and :" +"class:`tuple` by using ``memcpy`` to copy data and performing the reference " +"increments in one step." +msgstr "" + +#: build/NEWS:8229 +msgid "" +":issue:`46142`: Make ``--help`` output shorter by moving some info to the " +"new ``--help-env`` and ``--help-xoptions`` command-line options. Also add " +"``--help-all`` option to print complete usage." +msgstr "" + +#: build/NEWS:8233 +msgid "" +":issue:`42316`: Document some places where an assignment expression needs " +"parentheses." +msgstr "" + +#: build/NEWS:8239 +msgid "" +":gh:`89237`: Fix hang on Windows in ``subprocess.wait_closed()`` in :mod:" +"`asyncio` with :class:`~asyncio.ProactorEventLoop`. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:8243 +msgid "" +":gh:`97928`: :meth:`tkinter.Text.count` raises now an exception for options " +"starting with \"-\" instead of silently ignoring them." +msgstr "" + +#: build/NEWS:8246 +msgid "" +":gh:`98393`: The :mod:`os` module no longer accepts bytes-like paths, like :" +"class:`bytearray` and :class:`memoryview` types: only the exact :class:" +"`bytes` type is accepted for bytes strings. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:8251 +msgid "" +":gh:`98363`: Added itertools.batched() to batch data into lists of a given " +"length with the last list possibly being shorter than the others." +msgstr "" + +#: build/NEWS:8254 +msgid "" +":gh:`98331`: Update the bundled copies of pip and setuptools to versions " +"22.3 and 65.5.0 respectively." +msgstr "" + +#: build/NEWS:8257 +msgid "" +":gh:`98307`: A :meth:`~logging.handlers.SysLogHandler.createSocket` method " +"was added to :class:`~logging.handlers.SysLogHandler`." +msgstr "" + +#: build/NEWS:8260 +msgid "" +":gh:`96035`: Fix bug in :func:`urllib.parse.urlparse` that causes certain " +"port numbers containing whitespace, underscores, plus and minus signs, or " +"non-ASCII digits to be incorrectly accepted." +msgstr "" + +#: build/NEWS:8264 +msgid "" +":gh:`98257`: Make :func:`sys.setprofile` and :func:`sys.settrace` functions " +"reentrant. They can no long fail with: ``RuntimeError(\"Cannot install a " +"trace function while another trace function is being installed\")``. Patch " +"by Victor Stinner." +msgstr "" + +#: build/NEWS:8269 +msgid "" +":gh:`98251`: Allow :mod:`venv` to pass along :envvar:`!PYTHON*` variables to " +"``ensurepip`` and ``pip`` when they do not impact path resolution" +msgstr "" + +#: build/NEWS:8273 +msgid "" +":gh:`94597`: Deprecated :meth:`asyncio.AbstractEventLoopPolicy." +"get_child_watcher` and :meth:`asyncio.AbstractEventLoopPolicy." +"set_child_watcher` methods to be removed in Python 3.14. Patch by Kumar " +"Aditya." +msgstr "" + +#: build/NEWS:8278 +msgid "" +":gh:`98178`: On macOS, fix a crash in :func:`syslog.syslog` in multi-" +"threaded applications. On macOS, the libc ``syslog()`` function is not " +"thread-safe, so :func:`syslog.syslog` no longer releases the GIL to call it. " +"Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:8283 +msgid "" +":gh:`44098`: Release the GIL when creating :class:`mmap.mmap` objects on " +"Unix." +msgstr "" + +#: build/NEWS:8286 +msgid "" +":gh:`87730`: Wrap network errors consistently in urllib FTP support, so the " +"test suite doesn't fail when a network is available but the public internet " +"is not reachable." +msgstr "" + +#: build/NEWS:8290 +msgid "" +":gh:`94597`: The child watcher classes :class:`~asyncio." +"MultiLoopChildWatcher`, :class:`~asyncio.FastChildWatcher` and :class:" +"`~asyncio.SafeChildWatcher` are deprecated and will be removed in Python " +"3.14. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:8295 +msgid "" +":gh:`98023`: Change default child watcher to :class:`~asyncio." +"PidfdChildWatcher` on Linux systems which supports it. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:8299 +msgid "" +":gh:`90985`: Earlier in 3.11 we deprecated ``asyncio.Task." +"cancel(\"message\")``. We realized we were too harsh, and have undeprecated " +"it." +msgstr "" + +#: build/NEWS:8303 +msgid "" +":gh:`65961`: Do not rely solely on ``__cached__`` on modules; code will also " +"support ``__spec__.cached``." +msgstr "" + +#: build/NEWS:8306 +msgid "" +":gh:`97646`: Replace deprecated ``application/javascript`` with ``text/" +"javascript`` in :mod:`mimetypes`. See :rfc:`9239`. Patch by Noam Cohen." +msgstr "" + +#: build/NEWS:8310 +msgid "" +":gh:`97930`: Apply changes from importlib_resources 5.8 and 5.9: " +"``Traversable.joinpath`` provides a concrete implementation. ``as_file`` now " +"supports directories of resources." +msgstr "" + +#: build/NEWS:8314 +msgid "" +":gh:`97850`: Remove deprecated :func:`!importlib.util.set_loader` and :func:" +"`!importlib.util.module_for_loader` from :mod:`importlib.util`." +msgstr "" + +#: build/NEWS:8317 +msgid ":gh:`97837`: Change deprecate warning message in :mod:`unittest` from" +msgstr "" + +#: build/NEWS:8319 +msgid "``It is deprecated to return a value!=None``" +msgstr "" + +#: build/NEWS:8321 +msgid "to" +msgstr "" + +#: build/NEWS:8323 +msgid "" +"``It is deprecated to return a value that is not None from a test case``" +msgstr "" + +#: build/NEWS:8325 +msgid "" +":gh:`97825`: Fixes :exc:`AttributeError` when :meth:`subprocess." +"check_output` is used with argument ``input=None`` and either of the " +"arguments *encoding* or *errors* are used." +msgstr "" + +#: build/NEWS:8329 +msgid "" +":gh:`97008`: :exc:`NameError` and :exc:`AttributeError` spelling suggestions " +"provided since :gh:`82711` are now also emitted by the pure Python :mod:" +"`traceback` module. Tests for those suggestions now exercise both " +"implementations to ensure they are equivalent. Patch by Carl Friedrich Bolz-" +"Tereick and Łukasz Langa." +msgstr "" + +#: build/NEWS:8335 +msgid "" +":gh:`97799`: :mod:`dataclass` now uses :func:`inspect.get_annotations` to " +"examine the annotations on class objects." +msgstr "" + +#: build/NEWS:8338 +msgid "" +":gh:`97781`: Removed deprecated interfaces in ``importlib.metadata`` (entry " +"points accessed as dictionary, implicit dictionary construction of sequence " +"of ``EntryPoint`` objects, mutablility of ``EntryPoints`` result, access of " +"entry point by index). ``entry_points`` now has a simpler, more " +"straightforward API (returning ``EntryPoints``)." +msgstr "" + +#: build/NEWS:8344 +msgid "" +":gh:`96827`: Avoid spurious tracebacks from :mod:`asyncio` when default " +"executor cleanup is delayed until after the event loop is closed (e.g. as " +"the result of a keyboard interrupt)." +msgstr "" + +#: build/NEWS:8348 +msgid ":gh:`95534`: :meth:`gzip.GzipFile.read` reads 10% faster." +msgstr "" + +#: build/NEWS:8350 +msgid "" +":gh:`97592`: Avoid a crash in the C version of :meth:`asyncio.Future." +"remove_done_callback` when an evil argument is passed." +msgstr "" + +#: build/NEWS:8354 +msgid ":gh:`97639`: Remove ``tokenize.NL`` check from :mod:`tabnanny`." +msgstr "" + +#: build/NEWS:8356 +msgid ":gh:`97545`: Make Semaphore run faster." +msgstr "" + +#: build/NEWS:8358 +msgid "" +":gh:`73588`: Fix generation of the default name of :class:`tkinter." +"Checkbutton`. Previously, checkbuttons in different parent widgets could " +"have the same short name and share the same state if arguments \"name\" and " +"\"variable\" are not specified. Now they are globally unique." +msgstr "" + +#: build/NEWS:8364 +msgid ":gh:`96865`: fix Flag to use boundary CONFORM" +msgstr "" + +#: build/NEWS:8366 +msgid "" +"This restores previous Flag behavior of allowing flags with non-sequential " +"values to be combined; e.g." +msgstr "" + +#: build/NEWS:8369 +msgid "class Skip(Flag): TWO = 2 EIGHT = 8" +msgstr "" + +#: build/NEWS:8371 +msgid "Skip.TWO | Skip.EIGHT -> <Skip.TWO|EIGHT: 10>" +msgstr "" + +#: build/NEWS:8373 +msgid ":gh:`97005`: Update bundled libexpat to 2.4.9" +msgstr "" + +#: build/NEWS:8375 +msgid "" +":gh:`85760`: Fix race condition in :mod:`asyncio` where :meth:`~asyncio." +"SubprocessProtocol.process_exited` called before the :meth:`~asyncio." +"SubprocessProtocol.pipe_data_received` leading to inconsistent output. Patch " +"by Kumar Aditya." +msgstr "" + +#: build/NEWS:8380 +msgid "" +":gh:`96704`: Pass the correct ``contextvars.Context`` when a ``asyncio`` " +"exception handler is called on behalf of a task or callback handle. This " +"adds a new ``Task`` method, ``get_context``, and also a new ``Handle`` " +"method with the same name. If this method is not found on a task object " +"(perhaps because it is a third-party library that does not yet provide this " +"method), the context prevailing at the time the exception handler is called " +"is used." +msgstr "" + +#: build/NEWS:8388 +msgid "" +":gh:`96819`: Fixed check in :mod:`multiprocessing.resource_tracker` that " +"guarantees that the length of a write to a pipe is not greater than " +"``PIPE_BUF``." +msgstr "" + +#: build/NEWS:8392 +msgid "" +":gh:`95865`: Reduce :func:`urllib.parse.quote_from_bytes` memory use on " +"large values." +msgstr "" + +#: build/NEWS:8395 +msgid "Contributed by Dennis Sweeney." +msgstr "" + +#: build/NEWS:8397 +msgid "" +":gh:`96741`: Corrected type annotation for dataclass attribute ``pstats." +"FunctionProfile.ncalls`` to be ``str``." +msgstr "" + +#: build/NEWS:8400 +msgid ":gh:`96734`: Update :mod:`unicodedata` database to Unicode 15.0.0." +msgstr "" + +#: build/NEWS:8402 +msgid ":gh:`96735`: Fix undefined behaviour in :func:`struct.unpack`." +msgstr "" + +#: build/NEWS:8404 +msgid "" +":gh:`46412`: Improve performance of ``bool(db)`` for large ndb/gdb " +"databases. Previously this would call ``len(db)`` which would iterate over " +"all keys -- the answer (empty or not) is known after the first key." +msgstr "" + +#: build/NEWS:8408 +msgid "" +":gh:`96652`: Fix the faulthandler implementation of ``faulthandler." +"register(signal, chain=True)`` if the ``sigaction()`` function is not " +"available: don't call the previous signal handler if it's NULL. Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:8413 +msgid "" +":gh:`68163`: Correct conversion of :class:`numbers.Rational`'s to :class:" +"`float`." +msgstr "" + +#: build/NEWS:8416 +msgid "" +":gh:`96538`: Speed up ``bisect.bisect()`` functions by taking advantage of " +"type-stability." +msgstr "" + +#: build/NEWS:8419 +msgid ":gh:`96465`: Fraction hashes are now cached." +msgstr "" + +#: build/NEWS:8421 +msgid "" +":gh:`96079`: In :mod:`typing`, fix missing field ``name`` and incorrect " +"``__module__`` in _AnnotatedAlias." +msgstr "" + +#: build/NEWS:8424 +msgid ":gh:`96415`: Remove ``types._cell_factory`` from module namespace." +msgstr "" + +#: build/NEWS:8426 +msgid ":gh:`95987`: Fix ``repr`` of ``Any`` subclasses." +msgstr "" + +#: build/NEWS:8428 +msgid "" +":gh:`96388`: Work around missing socket functions in :class:`~socket." +"socket`'s ``__repr__``." +msgstr "" + +#: build/NEWS:8431 +msgid "" +":gh:`96385`: Fix ``TypeVarTuple.__typing_prepare_subst__``. ``TypeError`` " +"was not raised when using more than one ``TypeVarTuple``, like ``[*T, *V]`` " +"in type alias substitutions." +msgstr "" + +#: build/NEWS:8435 +msgid "" +":gh:`96142`: Add ``match_args``, ``kw_only``, ``slots``, and " +"``weakref_slot`` to ``_DataclassParams``." +msgstr "" + +#: build/NEWS:8438 +msgid "" +":gh:`96073`: In :mod:`inspect`, fix overeager replacement of \"``typing.``\" " +"in formatting annotations." +msgstr "" + +#: build/NEWS:8441 +msgid "" +":gh:`89258`: Added a :meth:`~logging.Logger.getChildren` method to :class:" +"`logging.Logger`, to get the immediate child loggers of a logger." +msgstr "" + +#: build/NEWS:8444 +msgid ":gh:`96346`: Use double caching for compiled RE patterns." +msgstr "" + +#: build/NEWS:8446 +msgid "" +":gh:`96349`: Fixed a minor performance regression in :func:`threading.Event." +"__init__`" +msgstr "" + +#: build/NEWS:8449 +msgid "" +":gh:`90467`: Fix :class:`asyncio.streams.StreamReaderProtocol` to keep a " +"strong reference to the created task, so that it's not garbage collected" +msgstr "" + +#: build/NEWS:8452 +msgid "" +":gh:`96172`: Fix a bug in ``unicodedata``: ``east_asian_width`` used to " +"return the wrong value for unassigned characters; and for yet unassigned, " +"but reserved characters." +msgstr "" + +#: build/NEWS:8456 +msgid "" +":gh:`96159`: Fix a performance regression in logging " +"TimedRotatingFileHandler. Only check for special files when the rollover " +"time has passed." +msgstr "" + +#: build/NEWS:8460 +msgid "" +":gh:`96175`: Fix unused ``localName`` parameter in the ``Attr`` class in :" +"mod:`xml.dom.minidom`." +msgstr "" + +#: build/NEWS:8463 +msgid ":gh:`96145`: Add AttrDict to JSON module for use with object_hook." +msgstr "" + +#: build/NEWS:8465 +msgid "" +":gh:`96052`: Fix handling compiler warnings (SyntaxWarning and " +"DeprecationWarning) in :func:`codeop.compile_command` when checking for " +"incomplete input. Previously it emitted warnings and raised a SyntaxError. " +"Now it always returns ``None`` for incomplete input without emitting any " +"warnings." +msgstr "" + +#: build/NEWS:8471 +msgid "" +":gh:`96125`: Fix incorrect condition that causes ``sys.thread_info.name`` to " +"be wrong on pthread platforms." +msgstr "" + +#: build/NEWS:8474 +msgid "" +":gh:`96019`: Fix a bug in the ``makeunicodedata.py`` script leading to about " +"13 KiB of space saving in the ``unicodedata`` module, specifically the " +"character decomposition data." +msgstr "" + +#: build/NEWS:8478 +msgid "" +":gh:`95463`: Remove an incompatible change from :issue:`28080` that caused a " +"regression that ignored the utf8 in ``ZipInfo.flag_bits``. Patch by Pablo " +"Galindo." +msgstr "" + +#: build/NEWS:8482 +msgid "" +":gh:`69142`: Add ``%:z`` strftime format code (generates tzoffset with " +"colons as separator), see :ref:`strftime-strptime-behavior`." +msgstr "" + +#: build/NEWS:8485 +msgid "" +":gh:`95899`: Fix :class:`asyncio.Runner` to call :func:`asyncio." +"set_event_loop` only once to avoid calling :meth:`~asyncio." +"AbstractChildWatcher.attach_loop` multiple times on child watchers. Patch by " +"Kumar Aditya." +msgstr "" + +#: build/NEWS:8490 +msgid "" +":gh:`95736`: Fix :class:`unittest.IsolatedAsyncioTestCase` to set event loop " +"before calling setup functions. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:8493 +msgid "" +":gh:`95865`: Speed up :func:`urllib.parse.quote_from_bytes` by replacing a " +"list comprehension with ``map()``." +msgstr "" + +#: build/NEWS:8496 +msgid "" +":gh:`95861`: Add support for computing Spearman's correlation coefficient to " +"the existing statistics.correlation() function." +msgstr "" + +#: build/NEWS:8499 +msgid "" +":gh:`95804`: Fix ``logging`` shutdown handler so it respects ``MemoryHandler." +"flushOnClose``." +msgstr "" + +#: build/NEWS:8502 +msgid "" +":gh:`95704`: When a task catches :exc:`asyncio.CancelledError` and raises " +"some other error, the other error should generally not silently be " +"suppressed." +msgstr "" + +#: build/NEWS:8506 +msgid "" +":gh:`95149`: The :class:`HTTPStatus <http.HTTPStatus>` enum offers a couple " +"of properties to indicate the HTTP status category e.g. ``HTTPStatus.OK." +"is_success``." +msgstr "" + +#: build/NEWS:8510 +msgid ":gh:`95609`: Update bundled pip to 22.2.2." +msgstr "" + +#: build/NEWS:8512 +msgid "" +":gh:`95289`: Fix :class:`asyncio.TaskGroup` to propagate exception when :exc:" +"`asyncio.CancelledError` was replaced with another exception by a context " +"manager. Patch by Kumar Aditya and Guido van Rossum." +msgstr "" + +#: build/NEWS:8516 +msgid "" +":gh:`94909`: Fix incorrect joining of relative Windows paths with drives in :" +"class:`pathlib.PurePath` initializer." +msgstr "" + +#: build/NEWS:8519 +msgid "" +":gh:`95385`: Faster ``json.dumps()`` when sorting of keys is not requested " +"(default)." +msgstr "" + +#: build/NEWS:8522 +msgid "" +":gh:`83901`: Improve :meth:`Signature.bind <inspect.Signature.bind>` error " +"message for missing keyword-only arguments." +msgstr "" + +#: build/NEWS:8525 +msgid ":gh:`95339`: Update bundled pip to 22.2.1." +msgstr "" + +#: build/NEWS:8527 +msgid "" +":gh:`95045`: Fix GC crash when deallocating ``_lsprof.Profiler`` by " +"untracking it before calling any callbacks. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:8530 +msgid "" +":gh:`95231`: Fail gracefully if :const:`~errno.EPERM` or :const:`~errno." +"ENOSYS` is raised when loading :mod:`crypt` methods. This may happen when " +"trying to load ``MD5`` on a Linux kernel with :abbr:`FIPS (Federal " +"Information Processing Standard)` enabled." +msgstr "" + +#: build/NEWS:8535 +msgid "" +":gh:`95097`: Fix :func:`asyncio.run` for :class:`asyncio.Task` " +"implementations without :meth:`~asyncio.Task.uncancel` method. Patch by " +"Kumar Aditya." +msgstr "" + +#: build/NEWS:8539 +msgid "" +":gh:`95087`: Fix IndexError in parsing invalid date in the :mod:`email` " +"module." +msgstr "" + +#: build/NEWS:8542 +msgid ":gh:`95199`: Upgrade bundled setuptools to 63.2.0." +msgstr "" + +#: build/NEWS:8544 +msgid ":gh:`95194`: Upgrade bundled pip to 22.2." +msgstr "" + +#: build/NEWS:8546 +msgid "" +":gh:`93899`: Fix check for existence of :const:`os.EFD_CLOEXEC`, :const:`os." +"EFD_NONBLOCK` and :const:`os.EFD_SEMAPHORE` flags on older kernel versions " +"where these flags are not present. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:8550 +msgid "" +":gh:`95166`: Fix :meth:`concurrent.futures.Executor.map` to cancel the " +"currently waiting on future on an error - e.g. TimeoutError or " +"KeyboardInterrupt." +msgstr "" + +#: build/NEWS:8554 +msgid "" +":gh:`95132`: Fix a :mod:`sqlite3` regression where ``*args`` and ``**kwds`` " +"were incorrectly relayed from :py:func:`~sqlite3.connect` to the :class:" +"`~sqlite3.Connection` factory. The regression was introduced in 3.11a1 with " +"PR 24421 (:gh:`85128`). Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:8559 +msgid "" +":gh:`93157`: Fix :mod:`fileinput` module didn't support ``errors`` option " +"when ``inplace`` is true." +msgstr "" + +#: build/NEWS:8562 +msgid "" +":gh:`91212`: Fixed flickering of the turtle window when the tracer is turned " +"off. Patch by Shin-myoung-serp." +msgstr "" + +#: build/NEWS:8565 +msgid "" +":gh:`95077`: Add deprecation warning for enum ``member.member`` access (e.g. " +"``Color.RED.BLUE``). Remove ``EnumMeta.__getattr__``." +msgstr "" + +#: build/NEWS:8568 +msgid "" +":gh:`95109`: Ensure that timeouts scheduled with :class:`asyncio.Timeout` " +"that have already expired are delivered promptly." +msgstr "" + +#: build/NEWS:8571 +msgid "" +":gh:`95105`: :meth:`wsgiref.types.InputStream.__iter__` should return " +"``Iterator[bytes]``, not ``Iterable[bytes]``. Patch by Shantanu Jain." +msgstr "" + +#: build/NEWS:8574 +msgid "" +":gh:`95066`: Replaced assert with exception in :func:`ast.parse`, when " +"``feature_version`` has an invalid major version. Patch by Shantanu Jain." +msgstr "" + +#: build/NEWS:8577 +msgid "" +":gh:`77617`: Add :mod:`sqlite3` :ref:`command-line interface <sqlite3-cli>`. " +"Patch by Erlend Aasland." +msgstr "" + +#: build/NEWS:8580 +msgid "" +":gh:`95005`: Replace :c:expr:`_PyAccu` with :c:expr:`_PyUnicodeWriter` in " +"JSON encoder and StringIO and remove the :c:expr:`_PyAccu` implementation." +msgstr "" + +#: build/NEWS:8584 +msgid "" +":gh:`90085`: Remove ``-c/--clock`` and ``-t/--time`` CLI options of :mod:" +"`timeit`. The options had been deprecated since Python 3.3 and the " +"functionality was removed in Python 3.7. Patch by Shantanu Jain." +msgstr "" + +#: build/NEWS:8588 +msgid "" +":gh:`94857`: Fix refleak in ``_io.TextIOWrapper.reconfigure``. Patch by " +"Kumar Aditya." +msgstr "" + +#: build/NEWS:8591 +msgid "" +":gh:`94821`: Fix binding of unix socket to empty address on Linux to use an " +"available address from the abstract namespace, instead of \"\\0\"." +msgstr "" + +#: build/NEWS:8594 +msgid "" +":gh:`94736`: Fix crash when deallocating an instance of a subclass of " +"``_multiprocessing.SemLock``. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:8597 +msgid ":gh:`81620`: Add random.binomialvariate()." +msgstr "" + +#: build/NEWS:8599 +msgid "" +":gh:`74116`: Allow :meth:`asyncio.StreamWriter.drain` to be awaited " +"concurrently by multiple tasks. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:8602 +msgid "" +":gh:`87822`: When called with ``capture_locals=True``, the :mod:`traceback` " +"module functions swallow exceptions raised from calls to ``repr()`` on local " +"variables of frames. This is in order to prioritize the original exception " +"over rendering errors. An indication of the failure is printed in place of " +"the missing value. (Patch by Simon-Martin Schroeder)." +msgstr "" + +#: build/NEWS:8609 +msgid "" +":gh:`88050`: Fix :mod:`asyncio` subprocess transport to kill process cleanly " +"when process is blocked and avoid ``RuntimeError`` when loop is closed. " +"Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:8613 +msgid "" +":gh:`94637`: :meth:`SSLContext.set_default_verify_paths` now releases the " +"GIL around ``SSL_CTX_set_default_verify_paths`` call. The function call " +"performs I/O and CPU intensive work." +msgstr "" + +#: build/NEWS:8617 +msgid "" +":gh:`94309`: Deprecate aliases :class:`typing.Hashable` and :class:`typing." +"Sized`" +msgstr "" + +#: build/NEWS:8620 +msgid "" +":gh:`92546`: An undocumented ``python -m pprint`` benchmark is moved into " +"``pprint`` suite of pyperformance. Patch by Oleg Iarygin." +msgstr "" + +#: build/NEWS:8623 +msgid "" +":gh:`94607`: Fix subclassing complex generics with type variables in :mod:" +"`typing`. Previously an error message saying ``Some type variables ... are " +"not listed in Generic[...]`` was shown. :mod:`typing` no longer populates " +"``__parameters__`` with the ``__parameters__`` of a Python class." +msgstr "" + +#: build/NEWS:8629 +msgid "" +":gh:`94619`: Remove the long-deprecated ``module_repr()`` from :mod:" +"`importlib`." +msgstr "" + +#: build/NEWS:8632 +msgid "" +":gh:`93910`: The ability to access the other values of an enum on an enum (e." +"g. ``Color.RED.BLUE``) has been restored in order to fix a performance " +"regression." +msgstr "" + +#: build/NEWS:8636 +msgid "" +":gh:`93896`: Fix :func:`asyncio.run` and :class:`unittest." +"IsolatedAsyncioTestCase` to always the set event loop as it was done in " +"Python 3.10 and earlier. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:8640 +msgid "" +":gh:`94343`: Allow setting the attributes of ``reprlib.Repr`` during object " +"initialization" +msgstr "" + +#: build/NEWS:8643 +msgid "" +":gh:`94382`: Port static types of ``_multiprocessing`` module to heap types. " +"Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:8646 +msgid "" +":gh:`78724`: Fix crash in :class:`struct.Struct` when it was not completely " +"initialized by initializing it in :meth:`~object.__new__`. Patch by Kumar " +"Aditya." +msgstr "" + +#: build/NEWS:8650 +msgid "" +":gh:`94510`: Re-entrant calls to :func:`sys.setprofile` and :func:`sys." +"settrace` now raise :exc:`RuntimeError`. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:8654 +msgid "" +":gh:`92336`: Fix bug where :meth:`linecache.getline` fails on bad files " +"with :exc:`UnicodeDecodeError` or :exc:`SyntaxError`. It now returns an " +"empty string as per the documentation." +msgstr "" + +#: build/NEWS:8658 +msgid "" +":gh:`94398`: Once a :class:`asyncio.TaskGroup` has started shutting down (i." +"e., at least one task has failed and the task group has started cancelling " +"the remaining tasks), it should not be possible to add new tasks to the task " +"group." +msgstr "" + +#: build/NEWS:8663 +msgid "" +":gh:`94383`: :mod:`xml.etree`: Remove the ``ElementTree.Element.copy()`` " +"method of the pure Python implementation, deprecated in Python 3.10, use " +"the :func:`copy.copy` function instead. The C implementation of :mod:`xml." +"etree` has no ``copy()`` method, only a ``__copy__()`` method. Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:8669 +msgid "" +":gh:`94379`: :mod:`zipimport`: Remove ``find_loader()`` and " +"``find_module()`` methods, deprecated in Python 3.10: use the " +"``find_spec()`` method instead. See :pep:`451` for the rationale. Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:8674 +msgid "" +":gh:`94352`: :func:`shlex.split`: Passing ``None`` for *s* argument now " +"raises an exception, rather than reading :data:`sys.stdin`. The feature was " +"deprecated in Python 3.9. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:8678 +msgid ":gh:`94318`: Strip trailing spaces in :mod:`pydoc` text output." +msgstr "" + +#: build/NEWS:8680 +msgid "" +":gh:`89988`: Fix memory leak in :class:`pickle.Pickler` when looking up :" +"attr:`dispatch_table`. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:8683 +msgid "" +":gh:`90016`: Deprecate :mod:`sqlite3` :ref:`default adapters and converters " +"<sqlite3-default-converters>`. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:8686 +msgid "" +":gh:`94254`: Fixed types of :mod:`struct` module to be immutable. Patch by " +"Kumar Aditya." +msgstr "" + +#: build/NEWS:8689 +msgid "" +":gh:`93259`: Now raise ``ValueError`` when ``None`` or an empty string are " +"passed to ``Distribution.from_name`` (and other callers)." +msgstr "" + +#: build/NEWS:8692 +msgid "" +":gh:`74696`: :func:`shutil.make_archive` now passes the *root_dir* argument " +"to custom archivers which support it." +msgstr "" + +#: build/NEWS:8695 +msgid "" +":gh:`94216`: The :mod:`dis` module now has the opcodes for pseudo " +"instructions (those which are used by the compiler during code generation " +"but then removed or replaced by real opcodes before the final bytecode is " +"emitted)." +msgstr "" + +#: build/NEWS:8700 +msgid "" +":gh:`93096`: Removed undocumented ``python -m codecs``. Use ``python -m " +"unittest test.test_codecs.EncodedFileTest`` instead." +msgstr "" + +#: build/NEWS:8703 +msgid "" +":gh:`94207`: Made :class:`!_struct.Struct` GC-tracked in order to fix a " +"reference leak in the :mod:`!_struct` module." +msgstr "" + +#: build/NEWS:8706 +msgid "" +":gh:`93096`: Removed undocumented ``-t`` argument of ``python -m base64``. " +"Use ``python -m unittest test.test_base64.LegacyBase64TestCase." +"test_encodebytes`` instead." +msgstr "" + +#: build/NEWS:8710 +msgid "" +":gh:`94226`: Remove the :func:`locale.format` function, deprecated in Python " +"3.7: use :func:`locale.format_string` instead. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:8714 +msgid "" +":gh:`94199`: Remove the :func:`ssl.match_hostname` function. The :func:`ssl." +"match_hostname` was deprecated in Python 3.7. OpenSSL performs hostname " +"matching since Python 3.7, Python no longer uses the :func:`ssl." +"match_hostname` function. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:8719 +msgid "" +":gh:`94214`: Document the ``context`` object used in the ``venv.EnvBuilder`` " +"class, and add the new environment's library path to it." +msgstr "" + +#: build/NEWS:8723 +msgid "" +":gh:`94199`: Remove the :func:`ssl.wrap_socket` function, deprecated in " +"Python 3.7: instead, create a :class:`ssl.SSLContext` object and call its :" +"class:`ssl.SSLContext.wrap_socket` method. Any package that still uses :func:" +"`ssl.wrap_socket` is broken and insecure. The function neither sends a SNI " +"TLS extension nor validates server hostname. Code is subject to :cwe:`295` " +"Improper Certificate Validation. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:8730 +msgid "" +":gh:`94199`: Remove the :func:`ssl.RAND_pseudo_bytes` function, deprecated " +"in Python 3.6: use :func:`os.urandom` or :func:`ssl.RAND_bytes` instead. " +"Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:8734 +msgid "" +":gh:`94199`: :mod:`hashlib`: Remove the pure Python implementation of :func:" +"`hashlib.pbkdf2_hmac`, deprecated in Python 3.10. Python 3.10 and newer " +"requires OpenSSL 1.1.1 (:pep:`644`): this OpenSSL version provides a C " +"implementation of :func:`~hashlib.pbkdf2_hmac` which is faster. Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:8740 +msgid "" +":gh:`94196`: :mod:`gzip`: Remove the ``filename`` attribute of :class:`gzip." +"GzipFile`, deprecated since Python 2.6, use the :attr:`~gzip.GzipFile.name` " +"attribute instead. In write mode, the ``filename`` attribute added ``'.gz'`` " +"file extension if it was not present. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:8746 +msgid "" +":gh:`94182`: run the :class:`asyncio.PidfdChildWatcher` on the running loop, " +"this allows event loops to run subprocesses when there is no default event " +"loop running on the main thread" +msgstr "" + +#: build/NEWS:8750 +msgid "" +":gh:`94169`: Remove ``io.OpenWrapper`` and ``_pyio.OpenWrapper``, deprecated " +"in Python 3.10: just use :func:`open` instead. The :func:`open` (:func:`io." +"open`) function is a built-in function. Since Python 3.10, :func:`!_pyio." +"open` is also a static method. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:8755 +msgid "" +":gh:`91742`: Fix :mod:`pdb` crash after jump caused by a null pointer " +"dereference. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:8758 +msgid "" +":gh:`94101`: Manual instantiation of :class:`ssl.SSLSession` objects is no " +"longer allowed as it lead to misconfigured instances that crashed the " +"interpreter when attributes where accessed on them." +msgstr "" + +#: build/NEWS:8762 +msgid "" +":gh:`84753`: :func:`inspect.iscoroutinefunction`, :func:`inspect." +"isgeneratorfunction`, and :func:`inspect.isasyncgenfunction` now properly " +"return ``True`` for duck-typed function-like objects like instances of :" +"class:`unittest.mock.AsyncMock`." +msgstr "" + +#: build/NEWS:8768 +msgid "" +"This makes :func:`inspect.iscoroutinefunction` consistent with the behavior " +"of :func:`asyncio.iscoroutinefunction`. Patch by Mehdi ABAAKOUK." +msgstr "" + +#: build/NEWS:8771 +msgid "" +":gh:`94028`: Fix a regression in the :mod:`sqlite3` where statement objects " +"were not properly cleared and reset after use in cursor iters. The " +"regression was introduced by PR 27884 in Python 3.11a1. Patch by Erlend E. " +"Aasland." +msgstr "" + +#: build/NEWS:8776 +msgid "" +":gh:`93973`: Add keyword argument ``all_errors`` to ``asyncio." +"create_connection`` so that multiple connection errors can be raised as an " +"``ExceptionGroup``." +msgstr "" + +#: build/NEWS:8780 +msgid "" +":gh:`93963`: Officially deprecate from ``importlib.abc`` classes moved to " +"``importlib.resources.abc``." +msgstr "" + +#: build/NEWS:8783 +msgid "" +":gh:`93858`: Prevent error when activating venv in nested fish instances." +msgstr "" + +#: build/NEWS:8786 +msgid ":gh:`93820`: Pickle :class:`enum.Flag` by name." +msgstr "" + +#: build/NEWS:8788 +msgid ":gh:`93847`: Fix repr of enum of generic aliases." +msgstr "" + +#: build/NEWS:8790 +msgid "" +":gh:`91404`: Revert the :mod:`re` memory leak when a match is terminated by " +"a signal or memory allocation failure as the implemented fix caused a major " +"performance regression." +msgstr "" + +#: build/NEWS:8794 +msgid ":gh:`83499`: Fix double closing of file description in :mod:`tempfile`." +msgstr "" + +#: build/NEWS:8796 +msgid "" +":gh:`93820`: Fixed a regression when :func:`copy.copy`-ing :class:`enum." +"Flag` with multiple flag members." +msgstr "" + +#: build/NEWS:8799 +msgid "" +":gh:`79512`: Fixed names and ``__module__`` value of :mod:`weakref` classes :" +"class:`~weakref.ReferenceType`, :class:`~weakref.ProxyType`, :class:" +"`~weakref.CallableProxyType`. It makes them pickleable." +msgstr "" + +#: build/NEWS:8803 +msgid "" +":gh:`91389`: Fix an issue where :mod:`dis` utilities could report missing or " +"incorrect position information in the presence of ``CACHE`` entries." +msgstr "" + +#: build/NEWS:8807 +msgid "" +":gh:`93626`: Set ``__future__.annotations`` to have a ``None`` " +"mandatoryRelease to indicate that it is currently 'TBD'." +msgstr "" + +#: build/NEWS:8810 +msgid "" +":gh:`90473`: Emscripten and WASI have no home directory and cannot provide :" +"pep:`370` user site directory." +msgstr "" + +#: build/NEWS:8813 +msgid "" +":gh:`90494`: :func:`copy.copy` and :func:`copy.deepcopy` now always raise a " +"TypeError if ``__reduce__()`` returns a tuple with length 6 instead of " +"silently ignore the 6th item or produce incorrect result." +msgstr "" + +#: build/NEWS:8817 +msgid "" +":gh:`90549`: Fix a multiprocessing bug where a global named resource (such " +"as a semaphore) could leak when a child process is spawned (as opposed to " +"forked)." +msgstr "" + +#: build/NEWS:8821 +msgid "" +":gh:`93521`: Fixed a case where dataclasses would try to add ``__weakref__`` " +"into the ``__slots__`` for a dataclass that specified ``weakref_slot=True`` " +"when it was already defined in one of its bases. This resulted in a " +"``TypeError`` upon the new class being created." +msgstr "" + +#: build/NEWS:8826 +msgid "" +":gh:`79579`: :mod:`sqlite3` now correctly detects DML queries with leading " +"comments. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:8829 +msgid "" +":gh:`93421`: Update :data:`sqlite3.Cursor.rowcount` when a DML statement has " +"run to completion. This fixes the row count for SQL queries like " +"``UPDATE ... RETURNING``. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:8833 +msgid "" +":gh:`93475`: Expose ``FICLONE`` and ``FICLONERANGE`` constants in :mod:" +"`fcntl`. Patch by Illia Volochii." +msgstr "" + +#: build/NEWS:8836 +msgid "" +":gh:`93370`: Deprecate :data:`sqlite3.version` and :data:`sqlite3." +"version_info`." +msgstr "" + +#: build/NEWS:8839 +msgid "" +":gh:`91810`: Suppress writing an XML declaration in open files in " +"``ElementTree.write()`` with ``encoding='unicode'`` and " +"``xml_declaration=None``." +msgstr "" + +#: build/NEWS:8843 +msgid "" +":gh:`91162`: Support splitting of unpacked arbitrary-length tuple over " +"``TypeVar`` and ``TypeVarTuple`` parameters. For example:" +msgstr "" + +#: build/NEWS:8846 +msgid "``A[T, *Ts][*tuple[int, ...]]`` -> ``A[int, *tuple[int, ...]]``" +msgstr "" + +#: build/NEWS:8847 +msgid "``A[*Ts, T][*tuple[int, ...]]`` -> ``A[*tuple[int, ...], int]``" +msgstr "" + +#: build/NEWS:8849 +msgid "" +":gh:`93353`: Fix the :func:`importlib.resources.as_file` context manager to " +"remove the temporary file if destroyed late during Python finalization: keep " +"a local reference to the :func:`os.remove` function. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:8854 +msgid "" +":gh:`83658`: Make :class:`multiprocessing.Pool` raise an exception if " +"``maxtasksperchild`` is not ``None`` or a positive int." +msgstr "" + +#: build/NEWS:8857 +msgid "" +":gh:`93312`: Add :const:`os.PIDFD_NONBLOCK` flag to open a file descriptor " +"for a process with :func:`os.pidfd_open` in non-blocking mode. Patch by " +"Kumar Aditya." +msgstr "" + +#: build/NEWS:8861 +msgid "" +":gh:`88123`: Implement ``Enum.__contains__`` that returns ``True`` or " +"``False`` to replace the deprecated behaviour that would sometimes raise a :" +"exc:`TypeError`." +msgstr "" + +#: build/NEWS:8865 +msgid "" +":gh:`93297`: Make asyncio task groups prevent child tasks from being GCed" +msgstr "" + +#: build/NEWS:8868 +msgid "" +":gh:`85308`: Changed :class:`argparse.ArgumentParser` to use :term:" +"`filesystem encoding and error handler` instead of default text encoding to " +"read arguments from file (e.g. ``fromfile_prefix_chars`` option). This " +"change affects Windows; argument file should be encoded with UTF-8 instead " +"of ANSI Codepage." +msgstr "" + +#: build/NEWS:8874 +msgid "" +":gh:`93156`: Accessing the :attr:`pathlib.PurePath.parents` sequence of an " +"absolute path using negative index values produced incorrect results." +msgstr "" + +#: build/NEWS:8877 +msgid "" +":gh:`93162`: Add the ability for :func:`logging.config.dictConfig` to " +"usefully configure :class:`~logging.handlers.QueueHandler` and :class:" +"`~logging.handlers.QueueListener` as a pair, and add :func:`logging." +"getHandlerByName` and :func:`logging.getHandlerNames` APIs to allow access " +"to handlers by name." +msgstr "" + +#: build/NEWS:8883 +msgid "" +":gh:`93243`: The :mod:`!smtpd` module was removed per the schedule in :pep:" +"`594`." +msgstr "" + +#: build/NEWS:8886 +msgid "" +":gh:`92886`: Replace ``assert`` statements with ``raise AssertionError()`` " +"in :class:`~wsgiref.BaseHandler` so that the tested behaviour is maintained " +"running with optimizations ``(-O)``." +msgstr "" + +#: build/NEWS:8890 +msgid "" +":gh:`90155`: Fix broken :class:`asyncio.Semaphore` when acquire is cancelled." +msgstr "" + +#: build/NEWS:8893 +msgid "" +":gh:`90817`: The :func:`locale.resetlocale` function is deprecated and will " +"be removed in Python 3.13. Use ``locale.setlocale(locale.LC_ALL, \"\")`` " +"instead. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:8897 +msgid "" +":gh:`91513`: Added ``taskName`` attribute to :mod:`logging` module for use " +"with :mod:`asyncio` tasks." +msgstr "" + +#: build/NEWS:8900 +msgid "" +":gh:`74696`: :func:`shutil.make_archive` no longer temporarily changes the " +"current working directory during creation of standard ``.zip`` or tar " +"archives." +msgstr "" + +#: build/NEWS:8904 +msgid "" +":gh:`92728`: The :func:`re.template` function and the corresponding :const:" +"`re.TEMPLATE` and :const:`re.T` flags are restored after they were removed " +"in 3.11.0b1, but they are now deprecated, so they might be removed from " +"Python 3.13." +msgstr "" + +#: build/NEWS:8909 +msgid "" +":gh:`93033`: Search in some strings (platform dependent i.e [U+0xFFFF, " +"U+0x0100] on Windows or [U+0xFFFFFFFF, U+0x00010000] on Linux 64-bit) are " +"now up to 10 times faster." +msgstr "" + +#: build/NEWS:8913 +msgid "" +":gh:`89973`: Fix :exc:`re.error` raised in :mod:`fnmatch` if the pattern " +"contains a character range with upper bound lower than lower bound (e.g. " +"``[c-a]``). Now such ranges are interpreted as empty ranges." +msgstr "" + +#: build/NEWS:8917 +msgid "" +":gh:`93044`: No longer convert the database argument of :func:`sqlite3." +"connect` to bytes before passing it to the factory." +msgstr "" + +#: build/NEWS:8920 +msgid "" +":gh:`93010`: In a very special case, the email package tried to append the " +"nonexistent ``InvalidHeaderError`` to the defect list. It should have been " +"``InvalidHeaderDefect``." +msgstr "" + +#: build/NEWS:8924 +msgid "" +":gh:`92986`: Fix :func:`ast.unparse` when ``ImportFrom.level`` is ``None``" +msgstr "" + +#: build/NEWS:8927 +msgid "" +":gh:`92932`: Now :func:`~dis.dis` and :func:`~dis.get_instructions` handle " +"operand values for instructions prefixed by ``EXTENDED_ARG_QUICK``. Patch by " +"Sam Gross and Donghee Na." +msgstr "" + +#: build/NEWS:8931 +msgid "" +":gh:`92675`: Fix :func:`venv.ensure_directories` to accept :class:`pathlib." +"Path` arguments in addition to :class:`str` paths. Patch by David Foster." +msgstr "" + +#: build/NEWS:8935 +msgid "" +":gh:`87901`: Removed the ``encoding`` argument from :func:`os.popen` that " +"was added in 3.11b1." +msgstr "" + +#: build/NEWS:8938 +msgid "" +":gh:`91922`: Fix function :func:`sqlite.connect` and the :class:`sqlite." +"Connection` constructor on non-UTF-8 locales. Also, they now support bytes " +"paths non-decodable with the current FS encoding." +msgstr "" + +#: build/NEWS:8942 +msgid "" +":gh:`92869`: Added :class:`~ctypes.c_time_t` to :mod:`ctypes`, which has the " +"same size as the :c:type:`time_t` type in C." +msgstr "" + +#: build/NEWS:8945 +msgid "" +":gh:`92839`: Fixed crash resulting from calling bisect.insort() or bisect." +"insort_left() with the key argument not equal to ``None``." +msgstr "" + +#: build/NEWS:8948 +msgid "" +":gh:`90473`: :mod:`subprocess` now fails early on Emscripten and WASI " +"platforms to work around missing :func:`os.pipe` on WASI." +msgstr "" + +#: build/NEWS:8951 +msgid "" +":gh:`89325`: Removed many old deprecated :mod:`unittest` features: :class:" +"`~unittest.TestCase` method aliases, undocumented and broken :class:" +"`~unittest.TestCase` method ``assertDictContainsSubset``, undocumented :meth:" +"`TestLoader.loadTestsFromModule <unittest.TestLoader.loadTestsFromModule>` " +"parameter *use_load_tests*, and an underscored alias of the :class:" +"`~unittest.TextTestResult` class." +msgstr "" + +#: build/NEWS:8958 +msgid "" +":gh:`92734`: Allow multi-element reprs emitted by :mod:`reprlib` to be " +"pretty-printed using configurable indentation." +msgstr "" + +#: build/NEWS:8961 +msgid "" +":gh:`92671`: Fixed :func:`ast.unparse` for empty tuples in the assignment " +"target context." +msgstr "" + +#: build/NEWS:8964 +msgid "" +":gh:`91581`: :meth:`~datetime.datetime.utcfromtimestamp` no longer attempts " +"to resolve ``fold`` in the pure Python implementation, since the fold is " +"never 1 in UTC. In addition to being slightly faster in the common case, " +"this also prevents some errors when the timestamp is close to :attr:" +"`datetime.min <datetime.datetime.min>`. Patch by Paul Ganssle." +msgstr "" + +#: build/NEWS:8970 +msgid "" +":gh:`86388`: Removed randrange() functionality deprecated since Python " +"3.10. Formerly, randrange(10.0) losslessly converted to randrange(10). Now, " +"it raises a TypeError. Also, the exception raised for non-integral values " +"such as randrange(10.5) or randrange('10') has been changed from ValueError " +"to TypeError." +msgstr "" + +#: build/NEWS:8976 +msgid "" +":gh:`90385`: Add :meth:`pathlib.Path.walk` as an alternative to :func:`os." +"walk`." +msgstr "" + +#: build/NEWS:8979 +msgid ":gh:`92550`: Fix :meth:`pathlib.Path.rglob` for empty pattern." +msgstr "" + +#: build/NEWS:8981 +msgid "" +":gh:`92591`: Allow :mod:`logging` filters to return a :class:`logging." +"LogRecord` instance so that filters attached to :class:`logging.Handler`\\ s " +"can enrich records without side effects on other handlers." +msgstr "" + +#: build/NEWS:8986 +msgid "" +":gh:`92445`: Fix a bug in :mod:`argparse` where ``nargs=\"*\"`` would raise " +"an error instead of returning an empty list when 0 arguments were supplied " +"if choice was also defined in ``parser.add_argument``." +msgstr "" + +#: build/NEWS:8990 +msgid "" +":gh:`92547`: Remove undocumented :mod:`sqlite3` features deprecated in " +"Python 3.10:" +msgstr "" + +#: build/NEWS:8993 +msgid "``sqlite3.enable_shared_cache()``" +msgstr "" + +#: build/NEWS:8994 +msgid "``sqlite3.OptimizedUnicode``" +msgstr "" + +#: build/NEWS:14680 build/NEWS:14785 +msgid "Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:8998 +msgid "" +":gh:`92530`: Fix an issue that occurred after interrupting :func:`threading." +"Condition.notify`." +msgstr "" + +#: build/NEWS:9001 +msgid "" +":gh:`92531`: The statistics.median_grouped() function now always return a " +"float. Formerly, it did not convert the input type when for sequences of " +"length one." +msgstr "" + +#: build/NEWS:9005 +msgid "" +":gh:`84131`: The :class:`pathlib.Path` deprecated method ``link_to`` has " +"been removed. Use 3.10's :meth:`~pathlib.Path.hardlink_to` method instead as " +"its semantics are consistent with that of :meth:`~pathlib.Path.symlink_to`." +msgstr "" + +#: build/NEWS:9010 +msgid "" +":gh:`89336`: Removed :mod:`configparser` module APIs: the " +"``SafeConfigParser`` class alias, the ``ParsingError.filename`` property and " +"parameter, and the ``ConfigParser.readfp`` method, all of which were " +"deprecated since Python 3.2." +msgstr "" + +#: build/NEWS:9015 +msgid "" +":gh:`92391`: Add :meth:`~object.__class_getitem__` to :class:`csv." +"DictReader` and :class:`csv.DictWriter`, allowing them to be parameterized " +"at runtime. Patch by Marc Mueller." +msgstr "" + +#: build/NEWS:9019 +msgid "" +":gh:`91968`: Add ``SO_RTABLE`` and ``SO_USER_COOKIE`` constants to :mod:" +"`socket`." +msgstr "" + +#: build/NEWS:9022 +msgid "" +":gh:`91810`: :class:`~xml.etree.ElementTree.ElementTree` method :meth:`~xml." +"etree.ElementTree.ElementTree.write` and function :func:`~xml.etree." +"ElementTree.tostring` now use the text file's encoding (\"UTF-8\" if not " +"available) instead of locale encoding in XML declaration when " +"``encoding=\"unicode\"`` is specified." +msgstr "" + +#: build/NEWS:9028 +msgid "" +":gh:`81790`: :func:`os.path.splitdrive` now understands DOS device paths " +"with UNC links (beginning ``\\\\?\\UNC\\``). Contributed by Barney Gale." +msgstr "" + +#: build/NEWS:9031 +msgid "" +":gh:`91760`: Apply more strict rules for numerical group references and " +"group names in regular expressions. Only sequence of ASCII digits is now " +"accepted as a numerical reference. The group name in bytes patterns and " +"replacement strings can now only contain ASCII letters and digits and " +"underscore." +msgstr "" + +#: build/NEWS:9037 +msgid "" +":gh:`90622`: Worker processes for :class:`concurrent.futures." +"ProcessPoolExecutor` are no longer spawned on demand (a feature added in " +"3.9) when the multiprocessing context start method is ``\"fork\"`` as that " +"can lead to deadlocks in the child processes due to a fork happening while " +"threads are running." +msgstr "" + +#: build/NEWS:9043 +msgid "" +":gh:`91577`: Move imports in :class:`~multiprocessing.SharedMemory` methods " +"to module level so that they can be executed late in python finalization." +msgstr "" + +#: build/NEWS:9047 +msgid "" +":gh:`91581`: Remove an unhandled error case in the C implementation of calls " +"to :meth:`datetime.fromtimestamp <datetime.datetime.fromtimestamp>` with no " +"time zone (i.e. getting a local time from an epoch timestamp). This should " +"have no user-facing effect other than giving a possibly more accurate error " +"message when called with timestamps that fall on 10000-01-01 in the local " +"time. Patch by Paul Ganssle." +msgstr "" + +#: build/NEWS:9054 +msgid "" +":gh:`91539`: Improve performance of ``urllib.request." +"getproxies_environment`` when there are many environment variables" +msgstr "" + +#: build/NEWS:9058 +msgid "" +":gh:`91524`: Speed up the regular expression substitution (functions :func:" +"`re.sub` and :func:`re.subn` and corresponding :class:`re.Pattern` methods) " +"for replacement strings containing group references by 2--3 times." +msgstr "" + +#: build/NEWS:9063 +msgid "" +":gh:`91447`: Fix findtext in the xml module to only give an empty string " +"when the text attribute is set to ``None``." +msgstr "" + +#: build/NEWS:9066 +msgid "" +":gh:`91456`: Deprecate current default auto() behavior: In 3.13 the default " +"will be for for auto() to always return the largest member value incremented " +"by 1, and to raise if incompatible value types are used." +msgstr "" + +#: build/NEWS:9070 +msgid "" +":issue:`47231`: Fixed an issue with inconsistent trailing slashes in tarfile " +"longname directories." +msgstr "" + +#: build/NEWS:9073 +msgid "" +":issue:`39064`: :class:`zipfile.ZipFile` now raises :exc:`zipfile." +"BadZipFile` instead of ``ValueError`` when reading a corrupt zip file in " +"which the central directory offset is negative." +msgstr "" + +#: build/NEWS:9077 +msgid "" +":issue:`41287`: Fix handling of the ``doc`` argument in subclasses of :func:" +"`property`." +msgstr "" + +#: build/NEWS:9080 +msgid "" +":gh:`90005`: :mod:`ctypes` dependency ``libffi`` is now detected with ``pkg-" +"config``." +msgstr "" + +#: build/NEWS:9083 +msgid "" +":issue:`32547`: The constructors for :class:`~csv.DictWriter` and :class:" +"`~csv.DictReader` now coerce the ``fieldnames`` argument to a :class:`list` " +"if it is an iterator." +msgstr "" + +#: build/NEWS:9087 +msgid "" +":issue:`35540`: Fix :func:`dataclasses.asdict` crash when :class:" +"`collections.defaultdict` is present in the attributes." +msgstr "" + +#: build/NEWS:9090 +msgid "" +":issue:`47063`: Add an index_pages parameter to support using non-default " +"index page names." +msgstr "" + +#: build/NEWS:9093 +msgid ":issue:`47025`: Drop support for :class:`bytes` on :data:`sys.path`." +msgstr "" + +#: build/NEWS:9095 +msgid "" +":issue:`46951`: Order the contents of zipapp archives, to make builds more " +"reproducible." +msgstr "" + +#: build/NEWS:9098 +msgid "" +":issue:`42777`: Implement :meth:`pathlib.Path.is_mount` for Windows paths." +msgstr "" + +#: build/NEWS:9100 +msgid "" +":issue:`46755`: In :class:`QueueHandler`, clear ``stack_info`` from :class:" +"`LogRecord` to prevent stack trace from being written twice." +msgstr "" + +#: build/NEWS:9103 +msgid "" +":issue:`45393`: Fix the formatting for ``await x`` and ``not x`` in the " +"operator precedence table when using the :func:`help` system." +msgstr "" + +#: build/NEWS:9106 +msgid "" +":issue:`46642`: Improve error message when trying to subclass an instance " +"of :data:`typing.TypeVar`, :data:`typing.ParamSpec`, :data:`typing." +"TypeVarTuple`, etc. Based on patch by Gregory Beauregard." +msgstr "" + +#: build/NEWS:9110 +msgid "" +":issue:`46364`: Restrict use of sockets instead of pipes for stdin of " +"subprocesses created by :mod:`asyncio` to AIX platform only." +msgstr "" + +#: build/NEWS:9113 +msgid "" +":issue:`28249`: Set :attr:`doctest.DocTest.lineno` to ``None`` when an " +"object does not have :attr:`~definition.__doc__`." +msgstr "" + +#: build/NEWS:9116 +msgid "" +":issue:`46197`: Fix :mod:`ensurepip` environment isolation for subprocess " +"running ``pip``." +msgstr "" + +#: build/NEWS:9119 +msgid "" +":issue:`45924`: Fix :mod:`asyncio` incorrect traceback when future's " +"exception is raised multiple times. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:9122 +msgid "" +":issue:`45046`: Add support of context managers in :mod:`unittest`: methods :" +"meth:`~unittest.TestCase.enterContext` and :meth:`~unittest.TestCase." +"enterClassContext` of class :class:`~unittest.TestCase`, method :meth:" +"`~unittest.IsolatedAsyncioTestCase.enterAsyncContext` of class :class:" +"`~unittest.IsolatedAsyncioTestCase` and function :func:`unittest." +"enterModuleContext`." +msgstr "" + +#: build/NEWS:9130 +msgid "" +":issue:`44173`: Enable fast seeking of uncompressed unencrypted :class:" +"`zipfile.ZipExtFile`" +msgstr "" + +#: build/NEWS:9133 +msgid "" +":issue:`42627`: Fix incorrect parsing of Windows registry proxy settings" +msgstr "" + +#: build/NEWS:9135 +msgid "" +":issue:`42047`: Add :func:`threading.get_native_id` support for DragonFly " +"BSD. Patch by David Carlier." +msgstr "" + +#: build/NEWS:9138 +msgid "" +":issue:`14243`: The :class:`tempfile.NamedTemporaryFile` function has a new " +"optional parameter *delete_on_close*" +msgstr "" + +#: build/NEWS:9141 +msgid "" +":issue:`41246`: Give the same callback function for when the overlapped " +"operation is done to the functions ``recv``, ``recv_into``, ``recvfrom``, " +"``sendto``, ``send`` and ``sendfile`` inside ``IocpProactor``." +msgstr "" + +#: build/NEWS:9145 +msgid "" +":issue:`39264`: Fixed :meth:`collections.UserDict.get` to not call :meth:" +"`__missing__` when a value is not found. This matches the behavior of :class:" +"`dict`. Patch by Bar Harel." +msgstr "" + +#: build/NEWS:9149 +msgid "" +":issue:`38693`: :mod:`importlib` now uses f-strings internally instead of " +"``str.format``." +msgstr "" + +#: build/NEWS:9152 +msgid "" +":issue:`38267`: Add *timeout* parameter to :meth:`asyncio.loop." +"shutdown_default_executor`. The default value is ``None``, which means the " +"executor will be given an unlimited amount of time. When called from :class:" +"`asyncio.Runner` or :func:`asyncio.run`, the default timeout is 5 minutes." +msgstr "" + +#: build/NEWS:9158 +msgid "" +":issue:`34828`: :meth:`sqlite3.Connection.iterdump` now handles databases " +"that use ``AUTOINCREMENT`` in one or more tables." +msgstr "" + +#: build/NEWS:9161 +msgid "" +":issue:`32990`: Support reading wave files with the " +"``WAVE_FORMAT_EXTENSIBLE`` format in the :mod:`wave` module." +msgstr "" + +#: build/NEWS:9164 +msgid "" +":issue:`26253`: Allow adjustable compression level for tarfile streams in :" +"func:`tarfile.open`." +msgstr "" + +#: build/NEWS:9170 +msgid ":gh:`85525`: Remove extra row" +msgstr "" + +#: build/NEWS:9172 +msgid "" +":gh:`86404`: Deprecated tools ``make suspicious`` and ``rstlint.py`` are now " +"removed. They have been replaced by :pypi:`sphinx-lint`." +msgstr "" + +#: build/NEWS:9175 +msgid "" +":gh:`97741`: Fix ``!`` in c domain ref target syntax via a ``conf.py`` " +"patch, so it works as intended to disable ref target resolution." +msgstr "" + +#: build/NEWS:9178 +msgid "" +":gh:`96432`: Fraction literals now support whitespace around the forward " +"slash, ``Fraction('2 / 3')``." +msgstr "" + +#: build/NEWS:9181 +msgid "" +":gh:`96098`: Improve discoverability of the higher level concurrent.futures " +"module by providing clearer links from the lower level threading and " +"multiprocessing modules." +msgstr "" + +#: build/NEWS:9185 +msgid "" +":gh:`95957`: What's New 3.11 now has instructions for how to provide " +"compiler and linker flags for Tcl/Tk and OpenSSL on RHEL 7 and CentOS 7." +msgstr "" + +#: build/NEWS:9188 +msgid "" +":gh:`95588`: Clarified the conflicting advice given in the :mod:`ast` " +"documentation about :func:`ast.literal_eval` being \"safe\" for use on " +"untrusted input while at the same time warning that it can crash the " +"process. The latter statement is true and is deemed unfixable without a " +"large amount of work unsuitable for a bugfix. So we keep the warning and no " +"longer claim that ``literal_eval`` is safe." +msgstr "" + +#: build/NEWS:9195 +msgid "" +":gh:`91207`: Fix stylesheet not working in Windows CHM htmlhelp docs and add " +"warning that they are deprecated. Contributed by C.A.M. Gerlach." +msgstr "" + +#: build/NEWS:9198 +msgid "" +":gh:`95454`: Replaced incorrectly written true/false values in " +"documentation. Patch by Robert O'Shea" +msgstr "" + +#: build/NEWS:9201 +msgid "" +":gh:`95451`: Update library documentation with :ref:`availability " +"information <wasm-availability>` on WebAssembly platforms ``wasm32-" +"emscripten`` and ``wasm32-wasi``." +msgstr "" + +#: build/NEWS:9205 +msgid "" +":gh:`95415`: Use consistent syntax for platform availability. The directive " +"now supports a content body and emits a warning when it encounters an " +"unknown platform." +msgstr "" + +#: build/NEWS:9209 +msgid "" +":gh:`94321`: Document the :pep:`246` style protocol type :class:`sqlite3." +"PrepareProtocol`." +msgstr "" + +#: build/NEWS:9212 +msgid "" +":gh:`86128`: Document a limitation in ThreadPoolExecutor where its exit " +"handler is executed before any handlers in atexit." +msgstr "" + +#: build/NEWS:9215 +msgid "" +":gh:`61162`: Clarify :mod:`sqlite3` behavior when :ref:`sqlite3-connection-" +"context-manager`." +msgstr "" + +#: build/NEWS:9218 +msgid "" +":gh:`87260`: Align :mod:`sqlite3` argument specs with the actual " +"implementation." +msgstr "" + +#: build/NEWS:9221 +msgid "" +":gh:`86986`: The minimum Sphinx version required to build the documentation " +"is now 3.2." +msgstr "" + +#: build/NEWS:9224 +msgid "" +":gh:`88831`: Augmented documentation of asyncio.create_task(). Clarified the " +"need to keep strong references to tasks and added a code snippet detailing " +"how to do this." +msgstr "" + +#: build/NEWS:9228 +msgid "" +":gh:`86438`: Clarify that :option:`-W` and :envvar:`PYTHONWARNINGS` are " +"matched literally and case-insensitively, rather than as regular " +"expressions, in :mod:`warnings`." +msgstr "" + +#: build/NEWS:9232 +msgid "" +":gh:`93031`: Update tutorial introduction output to use 3.10+ SyntaxError " +"invalid range." +msgstr "" + +#: build/NEWS:9235 +msgid "" +":gh:`92240`: Added release dates for \"What's New in Python 3.X\" for 3.0, " +"3.1, 3.2, 3.8 and 3.10" +msgstr "" + +#: build/NEWS:9238 +msgid "" +":issue:`47161`: Document that :class:`pathlib.PurePath` does not collapse " +"initial double slashes because they denote UNC paths." +msgstr "" + +#: build/NEWS:9241 +msgid "" +":issue:`40838`: Document that :func:`inspect.getdoc`, :func:`inspect." +"getmodule`, and :func:`inspect.getsourcefile` might return ``None``." +msgstr "" + +#: build/NEWS:9245 +msgid "" +":issue:`43689`: The ``Differ`` documentation now also mentions other " +"whitespace characters, which make it harder to understand the diff output." +msgstr "" + +#: build/NEWS:9248 +msgid "" +":issue:`38056`: Overhaul the :ref:`error-handlers` documentation in :mod:" +"`codecs`." +msgstr "" + +#: build/NEWS:9251 +msgid ":issue:`13553`: Document tkinter.Tk args." +msgstr "" + +#: build/NEWS:9256 +msgid "" +":gh:`95027`: On Windows, when the Python test suite is run with the ``-jN`` " +"option, the ANSI code page is now used as the encoding for the stdout " +"temporary file, rather than using UTF-8 which can lead to decoding errors. " +"Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:9261 +msgid "" +":gh:`96624`: Fixed the failure of repeated runs of ``test.test_unittest`` " +"caused by side effects in ``test_dotted_but_module_not_loaded``." +msgstr "" + +#: build/NEWS:9265 +msgid "" +":gh:`95243`: Mitigate the inherent race condition from using " +"find_unused_port() in testSockName() by trying to find an unused port a few " +"times before failing. Patch by Ross Burton." +msgstr "" + +#: build/NEWS:9269 +msgid "" +":gh:`95573`: :source:`Lib/test/test_asyncio/test_ssl.py` exposed a bug in " +"the macOS kernel where intense concurrent load on non-blocking sockets " +"occasionally causes :const:`errno.ENOBUFS` (\"No buffer space available\") " +"to be emitted. FB11063974 filed with Apple, in the mean time as a workaround " +"buffer size used in tests on macOS is decreased to avoid intermittent " +"failures. Patch by Fantix King." +msgstr "" + +#: build/NEWS:9276 +msgid "" +":gh:`95280`: Fix problem with ``test_ssl`` ``test_get_ciphers`` on systems " +"that require perfect forward secrecy (PFS) ciphers." +msgstr "" + +#: build/NEWS:9279 +msgid "" +":gh:`95212`: Make multiprocessing test case ``test_shared_memory_recreate`` " +"parallel-safe." +msgstr "" + +#: build/NEWS:9282 +msgid "" +":gh:`95218`: Move tests for importlib.resources into test_importlib." +"resources." +msgstr "" + +#: build/NEWS:9285 +msgid "" +":gh:`93963`: Updated tests to use preferred location for ``importlib." +"resources`` ABCs." +msgstr "" + +#: build/NEWS:9288 +msgid "" +":gh:`94675`: Add a regression test for :mod:`re` exponentional slowdown when " +"using rjsmin." +msgstr "" + +#: build/NEWS:9291 +msgid "" +":gh:`91330`: Added more tests for :mod:`dataclasses` to cover behavior with " +"data descriptor-based fields." +msgstr "" + +#: build/NEWS:9294 +msgid "" +":gh:`94208`: ``test_ssl`` is now checking for supported TLS version and " +"protocols in more tests." +msgstr "" + +#: build/NEWS:9297 +msgid "" +":gh:`94315`: Tests now check for DAC override capability instead of relying " +"on :func:`os.geteuid`." +msgstr "" + +#: build/NEWS:9300 +msgid "" +":gh:`54781`: Rename test_tk to test_tkinter, and rename test_ttk_guionly to " +"test_ttk. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:9303 +msgid "" +":gh:`93839`: Move ``Lib/ctypes/test/`` to ``Lib/test/test_ctypes/``. Patch " +"by Victor Stinner." +msgstr "" + +#: build/NEWS:9306 +msgid "" +":gh:`93951`: In test_bdb.StateTestCase.test_skip, avoid including auxiliary " +"importers." +msgstr "" + +#: build/NEWS:9309 +msgid "" +":gh:`93957`: Provide nicer error reporting from subprocesses in test_venv." +"EnsurePipTest.test_with_pip." +msgstr "" + +#: build/NEWS:9312 +msgid "" +":gh:`93884`: Add test cases for :c:func:`PyNumber_ToBase` that take a large " +"number or a non-int object as parameter." +msgstr "" + +#: build/NEWS:9315 +msgid "" +":gh:`93852`: test_asyncio, test_logging, test_socket and test_socketserver " +"now create AF_UNIX domains in the current directory to no longer fail with " +"``OSError(\"AF_UNIX path too long\")`` if the temporary directory (the :" +"envvar:`TMPDIR` environment variable) is too long. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:9321 +msgid "" +":gh:`93353`: regrtest now checks if a test leaks temporary files or " +"directories if run with -jN option. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:9324 +msgid "" +":gh:`84461`: ``run_tests.py`` now handles cross compiling env vars correctly " +"and pass ``HOSTRUNNER`` to regression tests." +msgstr "" + +#: build/NEWS:9327 +msgid "" +":gh:`93616`: ``test_modulefinder`` now creates a temporary directory in " +"``ModuleFinderTest.setUp()`` instead of module scope." +msgstr "" + +#: build/NEWS:9330 +msgid "" +":gh:`93575`: Fix issue with test_unicode test_raiseMemError. The test case " +"now use ``test.support.calcobjsize`` to calculate size of PyUnicode " +"structs. :func:`sys.getsizeof` may return different size when string has " +"UTF-8 memory." +msgstr "" + +#: build/NEWS:9335 +msgid "" +":gh:`90473`: WASI does not have a ``chmod(2)`` syscall. :func:`os.chmod` is " +"now a dummy function on WASI. Skip all tests that depend on working :func:" +"`os.chmod`." +msgstr "" + +#: build/NEWS:9339 +msgid "" +":gh:`90473`: Skip tests on WASI that require symlinks with absolute paths." +msgstr "" + +#: build/NEWS:9342 +msgid "" +":gh:`57539`: Increase calendar test coverage for :meth:`calendar." +"LocaleTextCalendar.formatweekday`." +msgstr "" + +#: build/NEWS:9345 +msgid "" +":gh:`90473`: Skip symlink tests on WASI. wasmtime uses ``openat2(2)`` with " +"``RESOLVE_BENEATH`` flag, which prevents symlinks with absolute paths." +msgstr "" + +#: build/NEWS:9349 +msgid "" +":gh:`89858`: Fix ``test_embed`` for out-of-tree builds. Patch by Kumar " +"Aditya." +msgstr "" + +#: build/NEWS:9352 +msgid "" +":gh:`92886`: Fixing tests that fail when running with optimizations (``-O``) " +"in ``test_imaplib.py``." +msgstr "" + +#: build/NEWS:9355 +msgid "" +":gh:`92886`: Fixing tests that fail when running with optimizations (``-O``) " +"in ``test_zipimport.py``" +msgstr "" + +#: build/NEWS:9358 +msgid "" +":gh:`92886`: Fixing tests that fail when running with optimizations (``-O``) " +"in ``test_py_compile.py``" +msgstr "" + +#: build/NEWS:9361 +msgid "" +":gh:`92886`: Fixing tests that fail when running with optimizations (``-O``) " +"in ``test_sys_settrace.py``." +msgstr "" + +#: build/NEWS:9364 +msgid "" +":gh:`92886`: Fixing tests that fail when running with optimizations (``-O``) " +"in ``_test_multiprocessing.py``" +msgstr "" + +#: build/NEWS:9367 +msgid "" +":gh:`92670`: Skip ``test_shutil.TestCopy.test_copyfile_nonexistent_dir`` " +"test on AIX as the test uses a trailing slash to force the OS consider the " +"path as a directory, but on AIX the trailing slash has no effect and is " +"considered as a file." +msgstr "" + +#: build/NEWS:9373 +msgid "" +":gh:`92514`: Remove unused ``test.support.BasicTestRunner``. Patch by Jelle " +"Zijlstra." +msgstr "" + +#: build/NEWS:9376 +msgid "" +":issue:`47016`: Create a GitHub Actions workflow for verifying bundled pip " +"and setuptools. Patch by Illia Volochii and Adam Turner." +msgstr "" + +#: build/NEWS:9382 +msgid "" +":gh:`96761`: Fix the build process of clang compiler for :program:" +"`_bootstrap_python` if LTO optimization is applied. Patch by Matthias " +"Görgens and Donghee Na." +msgstr "" + +#: build/NEWS:9386 +msgid "" +":gh:`96883`: ``wasm32-emscripten`` builds for browsers now include :mod:" +"`concurrent.futures` for :mod:`asyncio` and :mod:`unittest.mock`." +msgstr "" + +#: build/NEWS:9389 +msgid "" +":gh:`85936`: CPython now uses the ThinLTO option as the default policy if " +"the Clang compiler accepts the flag. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:9392 +msgid "" +":gh:`96729`: Ensure that Windows releases built with " +"``Tools\\msi\\buildrelease.bat`` are upgradable to and from official Python " +"releases." +msgstr "" + +#: build/NEWS:9396 +msgid "" +":gh:`96269`: Shared module targets now depend on new ``MODULE_DEPS`` " +"variable, which includes ``EXPORTSYMS``. This fixes a build order issue on " +"unsupported AIX platform." +msgstr "" + +#: build/NEWS:9400 +msgid "" +":gh:`84461`: ``wasm32-emscripten`` platform no longer builds :mod:`resource` " +"module, :func:`~os.getresuid`, :func:`~os.getresgid`, and their setters. The " +"APIs are stubs and not functional." +msgstr "" + +#: build/NEWS:9404 +msgid "" +":gh:`95973`: Add a new ``--with-dsymutil`` configure option to link debug " +"information in macOS. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:9407 +msgid "" +":gh:`90536`: Use the BOLT post-link optimizer to improve performance, " +"particularly on medium-to-large applications." +msgstr "" + +#: build/NEWS:9410 +msgid "" +":gh:`93744`: Remove the ``configure --with-cxx-main`` build option: it " +"didn't work for many years. Remove the ``MAINCC`` variable from " +"``configure`` and ``Makefile``. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:9414 +msgid "" +":gh:`94801`: Fix a regression in ``configure`` script that caused some " +"header checks to ignore custom ``CPPFLAGS``. The regression was introduced " +"in :gh:`94802`." +msgstr "" + +#: build/NEWS:9418 +msgid "" +":gh:`95145`: wasm32-wasi builds no longer depend on WASIX's pthread stubs. " +"Python now has its own stubbed pthread API." +msgstr "" + +#: build/NEWS:9421 +msgid "" +":gh:`95174`: Python now detects missing ``dup`` function in WASI and works " +"around some missing :mod:`errno`, :mod:`select`, and :mod:`socket` constants." +msgstr "" + +#: build/NEWS:9425 +msgid "" +":gh:`95174`: Python now skips missing :mod:`socket` functions and methods on " +"WASI. WASI can only create sockets from existing fd / accept and has no " +"netdb." +msgstr "" + +#: build/NEWS:9429 +msgid "" +":gh:`95085`: Platforms ``wasm32-unknown-emscripten`` and ``wasm32-unknown-" +"wasi`` have been promoted to :pep:`11` tier 3 platform support." +msgstr "" + +#: build/NEWS:9433 +msgid "" +":gh:`94847`: Fixed ``_decimal`` module build issue on GCC when compiling " +"with LTO and pydebug. Debug builds no longer force inlining of functions." +msgstr "" + +#: build/NEWS:9437 +msgid "" +":gh:`94841`: Fix the possible performance regression of :c:func:" +"`PyObject_Free` compiled with MSVC version 1932." +msgstr "" + +#: build/NEWS:9440 +msgid "" +":gh:`94801`: ``configure`` now uses custom flags like ``ZLIB_CFLAGS`` and " +"``ZLIB_LIBS`` when searching for headers and libraries." +msgstr "" + +#: build/NEWS:9443 +msgid "" +":gh:`94773`: ``deepfreeze.py`` now supports code object with frozensets that " +"contain incompatible, unsortable types." +msgstr "" + +#: build/NEWS:9446 +msgid ":gh:`94682`: Build and test with OpenSSL 1.1.1q" +msgstr "" + +#: build/NEWS:9448 +msgid "" +":gh:`90005`: Dependencies of :mod:`readline` and :mod:`curses` module are " +"now detected in ``configure`` script with ``pkg-config``. Only ``ncurses`` / " +"``ncursesw`` are detected automatically. The old ``curses`` library is not " +"configured automatically. Workaround for missing ``termcap`` or ``tinfo`` " +"library has been removed." +msgstr "" + +#: build/NEWS:9454 +msgid ":gh:`90005`: Fix building ``_ctypes`` extension without ``pkg-config``." +msgstr "" + +#: build/NEWS:9456 +msgid "" +":gh:`90005`: ``_dbm`` module dependencies are now detected by configure." +msgstr "" + +#: build/NEWS:9459 +msgid "" +":gh:`94404`: ``makesetup`` now works around an issue with sed on macOS and " +"uses correct CFLAGS for object files that end up in a shared extension. " +"Module CFLAGS are used before PY_STDMODULE_CFLAGS to avoid clashes with " +"system headers." +msgstr "" + +#: build/NEWS:9464 +msgid "" +":gh:`93939`: C extension modules are now built by ``configure`` and ``make`` " +"instead of ``distutils`` and ``setup.py``." +msgstr "" + +#: build/NEWS:9467 +msgid "" +":gh:`93939`: The ``2to3``, ``idle``, and ``pydoc`` scripts are now generated " +"and installed by ``Makefile`` instead of ``setup.py``." +msgstr "" + +#: build/NEWS:9470 +msgid "" +":gh:`94280`: Updated pegen regeneration script on Windows to find and use " +"Python 3.9 or higher. Prior to this, pegen regeneration already required " +"3.9 or higher, but the script may have used lower versions of Python." +msgstr "" + +#: build/NEWS:9475 +msgid "" +":gh:`93584`: Address race condition in ``Makefile`` when installing a PGO " +"build. All ``test`` and ``install`` targets now depend on ``all`` target." +msgstr "" + +#: build/NEWS:9479 +msgid "" +":gh:`93491`: ``configure`` now detects and reports :pep:`11` support tiers." +msgstr "" + +#: build/NEWS:9482 +msgid "" +":gh:`69093`: Fix ``Modules/Setup.stdlib.in`` rule for ``_sqlite3`` extension." +msgstr "" + +#: build/NEWS:9485 +msgid "" +":gh:`93207`: ``va_start()`` with two parameters, like ``va_start(args, " +"format),`` is now required to build Python. ``va_start()`` is no longer " +"called with a single parameter. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:9489 +msgid "" +":gh:`93202`: Python now always use the ``%zu`` and ``%zd`` printf formats to " +"format a :c:type:`size_t` or ``Py_ssize_t`` number. Building Python 3.12 " +"requires a C11 compiler, so these printf formats are now always supported. " +"Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:9494 +msgid "" +":gh:`90473`: Disable pymalloc and increase stack size on ``wasm32-wasi``." +msgstr "" + +#: build/NEWS:9497 +msgid "" +":issue:`34449`: Drop invalid compiler switch ``-fPIC`` for HP aCC on HP-UX. " +"Patch by Michael Osipov." +msgstr "" + +#: build/NEWS:9503 +msgid "" +":gh:`98360`: Fixes :mod:`multiprocessing` spawning child processes on " +"Windows from a virtual environment to ensure that child processes that also " +"use :mod:`multiprocessing` to spawn more children will recognize that they " +"are in a virtual environment." +msgstr "" + +#: build/NEWS:9508 +msgid "" +":gh:`98414`: Fix :file:`py.exe` launcher handling of :samp:`-V:{<company>}/` " +"option when default preferences have been set in environment variables or " +"configuration files." +msgstr "" + +#: build/NEWS:9512 +msgid "" +":gh:`97728`: Fix possible crashes caused by the use of uninitialized " +"variables when pass invalid arguments in :func:`os.system` on Windows and in " +"Windows-specific modules (like ``winreg``)." +msgstr "" + +#: build/NEWS:9516 +msgid "" +":gh:`90989`: Made :ref:`launcher` install per-user by default (unless an all " +"users install already exists), and clarify some text in the installer." +msgstr "" + +#: build/NEWS:9520 +msgid ":gh:`97649`: The ``Tools`` directory is no longer installed on Windows" +msgstr "" + +#: build/NEWS:9522 +msgid ":gh:`96965`: Update libffi to 3.4.3" +msgstr "" + +#: build/NEWS:9524 +msgid ":gh:`96577`: Fixes a potential buffer overrun in :mod:`msilib`." +msgstr "" + +#: build/NEWS:9526 +msgid "" +":gh:`96559`: Fixes the Windows launcher not using the compatible " +"interpretation of default tags found in configuration files when no tag was " +"passed to the command." +msgstr "" + +#: build/NEWS:9530 +msgid "" +":gh:`94781`: Fix :file:`pcbuild.proj` to clean previous instances of output " +"files in ``Python\\deepfreeze`` and ``Python\\frozen_modules`` directories " +"on Windows. Patch by Charlie Zhao." +msgstr "" + +#: build/NEWS:9534 +msgid "" +":gh:`89545`: Updates :mod:`platform` code getting the Windows version to use " +"native Windows Management Instrumentation (WMI) queries to determine OS " +"version, type, and architecture." +msgstr "" + +#: build/NEWS:9538 +msgid "" +":gh:`95733`: Make certain requirements of the Windows Store package optional " +"to allow installing on earlier updates of Windows." +msgstr "" + +#: build/NEWS:9541 +msgid "" +":gh:`95656`: Enable the :meth:`~sqlite3.Connection.enable_load_extension` :" +"mod:`sqlite3` API." +msgstr "" + +#: build/NEWS:9544 +msgid "" +":gh:`95587`: Fixes some issues where the Windows installer would incorrectly " +"detect certain features of an existing install when upgrading." +msgstr "" + +#: build/NEWS:9547 +msgid "" +":gh:`94399`: Restores the behaviour of :ref:`launcher` for ``/usr/bin/env`` " +"shebang lines, which will now search :envvar:`PATH` for an executable " +"matching the given command. If none is found, the usual search process is " +"used." +msgstr "" + +#: build/NEWS:9552 +msgid "" +":gh:`95445`: Fixes the unsuccessful removal of the HTML document directory " +"when uninstalling with Windows msi." +msgstr "" + +#: build/NEWS:9555 +msgid "" +":gh:`95359`: Fix :ref:`launcher` handling of :file:`py.ini` commands (it was " +"incorrectly expecting a ``py_`` prefix on keys) and crashes when reading per-" +"user configuration file." +msgstr "" + +#: build/NEWS:9559 +msgid "" +":gh:`95285`: Fix :ref:`launcher` handling of command lines where it is only " +"passed a short executable name." +msgstr "" + +#: build/NEWS:9562 +msgid "" +":gh:`90844`: Allow virtual environments to correctly launch when they have " +"spaces in the path." +msgstr "" + +#: build/NEWS:9565 +msgid ":gh:`94772`: Fix incorrect handling of shebang lines in py.exe launcher" +msgstr "" + +#: build/NEWS:9567 +msgid "" +":gh:`94018`: :mod:`zipfile` will now remove trailing spaces from path " +"components when extracting files on Windows." +msgstr "" + +#: build/NEWS:9570 +msgid "" +":gh:`93824`: Drag and drop of files onto Python files in Windows Explorer " +"has been enabled for Windows ARM64." +msgstr "" + +#: build/NEWS:9573 +msgid "" +":gh:`43414`: :func:`os.get_terminal_size` now attempts to read the size from " +"any provided handle, rather than only supporting file descriptors 0, 1 and 2." +msgstr "" + +#: build/NEWS:9577 +msgid "" +":gh:`92817`: Ensures that :file:`py.exe` will prefer an active virtual " +"environment over default tags specified with environment variables or " +"through a :file:`py.ini` file." +msgstr "" + +#: build/NEWS:9581 +msgid "" +":gh:`92984`: Explicitly disable incremental linking for non-Debug builds" +msgstr "" + +#: build/NEWS:9584 +msgid "" +":gh:`92841`: :mod:`asyncio` no longer throws ``RuntimeError: Event loop is " +"closed`` on interpreter exit after asynchronous socket activity. Patch by " +"Oleg Iarygin." +msgstr "" + +#: build/NEWS:9588 +msgid ":issue:`46907`: Update Windows installer to use SQLite 3.38.4." +msgstr "" + +#: build/NEWS:9590 +msgid ":gh:`91061`: Accept os.PathLike for the argument to winsound.PlaySound" +msgstr "" + +#: build/NEWS:9592 +msgid "" +":issue:`42658`: Support native Windows case-insensitive path comparisons by " +"using ``LCMapStringEx`` instead of :func:`str.lower` in :func:`ntpath." +"normcase`. Add ``LCMapStringEx`` to the :mod:`!_winapi` module." +msgstr "" + +#: build/NEWS:9597 +msgid ":issue:`38704`: Prevent installation on unsupported Windows versions." +msgstr "" + +#: build/NEWS:9602 +msgid "" +":gh:`97897`: The macOS 13 SDK includes support for the ``mkfifoat`` and " +"``mknodat`` system calls. Using the ``dir_fd`` option with either :func:`os." +"mkfifo` or :func:`os.mknod` could result in a segfault if cpython is built " +"with the macOS 13 SDK but run on an earlier version of macOS. Prevent this " +"by adding runtime support for detection of these system calls " +"(\"weaklinking\") as is done for other newer syscalls on macOS." +msgstr "" + +#: build/NEWS:9612 +msgid "" +":gh:`97527`: Fix a bug in the previous bugfix that caused IDLE to not start " +"when run with 3.10.8, 3.12.0a1, and at least Microsoft Python 3.10.2288.0 " +"installed without the Lib/test package. 3.11.0 was never affected." +msgstr "" + +#: build/NEWS:9617 +msgid ":gh:`65802`: Document handling of extensions in Save As dialogs." +msgstr "" + +#: build/NEWS:9619 +msgid "" +":gh:`95191`: Include prompts when saving Shell (interactive input and " +"output)." +msgstr "" + +#: build/NEWS:9622 +msgid "" +":gh:`95511`: Fix the Shell context menu copy-with-prompts bug of copying an " +"extra line when one selects whole lines." +msgstr "" + +#: build/NEWS:9625 +msgid "" +":gh:`95471`: In the Edit menu, move ``Select All`` and add a new separator." +msgstr "" + +#: build/NEWS:9628 +msgid ":gh:`95411`: Enable using IDLE's module browser with .pyw files." +msgstr "" + +#: build/NEWS:9630 +msgid "" +":gh:`89610`: Add .pyi as a recognized extension for IDLE on macOS. This " +"allows opening stub files by double clicking on them in the Finder." +msgstr "" + +#: build/NEWS:9636 +msgid ":gh:`68686`: Remove ptags and eptags scripts." +msgstr "" + +#: build/NEWS:9638 +msgid "" +":gh:`97681`: Remove the ``Tools/demo/`` directory which contained old demo " +"scripts. A copy can be found in the `old-demos project <https://github.com/" +"gvanrossum/old-demos>`_. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:9642 +msgid "" +":gh:`97669`: Remove outdated example scripts of the ``Tools/scripts/`` " +"directory. A copy can be found in the `old-demos project <https://github.com/" +"gvanrossum/old-demos>`_. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:9646 +msgid "" +":gh:`95853`: The ``wasm_build.py`` script now pre-builds Emscripten ports, " +"checks for broken EMSDK versions, and warns about pkg-config env vars." +msgstr "" + +#: build/NEWS:9650 +msgid "" +":gh:`95853`: The new tool ``Tools/wasm/wasm_builder.py`` automates " +"configure, compile, and test steps for building CPython on WebAssembly " +"platforms." +msgstr "" + +#: build/NEWS:9654 +msgid "" +":gh:`95731`: Fix handling of module docstrings in :file:`Tools/i18n/" +"pygettext.py`." +msgstr "" + +#: build/NEWS:9657 +msgid "" +":gh:`93939`: Add script ``Tools/scripts/check_modules.py`` to check and " +"validate builtin and shared extension modules. The script also handles " +"``Modules/Setup`` and will eventually replace ``setup.py``." +msgstr "" + +#: build/NEWS:9661 +msgid "" +":gh:`94538`: Fix Argument Clinic output to custom file destinations. Patch " +"by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:9664 +msgid "" +":gh:`94430`: Allow parameters named ``module`` and ``self`` with custom C " +"names in Argument Clinic. Patch by Erlend E. Aasland" +msgstr "" + +#: build/NEWS:9667 +msgid "" +":gh:`86087`: The ``Tools/scripts/parseentities.py`` script used to parse " +"HTML4 entities has been removed." +msgstr "" + +#: build/NEWS:9673 +msgid "" +":gh:`98393`: The :c:func:`PyUnicode_FSDecoder` function no longer accepts " +"bytes-like paths, like :class:`bytearray` and :class:`memoryview` types: " +"only the exact :class:`bytes` type is accepted for bytes strings. Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:9678 +msgid "" +":gh:`91051`: Add :c:func:`PyType_Watch` and related APIs to allow callbacks " +"on :c:func:`PyType_Modified`." +msgstr "" + +#: build/NEWS:9681 +msgid "" +":gh:`95756`: Lazily create and cache ``co_`` attributes for better " +"performance for code getters." +msgstr "" + +#: build/NEWS:9684 +msgid "" +":gh:`96512`: Configuration for the :ref:`integer string conversion length " +"limitation <int_max_str_digits>` now lives in the PyConfig C API struct." +msgstr "" + +#: build/NEWS:9688 +msgid "" +":gh:`95589`: Extensions classes that set ``tp_dictoffset`` and " +"``tp_weaklistoffset`` lose the support for multiple inheritance, but are now " +"safe. Extension classes should use :c:macro:`Py_TPFLAGS_MANAGED_DICT` and :c:" +"macro:`Py_TPFLAGS_MANAGED_WEAKREF` instead." +msgstr "" + +#: build/NEWS:9693 +msgid "" +":gh:`95781`: An unrecognized format character in :c:func:" +"`PyUnicode_FromFormat` and :c:func:`PyUnicode_FromFormatV` now sets a :exc:" +"`SystemError`. In previous versions it caused all the rest of the format " +"string to be copied as-is to the result string, and any extra arguments " +"discarded." +msgstr "" + +#: build/NEWS:9699 +msgid "" +":gh:`92678`: Restore the 3.10 behavior for multiple inheritance of C " +"extension classes that store their dictionary at the end of the struct." +msgstr "" + +#: build/NEWS:9702 +msgid "" +":gh:`92678`: Support C extensions using managed dictionaries by setting the " +"``Py_TPFLAGS_MANAGED_DICT`` flag." +msgstr "" + +#: build/NEWS:9705 +msgid "" +":gh:`93274`: API for implementing vectorcall (:c:macro:" +"`Py_TPFLAGS_HAVE_VECTORCALL`, :c:func:`PyVectorcall_NARGS` and :c:func:" +"`PyVectorcall_Call`) was added to the limited API and stable ABI." +msgstr "" + +#: build/NEWS:9709 +msgid "" +":gh:`95504`: Fix sign placement when specifying width or precision in :c:" +"func:`PyUnicode_FromFormat` and :c:func:`PyUnicode_FromFormatV`. Patch by " +"Philip Georgi." +msgstr "" + +#: build/NEWS:9713 +msgid "" +":gh:`93012`: The :c:macro:`Py_TPFLAGS_HAVE_VECTORCALL` flag is now removed " +"from a class when the class's :py:meth:`~object.__call__` method is " +"reassigned. This makes vectorcall safe to use with mutable types (i.e. heap " +"types without the :const:`immutable <Py_TPFLAGS_IMMUTABLETYPE>` flag). " +"Mutable types that do not override :c:member:`~PyTypeObject.tp_call` now " +"inherit the :c:macro:`Py_TPFLAGS_HAVE_VECTORCALL` flag." +msgstr "" + +#: build/NEWS:9721 +msgid "" +":gh:`95388`: Creating :c:macro:`immutable types <Py_TPFLAGS_IMMUTABLETYPE>` " +"with mutable bases is deprecated and is planned to be disabled in Python " +"3.14." +msgstr "" + +#: build/NEWS:9725 +msgid "" +":gh:`92678`: Adds unstable C-API functions ``_PyObject_VisitManagedDict`` " +"and ``_PyObject_ClearManagedDict`` to allow C extensions to allow the VM to " +"manage their object's dictionaries." +msgstr "" + +#: build/NEWS:9729 +msgid "" +":gh:`94936`: Added :c:func:`PyCode_GetVarnames`, :c:func:" +"`PyCode_GetCellvars` and :c:func:`PyCode_GetFreevars` for accessing " +"``co_varnames``, ``co_cellvars`` and ``co_freevars`` respectively via the C " +"API." +msgstr "" + +#: build/NEWS:9734 +msgid "" +":gh:`94930`: Fix ``SystemError`` raised when :c:func:" +"`PyArg_ParseTupleAndKeywords` is used with ``#`` in ``(...)`` but without " +"``PY_SSIZE_T_CLEAN`` defined." +msgstr "" + +#: build/NEWS:9738 +msgid "" +":gh:`94731`: Python again uses C-style casts for most casting operations " +"when compiled with C++. This may trigger compiler warnings, if they are " +"enabled with e.g. ``-Wold-style-cast`` or ``-Wzero-as-null-pointer-" +"constant`` options for ``g++``." +msgstr "" + +#: build/NEWS:9743 +msgid "" +":gh:`93937`: The following frame functions and type are now directly " +"available with ``#include <Python.h>``, it's no longer needed to add " +"``#include <frameobject.h>``:" +msgstr "" + +#: build/NEWS:9747 +msgid ":c:func:`PyFrame_Check`" +msgstr "" + +#: build/NEWS:9748 +msgid ":c:func:`PyFrame_GetBack`" +msgstr "" + +#: build/NEWS:9749 +msgid ":c:func:`PyFrame_GetBuiltins`" +msgstr "" + +#: build/NEWS:9750 +msgid ":c:func:`PyFrame_GetGenerator`" +msgstr "" + +#: build/NEWS:9751 +msgid ":c:func:`PyFrame_GetGlobals`" +msgstr "" + +#: build/NEWS:9752 +msgid ":c:func:`PyFrame_GetLasti`" +msgstr "" + +#: build/NEWS:9753 +msgid ":c:func:`PyFrame_GetLocals`" +msgstr "" + +#: build/NEWS:9754 +msgid ":c:type:`PyFrame_Type`" +msgstr "" + +#: build/NEWS:13452 build/NEWS:16437 build/NEWS:16493 +msgid "Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:9758 +msgid "" +":gh:`91321`: Fix the compatibility of the Python C API with C++ older than C+" +"+11. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:9761 +msgid "" +":gh:`91731`: Avoid defining the ``static_assert`` when compiling with C++ " +"11, where this is a keyword and redefining it can lead to undefined " +"behavior. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:9765 +msgid "" +":gh:`89546`: :c:func:`PyType_FromMetaclass` (and other ``PyType_From*`` " +"functions) now check that offsets and the base class's :c:member:" +"`~PyTypeObject.tp_basicsize` fit in the new class's ``tp_basicsize``." +msgstr "" + +#: build/NEWS:9770 +msgid "" +":gh:`93503`: Add two new public functions to the public C-API, :c:func:" +"`PyEval_SetProfileAllThreads` and :c:func:`PyEval_SetTraceAllThreads`, that " +"allow to set tracing and profiling functions in all running threads in " +"addition to the calling one. Also, two analogous functions to the :mod:" +"`threading` module (:func:`threading.setprofile_all_threads` and :func:" +"`threading.settrace_all_threads`) that allow to do the same from Python. " +"Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:9779 +msgid "" +":gh:`93442`: Add C++ overloads for _Py_CAST_impl() to handle 0/NULL. This " +"will allow C++ extensions that pass 0 or NULL to macros using _Py_CAST() to " +"continue to compile." +msgstr "" + +#: build/NEWS:9783 +msgid "" +":gh:`93466`: Slot IDs in PyType_Spec may not be repeated. The documentation " +"was updated to mention this. For some cases of repeated slots, " +"PyType_FromSpec and related functions will now raise an exception." +msgstr "" + +#: build/NEWS:9787 +msgid "" +":gh:`92898`: Fix C++ compiler warnings when casting function arguments to " +"``PyObject*``. Patch by Serge Guelton." +msgstr "" + +#: build/NEWS:9790 +msgid "" +":gh:`93103`: Deprecate global configuration variables, like :c:var:" +"`Py_IgnoreEnvironmentFlag`, in the documentation: the :c:func:" +"`Py_InitializeFromConfig` API should be instead. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:9795 +msgid "" +":gh:`77782`: Deprecate global configuration variable like :c:var:" +"`Py_IgnoreEnvironmentFlag`: the :c:func:`Py_InitializeFromConfig` API should " +"be instead. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:9799 +msgid "" +":gh:`92913`: Ensures changes to :c:member:`PyConfig.module_search_paths` are " +"ignored unless :c:member:`PyConfig.module_search_paths_set` is set" +msgstr "" + +#: build/NEWS:9803 +msgid "" +":gh:`92781`: Avoid mixing declarations and code in the C API to fix the " +"compiler warning: \"ISO C90 forbids mixed declarations and code\" [-" +"Werror=declaration-after-statement]. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:9807 +msgid "" +":gh:`92651`: Remove the ``token.h`` header file. There was never any public " +"tokenizer C API. The ``token.h`` header file was only designed to be used by " +"Python internals. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:9811 +msgid ":gh:`92536`: Remove legacy Unicode APIs based on ``Py_UNICODE*``." +msgstr "" + +#: build/NEWS:9813 +msgid "" +":gh:`85858`: Remove the ``PyUnicode_InternImmortal()`` function and the " +"``SSTATE_INTERNED_IMMORTAL`` macro. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:9816 +msgid "" +":gh:`92193`: Add new function :c:func:`PyFunction_SetVectorcall` to the C " +"API which sets the vectorcall field of a given :c:type:`PyFunctionObject`." +msgstr "" + +#: build/NEWS:9820 +msgid "" +"Warning: extensions using this API must preserve the behavior of the " +"unaltered function!" +msgstr "" + +#: build/NEWS:9823 +msgid "" +":gh:`59121`: Fixed an assert that prevented ``PyRun_InteractiveOne`` from " +"providing tracebacks when parsing from the provided FD." +msgstr "" + +#: build/NEWS:9826 +msgid "" +":issue:`45383`: The :c:func:`PyType_FromSpec` API will now find and use a " +"metaclass based on the provided bases. An error will be raised if there is a " +"metaclass conflict." +msgstr "" + +#: build/NEWS:9832 +msgid "Python 3.11.0 beta 1" +msgstr "" + +#: build/NEWS:9834 +msgid "*Release date: 2022-05-06*" +msgstr "" + +#: build/NEWS:9839 +msgid "" +":gh:`57684`: Add the :option:`-P` command line option and the :envvar:" +"`PYTHONSAFEPATH` environment variable to not prepend a potentially unsafe " +"path to :data:`sys.path`. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:9846 +msgid "" +":gh:`89519`: Chaining classmethod descriptors (introduced in :issue:`19072`) " +"is deprecated. It can no longer be used to wrap other descriptors such as " +"property(). The core design of this feature was flawed, and it caused a " +"number of downstream problems." +msgstr "" + +#: build/NEWS:9851 +msgid "" +":gh:`92345`: ``pymain_run_python()`` now imports ``readline`` and " +"``rlcompleter`` before sys.path is extended to include the current working " +"directory of an interactive interpreter. Non-interactive interpreters are " +"not affected." +msgstr "" + +#: build/NEWS:9856 +msgid "" +":issue:`43857`: Improve the :exc:`AttributeError` message when deleting a " +"missing attribute. Patch by Géry Ogam." +msgstr "" + +#: build/NEWS:9859 +msgid "" +":gh:`92245`: Make sure that PEP 523 is respected in all cases. In 3.11a7, " +"specialization may have prevented Python-to-Python calls respecting PEP 523." +msgstr "" + +#: build/NEWS:9863 +msgid "" +":gh:`92203`: Add a closure keyword-only parameter to :func:`exec`. It can " +"only be specified when exec-ing a code object that uses free variables. When " +"specified, it must be a tuple, with exactly the number of cell variables " +"referenced by the code object. closure has a default value of ``None``, and " +"it must be ``None`` if the code object doesn't refer to any free variables." +msgstr "" + +#: build/NEWS:9870 +msgid "" +":gh:`91173`: Disable frozen modules in debug builds. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:9873 +msgid "" +":gh:`92114`: Improve error message when subscript a type with " +"``__class_getitem__`` set to ``None``." +msgstr "" + +#: build/NEWS:9876 +msgid "" +":gh:`92112`: Fix crash triggered by an evil custom ``mro()`` on a metaclass." +msgstr "" + +#: build/NEWS:9879 +msgid "" +":gh:`92063`: The ``PRECALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS`` " +"instruction now ensures methods are called only on objects of the correct " +"type." +msgstr "" + +#: build/NEWS:9883 +msgid "" +":gh:`92031`: Deoptimize statically allocated code objects during " +"``Py_FINALIZE()`` so that future ``_PyCode_Quicken`` calls always start with " +"unquickened code." +msgstr "" + +#: build/NEWS:9887 +msgid "" +":gh:`92036`: Fix a crash in subinterpreters related to the garbage " +"collector. When a subinterpreter is deleted, untrack all objects tracked by " +"its GC. To prevent a crash in deallocator functions expecting objects to be " +"tracked by the GC, leak a strong reference to these objects on purpose, so " +"they are never deleted and their deallocator functions are not called. Patch " +"by Victor Stinner." +msgstr "" + +#: build/NEWS:9894 +msgid "" +":gh:`92032`: The interpreter can now autocomplete soft keywords, as of now " +"``match``, ``case``, and ``_`` (wildcard pattern) from :pep:`634`." +msgstr "" + +#: build/NEWS:9897 +msgid "" +":gh:`87999`: The warning emitted by the Python parser for a numeric literal " +"immediately followed by keyword has been changed from deprecation warning to " +"syntax warning." +msgstr "" + +#: build/NEWS:9901 +msgid "" +":gh:`91869`: Fix an issue where specialized opcodes with extended arguments " +"could produce incorrect tracing output or lead to assertion failures." +msgstr "" + +#: build/NEWS:9905 +msgid "" +":gh:`91603`: Speed up :class:`types.UnionType` instantiation. Based on patch " +"provided by Yurii Karabas." +msgstr "" + +#: build/NEWS:9908 +msgid "" +":gh:`89373`: If Python is built in debug mode, Python now ensures that " +"deallocator functions leave the current exception unchanged. Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:9912 +msgid "" +":gh:`91632`: Fix a minor memory leak at exit: release the memory of the :" +"class:`generic_alias_iterator` type. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:9915 +msgid "" +":gh:`81548`: Octal escapes with value larger than ``0o377`` now produce a :" +"exc:`DeprecationWarning`. In a future Python version they will be a :exc:" +"`SyntaxWarning` and eventually a :exc:`SyntaxError`." +msgstr "" + +#: build/NEWS:9919 +msgid "" +":issue:`43950`: Use a single compact table for line starts, ends and column " +"offsets. Reduces memory consumption for location info by half" +msgstr "" + +#: build/NEWS:9922 +msgid "" +":gh:`91102`: Use Argument Clinic for :class:`EncodingMap`. Patch by Oleg " +"Iarygin." +msgstr "" + +#: build/NEWS:9925 +msgid "" +":gh:`91636`: Fixed a crash in a garbage-collection edge-case, in which a " +"``PyFunction_Type.tp_clear`` function could leave a python function object " +"in an inconsistent state." +msgstr "" + +#: build/NEWS:9929 +msgid "" +":gh:`91603`: Speed up :func:`isinstance` and :func:`issubclass` checks for :" +"class:`types.UnionType`. Patch by Yurii Karabas." +msgstr "" + +#: build/NEWS:9932 +msgid "" +":gh:`91625`: Fixed a bug in which adaptive opcodes ignored any preceding " +"``EXTENDED_ARG``\\ s on specialization failure." +msgstr "" + +#: build/NEWS:9935 +msgid "" +":gh:`78607`: The LLTRACE special build now looks for the name " +"``__lltrace__`` defined in module globals, rather than the name " +"``__ltrace__``, which had been introduced as a typo." +msgstr "" + +#: build/NEWS:9939 +msgid "" +":gh:`91576`: Speed up iteration of ascii strings by 50%. Patch by Kumar " +"Aditya." +msgstr "" + +#: build/NEWS:9942 +msgid "" +":gh:`89279`: Improve interpreter performance on Windows by inlining a few " +"specific macros." +msgstr "" + +#: build/NEWS:9945 +msgid "" +":gh:`91502`: Add a new :c:func:`!_PyFrame_IsEntryFrame` API function, to " +"check if a :c:type:`PyFrameObject` is an entry frame. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:9949 +msgid "" +":gh:`91266`: Refactor the ``bytearray`` strip methods ``strip``, ``lstrip`` " +"and ``rstrip`` to use a common implementation." +msgstr "" + +#: build/NEWS:9952 +msgid "" +":gh:`91479`: Replaced the ``__note__`` field of :exc:`BaseException` (added " +"in an earlier version of 3.11) with the final design of :pep:`678`. Namely, :" +"exc:`BaseException` gets an :meth:`add_note` method, and its ``__notes__`` " +"field is created when necessary." +msgstr "" + +#: build/NEWS:9957 +msgid "" +":gh:`46055`: Speed up right shift of negative integers, by removing " +"unnecessary creation of temporaries. Original patch by Xinhang Xu, reworked " +"by Mark Dickinson." +msgstr "" + +#: build/NEWS:9961 +msgid "" +":gh:`91462`: Make the interpreter's low-level tracing (lltrace) feature " +"output more readable by displaying opcode names (rather than just numbers), " +"and by displaying stack contents before each opcode." +msgstr "" + +#: build/NEWS:9965 +msgid "" +":gh:`89455`: Fixed an uninitialized bool value in the traceback printing " +"code path that was introduced by the initial :issue:`45292` exception groups " +"work." +msgstr "" + +#: build/NEWS:9969 +msgid ":gh:`91421`: Fix a potential integer overflow in _Py_DecodeUTF8Ex." +msgstr "" + +#: build/NEWS:9971 +msgid "" +":gh:`91428`: Add ``static const char *const _PyOpcode_OpName[256] = {...};`` " +"to ``opcode.h`` for debug builds to assist in debugging the Python " +"interpreter. It is now more convenient to make various forms of debugging " +"output more human-readable by including opcode names rather than just the " +"corresponding decimal digits." +msgstr "" + +#: build/NEWS:9977 +msgid "" +":issue:`47120`: Make :opcode:`POP_JUMP_IF_TRUE`, :opcode:" +"`POP_JUMP_IF_FALSE`, :opcode:`POP_JUMP_IF_NONE` and :opcode:" +"`POP_JUMP_IF_NOT_NONE` virtual, mapping to new relative jump opcodes." +msgstr "" + +#: build/NEWS:9981 +msgid "" +":issue:`45317`: Add internal documentation explaining design of new (for " +"3.11) frame stack." +msgstr "" + +#: build/NEWS:9984 +msgid "" +":issue:`47197`: ctypes used to mishandle ``void`` return types, so that for " +"instance a function declared like ``ctypes.CFUNCTYPE(None, ctypes.c_int)`` " +"would be called with signature ``int f(int)`` instead of ``void f(int)``. " +"Wasm targets require function pointers to be called with the correct " +"signatures so this led to crashes. The problem is now fixed." +msgstr "" + +#: build/NEWS:9990 +msgid "" +":issue:`47120`: Make opcodes :opcode:`!JUMP_IF_TRUE_OR_POP` and :opcode:`!" +"JUMP_IF_FALSE_OR_POP` relative rather than absolute." +msgstr "" + +#: build/NEWS:9993 +msgid "" +":issue:`47177`: Replace the ``f_lasti`` member of the internal " +"``_PyInterpreterFrame`` structure with a ``prev_instr`` pointer, which " +"reduces overhead in the main interpreter loop. The ``f_lasti`` attribute of " +"Python-layer frame objects is preserved for backward-compatibility." +msgstr "" + +#: build/NEWS:9998 +msgid "" +":issue:`46961`: Integer mod/remainder operations, including the three-" +"argument form of :func:`pow`, now consistently return ints from the global " +"small integer cache when applicable." +msgstr "" + +#: build/NEWS:10002 +msgid "" +":issue:`46962`: Classes and functions that unconditionally declared their " +"docstrings ignoring the ``--without-doc-strings`` compilation flag no longer " +"do so." +msgstr "" + +#: build/NEWS:10006 +msgid "" +"The classes affected are :class:`ctypes.UnionType`, :class:`pickle." +"PickleBuffer`, :class:`testcapi.RecursingInfinitelyError`, and :class:`types." +"GenericAlias`." +msgstr "" + +#: build/NEWS:10010 +msgid "The functions affected are 24 methods in :mod:`ctypes`." +msgstr "" + +#: build/NEWS:10012 +msgid "Patch by Oleg Iarygin." +msgstr "" + +#: build/NEWS:10014 +msgid "" +":issue:`46942`: Use Argument Clinic for the :class:`types.MethodType` " +"constructor. Patch by Oleg Iarygin." +msgstr "" + +#: build/NEWS:10017 +msgid ":issue:`46764`: Fix wrapping bound methods with @classmethod" +msgstr "" + +#: build/NEWS:10019 +msgid "" +":issue:`43464`: Optimize :meth:`set.intersection` for non-set arguments." +msgstr "" + +#: build/NEWS:10021 +msgid ":issue:`46721`: Optimize :meth:`set.issuperset` for non-set argument." +msgstr "" + +#: build/NEWS:10023 +msgid "" +":issue:`46509`: Add type-specialized versions of the ``Py_DECREF()``, and " +"use them for ``float``, ``int``, ``str``, ``bool``, and ``None`` to avoid " +"pointer-chasing at runtime where types are known at C compile time." +msgstr "" + +#: build/NEWS:11752 +msgid ":issue:`46045`: Do not use POSIX semaphores on NetBSD" +msgstr "" + +#: build/NEWS:10029 +msgid "" +":issue:`36819`: Fix crashes in built-in encoders with error handlers that " +"return position less or equal than the starting position of non-encodable " +"characters." +msgstr "" + +#: build/NEWS:10033 +msgid "" +":issue:`34093`: ``marshal.dumps()`` uses ``FLAG_REF`` for all interned " +"strings. This makes output more deterministic and helps reproducible build." +msgstr "" + +#: build/NEWS:10036 +msgid "" +":issue:`26579`: Added ``object.__getstate__`` which provides the default " +"implementation of the ``__getstate__()`` method." +msgstr "" + +#: build/NEWS:10039 +msgid "" +"Copying and pickling instances of subclasses of builtin types bytearray, " +"set, frozenset, collections.OrderedDict, collections.deque, weakref.WeakSet, " +"and datetime.tzinfo now copies and pickles instance attributes implemented " +"as slots." +msgstr "" + +#: build/NEWS:10047 +msgid ":gh:`87901`: Add the *encoding* parameter to :func:`os.popen`." +msgstr "" + +#: build/NEWS:10049 +msgid "" +":gh:`90997`: Fix an issue where :mod:`dis` utilities may interpret populated " +"inline cache entries as valid instructions." +msgstr "" + +#: build/NEWS:10052 +msgid "" +":gh:`92332`: Deprecate :class:`typing.Text` (removal of the class is " +"currently not planned). Patch by Alex Waygood." +msgstr "" + +#: build/NEWS:10055 +msgid "" +":gh:`78157`: Deprecate nested classes in enum definitions becoming members " +"-- in 3.13 they will be normal classes; add ``member`` and ``nonmember`` " +"functions to allow control over results now." +msgstr "" + +#: build/NEWS:10059 +msgid ":gh:`92356`: Fixed a performance regression in ctypes function calls." +msgstr "" + +#: build/NEWS:10061 +msgid "" +":gh:`90997`: Show the actual named values stored in inline caches when " +"``show_caches=True`` is passed to :mod:`dis` utilities." +msgstr "" + +#: build/NEWS:10064 +msgid "" +":gh:`92301`: Prefer ``close_range()`` to iterating over procfs for file " +"descriptor closing in :mod:`subprocess` for better performance." +msgstr "" + +#: build/NEWS:10067 +msgid ":gh:`67248`: Sort the miscellaneous topics in Cmd.do_help()" +msgstr "" + +#: build/NEWS:10069 +msgid "" +":gh:`92210`: Port ``socket.__init__`` to Argument Clinic. Patch by Cinder." +msgstr "" + +#: build/NEWS:10072 +msgid "" +":gh:`80010`: Add support for generalized ISO 8601 parsing to :meth:`datetime." +"datetime.fromisoformat`, :meth:`datetime.date.fromisoformat` and :meth:" +"`datetime.time.fromisoformat`. Patch by Paul Ganssle." +msgstr "" + +#: build/NEWS:10077 +msgid "" +":gh:`92118`: Fix a 3.11 regression in :func:`~contextlib.contextmanager`, " +"which caused it to propagate exceptions with incorrect tracebacks." +msgstr "" + +#: build/NEWS:10081 +msgid "" +":gh:`90887`: Adding ``COPYFILE_STAT``, ``COPYFILE_ACL`` and " +"``COPYFILE_XATTR`` constants for :func:`os.fcopyfile` available in macOs." +msgstr "" + +#: build/NEWS:10084 +msgid "" +":gh:`91215`: For :func:`@dataclass <dataclasses.dataclass>`, add " +"*weakref_slot*. The new parameter defaults to ``False``. If true, and if " +"``slots=True``, add a slot named ``\"__weakref__\"``, which will allow " +"instances to be weakref'd. Contributed by Eric V. Smith" +msgstr "" + +#: build/NEWS:10089 +msgid ":gh:`85984`: New function os.login_tty() for Unix." +msgstr "" + +#: build/NEWS:10091 +msgid "" +":gh:`92128`: Add :meth:`~object.__class_getitem__` to :class:`logging." +"LoggerAdapter` and :class:`logging.StreamHandler`, allowing them to be " +"parameterized at runtime. Patch by Alex Waygood." +msgstr "" + +#: build/NEWS:10095 +msgid "" +":gh:`92049`: Forbid pickling constants ``re._constants.SUCCESS`` etc. " +"Previously, pickling did not fail, but the result could not be unpickled." +msgstr "" + +#: build/NEWS:10098 +msgid "" +":gh:`92062`: :class:`inspect.Parameter` now raises :exc:`ValueError` if " +"``name`` is a keyword, in addition to the existing check that it is an " +"identifier." +msgstr "" + +#: build/NEWS:10102 +msgid "" +":gh:`87390`: Add an ``__unpacked__`` attribute to :class:`types." +"GenericAlias`. Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:10105 +msgid ":gh:`88089`: Add support for generic :class:`typing.NamedTuple`." +msgstr "" + +#: build/NEWS:10107 +msgid "" +":gh:`91996`: New http.HTTPMethod enum to represent all the available HTTP " +"request methods in a convenient way" +msgstr "" + +#: build/NEWS:10110 +msgid "" +":gh:`91984`: Modified test strings in test_argparse.py to not contain " +"trailing spaces before end of line." +msgstr "" + +#: build/NEWS:10113 +msgid "" +":gh:`91952`: Add ``encoding=\"locale\"`` support to :meth:`TextIOWrapper." +"reconfigure`." +msgstr "" + +#: build/NEWS:10116 +msgid "" +":gh:`91954`: Add *encoding* and *errors* arguments to :func:`subprocess." +"getoutput` and :func:`subprocess.getstatusoutput`." +msgstr "" + +#: build/NEWS:10119 +msgid "" +":issue:`47029`: Always close the read end of the pipe used by :class:" +"`multiprocessing.Queue` *after* the last write of buffered data to the write " +"end of the pipe to avoid :exc:`BrokenPipeError` at garbage collection and " +"at :meth:`multiprocessing.Queue.close` calls. Patch by Géry Ogam." +msgstr "" + +#: build/NEWS:10125 +msgid ":gh:`91928`: Add ``datetime.UTC`` alias for ``datetime.timezone.utc``." +msgstr "" + +#: build/NEWS:10127 +msgid "Patch by Kabir Kwatra." +msgstr "" + +#: build/NEWS:10129 +msgid "" +":gh:`68966`: The :mod:`mailcap` module is now deprecated and will be removed " +"in Python 3.13. See :pep:`594` for the rationale and the :mod:`mimetypes` " +"module for an alternative. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:10133 +msgid "" +":gh:`91401`: Provide a way to disable :mod:`subprocess` use of ``vfork()`` " +"just in case it is ever needed and document the existing mechanism for " +"``posix_spawn()``." +msgstr "" + +#: build/NEWS:10137 +msgid "" +":gh:`64783`: Fix :const:`signal.NSIG` value on FreeBSD to accept signal " +"numbers greater than 32, like :const:`signal.SIGRTMIN` and :const:`signal." +"SIGRTMAX`. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:10141 +msgid "" +":gh:`91910`: Add missing f prefix to f-strings in error messages from the :" +"mod:`multiprocessing` and :mod:`asyncio` modules." +msgstr "" + +#: build/NEWS:10144 +msgid "" +":gh:`91860`: Add :func:`typing.dataclass_transform`, implementing :pep:" +"`681`. Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:10147 +msgid "" +":gh:`91832`: Add ``required`` attribute to :class:`argparse.Action` repr " +"output." +msgstr "" + +#: build/NEWS:10150 +msgid "" +":gh:`91827`: In the :mod:`tkinter` module add method ``info_patchlevel()`` " +"which returns the exact version of the Tcl library as a named tuple similar " +"to :data:`sys.version_info`." +msgstr "" + +#: build/NEWS:10154 +msgid "" +":gh:`84461`: Add :option:`--enable-wasm-pthreads` to enable pthreads support " +"for WASM builds. ``Emscripten/node`` no longer has threading enabled by " +"default. Include additional file systems." +msgstr "" + +#: build/NEWS:10158 +msgid "" +":gh:`91821`: Fix unstable ``test_from_tuple`` test in ``test_decimal.py``." +msgstr "" + +#: build/NEWS:10161 +msgid ":gh:`91217`: Deprecate the xdrlib module." +msgstr "" + +#: build/NEWS:10163 +msgid ":gh:`91217`: Deprecate the uu module." +msgstr "" + +#: build/NEWS:10165 +msgid "" +":gh:`91760`: More strict rules will be applied for numerical group " +"references and group names in regular expressions. For now, a deprecation " +"warning is emitted for group references and group names which will be errors " +"in future Python versions." +msgstr "" + +#: build/NEWS:10170 +msgid "" +":gh:`84461`: Add provisional :data:`sys._emscripten_info` named tuple with " +"build-time and run-time information about Emscripten platform." +msgstr "" + +#: build/NEWS:10173 +msgid "" +":gh:`90623`: :func:`signal.raise_signal` and :func:`os.kill` now check " +"immediately for pending signals. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:10176 +msgid ":gh:`91734`: Fix OSS audio support on Solaris." +msgstr "" + +#: build/NEWS:10178 +msgid "" +":gh:`90633`: Include the passed value in the exception thrown by :func:" +"`typing.assert_never`. Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:10181 +msgid "" +":gh:`91700`: Compilation of regular expression containing a conditional " +"expression ``(?(group)...)`` now raises an appropriate :exc:`re.error` if " +"the group number refers to not defined group. Previously an internal " +"RuntimeError was raised." +msgstr "" + +#: build/NEWS:10186 +msgid "" +":gh:`91231`: Add an optional keyword *shutdown_timeout* parameter to the :" +"class:`multiprocessing.BaseManager` constructor. Kill the process if " +"terminate() takes longer than the timeout. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:10190 +msgid "" +":gh:`91621`: Fix :func:`typing.get_type_hints` for :class:`collections.abc." +"Callable`. Patch by Shantanu Jain." +msgstr "" + +#: build/NEWS:10193 +msgid "" +":gh:`90568`: Parsing ``\\N`` escapes of Unicode Named Character Sequences in " +"a :mod:`regular expression <re>` raises now :exc:`re.error` instead of " +"``TypeError``." +msgstr "" + +#: build/NEWS:10197 +msgid "" +":gh:`91670`: Remove deprecated ``SO`` config variable in :mod:`sysconfig`." +msgstr "" + +#: build/NEWS:10200 +msgid ":gh:`91217`: Deprecate the telnetlib module." +msgstr "" + +#: build/NEWS:10202 +msgid ":gh:`91217`: Deprecate the sunau module." +msgstr "" + +#: build/NEWS:10204 +msgid ":gh:`91217`: Deprecate the spwd module." +msgstr "" + +#: build/NEWS:10206 +msgid "" +":gh:`91217`: Deprecate the sndhdr module, as well as inline needed " +"functionality for ``email.mime.MIMEAudio``." +msgstr "" + +#: build/NEWS:10209 +msgid "" +":gh:`91616`: :mod:`re` module, fix :meth:`~re.Pattern.fullmatch` mismatch " +"when using Atomic Grouping or Possessive Quantifiers." +msgstr "" + +#: build/NEWS:10212 +msgid ":gh:`91217`: Deprecate the 'pipes' module." +msgstr "" + +#: build/NEWS:10214 +msgid ":gh:`91217`: Deprecate the ossaudiodev module." +msgstr "" + +#: build/NEWS:10216 +msgid "" +":issue:`47256`: :mod:`re` module, limit the maximum capturing group to " +"1,073,741,823 in 64-bit build, this increases the depth of backtracking." +msgstr "" + +#: build/NEWS:10219 +msgid ":gh:`91217`: Deprecate the nis module." +msgstr "" + +#: build/NEWS:10221 +msgid "" +":gh:`91595`: Fix the comparison of character and integer inside :func:`Tools." +"gdb.libpython.write_repr`. Patch by Yu Liu." +msgstr "" + +#: build/NEWS:10224 +msgid "" +":gh:`74166`: Add option to raise all errors from :meth:`~socket." +"create_connection` in an :exc:`ExceptionGroup` when it fails to create a " +"connection. The default remains to raise only the last error that had " +"occurred when multiple addresses were tried." +msgstr "" + +#: build/NEWS:10229 +msgid "" +":gh:`91487`: Optimize asyncio UDP speed, over 100 times faster when " +"transferring a large file." +msgstr "" + +#: build/NEWS:10232 +msgid "" +":gh:`91575`: Update case-insensitive matching in the :mod:`re` module to the " +"latest Unicode version." +msgstr "" + +#: build/NEWS:10235 +msgid "" +":gh:`90622`: In ``concurrent.futures.process.ProcessPoolExecutor`` disallow " +"the \"fork\" multiprocessing start method when the new " +"``max_tasks_per_child`` feature is used as the mix of threads+fork can hang " +"the child processes. Default to using the safe \"spawn\" start method in " +"that circumstance if no ``mp_context`` was supplied." +msgstr "" + +#: build/NEWS:10241 +msgid "" +":gh:`89022`: In :mod:`sqlite3`, ``SQLITE_MISUSE`` result codes are now " +"mapped to :exc:`~sqlite3.InterfaceError` instead of :exc:`~sqlite3." +"ProgrammingError`. Also, more accurate exceptions are raised when binding " +"parameters fail. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:10246 +msgid "" +":gh:`91526`: Stop calling ``os.device_encoding(file.fileno())`` in :class:" +"`TextIOWrapper`. It was complex, never documented, and didn't work for most " +"cases. (Patch by Inada Naoki.)" +msgstr "" + +#: build/NEWS:10250 +msgid "" +":gh:`88116`: Change the frame-related functions in the :mod:`inspect` module " +"to return a regular object (that is backwards compatible with the old tuple-" +"like interface) that include the extended :pep:`657` position information " +"(end line number, column and end column). The affected functions are: :func:" +"`inspect.getframeinfo`, :func:`inspect.getouterframes`, :func:`inspect." +"getinnerframes`, :func:`inspect.stack` and :func:`inspect.trace`. Patch by " +"Pablo Galindo." +msgstr "" + +#: build/NEWS:10258 +msgid "" +":gh:`69093`: Add indexing and slicing support to :class:`sqlite3.Blob`. " +"Patch by Aviv Palivoda and Erlend E. Aasland." +msgstr "" + +#: build/NEWS:10261 +msgid "" +":gh:`69093`: Add :term:`context manager` support to :class:`sqlite3.Blob`. " +"Patch by Aviv Palivoda and Erlend E. Aasland." +msgstr "" + +#: build/NEWS:10264 +msgid ":gh:`91217`: Deprecate nntplib." +msgstr "" + +#: build/NEWS:10266 +msgid ":gh:`91217`: Deprecate msilib." +msgstr "" + +#: build/NEWS:10268 +msgid "" +":gh:`91404`: Improve the performance of :mod:`re` matching by using computed " +"gotos (or \"threaded code\") on supported platforms and removing expensive " +"pointer indirections." +msgstr "" + +#: build/NEWS:10272 +msgid ":gh:`91217`: Deprecate the imghdr module." +msgstr "" + +#: build/NEWS:10274 +msgid ":gh:`91217`: Deprecate the crypt module." +msgstr "" + +#: build/NEWS:10276 +msgid ":gh:`91276`: Make space for longer opcodes in :mod:`dis` output." +msgstr "" + +#: build/NEWS:10278 +msgid "" +":issue:`47000`: Make :class:`TextIOWrapper` uses locale encoding when " +"``encoding=\"locale\"`` is specified even in UTF-8 mode." +msgstr "" + +#: build/NEWS:10281 +msgid "" +":gh:`91230`: :func:`warnings.catch_warnings` now accepts arguments for :func:" +"`warnings.simplefilter`, providing a more concise way to locally ignore " +"warnings or convert them to errors." +msgstr "" + +#: build/NEWS:10285 +msgid ":gh:`91217`: Deprecate the chunk module." +msgstr "" + +#: build/NEWS:10287 +msgid "" +":gh:`91498`: Add the ``TCP_CONNECTION_INFO`` option (available on macOS) to :" +"mod:`socket`." +msgstr "" + +#: build/NEWS:10290 +msgid "" +":issue:`47260`: Fix ``os.closerange()`` potentially being a no-op in a Linux " +"seccomp sandbox." +msgstr "" + +#: build/NEWS:10293 +msgid "" +":issue:`47087`: Implement ``typing.Required`` and ``typing.NotRequired`` (:" +"pep:`655`). Patch by David Foster and Jelle Zijlstra." +msgstr "" + +#: build/NEWS:10296 +msgid ":issue:`47061`: Deprecate cgi and cgitb." +msgstr "" + +#: build/NEWS:10298 +msgid ":issue:`47061`: Deprecate audioop." +msgstr "" + +#: build/NEWS:10300 +msgid "" +":issue:`47000`: Add :func:`locale.getencoding` to get the current locale " +"encoding. It is similar to ``locale.getpreferredencoding(False)`` but " +"ignores the :ref:`Python UTF-8 Mode <utf8-mode>`." +msgstr "" + +#: build/NEWS:10304 +msgid "" +":issue:`42012`: Add :mod:`wsgiref.types`, containing WSGI-specific types for " +"static type checking." +msgstr "" + +#: build/NEWS:10307 +msgid "" +":issue:`47227`: Suppress expression chaining for more :mod:`re` parsing " +"errors." +msgstr "" + +#: build/NEWS:10309 +msgid "" +":issue:`47211`: Remove undocumented and never working function ``re." +"template()`` and flag ``re.TEMPLATE``. This was later reverted in 3.11.0b2 " +"and deprecated instead." +msgstr "" + +#: build/NEWS:10313 +msgid "" +":issue:`47135`: :meth:`decimal.localcontext` now accepts context attributes " +"via keyword arguments" +msgstr "" + +#: build/NEWS:10316 +msgid "" +":issue:`43323`: Fix errors in the :mod:`email` module if the charset itself " +"contains undecodable/unencodable characters." +msgstr "" + +#: build/NEWS:10319 +msgid ":issue:`46841`: Disassembly of quickened code." +msgstr "" + +#: build/NEWS:10321 +msgid ":issue:`46681`: Forward gzip.compress() compresslevel to zlib." +msgstr "" + +#: build/NEWS:10323 +msgid "" +":issue:`45100`: Add :func:`typing.get_overloads` and :func:`typing." +"clear_overloads`. Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:10326 +msgid "" +":issue:`44807`: :class:`typing.Protocol` no longer silently replaces :meth:" +"`__init__` methods defined on subclasses. Patch by Adrian Garcia Badaracco." +msgstr "" + +#: build/NEWS:10330 +msgid "" +":issue:`46787`: Fix :class:`concurrent.futures.ProcessPoolExecutor` " +"exception memory leak" +msgstr "" + +#: build/NEWS:10333 +msgid "" +":issue:`46720`: Add support for path-like objects to :func:`multiprocessing." +"set_executable` for Windows to be on a par with Unix-like systems. Patch by " +"Géry Ogam." +msgstr "" + +#: build/NEWS:10337 +msgid ":issue:`46696`: Add ``SO_INCOMING_CPU`` constant to :mod:`socket`." +msgstr "" + +#: build/NEWS:10339 +msgid ":issue:`46053`: Fix OSS audio support on NetBSD." +msgstr "" + +#: build/NEWS:10341 +msgid "" +":issue:`45639`: ``image/avif`` and ``image/webp`` were added to :mod:" +"`mimetypes`." +msgstr "" + +#: build/NEWS:10344 +msgid "" +":issue:`46285`: Add command-line option ``-p``/``--protocol`` to module :mod:" +"`http.server` which specifies the HTTP version to which the server is " +"conformant (HTTP/1.1 conformant servers can now be run from the command-line " +"interface of module :mod:`http.server`). Patch by Géry Ogam." +msgstr "" + +#: build/NEWS:10349 +msgid "" +":issue:`44791`: Accept ellipsis as the last argument of :data:`typing." +"Concatenate`." +msgstr "" + +#: build/NEWS:10352 +msgid "" +":issue:`46547`: Remove variables leaking into ``pydoc.Helper`` class " +"namespace." +msgstr "" + +#: build/NEWS:10354 +msgid "" +":issue:`46415`: Fix ipaddress.ip_{address,interface,network} raising " +"TypeError instead of ValueError if given invalid tuple as address parameter." +msgstr "" + +#: build/NEWS:10357 +msgid "" +":issue:`46075`: ``CookieJar`` with ``DefaultCookiePolicy`` now can process " +"cookies from localhost with domain=localhost explicitly specified in Set-" +"Cookie header." +msgstr "" + +#: build/NEWS:10361 +msgid "" +":issue:`45995`: Add a \"z\" option to the string formatting specification " +"that coerces negative zero floating-point values to positive zero after " +"rounding to the format precision. Contributed by John Belmonte." +msgstr "" + +#: build/NEWS:10365 +msgid "" +":issue:`26175`: Fully implement the :class:`io.BufferedIOBase` or :class:`io." +"TextIOBase` interface for :class:`tempfile.SpooledTemporaryFile` objects. " +"This lets them work correctly with higher-level layers (like compression " +"modules). Patch by Carey Metcalfe." +msgstr "" + +#: build/NEWS:10371 +msgid "" +":issue:`45138`: Fix a regression in the :mod:`sqlite3` trace callback where " +"bound parameters were not expanded in the passed statement string. The " +"regression was introduced in Python 3.10 by :issue:`40318`. Patch by Erlend " +"E. Aasland." +msgstr "" + +#: build/NEWS:10376 +msgid "" +":issue:`44863`: Allow :class:`~typing.TypedDict` subclasses to also include :" +"class:`~typing.Generic` as a base class in class based syntax. Thereby " +"allowing the user to define a generic ``TypedDict``, just like a user-" +"defined generic but with ``TypedDict`` semantics." +msgstr "" + +#: build/NEWS:10381 +msgid "" +":issue:`44587`: Fix BooleanOptionalAction to not automatically add a default " +"string. If a default string is desired, use a formatter to add it." +msgstr "" + +#: build/NEWS:10384 +msgid "" +":issue:`43827`: All positional-or-keyword parameters to ``ABCMeta.__new__`` " +"are now positional-only to avoid conflicts with keyword arguments to be " +"passed to :meth:`__init_subclass__`." +msgstr "" + +#: build/NEWS:10388 +msgid "" +":issue:`43218`: Prevent creation of a venv whose path contains the PATH " +"separator. This could affect the usage of the activate script. Patch by " +"Dustin Rodrigues." +msgstr "" + +#: build/NEWS:10392 +msgid "" +":issue:`38435`: Add a ``process_group`` parameter to :class:`subprocess." +"Popen` to help move more things off of the unsafe ``preexec_fn`` parameter." +msgstr "" + +#: build/NEWS:10395 +msgid "" +":issue:`42066`: Fix cookies getting sorted in :func:`CookieJar.__iter__` " +"which is an extra behavior and not mentioned in RFC 2965 or Netscape cookie " +"protocol. Now the cookies in ``CookieJar`` follows the order of the ``Set-" +"Cookie`` header. Patch by Iman Kermani." +msgstr "" + +#: build/NEWS:10400 +msgid "" +":issue:`40617`: Add :meth:`~sqlite3.Connection.create_window_function` to :" +"class:`sqlite3.Connection` for creating aggregate window functions. Patch by " +"Erlend E. Aasland." +msgstr "" + +#: build/NEWS:10404 +msgid "" +":issue:`40676`: Convert :mod:`csv` to use Argument Clinic for :func:`csv." +"field_size_limit`, :func:`csv.get_dialect`, :func:`csv.unregister_dialect` " +"and :func:`csv.list_dialects`." +msgstr "" + +#: build/NEWS:10408 +msgid "" +":issue:`39716`: Raise an ``ArgumentError`` when the same subparser name is " +"added twice to an ``argparse.ArgumentParser``. This is consistent with the " +"(default) behavior when the same option string is added twice to an " +"``ArgumentParser``." +msgstr "" + +#: build/NEWS:10413 +msgid "" +":issue:`36073`: Raise :exc:`~sqlite3.ProgrammingError` instead of " +"segfaulting on recursive usage of cursors in :mod:`sqlite3` converters. " +"Patch by Sergey Fedoseev." +msgstr "" + +#: build/NEWS:10417 +msgid "" +":issue:`34975`: Adds a ``start_tls()`` method to :class:`~asyncio.streams." +"StreamWriter`, which upgrades the connection with TLS using the given :class:" +"`~ssl.SSLContext`." +msgstr "" + +#: build/NEWS:10421 +msgid "" +":issue:`22276`: :class:`~pathlib.Path` methods :meth:`~pathlib.Path.glob` " +"and :meth:`~pathlib.Path.rglob` return only directories if *pattern* ends " +"with a pathname components separator (``/`` or :data:`~os.sep`). Patch by " +"Eisuke Kawashima." +msgstr "" + +#: build/NEWS:10426 +msgid "" +":issue:`24905`: Add :meth:`~sqlite3.Connection.blobopen` to :class:`sqlite3." +"Connection`. :class:`sqlite3.Blob` allows incremental I/O operations on " +"blobs. Patch by Aviv Palivoda and Erlend E. Aasland." +msgstr "" + +#: build/NEWS:10433 +msgid "" +":gh:`91888`: Add a new ``gh`` role to the documentation to link to GitHub " +"issues." +msgstr "" + +#: build/NEWS:10436 +msgid "" +":gh:`91783`: Document security issues concerning the use of the function :" +"meth:`shutil.unpack_archive`" +msgstr "" + +#: build/NEWS:10439 +msgid ":gh:`91547`: Remove \"Undocumented modules\" page." +msgstr "" + +#: build/NEWS:10441 +msgid "" +":gh:`91298`: In ``importlib.resources.abc``, refined the documentation of " +"the Traversable Protocol, applying changes from importlib_resources 5.7.1." +msgstr "" + +#: build/NEWS:10445 +msgid "" +":issue:`44347`: Clarify the meaning of *dirs_exist_ok*, a kwarg of :func:" +"`shutil.copytree`." +msgstr "" + +#: build/NEWS:10448 +msgid "" +":issue:`36329`: Remove 'make -C Doc serve' in favour of 'make -C Doc " +"htmlview'" +msgstr "" + +#: build/NEWS:10450 +msgid "" +":issue:`47189`: Add a What's New in Python 3.11 entry for the Faster CPython " +"project. Documentation by Ken Jin and Kumar Aditya." +msgstr "" + +#: build/NEWS:10453 +msgid "" +":issue:`38668`: Update the introduction to documentation for :mod:`os.path` " +"to remove warnings that became irrelevant after the implementations of :pep:" +"`383` and :pep:`529`." +msgstr "" + +#: build/NEWS:10457 +msgid "" +":issue:`47115`: The documentation now lists which members of C structs are " +"part of the :ref:`Limited API/Stable ABI <stable>`." +msgstr "" + +#: build/NEWS:10460 +msgid "" +":issue:`46962`: All docstrings in code snippets are now wrapped into :c:" +"macro:`PyDoc_STR` to follow the guideline of :pep:`PEP 7's Documentation " +"Strings paragraph <0007#documentation-strings>`. Patch by Oleg Iarygin." +msgstr "" + +#: build/NEWS:10465 +msgid "" +":issue:`26792`: Improve the docstrings of :func:`runpy.run_module` and :func:" +"`runpy.run_path`. Original patch by Andrew Brezovsky." +msgstr "" + +#: build/NEWS:10471 +msgid "" +":gh:`92169`: Use ``warnings_helper.import_deprecated()`` to import " +"deprecated modules uniformly in tests. Patch by Hugo van Kemenade." +msgstr "" + +#: build/NEWS:10474 +msgid "" +":gh:`84461`: When multiprocessing is enabled, libregrtest can now use a " +"Python executable other than :code:`sys.executable` via the ``--python`` " +"flag." +msgstr "" + +#: build/NEWS:10478 +msgid "" +":gh:`91904`: Fix initialization of :envvar:`PYTHONREGRTEST_UNICODE_GUARD` " +"which prevented running regression tests on non-UTF-8 locale." +msgstr "" + +#: build/NEWS:10482 +msgid "" +":gh:`91752`: Added @requires_zlib to test.test_tools.test_freeze.TestFreeze." +msgstr "" + +#: build/NEWS:10485 +msgid "" +":gh:`91607`: Fix ``test_concurrent_futures`` to test the correct " +"multiprocessing start method context in several cases where the test logic " +"mixed this up." +msgstr "" + +#: build/NEWS:10489 +msgid "" +":issue:`40280`: Threading tests are now skipped on WASM targets without " +"pthread support." +msgstr "" + +#: build/NEWS:10492 +msgid "" +":issue:`47109`: Test for :mod:`ctypes.macholib.dyld`, :mod:`ctypes.macholib." +"dylib`, and :mod:`ctypes.macholib.framework` are brought from manual pre-:" +"mod:`unittest` times to :mod:`ctypes.test` location and structure. Patch by " +"Oleg Iarygin." +msgstr "" + +#: build/NEWS:10497 +msgid "" +":issue:`29890`: Add tests for :class:`ipaddress.IPv4Interface` and :class:" +"`ipaddress.IPv6Interface` construction with tuple arguments. Original patch " +"and tests by louisom." +msgstr "" + +#: build/NEWS:10504 +msgid "" +":gh:`89452`: gdbm-compat is now preferred over ndbm if both are available on " +"the system. This allows avoiding the problematic ndbm.h on macOS." +msgstr "" + +#: build/NEWS:10508 +msgid "" +":gh:`91731`: Python is now built with ``-std=c11`` compiler option, rather " +"than ``-std=c99``. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:10511 +msgid "" +":issue:`47152`: Add script and make target for generating ``sre_constants." +"h``." +msgstr "" + +#: build/NEWS:10513 +msgid "" +":issue:`47103`: Windows ``PGInstrument`` builds now copy a required DLL into " +"the output directory, making it easier to run the profile stage of a PGO " +"build." +msgstr "" + +#: build/NEWS:10520 +msgid ":issue:`46907`: Update Windows installer to use SQLite 3.38.3." +msgstr "" + +#: build/NEWS:10522 +msgid "" +":issue:`47239`: Fixed --list and --list-paths output for :ref:`launcher` " +"when used in an active virtual environment." +msgstr "" + +#: build/NEWS:10525 +msgid ":issue:`46907`: Update Windows installer to use SQLite 3.38.2." +msgstr "" + +#: build/NEWS:10527 +msgid "" +":issue:`46785`: Fix race condition between :func:`os.stat` and unlinking a " +"file on Windows, by using errors codes returned by ``FindFirstFileW()`` when " +"appropriate in ``win32_xstat_impl``." +msgstr "" + +#: build/NEWS:10531 +msgid ":issue:`40859`: Update Windows build to use xz-5.2.5" +msgstr "" + +#: build/NEWS:10536 +msgid ":issue:`46907`: Update macOS installer to SQLite 3.38.4." +msgstr "" + +#: build/NEWS:10541 +msgid "" +":gh:`91583`: Fix regression in the code generated by Argument Clinic for " +"functions with the ``defining_class`` parameter." +msgstr "" + +#: build/NEWS:10544 +msgid "" +":gh:`91575`: Add script ``Tools/scripts/generate_re_casefix.py`` and the " +"make target ``regen-re`` for generating additional data for case-insensitive " +"matching according to the current Unicode version." +msgstr "" + +#: build/NEWS:10548 +msgid "" +":gh:`91551`: Remove the ancient Pynche color editor. It has moved to " +"https://gitlab.com/warsaw/pynche" +msgstr "" + +#: build/NEWS:10554 +msgid "" +":gh:`88279`: Deprecate the C functions: :c:func:`PySys_SetArgv`, :c:func:" +"`PySys_SetArgvEx`, :c:func:`PySys_SetPath`. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:10558 +msgid "" +":gh:`92154`: Added the :c:func:`PyCode_GetCode` function. This function does " +"the equivalent of the Python code ``getattr(code_object, 'co_code')``." +msgstr "" + +#: build/NEWS:10562 +msgid "" +":gh:`92173`: Fix the ``closure`` argument to :c:func:`PyEval_EvalCodeEx`." +msgstr "" + +#: build/NEWS:10565 +msgid "" +":gh:`91320`: Fix C++ compiler warnings about \"old-style cast\" (``g++ -Wold-" +"style-cast``) in the Python C API. Use C++ ``reinterpret_cast<>`` and " +"``static_cast<>`` casts when the Python C API is used in C++. Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:10570 +msgid "" +":gh:`80527`: Mark functions as deprecated by :pep:`623`: :c:func:`!" +"PyUnicode_AS_DATA`, :c:func:`!PyUnicode_AS_UNICODE`, :c:func:`!" +"PyUnicode_GET_DATA_SIZE`, :c:func:`!PyUnicode_GET_SIZE`. Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:10575 +msgid "" +":gh:`91768`: :c:func:`Py_REFCNT`, :c:func:`Py_TYPE`, :c:func:`Py_SIZE` and :" +"c:func:`Py_IS_TYPE` functions argument type is now ``PyObject*``, rather " +"than ``const PyObject*``. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:10579 +msgid "" +":gh:`91020`: Add ``PyBytes_Type.tp_alloc`` to initialize ``PyBytesObject." +"ob_shash`` for bytes subclasses." +msgstr "" + +#: build/NEWS:10582 +msgid "" +":issue:`40421`: Add ``PyFrame_GetLasti`` C-API function to access frame " +"object's ``f_lasti`` attribute safely from C code." +msgstr "" + +#: build/NEWS:10585 +msgid "" +":issue:`35134`: Remove the ``Include/code.h`` header file. C extensions " +"should only include the main ``<Python.h>`` header file. Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:10588 +msgid "" +":issue:`47169`: :c:func:`PyOS_CheckStack` is now exported in the Stable ABI " +"on Windows." +msgstr "" + +#: build/NEWS:10591 +msgid "" +":issue:`47169`: :c:func:`PyThread_get_thread_native_id` is excluded from the " +"stable ABI on platforms where it doesn't exist (like Solaris)." +msgstr "" + +#: build/NEWS:10594 +msgid "" +":issue:`46343`: Added :c:func:`PyErr_GetHandledException` and :c:func:" +"`PyErr_SetHandledException` as simpler alternatives to :c:func:" +"`PyErr_GetExcInfo` and :c:func:`PyErr_SetExcInfo`." +msgstr "" + +#: build/NEWS:10598 +msgid "They are included in the stable ABI." +msgstr "" + +#: build/NEWS:10602 +msgid "Python 3.11.0 alpha 7" +msgstr "" + +#: build/NEWS:10604 +msgid "*Release date: 2022-04-05*" +msgstr "" + +#: build/NEWS:10609 +msgid "" +":issue:`47212`: Raise :exc:`IndentationError` instead of :exc:`SyntaxError` " +"for a bare ``except`` with no following indent. Improve :exc:`SyntaxError` " +"locations for an un-parenthesized generator used as arguments. Patch by " +"Matthieu Dartiailh." +msgstr "" + +#: build/NEWS:10614 +msgid "" +":issue:`47186`: Replace :opcode:`JUMP_IF_NOT_EG_MATCH` by :opcode:" +"`CHECK_EG_MATCH` + jump." +msgstr "" + +#: build/NEWS:10617 +msgid "" +":issue:`47176`: Emscripten builds cannot handle signals in the usual way due " +"to platform limitations. Python can now handle signals. To use, set Module." +"Py_EmscriptenSignalBuffer to be a single byte SharedArrayBuffer and set " +"Py_EMSCRIPTEN_SIGNAL_HANDLING to 1. Writing a number into the " +"SharedArrayBuffer will cause the corresponding signal to be raised into the " +"Python thread." +msgstr "" + +#: build/NEWS:10624 +msgid "" +":issue:`47186`: Replace :opcode:`JUMP_IF_NOT_EXC_MATCH` by :opcode:" +"`CHECK_EXC_MATCH` + jump." +msgstr "" + +#: build/NEWS:10627 +msgid "" +":issue:`47120`: Replace the absolute jump opcode :opcode:`JUMP_NO_INTERRUPT` " +"by the relative :opcode:`JUMP_BACKWARD_NO_INTERRUPT`." +msgstr "" + +#: build/NEWS:10630 +msgid "" +":issue:`46841`: Avoid unnecessary allocations when comparing code objects." +msgstr "" + +#: build/NEWS:10632 +msgid "" +":issue:`47182`: Fix a crash when using a named unicode character like " +"``\"\\N{digit nine}\"`` after the main interpreter has been initialized a " +"second time." +msgstr "" + +#: build/NEWS:10636 +msgid "" +":issue:`47162`: WebAssembly cannot deal with bad function pointer casts " +"(different count or types of arguments). Python can now use call trampolines " +"to mitigate the problem. Define :c:macro:`PY_CALL_TRAMPOLINE` to enable call " +"trampolines." +msgstr "" + +#: build/NEWS:10641 +msgid "" +":issue:`46775`: Some Windows system error codes(>= 10000) are now mapped " +"into the correct errno and may now raise a subclass of :exc:`OSError`. Patch " +"by Donghee Na." +msgstr "" + +#: build/NEWS:10645 +msgid "" +":issue:`47129`: Improve error messages in f-string syntax errors concerning " +"empty expressions." +msgstr "" + +#: build/NEWS:10648 +msgid "" +":issue:`47117`: Fix a crash if we fail to decode characters in interactive " +"mode if the tokenizer buffers are uninitialized. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:10651 +msgid "" +":issue:`47127`: Speed up calls to c functions with keyword arguments by 25% " +"with specialization. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:10654 +msgid "" +":issue:`47120`: Replaced :opcode:`JUMP_ABSOLUTE` by the relative jump :" +"opcode:`JUMP_BACKWARD`." +msgstr "" + +#: build/NEWS:10657 +msgid "" +":issue:`42197`: :c:func:`!PyFrame_FastToLocalsWithError` and :c:func:`!" +"PyFrame_LocalsToFast` are no longer called during profiling nor tracing. C " +"code can access the ``f_locals`` attribute of :c:type:`PyFrameObject` by " +"calling :c:func:`PyFrame_GetLocals`." +msgstr "" + +#: build/NEWS:10662 +msgid "" +":issue:`47070`: Improve performance of ``array_inplace_repeat`` by reducing " +"the number of invocations of ``memcpy``. Refactor the ``repeat`` and inplace " +"``repeat`` methods of ``array``, ``bytes``, ``bytearray`` and " +"``unicodeobject`` to use the common ``_PyBytes_Repeat``." +msgstr "" + +#: build/NEWS:10667 +msgid "" +":issue:`47053`: Reduce de-optimization in the specialized " +"``BINARY_OP_INPLACE_ADD_UNICODE`` opcode." +msgstr "" + +#: build/NEWS:10670 +msgid "" +":issue:`47045`: Remove the ``f_state`` field from the _PyInterpreterFrame " +"struct. Add the ``owner`` field to the _PyInterpreterFrame struct to make " +"ownership explicit to simplify clearing and deallocing frames and generators." +msgstr "" + +#: build/NEWS:10675 +msgid "" +":issue:`46968`: Check for the existence of the \"sys/auxv.h\" header in :mod:" +"`faulthandler` to avoid compilation problems in systems where this header " +"doesn't exist. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:10679 +msgid "" +":issue:`46329`: Use low bit of ``LOAD_GLOBAL`` to indicate whether to push a " +"``NULL`` before the global. Helps streamline the call sequence a bit." +msgstr "" + +#: build/NEWS:10682 +msgid "" +":issue:`46841`: Quicken bytecode in-place by storing it as part of the " +"corresponding ``PyCodeObject``." +msgstr "" + +#: build/NEWS:10685 +msgid "" +":issue:`47012`: Speed up iteration of :class:`bytes` and :class:`bytearray` " +"by 30%. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:10688 +msgid "" +":issue:`47009`: Improved the performance of :meth:`list.append` and list " +"comprehensions by optimizing for the common case, where no resize is needed. " +"Patch by Dennis Sweeney." +msgstr "" + +#: build/NEWS:10692 +msgid "" +":issue:`47005`: Improve performance of ``bytearray_repeat`` and " +"``bytearray_irepeat`` by reducing the number of invocations of ``memcpy``." +msgstr "" + +#: build/NEWS:10695 +msgid "" +":issue:`46829`: Deprecate passing a message into :meth:`asyncio.Future." +"cancel` and :meth:`asyncio.Task.cancel`" +msgstr "" + +#: build/NEWS:10698 +msgid "" +":issue:`46993`: Speed up :class:`bytearray` creation from :class:`list` and :" +"class:`tuple` by 40%. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:10701 +msgid "" +":issue:`39829`: Removed the ``__len__()`` call when initializing a list and " +"moved initializing to ``list_extend``. Patch by Jeremiah Pascual." +msgstr "" + +#: build/NEWS:10704 +msgid "" +":issue:`46944`: Speed up throwing exception in generator with :c:macro:" +"`METH_FASTCALL` calling convention. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:10707 +msgid "" +":issue:`46841`: Modify :opcode:`STORE_SUBSCR` to use an inline cache entry " +"(rather than its oparg) as an adaptive counter." +msgstr "" + +#: build/NEWS:10710 +msgid "" +":issue:`46841`: Use inline caching for :opcode:`!PRECALL` and :opcode:" +"`CALL`, and remove the internal machinery for managing the (now unused) non-" +"inline caches." +msgstr "" + +#: build/NEWS:10714 +msgid "" +":issue:`46881`: Statically allocate and initialize the latin1 characters." +msgstr "" + +#: build/NEWS:10716 +msgid "" +":issue:`46838`: Improve syntax errors for incorrect function definitions. " +"Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:10719 +msgid "" +":issue:`43721`: Fix docstrings of :attr:`~property.getter`, :attr:`~property." +"setter`, and :attr:`~property.deleter` to clarify that they create a new " +"copy of the property." +msgstr "" + +#: build/NEWS:10723 +msgid ":issue:`43224`: Make grammar changes required for PEP 646." +msgstr "" + +#: build/NEWS:10728 +msgid ":issue:`47208`: Allow vendors to override :const:`CTYPES_MAX_ARGCOUNT`." +msgstr "" + +#: build/NEWS:10730 +msgid "" +":issue:`23689`: :mod:`re` module: fix memory leak when a match is terminated " +"by a signal or memory allocation failure. Patch by Ma Lin." +msgstr "" + +#: build/NEWS:10733 +msgid "" +":issue:`47167`: Allow overriding a future compliance check in :class:" +"`asyncio.Task`." +msgstr "" + +#: build/NEWS:10736 +msgid "" +":issue:`47151`: When subprocess tries to use vfork, it now falls back to " +"fork if vfork returns an error. This allows use in situations where vfork " +"isn't allowed by the OS kernel." +msgstr "" + +#: build/NEWS:10740 +msgid "" +":issue:`47152`: Convert the :mod:`re` module into a package. Deprecate " +"modules ``sre_compile``, ``sre_constants`` and ``sre_parse``." +msgstr "" + +#: build/NEWS:10743 +msgid ":issue:`4833`: Add :meth:`ZipFile.mkdir`" +msgstr "" + +#: build/NEWS:10745 +msgid "" +":issue:`27929`: Fix :meth:`asyncio.loop.sock_connect` to only resolve names " +"for :const:`socket.AF_INET` or :const:`socket.AF_INET6` families. Resolution " +"may not make sense for other families, like :const:`socket.AF_BLUETOOTH` " +"and :const:`socket.AF_UNIX`." +msgstr "" + +#: build/NEWS:10750 +msgid ":issue:`14265`: Adds the fully qualified test name to unittest output" +msgstr "" + +#: build/NEWS:10752 +msgid ":issue:`47061`: Deprecate the aifc module." +msgstr "" + +#: build/NEWS:10754 +msgid "" +":issue:`39622`: Handle Ctrl+C in asyncio programs to interrupt the main task." +msgstr "" + +#: build/NEWS:10756 +msgid "" +":issue:`47101`: :const:`hashlib.algorithms_available` now lists only " +"algorithms that are provided by activated crypto providers on OpenSSL 3.0. " +"Legacy algorithms are not listed unless the legacy provider has been loaded " +"into the default OSSL context." +msgstr "" + +#: build/NEWS:10761 +msgid "" +":issue:`47099`: All :exc:`URLError` exception messages raised in :class:" +"`urllib.request.URLopener` now contain a colon between ``ftp error`` and the " +"rest of the message. Previously, :func:`~urllib.request.URLopener.open_ftp` " +"missed the colon. Patch by Oleg Iarygin." +msgstr "" + +#: build/NEWS:10767 +msgid "" +":issue:`47099`: Exception chaining is changed from :func:`Exception." +"with_traceback`/:func:`sys.exc_info` to :pep:`3134`. Patch by Oleg Iarygin." +msgstr "" + +#: build/NEWS:10771 +msgid "" +":issue:`47095`: :mod:`hashlib`'s internal ``_blake2`` module now prefers " +"``libb2`` from https://www.blake2.net/ over Python's vendored copy of blake2." +msgstr "" + +#: build/NEWS:10775 +msgid "" +":issue:`47098`: The Keccak Code Package for :mod:`hashlib`'s internal " +"``_sha3`` module has been replaced with tiny_sha3. The module is used as " +"fallback when Python is built without OpenSSL." +msgstr "" + +#: build/NEWS:10779 +msgid "" +":issue:`47088`: Implement :data:`typing.LiteralString`, part of :pep:`675`. " +"Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:10782 +msgid "" +":issue:`42885`: Optimize :func:`re.search`, :func:`re.split`, :func:`re." +"findall`, :func:`re.finditer` and :func:`re.sub` for regular expressions " +"starting with ``\\A`` or ``^``." +msgstr "" + +#: build/NEWS:10786 +msgid "" +":issue:`23691`: Protect the :func:`re.finditer` iterator from re-entering." +msgstr "" + +#: build/NEWS:10788 +msgid "" +":issue:`47067`: Optimize calling ``GenericAlias`` objects by using :pep:" +"`590` ``vectorcall`` and by replacing ``PyObject_SetAttrString`` with " +"``PyObject_SetAttr``." +msgstr "" + +#: build/NEWS:10792 +msgid "" +":issue:`28080`: Add the *metadata_encoding* parameter in the :class:`zipfile." +"ZipFile` constructor and the ``--metadata-encoding`` option in the :mod:" +"`zipfile` CLI to allow reading zipfiles using non-standard codecs to encode " +"the filenames within the archive." +msgstr "" + +#: build/NEWS:10797 +msgid "" +":issue:`47000`: Make :func:`io.text_encoding` returns \"utf-8\" when UTF-8 " +"mode is enabled." +msgstr "" + +#: build/NEWS:10800 +msgid "" +":issue:`42369`: Fix thread safety of :meth:`zipfile._SharedFile.tell` to " +"avoid a \"zipfile.BadZipFile: Bad CRC-32 for file\" exception when reading " +"a :class:`ZipFile` from multiple threads." +msgstr "" + +#: build/NEWS:10804 +msgid "" +":issue:`38256`: Fix :func:`binascii.crc32` when it is compiled to use zlib'c " +"crc32 to work properly on inputs 4+GiB in length instead of returning the " +"wrong result. The workaround prior to this was to always feed the function " +"data in increments smaller than 4GiB or to just call the zlib module " +"function." +msgstr "" + +#: build/NEWS:10810 +msgid "" +"We also have :func:`binascii.crc32` release the GIL when computing on larger " +"inputs as :func:`zlib.crc32` and :mod:`hashlib` do." +msgstr "" + +#: build/NEWS:10813 +msgid "" +"This also boosts performance on Windows as it now uses the zlib crc32 " +"implementation for :func:`binascii.crc32` for a 2-3x speedup." +msgstr "" + +#: build/NEWS:10816 +msgid "" +"That the stdlib has a crc32 API in two modules is a known historical oddity. " +"This moves us closer to a single implementation behind them." +msgstr "" + +#: build/NEWS:10819 +msgid "" +":issue:`47066`: Global inline flags (e.g. ``(?i)``) can now only be used at " +"the start of the regular expressions. Using them not at the start of " +"expression was deprecated since Python 3.6." +msgstr "" + +#: build/NEWS:10823 +msgid "" +":issue:`39394`: A warning about inline flags not at the start of the regular " +"expression now contains the position of the flag." +msgstr "" + +#: build/NEWS:10826 +msgid "" +":issue:`433030`: Add support of atomic grouping (``(?>...)``) and possessive " +"quantifiers (``*+``, ``++``, ``?+``, ``{m,n}+``) in :mod:`regular " +"expressions <re>`." +msgstr "" + +#: build/NEWS:10830 +msgid ":issue:`47062`: Implement :class:`asyncio.Runner` context manager." +msgstr "" + +#: build/NEWS:10832 +msgid "" +":issue:`46382`: :func:`~dataclasses.dataclass` ``slots=True`` now correctly " +"omits slots already defined in base classes. Patch by Arie Bovenberg." +msgstr "" + +#: build/NEWS:10835 +msgid ":issue:`47057`: Use FASTCALL convention for ``FutureIter.throw()``" +msgstr "" + +#: build/NEWS:10837 +msgid ":issue:`47061`: Deprecate the various modules listed by :pep:`594`:" +msgstr "" + +#: build/NEWS:10839 +msgid "" +"aifc, asynchat, asyncore, audioop, cgi, cgitb, chunk, crypt, imghdr, msilib, " +"nntplib, nis, ossaudiodev, pipes, smtpd, sndhdr, spwd, sunau, telnetlib, uu, " +"xdrlib" +msgstr "" + +#: build/NEWS:10843 +msgid "" +":issue:`34790`: Remove passing coroutine objects to :func:`asyncio.wait`." +msgstr "" + +#: build/NEWS:10845 +msgid "" +":issue:`47039`: Normalize ``repr()`` of asyncio future and task objects." +msgstr "" + +#: build/NEWS:10847 +msgid "" +":issue:`2604`: Fix bug where doctests using globals would fail when run " +"multiple times." +msgstr "" + +#: build/NEWS:10850 +msgid "" +":issue:`45150`: Add :func:`hashlib.file_digest` helper for efficient hashing " +"of file object." +msgstr "" + +#: build/NEWS:10853 +msgid ":issue:`34861`: Made cumtime the default sorting key for cProfile" +msgstr "" + +#: build/NEWS:10855 +msgid ":issue:`45997`: Fix :class:`asyncio.Semaphore` re-aquiring FIFO order." +msgstr "" + +#: build/NEWS:10857 +msgid "" +":issue:`47022`: The :mod:`!asynchat`, :mod:`!asyncore` and :mod:`!smtpd` " +"modules have been deprecated since at least Python 3.6. Their documentation " +"and deprecation warnings and have now been updated to note they will removed " +"in Python 3.12 (:pep:`594`)." +msgstr "" + +#: build/NEWS:10862 +msgid "" +":issue:`43253`: Fix a crash when closing transports where the underlying " +"socket handle is already invalid on the Proactor event loop." +msgstr "" + +#: build/NEWS:10865 +msgid "" +":issue:`40280`: :func:`select.select` now passes ``NULL`` to ``select`` for " +"each empty fdset." +msgstr "" + +#: build/NEWS:10868 +msgid "" +":issue:`47004`: Apply bugfixes from importlib_metadata 4.11.3, including " +"bugfix for EntryPoint.extras, which was returning match objects and not the " +"extras strings." +msgstr "" + +#: build/NEWS:10872 +msgid "" +":issue:`46998`: Allow subclassing of :class:`typing.Any`. Patch by Shantanu " +"Jain." +msgstr "" + +#: build/NEWS:10875 +msgid "" +":issue:`46995`: Deprecate missing :meth:`asyncio.Task.set_name` for third-" +"party task implementations, schedule making it mandatory in Python 3.13." +msgstr "" + +#: build/NEWS:10878 +msgid "" +":issue:`46994`: Accept explicit contextvars.Context in :func:`asyncio." +"create_task` and :meth:`asyncio.loop.create_task`." +msgstr "" + +#: build/NEWS:10881 +msgid "" +":issue:`46981`: ``typing.get_args(typing.Tuple[()])`` now returns ``()`` " +"instead of ``((),)``." +msgstr "" + +#: build/NEWS:10884 +msgid ":issue:`46968`: Add ``os.sysconf_names['SC_MINSIGSTKSZ']``." +msgstr "" + +#: build/NEWS:10886 +msgid ":issue:`46985`: Upgrade pip wheel bundled with ensurepip (pip 22.0.4)" +msgstr "" + +#: build/NEWS:10888 +msgid "" +":issue:`46968`: :mod:`faulthandler`: On Linux 5.14 and newer, dynamically " +"determine size of signal handler stack size CPython allocates using " +"``getauxval(AT_MINSIGSTKSZ)``. This changes allows for Python extension's " +"request to Linux kernel to use AMX_TILE instruction set on Sapphire Rapids " +"Xeon processor to succeed, unblocking use of the ISA in frameworks." +msgstr "" + +#: build/NEWS:10894 +msgid "" +":issue:`46917`: The :data:`math.nan` value is now always available. Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:10897 +msgid "" +":issue:`46955`: Expose :class:`asyncio.base_events.Server` as :class:" +"`asyncio.Server`. Patch by Stefan Zabka." +msgstr "" + +#: build/NEWS:10900 +msgid "" +":issue:`23325`: The :mod:`signal` module no longer assumes that :const:" +"`~signal.SIG_IGN` and :const:`~signal.SIG_DFL` are small int singletons." +msgstr "" + +#: build/NEWS:10904 +msgid ":issue:`46932`: Update bundled libexpat to 2.4.7" +msgstr "" + +#: build/NEWS:10906 +msgid "" +":issue:`46933`: The :mod:`pwd` module is now optional. :func:`os.path." +"expanduser` returns the path when the :mod:`pwd` module is not available." +msgstr "" + +#: build/NEWS:10910 +msgid "" +":issue:`40059`: :pep:`680`, the :mod:`tomllib` module. Adds support for " +"parsing TOML." +msgstr "" + +#: build/NEWS:10913 +msgid "" +":issue:`464471`: :func:`asyncio.timeout` and :func:`asyncio.timeout_at` " +"context managers added. Patch by Tin Tvrtković and Andrew Svetlov." +msgstr "" + +#: build/NEWS:10916 +msgid "" +":issue:`46805`: Added raw datagram socket functions for asyncio: :meth:" +"`~asyncio.AbstractEventLoop.sock_sendto`, :meth:`~asyncio.AbstractEventLoop." +"sock_recvfrom` and :meth:`~asyncio.AbstractEventLoop.sock_recvfrom_into`." +msgstr "" + +#: build/NEWS:10921 +msgid "" +":issue:`46644`: No longer require valid typeforms to be callable. This " +"allows :data:`typing.Annotated` to wrap :data:`typing.ParamSpecArgs` and :" +"data:`dataclasses.InitVar`. Patch by Gregory Beauregard." +msgstr "" + +#: build/NEWS:10925 +msgid "" +":issue:`46581`: Brings :class:`ParamSpec` propagation for :class:" +"`GenericAlias` in line with :class:`Concatenate` (and others)." +msgstr "" + +#: build/NEWS:10928 +msgid "" +":issue:`45413`: Define *posix_venv* and *nt_venv* :ref:`sysconfig " +"installation schemes <installation_paths>` to be used for bootstrapping new " +"virtual environments. Add *venv* sysconfig installation scheme to get the " +"appropriate one of the above. The schemes are identical to the pre-existing " +"*posix_prefix* and *nt* install schemes. The :mod:`venv` module now uses the " +"*venv* scheme to create new virtual environments instead of hardcoding the " +"paths depending only on the platform. Downstream Python distributors " +"customizing the *posix_prefix* or *nt* install scheme in a way that is not " +"compatible with the install scheme used in virtual environments are " +"encouraged not to customize the *venv* schemes. When Python itself runs in a " +"virtual environment, :func:`sysconfig.get_default_scheme` and :func:" +"`sysconfig.get_preferred_scheme` with ``key=\"prefix\"`` returns *venv*." +msgstr "" + +#: build/NEWS:10943 +msgid ":issue:`43224`: Implement support for PEP 646 in typing.py." +msgstr "" + +#: build/NEWS:10945 +msgid "" +":issue:`43224`: Allow unpacking types.GenericAlias objects, e.g. " +"``*tuple[int, str]``." +msgstr "" + +#: build/NEWS:10948 +msgid "" +":issue:`46557`: Warnings captured by the logging module are now logged " +"without a format string to prevent systems that group logs by the msg " +"argument from grouping captured warnings together." +msgstr "" + +#: build/NEWS:10952 +msgid "" +":issue:`41370`: :func:`typing.get_type_hints` now supports evaluating " +"strings as forward references in :ref:`PEP 585 generic aliases <types-" +"genericalias>`." +msgstr "" + +#: build/NEWS:10956 +msgid "" +":issue:`46607`: Add :exc:`DeprecationWarning` to :class:" +"`LegacyInterpolation`, deprecated in the docstring since Python 3.2. Will be " +"removed in Python 3.13. Use :class:`BasicInterpolation` or :class:" +"`ExtendedInterpolation` instead." +msgstr "" + +#: build/NEWS:10961 +msgid "" +":issue:`26120`: :mod:`pydoc` now excludes __future__ imports from the " +"module's data items." +msgstr "" + +#: build/NEWS:10964 +msgid "" +":issue:`46480`: Add :func:`typing.assert_type`. Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:10966 +msgid "" +":issue:`46421`: Fix a unittest issue where if the command was invoked as " +"``python -m unittest`` and the filename(s) began with a dot (.), a " +"``ValueError`` is returned." +msgstr "" + +#: build/NEWS:10970 +msgid "" +":issue:`46245`: Add optional parameter *dir_fd* in :func:`shutil.rmtree`." +msgstr "" + +#: build/NEWS:10972 +msgid "" +":issue:`22859`: :meth:`~unittest.TestProgram.usageExit` is marked " +"deprecated, to be removed in 3.13." +msgstr "" + +#: build/NEWS:10975 +msgid "" +":issue:`46170`: Improve the error message when you try to subclass an " +"instance of :class:`typing.NewType`." +msgstr "" + +#: build/NEWS:10978 +msgid ":issue:`40296`: Fix supporting generic aliases in :mod:`pydoc`." +msgstr "" + +#: build/NEWS:10980 +msgid "" +":issue:`20392`: Fix inconsistency with uppercase file extensions in :meth:" +"`MimeTypes.guess_type`. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:10983 +msgid "" +":issue:`46030`: Add ``LOCAL_CREDS``, ``LOCAL_CREDS_PERSISTENT`` and " +"``SCM_CREDS2`` FreeBSD constants to the socket module." +msgstr "" + +#: build/NEWS:10986 +msgid "" +":issue:`44439`: Fix ``.write()`` method of a member file in ``ZipFile``, " +"when the input data is an object that supports the buffer protocol, the file " +"length may be wrong." +msgstr "" + +#: build/NEWS:10990 +msgid "" +":issue:`45171`: Fix handling of the ``stacklevel`` argument to logging " +"functions in the :mod:`logging` module so that it is consistent across all " +"logging functions and, as advertised, similar to the ``stacklevel`` argument " +"used in :meth:`~warnings.warn`." +msgstr "" + +#: build/NEWS:10995 +msgid "" +":issue:`24959`: Fix bug where :mod:`unittest` sometimes drops frames from " +"tracebacks of exceptions raised in tests." +msgstr "" + +#: build/NEWS:10998 +msgid "" +":issue:`44859`: Raise more accurate and :pep:`249` compatible exceptions in :" +"mod:`sqlite3`." +msgstr "" + +#: build/NEWS:11001 +msgid "" +"Raise :exc:`~sqlite3.InterfaceError` instead of :exc:`~sqlite3." +"ProgrammingError` for ``SQLITE_MISUSE`` errors." +msgstr "" + +#: build/NEWS:11003 +msgid "" +"Don't overwrite :exc:`BufferError` with :exc:`ValueError` when conversion to " +"BLOB fails." +msgstr "" + +#: build/NEWS:11005 +msgid "" +"Raise :exc:`~sqlite3.ProgrammingError` instead of :exc:`~sqlite3.Warning` if " +"user tries to :meth:`~sqlite3.Cursor.execute` more than one SQL statement." +msgstr "" + +#: build/NEWS:11007 +msgid "" +"Raise :exc:`~sqlite3.ProgrammingError` instead of :exc:`ValueError` if an " +"SQL query contains null characters." +msgstr "" + +#: build/NEWS:11010 +msgid ":issue:`44493`: Add missing terminated NUL in sockaddr_un's length" +msgstr "" + +#: build/NEWS:11012 +msgid "" +"This was potentially observable when using non-abstract AF_UNIX datagram " +"sockets to processes written in another programming language." +msgstr "" + +#: build/NEWS:11015 +msgid "" +":issue:`41930`: Add :meth:`~sqlite3.Connection.serialize` and :meth:" +"`~sqlite3.Connection.deserialize` support to :mod:`sqlite3`. Patch by Erlend " +"E. Aasland." +msgstr "" + +#: build/NEWS:11019 +msgid "" +":issue:`33178`: Added :class:`ctypes.BigEndianUnion` and :class:`ctypes." +"LittleEndianUnion` classes, as originally documented in the library docs but " +"not yet implemented." +msgstr "" + +#: build/NEWS:11023 +msgid "" +":issue:`43352`: Add an Barrier object in synchronization primitives of " +"*asyncio* Lib in order to be consistent with Barrier from *threading* and " +"*multiprocessing* libs*" +msgstr "" + +#: build/NEWS:11027 +msgid "" +":issue:`35859`: :mod:`re` module, fix a few bugs about capturing group. In " +"rare cases, capturing group gets an incorrect string. Patch by Ma Lin." +msgstr "" + +#: build/NEWS:11033 +msgid ":issue:`45099`: Document internal :mod:`asyncio` API." +msgstr "" + +#: build/NEWS:11035 +msgid ":issue:`47126`: Update PEP URLs to :pep:`676`'s new canonical form." +msgstr "" + +#: build/NEWS:11037 +msgid "" +":issue:`47040`: Clarified the old Python versions compatibility note of :" +"func:`binascii.crc32` / :func:`zlib.adler32` / :func:`zlib.crc32` functions." +msgstr "" + +#: build/NEWS:11041 +msgid ":issue:`46033`: Clarify ``for`` statement execution in its doc." +msgstr "" + +#: build/NEWS:11043 +msgid "" +":issue:`45790`: Adjust inaccurate phrasing in :doc:`../extending/" +"newtypes_tutorial` about the ``ob_base`` field and the macros used to access " +"its contents." +msgstr "" + +#: build/NEWS:11047 +msgid "" +":issue:`42340`: Document that in some circumstances :exc:`KeyboardInterrupt` " +"may cause the code to enter an inconsistent state. Provided a sample " +"workaround to avoid it if needed." +msgstr "" + +#: build/NEWS:11051 +msgid "" +":issue:`41233`: Link the errnos referenced in ``Doc/library/exceptions.rst`` " +"to their respective section in ``Doc/library/errno.rst``, and vice versa. " +"Previously this was only done for EINTR and InterruptedError. Patch by Yan " +"\"yyyyyyyan\" Orestes." +msgstr "" + +#: build/NEWS:11059 +msgid "" +":issue:`47205`: Skip test for :func:`~os.sched_getaffinity` and :func:`~os." +"sched_setaffinity` error case on FreeBSD." +msgstr "" + +#: build/NEWS:11062 +msgid ":issue:`46126`: Restore 'descriptions' when running tests internally." +msgstr "" + +#: build/NEWS:11064 +msgid "" +":issue:`47104`: Rewrite :func:`asyncio.to_thread` tests to use :class:" +"`unittest.IsolatedAsyncioTestCase`." +msgstr "" + +#: build/NEWS:11067 +msgid "" +":issue:`40280`: The test suite is now passing on the Emscripten platform. " +"All fork, socket, and subprocess-based tests are skipped." +msgstr "" + +#: build/NEWS:11070 +msgid "" +":issue:`47037`: Skip ``strftime(\"%4Y\")`` feature test on Windows. It can " +"cause an assertion error in debug builds." +msgstr "" + +#: build/NEWS:11073 +msgid "" +":issue:`46587`: Skip tests if platform's ``strftime`` does not support non-" +"portable glibc extensions." +msgstr "" + +#: build/NEWS:11076 +msgid "" +":issue:`47015`: A test case for :func:`os.sendfile` is converted from " +"deprecated :mod:`!asyncore` (see :pep:`594`) to :mod:`asyncio`. Patch by " +"Oleg Iarygin." +msgstr "" + +#: build/NEWS:11083 +msgid "" +":issue:`40280`: Add configure option :option:`--enable-wasm-dynamic-linking` " +"to enable ``dlopen`` and MAIN_MODULE / SIDE_MODULE on ``wasm32-emscripten``." +msgstr "" + +#: build/NEWS:11086 +msgid "" +":issue:`46023`: ``makesetup`` now detects and skips all duplicated module " +"definitions. The first entry wins." +msgstr "" + +#: build/NEWS:11089 +msgid "" +":issue:`40280`: Add SOABI ``wasm32-emscripten`` for Emscripten and ``wasm32-" +"wasi`` for WASI on 32bit WASM as well as ``wasm64`` counter parts." +msgstr "" + +#: build/NEWS:11093 +msgid "" +":issue:`47032`: Ensure Windows install builds fail correctly with a non-zero " +"exit code when part of the build fails." +msgstr "" + +#: build/NEWS:11096 +msgid "" +":issue:`47024`: Update OpenSSL to 1.1.1n for macOS installers and all " +"Windows builds." +msgstr "" + +#: build/NEWS:11099 +msgid "" +":issue:`46996`: The :mod:`tkinter` package now requires Tcl/Tk version " +"8.5.12 or newer." +msgstr "" + +#: build/NEWS:11102 +msgid "" +":issue:`46973`: Add ``regen-configure`` make target to regenerate configure " +"script with Christian's container image ``quay.io/tiran/" +"cpython_autoconf:269``." +msgstr "" + +#: build/NEWS:11106 +msgid "" +":issue:`46917`: Building Python now requires support of IEEE 754 floating-" +"point numbers. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:11109 +msgid "" +":issue:`45774`: ``configure`` now verifies that all SQLite C APIs needed for " +"the :mod:`sqlite3` extension module are found." +msgstr "" + +#: build/NEWS:11115 +msgid "" +":issue:`47194`: Update ``zlib`` to v1.2.12 to resolve :cve:`2018-25032`." +msgstr "" + +#: build/NEWS:11117 +msgid "" +":issue:`47171`: Enables installing the :file:`py.exe` launcher on Windows " +"ARM64." +msgstr "" + +#: build/NEWS:11120 +msgid "" +":issue:`46566`: Upgraded :ref:`launcher` to support a new ``-V:company/tag`` " +"argument for full :pep:`514` support and to detect ARM64 installs. The " +"``-64`` suffix on arguments is deprecated, but still selects any non-32-bit " +"install. Setting :envvar:`PYLAUNCHER_ALLOW_INSTALL` and specifying a version " +"that is not installed will attempt to install the requested version from the " +"Microsoft Store." +msgstr "" + +#: build/NEWS:11127 +msgid "" +":issue:`47086`: The installer for Windows now includes documentation as " +"loose HTML files rather than a single compiled :file:`.chm` file." +msgstr "" + +#: build/NEWS:11130 +msgid ":issue:`46907`: Update Windows installer to use SQLite 3.38.1." +msgstr "" + +#: build/NEWS:11132 +msgid "" +":issue:`44549`: Update bzip2 to 1.0.8 in Windows builds to mitigate :cve:" +"`2016-3189` and :cve:`2019-12900`." +msgstr "" + +#: build/NEWS:11135 +msgid "" +":issue:`46948`: Prevent :cve:`2022-26488` by ensuring the Add to PATH option " +"in the Windows installer uses the correct path when being repaired." +msgstr "" + +#: build/NEWS:11141 +msgid "" +":issue:`46890`: Fix a regression in the setting of ``sys._base_executable`` " +"in framework builds, and thereby fix a regression in :mod:`venv` virtual " +"environments with such builds." +msgstr "" + +#: build/NEWS:11145 +msgid ":issue:`46907`: Update macOS installer to SQLite 3.38.1." +msgstr "" + +#: build/NEWS:11150 +msgid "" +":issue:`40280`: Replace Emscripten's limited shell with Katie Bell's browser-" +"ui REPL from python-wasm project." +msgstr "" + +#: build/NEWS:11156 +msgid "" +":issue:`40421`: Add ``PyFrame_GetBuiltins``, ``PyFrame_GetGenerator`` and " +"``PyFrame_GetGlobals`` C-API functions to access frame object attributes " +"safely from C code." +msgstr "" + +#: build/NEWS:11160 +msgid "" +":issue:`46850`: Move the private ``_PyFrameEvalFunction`` type, and private " +"``_PyInterpreterState_GetEvalFrameFunc()`` and " +"``_PyInterpreterState_SetEvalFrameFunc()`` functions to the internal C API. " +"The ``_PyFrameEvalFunction`` callback function type now uses the " +"``_PyInterpreterFrame`` type which is part of the internal C API. Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:11167 +msgid "" +":issue:`46850`: Move the private undocumented ``_PyEval_EvalFrameDefault()`` " +"function to the internal C API. The function now uses the " +"``_PyInterpreterFrame`` type which is part of the internal C API. Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:11172 +msgid "" +":issue:`46850`: Remove the private undocumented function " +"``_PyEval_CallTracing()`` from the C API. Call the public :func:`sys." +"call_tracing` function instead. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:11176 +msgid "" +":issue:`46850`: Remove the private undocumented function " +"``_PyEval_GetCoroutineOriginTrackingDepth()`` from the C API. Call the " +"public :func:`sys.get_coroutine_origin_tracking_depth` function instead. " +"Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:11181 +msgid "" +":issue:`46850`: Remove the following private undocumented functions from the " +"C API:" +msgstr "" + +#: build/NEWS:11184 +msgid "``_PyEval_GetAsyncGenFirstiter()``" +msgstr "" + +#: build/NEWS:11185 +msgid "``_PyEval_GetAsyncGenFinalizer()``" +msgstr "" + +#: build/NEWS:11186 +msgid "``_PyEval_SetAsyncGenFirstiter()``" +msgstr "" + +#: build/NEWS:11187 +msgid "``_PyEval_SetAsyncGenFinalizer()``" +msgstr "" + +#: build/NEWS:11189 +msgid "" +"Call the public :func:`sys.get_asyncgen_hooks` and :func:`sys." +"set_asyncgen_hooks` functions instead. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:11192 +msgid "" +":issue:`46987`: Remove private functions ``_PySys_GetObjectId()`` and " +"``_PySys_SetObjectId()``. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:11195 +msgid "" +":issue:`46906`: Add new functions to pack and unpack C double (serialize and " +"deserialize): :c:func:`PyFloat_Pack2`, :c:func:`PyFloat_Pack4`, :c:func:" +"`PyFloat_Pack8`, :c:func:`PyFloat_Unpack2`, :c:func:`PyFloat_Unpack4` and :c:" +"func:`PyFloat_Unpack8`. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:11203 +msgid "Python 3.11.0 alpha 6" +msgstr "" + +#: build/NEWS:11205 +msgid "*Release date: 2022-03-07*" +msgstr "" + +#: build/NEWS:11210 +msgid "" +":issue:`46940`: Avoid overriding :exc:`AttributeError` metadata information " +"for nested attribute access calls. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:11213 +msgid "" +":issue:`46927`: Include the type's name in the error message for " +"subscripting non-generic types." +msgstr "" + +#: build/NEWS:11216 +msgid ":issue:`46921`: Support vectorcall for ``super()``. Patch by Ken Jin." +msgstr "" + +#: build/NEWS:11218 +msgid "" +":issue:`46841`: Fix incorrect handling of inline cache entries when " +"specializing :opcode:`BINARY_OP`." +msgstr "" + +#: build/NEWS:11221 +msgid "" +":issue:`46841`: Use an oparg to simplify the construction of helpful error " +"messages in :opcode:`GET_AWAITABLE`." +msgstr "" + +#: build/NEWS:11224 +msgid "" +":issue:`46903`: Make sure that str subclasses can be used as attribute names " +"for instances with virtual dictionaries. Fixes regression in 3.11alpha" +msgstr "" + +#: build/NEWS:11227 +msgid "" +":issue:`46841`: Add more detailed specialization failure stats for :opcode:" +"`COMPARE_OP` followed by :opcode:`EXTENDED_ARG`." +msgstr "" + +#: build/NEWS:11230 +msgid "" +":issue:`46891`: Fix bug introduced during 3.11alpha where subclasses of " +"``types.ModuleType`` with ``__slots__`` were not initialized correctly, " +"resulting in an interpreter crash." +msgstr "" + +#: build/NEWS:11234 +msgid "" +":issue:`46841`: Use inline caching for :opcode:`LOAD_ATTR`, :opcode:" +"`LOAD_METHOD`, and :opcode:`STORE_ATTR`." +msgstr "" + +#: build/NEWS:11237 +msgid ":issue:`46841`: Use inline cache for :opcode:`BINARY_SUBSCR`." +msgstr "" + +#: build/NEWS:11239 +msgid ":issue:`46841`: Use inline caching for :opcode:`COMPARE_OP`." +msgstr "" + +#: build/NEWS:11241 +msgid "" +":issue:`46864`: Deprecate ``PyBytesObject.ob_shash``. It will be removed in " +"Python 3.13." +msgstr "" + +#: build/NEWS:11244 +msgid ":issue:`46841`: Use inline caching for :opcode:`UNPACK_SEQUENCE`." +msgstr "" + +#: build/NEWS:11246 +msgid "" +":issue:`46845`: Reduces dict size by removing hash value from hash table " +"when all inserted keys are Unicode. For example, ``sys.getsizeof(dict." +"fromkeys(\"abcdefg\"))`` becomes 272 bytes from 352 bytes on 64bit platform." +msgstr "" + +#: build/NEWS:11251 +msgid ":issue:`46841`: Use inline cache for :opcode:`LOAD_GLOBAL`." +msgstr "" + +#: build/NEWS:11253 +msgid "" +":issue:`46852`: Rename the private undocumented ``float.__set_format__()`` " +"method to ``float.__setformat__()`` to fix a typo introduced in Python 3.7. " +"The method is only used by test_float. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:11257 +msgid "" +":issue:`46852`: Remove the undocumented private ``float.__set_format__()`` " +"method, previously known as ``float.__setformat__()`` in Python 3.7. Its " +"docstring said: \"You probably don't want to use this function. It exists " +"mainly to be used in Python's test suite.\" Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:11262 +msgid "" +":issue:`40116`: Fix regression that dict.update(other) may don't respect " +"iterate order of other when other is key sharing dict." +msgstr "" + +#: build/NEWS:11265 +msgid ":issue:`46712`: Share global string identifiers in deep-frozen modules." +msgstr "" + +#: build/NEWS:11267 +msgid "" +":issue:`46430`: Fix memory leak in interned strings of deep-frozen modules." +msgstr "" + +#: build/NEWS:11269 +msgid "" +":issue:`46841`: Store :opcode:`BINARY_OP` caches inline using a new :opcode:" +"`CACHE` instruction." +msgstr "" + +#: build/NEWS:11272 +msgid ":issue:`45107`: Specialize ``LOAD_METHOD`` for instances with a dict." +msgstr "" + +#: build/NEWS:11274 +msgid "" +":issue:`44337`: Reduce the memory usage of specialized :opcode:`LOAD_ATTR` " +"and :opcode:`STORE_ATTR` instructions." +msgstr "" + +#: build/NEWS:11277 +msgid "" +":issue:`46729`: Add number of sub-exceptions to :meth:`BaseException." +"__str__`." +msgstr "" + +#: build/NEWS:11279 +msgid "" +":issue:`45885`: Don't un-adapt :opcode:`COMPARE_OP` when collecting " +"specialization stats." +msgstr "" + +#: build/NEWS:11282 +msgid "" +":issue:`46329`: Fix specialization stats gathering for :opcode:`!PRECALL` " +"instructions." +msgstr "" + +#: build/NEWS:11285 +msgid ":issue:`46794`: Bump up the libexpat version into 2.4.6" +msgstr "" + +#: build/NEWS:11287 +msgid "" +":issue:`46823`: Implement a specialized combined opcode " +"``LOAD_FAST__LOAD_ATTR_INSTANCE_VALUE``. Patch by Dennis Sweeney." +msgstr "" + +#: build/NEWS:11290 +msgid "" +":issue:`46820`: Fix parsing a numeric literal immediately (without spaces) " +"followed by \"not in\" keywords, like in ``1not in x``. Now the parser only " +"emits a warning, not a syntax error." +msgstr "" + +#: build/NEWS:11294 +msgid "" +":issue:`46329`: Move ``KW_NAMES`` before ``PRECALL`` instruction in call " +"sequence. Change ``operand`` of ``CALL`` to match ``PRECALL`` for easier " +"specialization." +msgstr "" + +#: build/NEWS:11298 +msgid "" +":issue:`46808`: Remove the ``NEXT_BLOCK`` macro from compile.c, and make the " +"compiler automatically generate implicit blocks when they are needed." +msgstr "" + +#: build/NEWS:11301 +msgid "" +":issue:`46329`: Add ``PUSH_NULL`` instruction. This is used as a prefix when " +"evaluating a callable, so that the stack has the same shape for methods and " +"other calls. ``PRECALL_FUNCTION`` and ``PRECALL_METHOD`` are merged into a " +"single ``PRECALL`` instruction." +msgstr "" + +#: build/NEWS:11689 +msgid "There is no change in semantics." +msgstr "" + +#: build/NEWS:11308 +msgid "" +":issue:`46762`: Fix an assert failure in debug builds when a '<', '>', or " +"'=' is the last character in an f-string that's missing a closing right " +"brace." +msgstr "" + +#: build/NEWS:11311 +msgid "" +":issue:`46730`: Message of AttributeError caused by getting, setting or " +"deleting a property without the corresponding function now mentions that the " +"attribute is in fact a property and also specifies type of the class that it " +"belongs to." +msgstr "" + +#: build/NEWS:11316 +msgid "" +":issue:`46724`: Make sure that all backwards jumps use the ``JUMP_ABSOLUTE`` " +"instruction, rather than ``JUMP_FORWARD`` with an argument of " +"``(2**32)+offset``." +msgstr "" + +#: build/NEWS:11320 +msgid "" +":issue:`46732`: Correct the docstring for the :meth:`~object.__bool__` " +"method. Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:11323 +msgid "" +":issue:`46072`: Add more detailed specialization failure statistics for :" +"opcode:`BINARY_OP`." +msgstr "" + +#: build/NEWS:11326 +msgid "" +":issue:`46707`: Avoid potential exponential backtracking when producing some " +"syntax errors involving lots of brackets. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:11329 +msgid "" +":issue:`46323`: :mod:`ctypes` now allocates memory on the stack instead of " +"on the heap to pass arguments while calling a Python callback function. " +"Patch by Donghee Na." +msgstr "" + +#: build/NEWS:11333 +msgid "" +":issue:`45923`: Add a quickened form of :opcode:`RESUME` that skips " +"quickening checks." +msgstr "" + +#: build/NEWS:11336 +msgid "" +":issue:`46702`: Specialize :opcode:`UNPACK_SEQUENCE` for :class:`tuple` and :" +"class:`list` unpackings." +msgstr "" + +#: build/NEWS:11339 +msgid "" +":issue:`46072`: Opcode pair stats are now gathered with ``--enable-" +"pystats``. Defining ``DYNAMIC_EXECUTION_PROFILE`` or ``DXPAIRS`` no longer " +"has any effect." +msgstr "" + +#: build/NEWS:11343 +msgid "" +":issue:`46675`: Allow more than 16 items in a split dict before it is " +"combined. The limit is now 254." +msgstr "" + +#: build/NEWS:11346 +msgid "" +":issue:`40479`: Add a missing call to ``va_end()`` in ``Modules/_hashopenssl." +"c``." +msgstr "" + +#: build/NEWS:11349 +msgid "" +":issue:`46323`: Use :c:func:`PyObject_Vectorcall` while calling ctypes " +"callback function. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:11352 +msgid "" +":issue:`46615`: When iterating over sets internally in ``setobject.c``, " +"acquire strong references to the resulting items from the set. This " +"prevents crashes in corner-cases of various set operations where the set " +"gets mutated." +msgstr "" + +#: build/NEWS:11357 +msgid "" +":issue:`45828`: The bytecode compiler now attempts to apply runtime stack " +"manipulations at compile-time (whenever it is feasible to do so)." +msgstr "" + +#: build/NEWS:11360 +msgid "" +":issue:`30496`: Fixed a minor portability issue in the implementation of :c:" +"func:`PyLong_FromLong`, and added a fast path for single-digit integers to :" +"c:func:`PyLong_FromLongLong`." +msgstr "" + +#: build/NEWS:11367 +msgid "" +":issue:`25707`: Fixed a file leak in :func:`xml.etree.ElementTree.iterparse` " +"when the iterator is not exhausted. Patch by Jacob Walls." +msgstr "" + +#: build/NEWS:11370 +msgid "" +":issue:`46877`: Export :func:`unittest.doModuleCleanups` in :mod:`unittest`. " +"Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:11373 +msgid "" +":issue:`46848`: For performance, use the optimized string-searching " +"implementations from :meth:`~bytes.find` and :meth:`~bytes.rfind` for :meth:" +"`~mmap.find` and :meth:`~mmap.rfind`." +msgstr "" + +#: build/NEWS:11377 +msgid "" +":issue:`46736`: :class:`~http.server.SimpleHTTPRequestHandler` now uses " +"HTML5 grammar. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:11380 +msgid "" +":issue:`44886`: Inherit asyncio proactor datagram transport from :class:" +"`asyncio.DatagramTransport`." +msgstr "" + +#: build/NEWS:11383 +msgid "" +":issue:`46827`: Support UDP sockets in :meth:`asyncio.loop.sock_connect` " +"for selector-based event loops. Patch by Thomas Grainger." +msgstr "" + +#: build/NEWS:11386 +msgid ":issue:`46811`: Make test suite support Expat >=2.4.5" +msgstr "" + +#: build/NEWS:11388 +msgid "" +":issue:`46252`: Raise :exc:`TypeError` if :class:`ssl.SSLSocket` is passed " +"to transport-based APIs." +msgstr "" + +#: build/NEWS:11391 +msgid "" +":issue:`46784`: Fix libexpat symbols collisions with user dynamically loaded " +"or statically linked libexpat in embedded Python." +msgstr "" + +#: build/NEWS:11394 +msgid "" +":issue:`46786`: The HTML serialisation in xml.etree.ElementTree now writes " +"``embed``, ``source``, ``track`` and ``wbr`` as empty tags, as defined in " +"HTML 5." +msgstr "" + +#: build/NEWS:11398 +msgid "" +":issue:`39327`: :func:`shutil.rmtree` can now work with VirtualBox shared " +"folders when running from the guest operating-system." +msgstr "" + +#: build/NEWS:11401 +msgid "" +":issue:`45390`: Propagate :exc:`asyncio.CancelledError` message from inner " +"task to outer awaiter." +msgstr "" + +#: build/NEWS:11404 +msgid "" +":issue:`46756`: Fix a bug in :meth:`urllib.request.HTTPPasswordMgr." +"find_user_password` and :meth:`urllib.request.HTTPPasswordMgrWithPriorAuth." +"is_authenticated` which allowed to bypass authorization. For example, access " +"to URI ``example.org/foobar`` was allowed if the user was authorized for URI " +"``example.org/foo``." +msgstr "" + +#: build/NEWS:11411 +msgid "" +":issue:`46737`: :func:`random.gauss` and :func:`random.normalvariate` now " +"have default arguments." +msgstr "" + +#: build/NEWS:11414 +msgid "" +":issue:`46752`: Add task groups to asyncio (structured concurrency, inspired " +"by Trio's nurseries). This also introduces a change to task cancellation, " +"where a cancelled task can't be cancelled again until it calls .uncancel()." +msgstr "" + +#: build/NEWS:11419 +msgid ":issue:`46724`: Fix :mod:`dis` behavior on negative jump offsets." +msgstr "" + +#: build/NEWS:11421 +msgid "" +":issue:`46333`: The :meth:`__repr__` method of :class:`typing.ForwardRef` " +"now includes the ``module`` parameter of :class:`typing.ForwardRef` when it " +"is set." +msgstr "" + +#: build/NEWS:11425 +msgid "" +":issue:`46643`: In :func:`typing.get_type_hints`, support evaluating " +"stringified ``ParamSpecArgs`` and ``ParamSpecKwargs`` annotations. Patch by " +"Gregory Beauregard." +msgstr "" + +#: build/NEWS:11429 +msgid "" +":issue:`45863`: When the :mod:`tarfile` module creates a pax format archive, " +"it will put an integer representation of timestamps in the ustar header (if " +"possible) for the benefit of older unarchivers, in addition to the existing " +"full-precision timestamps in the pax extended header." +msgstr "" + +#: build/NEWS:11434 +msgid "" +":issue:`46066`: Deprecate kwargs-based syntax for :class:`typing.TypedDict` " +"definitions. It had confusing semantics when specifying totality, and was " +"largely unused. Patch by Jingchen Ye." +msgstr "" + +#: build/NEWS:11438 +msgid "" +":issue:`46676`: Make :data:`typing.ParamSpec` args and kwargs equal to " +"themselves. Patch by Gregory Beauregard." +msgstr "" + +#: build/NEWS:11441 +msgid "" +":issue:`46323`: ``ctypes.CFUNCTYPE()`` and ``ctypes.WINFUNCTYPE()`` now fail " +"to create the type if its ``_argtypes_`` member contains too many arguments. " +"Previously, the error was only raised when calling a function. Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:11446 +msgid "" +":issue:`46672`: Fix ``NameError`` in :func:`asyncio.gather` when initial " +"type check fails." +msgstr "" + +#: build/NEWS:11449 +msgid "" +":issue:`46659`: The :class:`calendar.LocaleTextCalendar` and :class:" +"`calendar.LocaleHTMLCalendar` classes now use :func:`locale.getlocale`, " +"instead of using :func:`locale.getdefaultlocale`, if no locale is specified. " +"Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:11455 +msgid "" +":issue:`46659`: The :func:`locale.getdefaultlocale` function is deprecated " +"and will be removed in Python 3.13. Use :func:`locale.setlocale`, :func:" +"`locale.getpreferredencoding(False) <locale.getpreferredencoding>` and :func:" +"`locale.getlocale` functions instead. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:11460 +msgid "" +":issue:`46655`: In :func:`typing.get_type_hints`, support evaluating bare " +"stringified ``TypeAlias`` annotations. Patch by Gregory Beauregard." +msgstr "" + +#: build/NEWS:11463 +msgid "" +":issue:`45948`: Fixed a discrepancy in the C implementation of the :mod:`xml." +"etree.ElementTree` module. Now, instantiating an :class:`xml.etree." +"ElementTree.XMLParser` with a ``target=None`` keyword provides a default :" +"class:`xml.etree.ElementTree.TreeBuilder` target as the Python " +"implementation does." +msgstr "" + +#: build/NEWS:11469 +msgid "" +":issue:`46626`: Expose Linux's ``IP_BIND_ADDRESS_NO_PORT`` option in :mod:" +"`socket`." +msgstr "" + +#: build/NEWS:11472 +msgid "" +":issue:`46521`: Fix a bug in the :mod:`codeop` module that was incorrectly " +"identifying invalid code involving string quotes as valid code." +msgstr "" + +#: build/NEWS:11475 +msgid ":issue:`46571`: Improve :func:`typing.no_type_check`." +msgstr "" + +#: build/NEWS:11477 +msgid "" +"Now it does not modify external classes and functions. We also now correctly " +"mark classmethods as not to be type checked." +msgstr "" + +#: build/NEWS:11480 +msgid ":issue:`46400`: expat: Update libexpat from 2.4.1 to 2.4.4" +msgstr "" + +#: build/NEWS:11482 +msgid "" +":issue:`46556`: Deprecate undocumented support for using a :class:`pathlib." +"Path` object as a context manager." +msgstr "" + +#: build/NEWS:11485 +msgid "" +":issue:`46534`: Implement :pep:`673` :class:`typing.Self`. Patch by James " +"Hilton-Balfe." +msgstr "" + +#: build/NEWS:11488 +msgid "" +":issue:`46522`: Make various module ``__getattr__`` AttributeErrors more " +"closely match a typical AttributeError" +msgstr "" + +#: build/NEWS:11491 +msgid "" +":issue:`46475`: Add :data:`typing.Never` and :func:`typing.assert_never`. " +"Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:11494 +msgid "" +":issue:`46333`: The :meth:`__eq__` and :meth:`__hash__` methods of :class:" +"`typing.ForwardRef` now honor the ``module`` parameter of :class:`typing." +"ForwardRef`. Forward references from different modules are now " +"differentiated." +msgstr "" + +#: build/NEWS:11499 +msgid "" +":issue:`46246`: Add missing ``__slots__`` to ``importlib.metadata." +"DeprecatedList``. Patch by Arie Bovenberg." +msgstr "" + +#: build/NEWS:11502 +msgid "" +":issue:`46232`: The :mod:`ssl` module now handles certificates with bit " +"strings in DN correctly." +msgstr "" + +#: build/NEWS:11505 +msgid "" +":issue:`46195`: :func:`typing.get_type_hints` no longer adds ``Optional`` to " +"parameters with ``None`` as a default. This aligns to changes to PEP 484 in " +"https://github.com/python/peps/pull/689" +msgstr "" + +#: build/NEWS:11509 +msgid "" +":issue:`31369`: Add :class:`~re.RegexFlag` to ``re.__all__`` and documented " +"it. Add :data:`~re.RegexFlag.NOFLAG` to indicate no flags being set." +msgstr "" + +#: build/NEWS:11512 +msgid "" +":issue:`45898`: :mod:`ctypes` no longer defines ``ffi_type_*`` symbols in " +"``cfield.c``. The symbols have been provided by libffi for over a decade." +msgstr "" + +#: build/NEWS:11515 +msgid "" +":issue:`44953`: Calling ``operator.itemgetter`` objects and ``operator." +"attrgetter`` objects is now faster due to use of the vectorcall calling " +"convention." +msgstr "" + +#: build/NEWS:11519 +msgid "" +":issue:`44289`: Fix an issue with :meth:`~tarfile.is_tarfile` method when " +"using *fileobj* argument: position in the *fileobj* was advanced forward " +"which made it unreadable with :meth:`tarfile.TarFile.open`." +msgstr "" + +#: build/NEWS:11523 +msgid "" +":issue:`44011`: Reimplement SSL/TLS support in asyncio, borrow the " +"implementation from uvloop library." +msgstr "" + +#: build/NEWS:11526 +msgid "" +":issue:`41086`: Make the :class:`configparser.ConfigParser` constructor " +"raise :exc:`TypeError` if the ``interpolation`` parameter is not of type :" +"class:`!configparser.Interpolation`" +msgstr "" + +#: build/NEWS:11530 +msgid "" +":issue:`29418`: Implement :func:`inspect.ismethodwrapper` and fix :func:" +"`inspect.isroutine` for cases where methodwrapper is given. Patch by Hakan " +"Çelik." +msgstr "" + +#: build/NEWS:11534 +msgid "" +":issue:`14156`: argparse.FileType now supports an argument of '-' in binary " +"mode, returning the .buffer attribute of sys.stdin/sys.stdout as " +"appropriate. Modes including 'x' and 'a' are treated equivalently to 'w' " +"when argument is '-'. Patch contributed by Josh Rosenberg" +msgstr "" + +#: build/NEWS:11542 +msgid "" +":issue:`42238`: ``Doc/tools/rstlint.py`` has moved to its own repository and " +"is now packaged on PyPI as ``sphinx-lint``." +msgstr "" + +#: build/NEWS:11548 +msgid "" +":issue:`46913`: Fix test_faulthandler.test_sigfpe() if Python is built with " +"undefined behavior sanitizer (UBSAN): disable UBSAN on the " +"faulthandler_sigfpe() function. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:11552 +msgid "" +":issue:`46760`: Remove bytecode offsets from expected values in test." +"test_dis module. Reduces the obstacles to modifying the VM or compiler." +msgstr "" + +#: build/NEWS:11555 +msgid "" +":issue:`46708`: Prevent default asyncio event loop policy modification " +"warning after ``test_asyncio`` execution." +msgstr "" + +#: build/NEWS:11558 +msgid "" +":issue:`46678`: The function ``make_legacy_pyc`` in ``Lib/test/support/" +"import_helper.py`` no longer fails when ``PYTHONPYCACHEPREFIX`` is set to a " +"directory on a different device from where tempfiles are stored." +msgstr "" + +#: build/NEWS:11563 +msgid "" +":issue:`46623`: Skip test_pair() and test_speech128() of test_zlib on s390x " +"since they fail if zlib uses the s390x hardware accelerator. Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:11570 +msgid "" +":issue:`46860`: Respect ``--with-suffix`` when building on case-insensitive " +"file systems." +msgstr "" + +#: build/NEWS:11573 +msgid "" +":issue:`46656`: Building Python now requires a C11 compiler. Optional C11 " +"features are not required. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:11576 +msgid "" +":issue:`46656`: Building Python now requires support for floating-point Not-" +"a-Number (NaN): remove the ``Py_NO_NAN`` macro. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:11580 +msgid "" +":issue:`46640`: Building Python now requires a C99 ``<math.h>`` header file " +"providing a ``NAN`` constant, or the ``__builtin_nan()`` built-in function. " +"Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:11584 +msgid "" +":issue:`46608`: Exclude marshalled-frozen data if deep-freezing to save 300 " +"KB disk space. This includes adding a new ``is_package`` field to :c:struct:" +"`_frozen`. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:11588 +msgid "" +":issue:`40280`: Fix wasm32-emscripten test failures and platform issues. - " +"Disable syscalls that are not supported or don't work, e.g. wait, " +"getrusage, prlimit, mkfifo, mknod, setres[gu]id, setgroups. - Use fd_count " +"to count open fds. - Add more checks for subprocess and fork. - Add " +"workarounds for missing _multiprocessing and failing socket.accept(). - " +"Enable bzip2. - Disable large file support. - Disable signal.alarm." +msgstr "" + +#: build/NEWS:11595 +msgid "" +":issue:`46430`: Intern strings in deep-frozen modules. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:11600 +msgid "" +":issue:`46744`: The default all users install directory for ARM64 is now " +"under the native ``Program Files`` folder, rather than ``Program Files " +"(Arm)`` which is intended for ARM (32-bit) files." +msgstr "" + +#: build/NEWS:11604 +msgid "" +":issue:`46567`: Adds Tcl and Tk support for Windows ARM64. This also adds " +"IDLE to the installation." +msgstr "" + +#: build/NEWS:11607 +msgid "" +":issue:`46638`: Ensures registry virtualization is consistently disabled. " +"For 3.10 and earlier, it remains enabled (some registry writes are " +"protected), while for 3.11 and later it is disabled (registry modifications " +"affect all applications)." +msgstr "" + +#: build/NEWS:11615 +msgid "" +":issue:`46630`: Make query dialogs on Windows start with a cursor in the " +"entry box." +msgstr "" + +#: build/NEWS:11618 +msgid "" +":issue:`45447`: Apply IDLE syntax highlighting to ``.pyi`` files. Patch by " +"Alex Waygood and Terry Jan Reedy." +msgstr "" + +#: build/NEWS:11624 +msgid "" +":issue:`46748`: Python's public headers no longer import ``<stdbool.h>``, " +"leaving code that embeds/extends Python free to define ``bool``, ``true`` " +"and ``false``." +msgstr "" + +#: build/NEWS:11628 +msgid "" +":issue:`46836`: Move the :c:type:`PyFrameObject` type definition (``struct " +"_frame``) to the internal C API ``pycore_frame.h`` header file. Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:11632 +msgid "" +":issue:`45459`: Rename ``Include/buffer.h`` header file to ``Include/" +"pybuffer.h`` to avoid conflicts with projects having an existing ``buffer." +"h`` header file. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:11636 +msgid "" +":issue:`45412`: Remove the ``HAVE_PY_SET_53BIT_PRECISION`` macro (moved to " +"the internal C API). Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:11639 +msgid "" +":issue:`46613`: Added function :c:func:`PyType_GetModuleByDef`, which allows " +"access to module state when a method's defining class is not available." +msgstr "" + +#: build/NEWS:11644 +msgid "Python 3.11.0 alpha 5" +msgstr "" + +#: build/NEWS:11646 +msgid "*Release date: 2022-02-03*" +msgstr "" + +#: build/NEWS:11651 +msgid "" +":issue:`45773`: Remove two invalid \"peephole\" optimizations from the " +"bytecode compiler." +msgstr "" + +#: build/NEWS:11654 +msgid "" +":issue:`46564`: Do not create frame objects when creating :class:`super` " +"object. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:11657 +msgid "" +":issue:`45885`: Added more fined-grained specialization failure stats " +"regarding the ``COMPARE_OP`` bytecode." +msgstr "" + +#: build/NEWS:11660 +msgid "" +":issue:`44977`: The delegation of :func:`int` to :meth:`__trunc__` is now " +"deprecated. Calling ``int(a)`` when ``type(a)`` implements :meth:`__trunc__` " +"but not :meth:`__int__` or :meth:`__index__` now raises a :exc:" +"`DeprecationWarning`." +msgstr "" + +#: build/NEWS:11665 +msgid "" +":issue:`46458`: Reorder code emitted by the compiler for a :keyword:`try`-:" +"keyword:`except` block so that the :keyword:`else` block's code immediately " +"follows the :keyword:`try` body (without a jump). This is more optimal for " +"the happy path." +msgstr "" + +#: build/NEWS:11670 +msgid "" +":issue:`46527`: Allow passing ``iterable`` as a keyword argument to :func:" +"`enumerate` again. Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:11673 +msgid "" +":issue:`46528`: Replace several stack manipulation instructions " +"(``DUP_TOP``, ``DUP_TOP_TWO``, ``ROT_TWO``, ``ROT_THREE``, ``ROT_FOUR``, and " +"``ROT_N``) with new :opcode:`COPY` and :opcode:`SWAP` instructions." +msgstr "" + +#: build/NEWS:11677 +msgid ":issue:`46329`: Use two or three bytecodes to implement most calls." +msgstr "" + +#: build/NEWS:11679 +msgid "" +"Calls without named arguments are implemented as a sequence of two " +"instructions: ``PRECALL; CALL``. Calls with named arguments are implemented " +"as a sequence of three instructions: ``PRECALL; KW_NAMES; CALL``. There are " +"two different ``PRECALL`` instructions: ``PRECALL_FUNTION`` and " +"``PRECALL_METHOD``. The latter pairs with ``LOAD_METHOD``." +msgstr "" + +#: build/NEWS:11686 +msgid "" +"This partition into pre-call and call allows better specialization, and thus " +"better performance ultimately." +msgstr "" + +#: build/NEWS:11691 +msgid "" +":issue:`46503`: Fix an assert when parsing some invalid \\N escape sequences " +"in f-strings." +msgstr "" + +#: build/NEWS:11694 +msgid "" +":issue:`46431`: Improve error message on invalid calls to :meth:" +"`BaseExceptionGroup.__new__`." +msgstr "" + +#: build/NEWS:11697 +msgid "" +":issue:`46476`: Fix memory leak in code objects generated by deepfreeze. " +"Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:11700 +msgid "" +":issue:`46481`: Speed up calls to :meth:`weakref.ref.__call__` by using the :" +"pep:`590` ``vectorcall`` calling convention. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:11703 +msgid "" +":issue:`46417`: Fix a race condition on setting a type ``__bases__`` " +"attribute: the internal function ``add_subclass()`` now gets the " +"``PyTypeObject.tp_subclasses`` member after calling :c:func:" +"`PyWeakref_NewRef` which can trigger a garbage collection which can " +"indirectly modify ``PyTypeObject.tp_subclasses``. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:11710 +msgid "" +":issue:`46417`: ``python -X showrefcount`` now shows the total reference " +"count after clearing and destroyed the main Python interpreter. Previously, " +"it was shown before. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:11714 +msgid "" +":issue:`43683`: Add ASYNC_GEN_WRAP opcode to wrap the value to be yielded in " +"async generators. Removes the need to special case async generators in the " +"``YIELD_VALUE`` instruction." +msgstr "" + +#: build/NEWS:11718 +msgid "" +":issue:`46407`: Optimize some modulo operations in ``Objects/longobject.c``. " +"Patch by Jeremiah Vivian." +msgstr "" + +#: build/NEWS:11721 +msgid "" +":issue:`46409`: Add new ``RETURN_GENERATOR`` bytecode to make generators. " +"Simplifies calling Python functions in the VM, as they no longer any need to " +"special case generator functions." +msgstr "" + +#: build/NEWS:11725 +msgid "" +"Also add ``JUMP_NO_INTERRUPT`` bytecode that acts like ``JUMP_ABSOLUTE``, " +"but does not check for interrupts." +msgstr "" + +#: build/NEWS:11728 +msgid "" +":issue:`46406`: The integer division ``//`` implementation has been " +"optimized to better let the compiler understand its constraints. It can be " +"20% faster on the amd64 platform when dividing an int by a value smaller " +"than ``2**30``." +msgstr "" + +#: build/NEWS:11733 +msgid "" +":issue:`46383`: Fix invalid signature of ``_zoneinfo``'s ``module_free`` " +"function to resolve a crash on wasm32-emscripten platform." +msgstr "" + +#: build/NEWS:11736 +msgid "" +":issue:`46361`: Ensure that \"small\" integers created by :meth:`int." +"from_bytes` and :class:`decimal.Decimal` are properly cached." +msgstr "" + +#: build/NEWS:11739 +msgid "" +":issue:`46161`: Fix the class building error when the arguments are " +"constants and CALL_FUNCTION_EX is used." +msgstr "" + +#: build/NEWS:11742 +msgid "" +":issue:`46028`: Fixes calculation of :data:`sys._base_executable` when " +"inside a virtual environment that uses symlinks with different binary names " +"than the base environment provides." +msgstr "" + +#: build/NEWS:11746 +msgid "" +":issue:`46091`: Correctly calculate indentation levels for lines with " +"whitespace character that are ended by line continuation characters. Patch " +"by Pablo Galindo" +msgstr "" + +#: build/NEWS:11750 +msgid ":issue:`30512`: Add CAN Socket support for NetBSD." +msgstr "" + +#: build/NEWS:11754 +msgid "" +":issue:`44024`: Improve the :exc:`TypeError` message for non-string second " +"arguments passed to the built-in functions :func:`getattr` and :func:" +"`hasattr`. Patch by Géry Ogam." +msgstr "" + +#: build/NEWS:11761 +msgid "" +":issue:`46624`: Restore support for non-integer arguments of :func:`random." +"randrange` and :func:`random.randint`." +msgstr "" + +#: build/NEWS:11764 +msgid "" +":issue:`46591`: Make the IDLE doc URL on the About IDLE dialog clickable." +msgstr "" + +#: build/NEWS:11766 +msgid "" +":issue:`46565`: Remove loop variables that are leaking into modules' " +"namespaces." +msgstr "" + +#: build/NEWS:11769 +msgid "" +":issue:`46553`: In :func:`typing.get_type_hints`, support evaluating bare " +"stringified ``ClassVar`` annotations. Patch by Gregory Beauregard." +msgstr "" + +#: build/NEWS:11772 +msgid "" +":issue:`46544`: Don't leak ``x`` & ``uspace`` intermediate vars in :class:" +"`textwrap.TextWrapper`." +msgstr "" + +#: build/NEWS:11775 +msgid "" +":issue:`46487`: Add the ``get_write_buffer_limits`` method to :class:" +"`asyncio.transports.WriteTransport` and to the SSL transport." +msgstr "" + +#: build/NEWS:11778 +msgid "" +":issue:`45173`: Note the configparser deprecations will be removed in Python " +"3.12." +msgstr "" + +#: build/NEWS:11781 +msgid "" +":issue:`45162`: The deprecated :mod:`unittest` APIs removed in 3.11a1 have " +"been temporarily restored to be removed in 3.12 while cleanups in external " +"projects go in." +msgstr "" + +#: build/NEWS:11785 +msgid "" +":issue:`46539`: In :func:`typing.get_type_hints`, support evaluating " +"stringified ``ClassVar`` and ``Final`` annotations inside ``Annotated``. " +"Patch by Gregory Beauregard." +msgstr "" + +#: build/NEWS:11789 +msgid "" +":issue:`46510`: Add missing test for :class:`types.TracebackType` and :class:" +"`types.FrameType`. Calculate them directly from the caught exception without " +"calling :func:`sys.exc_info`." +msgstr "" + +#: build/NEWS:11793 +msgid "" +":issue:`46491`: Allow :data:`typing.Annotated` to wrap :data:`typing.Final` " +"and :data:`typing.ClassVar`. Patch by Gregory Beauregard." +msgstr "" + +#: build/NEWS:11796 +msgid "" +":issue:`46483`: Remove :meth:`~object.__class_getitem__` from :class:" +"`pathlib.PurePath` as this class was not supposed to be generic." +msgstr "" + +#: build/NEWS:11799 +msgid "" +":issue:`46436`: Fix command-line option ``-d``/``--directory`` in module :" +"mod:`http.server` which is ignored when combined with command-line option " +"``--cgi``. Patch by Géry Ogam." +msgstr "" + +#: build/NEWS:11803 +msgid "" +":issue:`41403`: Make :meth:`mock.patch` raise a :exc:`TypeError` with a " +"relevant error message on invalid arg. Previously it allowed a cryptic :exc:" +"`AttributeError` to escape." +msgstr "" + +#: build/NEWS:11807 +msgid "" +":issue:`46474`: In ``importlib.metadata.EntryPoint.pattern``, avoid " +"potential REDoS by limiting ambiguity in consecutive whitespace." +msgstr "" + +#: build/NEWS:11810 +msgid "" +":issue:`46474`: Removed private method from ``importlib.metadata.Path``. " +"Sync with importlib_metadata 4.10.0." +msgstr "" + +#: build/NEWS:11813 +msgid "" +":issue:`46470`: Remove unused branch from ``typing._remove_dups_flatten``" +msgstr "" + +#: build/NEWS:11815 +msgid "" +":issue:`46469`: :mod:`asyncio` generic classes now return :class:`types." +"GenericAlias` in ``__class_getitem__`` instead of the same class." +msgstr "" + +#: build/NEWS:11819 +msgid "" +":issue:`41906`: Support passing filter instances in the ``filters`` values " +"of ``handlers`` and ``loggers`` in the dictionary passed to :func:`logging." +"config.dictConfig`." +msgstr "" + +#: build/NEWS:11823 +msgid "" +":issue:`46422`: Use ``dis.Positions`` in ``dis.Instruction`` instead of a " +"regular ``tuple``." +msgstr "" + +#: build/NEWS:11826 +msgid "" +":issue:`46434`: :mod:`pdb` now gracefully handles ``help`` when :attr:" +"`~module.__doc__` is missing, for example when run with pregenerated " +"optimized ``.pyc`` files." +msgstr "" + +#: build/NEWS:11830 +msgid "" +":issue:`43869`: Python uses the same time Epoch on all platforms. Add an " +"explicit unit test to ensure that it's the case. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:11833 +msgid "" +":issue:`46414`: Add :func:`typing.reveal_type`. Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:11835 +msgid "" +":issue:`40280`: :mod:`subprocess` now imports Windows-specific imports when " +"``msvcrt`` module is available, and POSIX-specific imports on all other " +"platforms. This gives a clean exception when ``_posixsubprocess`` is not " +"available (e.g. Emscripten browser target)." +msgstr "" + +#: build/NEWS:11840 +msgid "" +":issue:`40066`: ``IntEnum``, ``IntFlag``, and ``StrEnum`` use the mixed-in " +"type for their ``str()`` and ``format()`` output." +msgstr "" + +#: build/NEWS:11843 +msgid "" +":issue:`46316`: Optimize :meth:`pathlib.Path.iterdir` by removing an " +"unnecessary check for special entries." +msgstr "" + +#: build/NEWS:11846 +msgid "" +":issue:`29688`: Document :meth:`pathlib.Path.absolute` (which has always " +"existed)." +msgstr "" + +#: build/NEWS:11849 +msgid "" +":issue:`43012`: The pathlib module's obsolete and internal ``_Accessor`` " +"class has been removed to prepare the terrain for upcoming enhancements to " +"the module." +msgstr "" + +#: build/NEWS:11853 +msgid "" +":issue:`46258`: Speed up :func:`math.isqrt` for small positive integers by " +"replacing two division steps with a lookup table." +msgstr "" + +#: build/NEWS:11856 +msgid "" +":issue:`46242`: Improve error message when creating a new :class:`enum.Enum` " +"type subclassing an existing ``Enum`` with ``_member_names_`` using :meth:" +"`enum.Enum.__call__`." +msgstr "" + +#: build/NEWS:11860 +msgid "" +":issue:`43118`: Fix a bug in :func:`inspect.signature` that was causing it " +"to fail on some subclasses of classes with a ``__text_signature__`` " +"referencing module globals. Patch by Weipeng Hong." +msgstr "" + +#: build/NEWS:11864 +msgid "" +":issue:`26552`: Fixed case where failing :func:`asyncio.ensure_future` did " +"not close the coroutine. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:11867 +msgid "" +":issue:`21987`: Fix an issue with :meth:`tarfile.TarFile.getmember` getting " +"a directory name with a trailing slash." +msgstr "" + +#: build/NEWS:11870 +msgid "" +":issue:`46124`: Update :mod:`zoneinfo` to rely on importlib.resources " +"traversable API." +msgstr "" + +#: build/NEWS:11873 +msgid "" +":issue:`46103`: Now :func:`inspect.getmembers` only gets :attr:`__bases__` " +"attribute from class type. Patch by Weipeng Hong." +msgstr "" + +#: build/NEWS:11876 +msgid "" +":issue:`46080`: Fix exception in argparse help text generation if a :class:" +"`argparse.BooleanOptionalAction` argument's default is ``argparse.SUPPRESS`` " +"and it has ``help`` specified. Patch by Felix Fontein." +msgstr "" + +#: build/NEWS:11881 +msgid "" +":issue:`44791`: Fix substitution of :class:`~typing.ParamSpec` in :data:" +"`~typing.Concatenate` with different parameter expressions. Substitution " +"with a list of types returns now a tuple of types. Substitution with " +"``Concatenate`` returns now a ``Concatenate`` with concatenated lists of " +"arguments." +msgstr "" + +#: build/NEWS:11890 +msgid "" +":issue:`46463`: Fixes :file:`escape4chm.py` script used when building the " +"CHM documentation file" +msgstr "" + +#: build/NEWS:11896 +msgid "" +":issue:`43478`: Mocks can no longer be provided as the specs for other " +"Mocks. As a result, an already-mocked object cannot be passed to ``mock." +"Mock()``. This can uncover bugs in tests since these Mock-derived Mocks will " +"always pass certain tests (e.g. isinstance) and builtin assert functions (e." +"g. assert_called_once_with) will unconditionally pass." +msgstr "" + +#: build/NEWS:11902 +msgid "" +":issue:`46616`: Ensures ``test_importlib.test_windows`` cleans up registry " +"keys after completion." +msgstr "" + +#: build/NEWS:11905 +msgid "" +":issue:`44359`: test_ftplib now silently ignores socket errors to prevent " +"logging unhandled threading exceptions. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:11908 +msgid "" +":issue:`46600`: Fix test_gdb.test_pycfunction() for Python built with " +"``clang -Og``. Tolerate inlined functions in the gdb traceback. Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:11912 +msgid "" +":issue:`46542`: Fix a Python crash in test_lib2to3 when using Python built " +"in debug mode: limit the recursion limit. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:11915 +msgid "" +":issue:`46576`: test_peg_generator now disables compiler optimization when " +"testing compilation of its own C extensions to significantly speed up the " +"testing on non-debug builds of CPython." +msgstr "" + +#: build/NEWS:11919 +msgid "" +":issue:`46542`: Fix ``test_json`` tests checking for :exc:`RecursionError`: " +"modify these tests to use ``support.infinite_recursion()``. Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:11923 +msgid "" +":issue:`13886`: Skip test_builtin PTY tests on non-ASCII characters if the " +"readline module is loaded. The readline module changes input() behavior, but " +"test_builtin is not intended to test the readline module. Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:11928 +msgid "" +":issue:`40280`: Add :func:`test.support.requires_fork` decorators to mark " +"tests that require a working :func:`os.fork`." +msgstr "" + +#: build/NEWS:11931 +msgid "" +":issue:`40280`: Add :func:`test.support.requires_subprocess` decorator to " +"mark tests which require working :mod:`subprocess` module or ``os.spawn*``. " +"The wasm32-emscripten platform has no support for processes." +msgstr "" + +#: build/NEWS:11935 +msgid ":issue:`46126`: Disable 'descriptions' when running tests internally." +msgstr "" + +#: build/NEWS:11940 +msgid "" +":issue:`46602`: Tidied up configure.ac so that conftest.c is truncated " +"rather than appended. This assists in the case where the 'rm' of conftest.c " +"fails to happen between tests. Downstream issues such as a clobbered SOABI " +"can result." +msgstr "" + +#: build/NEWS:11945 +msgid "" +":issue:`46600`: Fix the test checking if the C compiler supports ``-Og`` " +"option in the ``./configure`` script to also use ``-Og`` on clang which " +"supports it. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:11949 +msgid "" +":issue:`38472`: Fix GCC detection in setup.py when cross-compiling. The C " +"compiler is now run with LC_ALL=C. Previously, the detection failed with a " +"German locale." +msgstr "" + +#: build/NEWS:11953 +msgid "" +":issue:`46513`: :program:`configure` no longer uses ``AC_C_CHAR_UNSIGNED`` " +"macro and ``pyconfig.h`` no longer defines reserved symbol " +"``__CHAR_UNSIGNED__``." +msgstr "" + +#: build/NEWS:11957 +msgid "" +":issue:`46471`: Use global singletons for single byte bytes objects in " +"deepfreeze." +msgstr "" + +#: build/NEWS:11960 +msgid "" +":issue:`46443`: Deepfreeze now uses cached small integers as it saves some " +"space for common small integers." +msgstr "" + +#: build/NEWS:11963 +msgid "" +":issue:`46429`: Merge all deep-frozen files into one for space savings. " +"Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:11966 +msgid "" +":issue:`45569`: The build now defaults to using 30-bit digits for Python " +"integers. Previously either 15-bit or 30-bit digits would be selected, " +"depending on the platform. 15-bit digits may still be selected using the ``--" +"enable-big-digits=15`` option to the ``configure`` script, or by defining " +"``PYLONG_BITS_IN_DIGIT`` in ``pyconfig.h``." +msgstr "" + +#: build/NEWS:11972 +msgid ":issue:`45925`: Update Windows installer to use SQLite 3.37.2." +msgstr "" + +#: build/NEWS:11974 +msgid "" +":issue:`43112`: Detect musl libc as a separate SOABI (tagged as ``linux-" +"musl``)." +msgstr "" + +#: build/NEWS:11980 +msgid "" +":issue:`33125`: The traditional EXE/MSI based installer for Windows is now " +"available for ARM64" +msgstr "" + +#: build/NEWS:11983 +msgid "" +":issue:`46362`: os.path.abspath(\"C:\\CON\") is now fixed to return \"\\\\." +"\\CON\", not the same path. The regression was true of all legacy DOS " +"devices such as COM1, LPT1, or NUL." +msgstr "" + +#: build/NEWS:11987 +msgid "" +":issue:`44934`: The installer now offers a command-line only option to add " +"the installation directory to the end of :envvar:`PATH` instead of at the " +"start." +msgstr "" + +#: build/NEWS:11994 +msgid ":issue:`45925`: Update macOS installer to SQLite 3.37.2." +msgstr "" + +#: build/NEWS:11999 +msgid "" +":issue:`45296`: Clarify close, quit, and exit in IDLE. In the File menu, " +"'Close' and 'Exit' are now 'Close Window' (the current one) and 'Exit' is " +"now 'Exit IDLE' (by closing all windows). In Shell, 'quit()' and 'exit()' " +"mean 'close Shell'. If there are no other windows, this also exits IDLE." +msgstr "" + +#: build/NEWS:12007 +msgid "" +":issue:`40170`: Remove the ``PyHeapType_GET_MEMBERS()`` macro. It was " +"exposed in the public C API by mistake, it must only be used by Python " +"internally. Use the ``PyTypeObject.tp_members`` member instead. Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:12012 +msgid "" +":issue:`40170`: Move _Py_GetAllocatedBlocks() and " +"_PyObject_DebugMallocStats() private functions to the internal C API. Patch " +"by Victor Stinner." +msgstr "" + +#: build/NEWS:12015 +msgid "" +":issue:`46433`: The internal function _PyType_GetModuleByDef now correctly " +"handles inheritance patterns involving static types." +msgstr "" + +#: build/NEWS:12018 +msgid "" +":issue:`45459`: :c:type:`Py_buffer` and various ``Py_buffer`` related " +"functions are now part of the limited API and stable ABI." +msgstr "" + +#: build/NEWS:12021 +msgid "" +":issue:`14916`: Fixed bug in the tokenizer that prevented " +"``PyRun_InteractiveOne`` from parsing from the provided FD." +msgstr "" + +#: build/NEWS:12026 +msgid "Python 3.11.0 alpha 4" +msgstr "" + +#: build/NEWS:12028 +msgid "*Release date: 2022-01-13*" +msgstr "" + +#: build/NEWS:12033 +msgid "" +":issue:`46070`: :c:func:`Py_EndInterpreter` now explicitly untracks all " +"objects currently tracked by the GC. Previously, if an object was used later " +"by another interpreter, calling :c:func:`PyObject_GC_UnTrack` on the object " +"crashed if the previous or the next object of the :c:type:`!PyGC_Head` " +"structure became a dangling pointer. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:12039 +msgid ":issue:`46347`: Fix memory leak in PyEval_EvalCodeEx." +msgstr "" + +#: build/NEWS:12041 +msgid "" +":issue:`46339`: Fix a crash in the parser when retrieving the error text for " +"multi-line f-strings expressions that do not start in the first line of the " +"string. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:12045 +msgid "" +":issue:`46331`: Do not set line number of instruction storing doc-string. " +"Fixes regression introduced in 3.11 alpha." +msgstr "" + +#: build/NEWS:12048 +msgid "" +":issue:`46314`: Remove spurious \"call\" event when creating a lambda " +"function that was accidentally introduced in 3.11a4." +msgstr "" + +#: build/NEWS:12051 +msgid "" +":issue:`46289`: ASDL declaration of ``FormattedValue`` has changed to " +"reflect ``conversion`` field is not optional." +msgstr "" + +#: build/NEWS:12054 +msgid "" +":issue:`46297`: Fixed an interpreter crash on bootup with multiple " +"PythonPaths set in the Windows registry. Patch by Derzsi Dániel." +msgstr "" + +#: build/NEWS:12057 +msgid "" +":issue:`46237`: Fix the line number of tokenizer errors inside f-strings. " +"Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:12060 +msgid "" +":issue:`46263`: We always expect the \"use_frozen_modules\" config to be " +"set, now that getpath.c was rewritten in pure Python and the logic improved." +msgstr "" + +#: build/NEWS:12063 +msgid "" +":issue:`46006`: Fix a regression when a type method like ``__init__()`` is " +"modified in a subinterpreter. Fix a regression in " +"``_PyUnicode_EqualToASCIIId()`` and type ``update_slot()``. Revert the " +"change which made the Unicode dictionary of interned strings compatible with " +"subinterpreters: the internal interned dictionary is shared again by all " +"interpreters. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:12070 +msgid "" +":issue:`45923`: Add RESUME opcode. This is a logical no-op. It is emitted by " +"the compiler anywhere a Python function can be entered. It is used by the " +"interpreter to perform tracing and optimizer checks." +msgstr "" + +#: build/NEWS:12074 +msgid "" +":issue:`46208`: Fix the regression of os.path.normpath(\"A/../../B\") not " +"returning expected \"../B\" but \"B\"." +msgstr "" + +#: build/NEWS:12077 +msgid "" +":issue:`46240`: Correct the error message for unclosed parentheses when the " +"tokenizer doesn't reach the end of the source when the error is reported. " +"Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:12081 +msgid ":issue:`46009`: Remove the ``GEN_START`` opcode." +msgstr "" + +#: build/NEWS:12083 +msgid "" +":issue:`46235`: Certain sequence multiplication operations like ``[0] * " +"1_000`` are now faster due to reference-counting optimizations. Patch by " +"Dennis Sweeney." +msgstr "" + +#: build/NEWS:12087 +msgid "" +":issue:`46221`: :opcode:`!PREP_RERAISE_STAR` no longer pushes ``lasti`` to " +"the stack." +msgstr "" + +#: build/NEWS:12090 +msgid "" +":issue:`46202`: Remove :opcode:`!POP_EXCEPT_AND_RERAISE` and replace it by " +"an equivalent sequence of other opcodes." +msgstr "" + +#: build/NEWS:12093 +msgid ":issue:`46085`: Fix iterator cache mechanism of :class:`OrderedDict`." +msgstr "" + +#: build/NEWS:12095 +msgid "" +":issue:`46055`: Speed up shifting operation involving integers less than :c:" +"macro:`PyLong_BASE`. Patch by Xinhang Xu." +msgstr "" + +#: build/NEWS:12098 +msgid "" +":issue:`46110`: Add a maximum recursion check to the PEG parser to avoid " +"stack overflow. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:12101 +msgid "" +":issue:`46107`: Fix bug where :meth:`ExceptionGroup.split` and :meth:" +"`ExceptionGroup.subgroup` did not copy the exception group's ``__note__`` " +"field to the parts." +msgstr "" + +#: build/NEWS:12105 +msgid "" +":issue:`45711`: The interpreter state's representation of handled exceptions " +"(a.k.a exc_info, or _PyErr_StackItem) now has only the ``exc_value`` field, " +"``exc_type`` and ``exc_traceback`` have been removed as their values can be " +"derived from ``exc_value``." +msgstr "" + +#: build/NEWS:12110 +msgid "" +":issue:`44525`: Replace the four call bytecode instructions which one pre-" +"call instruction and two call instructions." +msgstr "" + +#: build/NEWS:12113 +msgid "" +"Removes ``CALL_FUNCTION``, ``CALL_FUNCTION_KW``, ``CALL_METHOD`` and " +"``CALL_METHOD_KW``." +msgstr "" + +#: build/NEWS:12116 +msgid "" +"Adds ``CALL_NO_KW`` and ``CALL_KW`` call instructions, and " +"``PRECALL_METHOD`` prefix for pairing with ``LOAD_METHOD``." +msgstr "" + +#: build/NEWS:12119 +msgid "" +":issue:`46039`: Remove the ``YIELD_FROM`` instruction and replace it with " +"the ``SEND`` instruction which performs the same operation, but without the " +"loop." +msgstr "" + +#: build/NEWS:12123 +msgid "" +":issue:`45635`: The code called from :c:func:`!_PyErr_Display` was " +"refactored to improve error handling. It now exits immediately upon an " +"unrecoverable error." +msgstr "" + +#: build/NEWS:12127 +msgid "" +":issue:`46054`: Fix parser error when parsing non-utf8 characters in source " +"files. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:12130 +msgid "" +":issue:`46042`: Improve the location of the caret in :exc:`SyntaxError` " +"exceptions emitted by the symbol table. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:12133 +msgid "" +":issue:`46049`: Ensure :file:`._pth` files work as intended on platforms " +"other than Windows." +msgstr "" + +#: build/NEWS:12136 +msgid "" +":issue:`46048`: Fixes parsing of :file:`._pth` files on startup so that " +"single-character paths are correctly read." +msgstr "" + +#: build/NEWS:12139 +msgid "" +":issue:`37971`: Fix a bug where the line numbers given in a traceback when a " +"decorator application raised an exception were wrong." +msgstr "" + +#: build/NEWS:12142 +msgid "" +":issue:`46031`: Add :opcode:`POP_JUMP_IF_NOT_NONE` and :opcode:" +"`POP_JUMP_IF_NONE` opcodes to speed up conditional jumps." +msgstr "" + +#: build/NEWS:12145 +msgid ":issue:`45654`: Deepfreeze :mod:`runpy`, patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:12147 +msgid "" +":issue:`46025`: Fix a crash in the :mod:`atexit` module involving functions " +"that unregister themselves before raising exceptions. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:12151 +msgid "" +":issue:`46000`: Improve compatibility of the :mod:`curses` module with " +"NetBSD curses." +msgstr "" + +#: build/NEWS:12154 +msgid "" +":issue:`44525`: Specialize the CALL_FUNCTION instruction for calls to " +"builtin types with a single argument. Speeds up ``range(x)``, ``list(x)``, " +"and specifically ``type(obj)``." +msgstr "" + +#: build/NEWS:12158 +msgid "" +":issue:`42918`: Fix bug where the built-in :func:`compile` function did not " +"always raise a :exc:`SyntaxError` when passed multiple statements in " +"'single' mode. Patch by Weipeng Hong." +msgstr "" + +#: build/NEWS:12162 +msgid "" +":issue:`45953`: The main interpreter in _PyRuntimeState.interpreters is now " +"statically allocated (as part of _PyRuntime). Likewise for the initial " +"thread state of each interpreter. This means less allocation during runtime " +"init, as well as better memory locality for these key state objects." +msgstr "" + +#: build/NEWS:12168 +msgid "" +":issue:`45292`: Complete the :pep:`654` implementation: add ``except*``." +msgstr "" + +#: build/NEWS:12170 +msgid "" +":issue:`43413`: Revert changes in ``set.__init__``. Subclass of :class:`set` " +"needs to define a ``__init__()`` method if it defines a ``__new__()`` method " +"with additional keyword parameters." +msgstr "" + +#: build/NEWS:12174 +msgid "" +":issue:`43931`: Added the :c:data:`Py_Version` constant which bears the same " +"value as :c:macro:`PY_VERSION_HEX`. Patch by Gabriele N. Tornetta." +msgstr "" + +#: build/NEWS:12180 +msgid "" +":issue:`46342`: The ``@typing.final`` decorator now sets the ``__final__`` " +"attribute on the decorated object to allow runtime introspection. Patch by " +"Jelle Zijlstra." +msgstr "" + +#: build/NEWS:12184 +msgid "" +":issue:`46328`: Added the :meth:`sys.exception` method which returns the " +"active exception instance." +msgstr "" + +#: build/NEWS:12187 +msgid "" +":issue:`46307`: Add :meth:`string.Template.is_valid` and :meth:`string." +"Template.get_identifiers` methods." +msgstr "" + +#: build/NEWS:12190 +msgid "" +":issue:`46306`: Assume that :class:`types.CodeType` always has :attr:`types." +"CodeType.co_firstlineno` in :mod:`doctest`." +msgstr "" + +#: build/NEWS:12193 +msgid "" +":issue:`40479`: Fix :mod:`hashlib` *usedforsecurity* option to work " +"correctly with OpenSSL 3.0.0 in FIPS mode." +msgstr "" + +#: build/NEWS:12196 +msgid "" +":issue:`46070`: Fix possible segfault when importing the :mod:`asyncio` " +"module from different sub-interpreters in parallel. Patch by Erlend E. " +"Aasland." +msgstr "" + +#: build/NEWS:12199 +msgid "" +":issue:`46244`: Removed ``__slots__`` from :class:`typing.ParamSpec` and :" +"class:`typing.TypeVar`. They served no purpose. Patch by Arie Bovenberg." +msgstr "" + +#: build/NEWS:12202 +msgid "" +":issue:`46278`: Reflect ``context`` argument in ``AbstractEventLoop." +"call_*()`` methods. Loop implementations already support it." +msgstr "" + +#: build/NEWS:12205 +msgid "" +":issue:`46269`: Remove special-casing of ``__new__`` in :meth:`enum.Enum." +"__dir__`." +msgstr "" + +#: build/NEWS:12208 +msgid ":issue:`46266`: Improve day constants in :mod:`calendar`." +msgstr "" + +#: build/NEWS:12210 +msgid "" +"Now all constants (``MONDAY`` ... ``SUNDAY``) are documented, tested, and " +"added to ``__all__``." +msgstr "" + +#: build/NEWS:12213 +msgid "" +":issue:`46257`: Optimized the mean, variance, and stdev functions in the " +"statistics module. If the input is an iterator, it is consumed in a single " +"pass rather than eating memory by conversion to a list. The single pass " +"algorithm is about twice as fast as the previous two pass code." +msgstr "" + +#: build/NEWS:12218 +msgid "" +":issue:`41011`: Added two new variables to *pyvenv.cfg* which is generated " +"by :mod:`venv` module: *executable* for the executable and *command* for the " +"command line used to create the environment." +msgstr "" + +#: build/NEWS:12222 +msgid "" +":issue:`46239`: Improve error message when importing :mod:`asyncio." +"windows_events` on non-Windows." +msgstr "" + +#: build/NEWS:12225 +msgid "" +":issue:`46238`: Reuse ``_winapi`` constants in ``asyncio.windows_events``." +msgstr "" + +#: build/NEWS:12227 +msgid "" +":issue:`46222`: Adding ``SF_NOCACHE`` sendfile constant for FreeBSD for the " +"posixmodule." +msgstr "" + +#: build/NEWS:12230 +msgid "" +":issue:`37295`: Add fast path for ``0 <= k <= n <= 67`` for :func:`math." +"comb`." +msgstr "" + +#: build/NEWS:12232 +msgid ":issue:`46176`: Adding the ``MAP_STACK`` constant for the mmap module." +msgstr "" + +#: build/NEWS:12234 +msgid "" +":issue:`43424`: Deprecate :attr:`webbrowser.MacOSXOSAScript._name` and use " +"``name`` instead." +msgstr "" + +#: build/NEWS:12237 +msgid "" +":issue:`45321`: Added missing error codes to module ``xml.parsers.expat." +"errors``." +msgstr "" + +#: build/NEWS:12240 +msgid "" +":issue:`46125`: Refactor tests to test traversable API directly. Includes " +"changes from importlib 5.4.0." +msgstr "" + +#: build/NEWS:12243 +msgid "" +":issue:`46118`: Moved importlib.resources and its related functionality to a " +"package." +msgstr "" + +#: build/NEWS:12246 +msgid "" +":issue:`37578`: Add *include_hidden* parameter to :func:`~glob.glob` and :" +"func:`~glob.iglob` to match hidden files and directories when using special " +"characters like ``*``, ``**``, ``?`` and ``[]``." +msgstr "" + +#: build/NEWS:12250 +msgid "" +":issue:`20369`: :func:`concurrent.futures.wait` no longer blocks forever " +"when given duplicate Futures. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:12253 +msgid "" +":issue:`46105`: Honor spec when generating requirement specs with urls and " +"extras (importlib_metadata 4.8.3)." +msgstr "" + +#: build/NEWS:12256 +msgid "" +":issue:`44893`: EntryPoint objects are no longer tuples. Recommended means " +"to access is by attribute ('.name', '.group') or accessor ('.load()'). " +"Access by index is deprecated and will raise deprecation warning." +msgstr "" + +#: build/NEWS:12260 +msgid "" +":issue:`22815`: Print unexpected successes together with failures and errors " +"in summary in :class:`unittest.TextTestResult`." +msgstr "" + +#: build/NEWS:12263 +msgid "" +":issue:`22047`: Calling :meth:`add_argument_group` on an argument group is " +"deprecated. Calling :meth:`add_argument_group` or :meth:" +"`add_mutually_exclusive_group` on a mutually exclusive group is deprecated." +msgstr "" + +#: build/NEWS:12268 +msgid "" +"These features were never supported and do not always work correctly. The " +"functions exist on the API by accident through inheritance and will be " +"removed in the future." +msgstr "" + +#: build/NEWS:12272 +msgid "" +":issue:`26952`: :mod:`argparse` raises :exc:`ValueError` with clear message " +"when trying to render usage for an empty mutually exclusive group. " +"Previously it raised a cryptic :exc:`IndexError`." +msgstr "" + +#: build/NEWS:12276 +msgid "" +":issue:`45615`: Functions in the :mod:`traceback` module raise :exc:" +"`TypeError` rather than :exc:`AttributeError` when an exception argument is " +"not of type :exc:`BaseException`." +msgstr "" + +#: build/NEWS:12280 +msgid ":issue:`16594`: Add allow allow_reuse_port flag in socketserver." +msgstr "" + +#: build/NEWS:12282 +msgid "" +":issue:`27718`: Fix help for the :mod:`signal` module. Some functions (e.g. " +"``signal()`` and ``getsignal()``) were omitted." +msgstr "" + +#: build/NEWS:12285 +msgid "" +":issue:`46032`: The ``registry()`` method of :func:`functools." +"singledispatch` functions checks now the first argument or the first " +"parameter annotation and raises a TypeError if it is not supported. " +"Previously unsupported \"types\" were ignored (e.g. ``typing.List[int]``) or " +"caused an error at calling time (e.g. ``list[int]``)." +msgstr "" + +#: build/NEWS:12291 +msgid "" +":issue:`46014`: Add ability to use ``typing.Union`` and ``types.UnionType`` " +"as dispatch argument to ``functools.singledispatch``. Patch provided by " +"Yurii Karabas." +msgstr "" + +#: build/NEWS:12295 +msgid "" +":issue:`27062`: Add :attr:`__all__` to :mod:`inspect`, patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:12297 +msgid "" +":issue:`46018`: Ensure that :func:`math.expm1` does not raise on underflow." +msgstr "" + +#: build/NEWS:12299 +msgid "" +":issue:`46016`: Adding :const:`!F_DUP2FD` and :const:`!F_DUP2FD_CLOEXEC` " +"constants from FreeBSD into the :mod:`fcntl` module." +msgstr "" + +#: build/NEWS:12302 +msgid "" +":issue:`45755`: :mod:`typing` generic aliases now reveal the class " +"attributes of the original generic class when passed to ``dir()``. This was " +"the behavior up to Python 3.6, but was changed in 3.7-3.9." +msgstr "" + +#: build/NEWS:12306 +msgid "" +":issue:`45874`: The empty query string, consisting of no query arguments, is " +"now handled correctly in ``urllib.parse.parse_qsl``. This caused problems " +"before when strict parsing was enabled." +msgstr "" + +#: build/NEWS:12310 +msgid "" +":issue:`44674`: Change how dataclasses disallows mutable default values. It " +"used to use a list of known types (list, dict, set). Now it disallows " +"unhashable objects to be defaults. It's using unhashability as a proxy for " +"mutability. Patch by Eric V. Smith, idea by Raymond Hettinger." +msgstr "" + +#: build/NEWS:12315 +msgid "" +":issue:`23882`: Remove namespace package (PEP 420) support from unittest " +"discovery. It was introduced in Python 3.4 but has been broken since Python " +"3.7." +msgstr "" + +#: build/NEWS:12319 +msgid "" +":issue:`25066`: Added a :meth:`__repr__` method to :class:`multiprocessing." +"Event` objects, patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:12322 +msgid "" +":issue:`45643`: Added :const:`signal.SIGSTKFLT` on platforms where this " +"signal is defined." +msgstr "" + +#: build/NEWS:12325 +msgid "" +":issue:`44092`: Fetch across rollback no longer raises :exc:`~sqlite3." +"InterfaceError`. Instead we leave it to the SQLite library to handle these " +"cases. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:12329 +msgid "" +":issue:`42413`: Replace ``concurrent.futures.TimeoutError`` and ``asyncio." +"TimeoutError`` with builtin :exc:`TimeoutError`, keep these names as " +"deprecated aliases." +msgstr "" + +#: build/NEWS:12336 +msgid ":issue:`46196`: Document method :meth:`cmd.Cmd.columnize`." +msgstr "" + +#: build/NEWS:12338 +msgid "" +":issue:`46120`: State that ``|`` is preferred for readability over ``Union`` " +"in the :mod:`typing` docs." +msgstr "" + +#: build/NEWS:12341 +msgid "" +":issue:`46109`: Extracted ``importlib.resources`` and ``importlib.resources." +"abc`` documentation into separate files." +msgstr "" + +#: build/NEWS:12344 +msgid "" +":issue:`19737`: Update the documentation for the :func:`globals` function." +msgstr "" + +#: build/NEWS:12349 +msgid "" +":issue:`46296`: Add a test case for :mod:`enum` with ``_use_args_ == True`` " +"and ``_member_type_ == object``." +msgstr "" + +#: build/NEWS:12352 +msgid ":issue:`46205`: Fix hang in runtest_mp due to race condition" +msgstr "" + +#: build/NEWS:12354 +msgid "" +":issue:`46263`: Fix test_capi on FreeBSD 14-dev: instruct jemalloc to not " +"fill freed memory with junk byte." +msgstr "" + +#: build/NEWS:12357 +msgid "" +":issue:`46262`: Cover ``ValueError`` path in tests for :meth:`enum.Flag." +"_missing_`." +msgstr "" + +#: build/NEWS:12360 +msgid "" +":issue:`46150`: Now ``fakename`` in ``test_pathlib.PosixPathTest." +"test_expanduser`` is checked to be non-existent." +msgstr "" + +#: build/NEWS:12364 +msgid "" +":issue:`46129`: Rewrite ``asyncio.locks`` tests with :class:`unittest." +"IsolatedAsyncioTestCase` usage." +msgstr "" + +#: build/NEWS:12367 +msgid "" +":issue:`23819`: Fixed :mod:`asyncio` tests in python optimized mode. Patch " +"by Kumar Aditya." +msgstr "" + +#: build/NEWS:12370 +msgid "" +":issue:`46114`: Fix test case for OpenSSL 3.0.1 version. OpenSSL 3.0 uses " +"``0xMNN00PP0L``." +msgstr "" + +#: build/NEWS:12376 +msgid "" +":issue:`44133`: When Python is configured with :option:`--without-static-" +"libpython`, the Python static library (libpython.a) is no longer built. " +"Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:12380 +msgid "" +":issue:`44133`: When Python is built without :option:`--enable-shared`, the " +"``python`` program is now linked to object files, rather than being linked " +"to the Python static library (libpython.a), to make sure that all symbols " +"are exported. Previously, the linker omitted some symbols like the :c:func:" +"`Py_FrozenMain` function. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:12386 +msgid "" +":issue:`40280`: The ``configure`` script has a new option ``--with-" +"emscripten-target`` to select browser or node as Emscripten build target." +msgstr "" + +#: build/NEWS:12390 +msgid "" +":issue:`46315`: Added and fixed ``#ifdef HAVE_FEATURE`` checks for " +"functionality that is not available on WASI platform." +msgstr "" + +#: build/NEWS:12393 +msgid "" +":issue:`45723`: Fixed a regression in ``configure`` check for :func:`select." +"epoll`." +msgstr "" + +#: build/NEWS:12396 +msgid "" +":issue:`46263`: ``configure`` no longer sets ``MULTIARCH`` on FreeBSD " +"platforms." +msgstr "" + +#: build/NEWS:12399 +msgid "" +":issue:`46106`: Updated OpenSSL to 1.1.1m in Windows builds, macOS installer " +"builds, and CI. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:12402 +msgid "" +":issue:`46088`: Automatically detect or install bootstrap Python runtime " +"when building from Visual Studio." +msgstr "" + +#: build/NEWS:12405 +msgid "" +":issue:`46072`: Add a --with-pystats configure option to turn on internal " +"statistics gathering." +msgstr "" + +#: build/NEWS:12408 +msgid "" +":issue:`40280`: A new directory ``Tools/wasm`` contains WebAssembly-related " +"helpers like ``config.site`` override for wasm32-emscripten, wasm assets " +"generator to bundle the stdlib, and a README." +msgstr "" + +#: build/NEWS:12412 +msgid "" +":issue:`46023`: :program:`makesetup` no longer builds extensions that have " +"been marked as *disabled*. This allows users to disable modules in ``Modules/" +"Setup.local``." +msgstr "" + +#: build/NEWS:12416 +msgid "" +":issue:`45949`: Use pure Python ``freeze_module`` for all but importlib " +"bootstrap files. ``--with-freeze-module`` :program:`configure` option is no " +"longer needed for cross builds." +msgstr "" + +#: build/NEWS:12423 +msgid "" +":issue:`46217`: Removed parameter that is unsupported on Windows 8.1 and " +"early Windows 10 and may have caused build or runtime failures." +msgstr "" + +#: build/NEWS:12429 +msgid "" +":issue:`40477`: The Python Launcher app for macOS now properly launches " +"scripts and, if necessary, the Terminal app when running on recent macOS " +"releases." +msgstr "" + +#: build/NEWS:12435 +msgid "" +":issue:`46236`: Fix a bug in :c:func:`PyFunction_GetAnnotations` that caused " +"it to return a ``tuple`` instead of a ``dict``." +msgstr "" + +#: build/NEWS:12438 +msgid "" +":issue:`46140`: :c:func:`PyBuffer_GetPointer`, :c:func:" +"`PyBuffer_FromContiguous`, :c:func:`PyBuffer_ToContiguous` and :c:func:" +"`PyMemoryView_FromBuffer` now take buffer info by ``const Py_buffer *`` " +"instead of ``Py_buffer *``, as they do not need mutability. :c:func:" +"`PyBuffer_FromContiguous` also now takes the source buffer as ``const void " +"*``, and similarly :c:func:`PyBuffer_GetPointer` takes the strides as " +"``const Py_ssize_t *``." +msgstr "" + +#: build/NEWS:12446 +msgid "" +":issue:`45855`: Document that the *no_block* argument to :c:func:" +"`PyCapsule_Import` is a no-op now." +msgstr "" + +#: build/NEWS:12449 +msgid "" +":issue:`45855`: Replaced deprecated usage of :c:func:" +"`PyImport_ImportModuleNoBlock` with :c:func:`PyImport_ImportModule` in " +"stdlib modules. Patch by Kumar Aditya." +msgstr "" + +#: build/NEWS:12453 +msgid "" +":issue:`46007`: The :c:func:`!PyUnicode_CHECK_INTERNED` macro has been " +"excluded from the limited C API. It was never usable there, because it used " +"internal structures which are not available in the limited C API. Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:12460 +msgid "Python 3.11.0 alpha 3" +msgstr "" + +#: build/NEWS:12462 +msgid "*Release date: 2021-12-08*" +msgstr "" + +#: build/NEWS:12467 +msgid "" +":issue:`46009`: Restore behavior from 3.9 and earlier when sending non-None " +"to newly started generator. In 3.9 this did not affect the state of the " +"generator. In 3.10.0 and 3.10.1 ``gen_func().send(0)`` is equivalent to " +"``gen_func().throw(TypeError(...)`` which exhausts the generator. In 3.10.2 " +"onward, the behavior has been reverted to that of 3.9." +msgstr "" + +#: build/NEWS:12473 +msgid "" +":issue:`46004`: Fix the :exc:`SyntaxError` location for errors involving for " +"loops with invalid targets. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:12476 +msgid "" +":issue:`45711`: :c:func:`!_PyErr_ChainStackItem` no longer normalizes " +"``exc_info`` (including setting the traceback on the exception instance) " +"because ``exc_info`` is always normalized." +msgstr "" + +#: build/NEWS:12480 +msgid "" +":issue:`45607`: The ``__note__`` field was added to :exc:`BaseException`. It " +"is ``None`` by default but can be set to a string which is added to the " +"exception's traceback." +msgstr "" + +#: build/NEWS:12484 +msgid "" +":issue:`45947`: Place pointers to dict and values immediately before GC " +"header. This reduces number of dependent memory loads to access either dict " +"or values from 3 to 1." +msgstr "" + +#: build/NEWS:12488 +msgid "" +":issue:`45915`: ``is_valid_fd`` now uses faster ``fcntl(fd, F_GETFD)`` on " +"Linux, macOS, and Windows." +msgstr "" + +#: build/NEWS:12491 +msgid "" +":issue:`44530`: Reverts a change to the ``code.__new__`` :ref:`audit event " +"<audit-events>` from an earlier prerelease." +msgstr "" + +#: build/NEWS:12494 +msgid "" +":issue:`42268`: Fail the configure step if the selected compiler doesn't " +"support memory sanitizer. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:12497 +msgid "" +":issue:`45711`: The three values of ``exc_info`` are now always consistent " +"with each other. In particular, the ``type`` and ``traceback`` fields are " +"now derived from the exception instance. This impacts the return values of :" +"func:`sys.exc_info` and :c:func:`PyErr_GetExcInfo()` if the exception " +"instance is modified while the exception is handled, as well as :c:func:" +"`PyErr_SetExcInfo()`, which now ignores the ``type`` and ``traceback`` " +"arguments provided to it." +msgstr "" + +#: build/NEWS:12505 +msgid "" +":issue:`45727`: Refine the custom syntax error that suggests that a comma " +"may be missing to trigger only when the expressions are detected between " +"parentheses or brackets. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:12509 +msgid "" +":issue:`45885`: Specialized the ``COMPARE_OP`` opcode using the PEP 659 " +"machinery." +msgstr "" + +#: build/NEWS:12512 +msgid "" +":issue:`45786`: Allocate space for the interpreter frame in the frame " +"object, to avoid an additional allocation when the frame object outlives the " +"frame activation." +msgstr "" + +#: build/NEWS:12516 +msgid "" +":issue:`45614`: Fix :mod:`traceback` display for exceptions with invalid " +"module name." +msgstr "" + +#: build/NEWS:12519 +msgid "" +":issue:`45813`: Fix crash when calling coro.cr_frame.clear() after coroutine " +"has been freed." +msgstr "" + +#: build/NEWS:12522 +msgid "" +":issue:`45811`: Improve the tokenizer errors when encountering invisible " +"control characters in the parser. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:12525 +msgid "" +":issue:`45848`: Allow the parser to obtain error lines directly from encoded " +"files. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:12528 +msgid "" +":issue:`45709`: Restore behavior from 3.10 when tracing an exception raised " +"within a with statement." +msgstr "" + +#: build/NEWS:12531 +msgid "" +":issue:`44525`: Adds new :opcode:`COPY_FREE_VARS` opcode, to make copying of " +"free variables from function to frame explicit. Helps optimization of calls " +"to Python function." +msgstr "" + +#: build/NEWS:12535 +msgid "" +":issue:`45829`: Specialize :opcode:`BINARY_SUBSCR` for classes with a " +"``__getitem__`` method implemented in Python" +msgstr "" + +#: build/NEWS:12538 +msgid "" +":issue:`45826`: Fixed a crash when calling ``.with_traceback(None)`` on " +"``NameError``. This occurs internally in ``unittest.TestCase." +"assertRaises()``." +msgstr "" + +#: build/NEWS:12542 +msgid "" +":issue:`45822`: Fixed a bug in the parser that was causing it to not " +"respect :pep:`263` coding cookies when no flags are provided. Patch by Pablo " +"Galindo" +msgstr "" + +#: build/NEWS:12546 +msgid "" +":issue:`45820`: Fix a segfault when the parser fails without reading any " +"input. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:12549 +msgid "" +":issue:`45636`: Simplify the implementation of :opcode:`BINARY_OP` by " +"indexing into an array of function pointers (rather than switching on the " +"oparg)." +msgstr "" + +#: build/NEWS:12552 +msgid "" +":issue:`42540`: Fix crash when :func:`os.fork` is called with an active non-" +"default memory allocator." +msgstr "" + +#: build/NEWS:12555 +msgid "" +":issue:`45738`: Fix computation of error location for invalid continuation " +"characters in the parser. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:12558 +msgid "" +":issue:`45636`: Remove an existing \"fast path\" for old-style string " +"formatting, since it no longer appears to have any measurable impact." +msgstr "" + +#: build/NEWS:12561 +msgid "" +":issue:`45753`: Make recursion checks a bit more efficient by tracking " +"amount of calls left before overflow." +msgstr "" + +#: build/NEWS:12564 +msgid "" +":issue:`45773`: Fix a compiler hang when attempting to optimize certain jump " +"patterns." +msgstr "" + +#: build/NEWS:12567 +msgid "" +":issue:`45764`: The parser now gives a better error message when leaving out " +"the opening parenthesis ``(`` after a ``def``-statement::" +msgstr "" + +#: build/NEWS:12570 +msgid "" +">>> def f:\n" +" File \"<stdin>\", line 1\n" +" def f:\n" +" ^\n" +"SyntaxError: expected '('" +msgstr "" + +#: build/NEWS:12576 +msgid "" +":issue:`45609`: Specialized the ``STORE_SUBSCR`` opcode using the PEP 659 " +"machinery." +msgstr "" + +#: build/NEWS:12579 +msgid "" +":issue:`45636`: Replace all numeric ``BINARY_*`` and ``INPLACE_*`` " +"instructions with a single :opcode:`BINARY_OP` implementation." +msgstr "" + +#: build/NEWS:12582 +msgid "" +":issue:`45582`: Path calculation (known as ``getpath``) has been " +"reimplemented as a frozen Python module. This should have no visible impact, " +"but may affect calculation of all paths referenced in :mod:`sys` and :mod:" +"`sysconfig`." +msgstr "" + +#: build/NEWS:12587 +msgid "" +":issue:`45450`: Improve the syntax error message for parenthesized " +"arguments. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:12593 +msgid "" +":issue:`27946`: Fix possible crash when getting an attribute of :class:`xml." +"etree.ElementTree.Element` simultaneously with replacing the ``attrib`` dict." +msgstr "" + +#: build/NEWS:12597 +msgid "" +":issue:`45711`: Make :mod:`asyncio` normalize exceptions as soon as they are " +"captured with :c:func:`PyErr_Fetch`, and before they are stored as an " +"exc_info triplet. This brings :mod:`asyncio` in line with the rest of the " +"codebase, where an exc_info triplet is always normalized." +msgstr "" + +#: build/NEWS:12602 +msgid "" +":issue:`23819`: Replaced asserts with exceptions in asyncio, patch by Kumar " +"Aditya." +msgstr "" + +#: build/NEWS:12605 +msgid "" +":issue:`13236`: :class:`unittest.TextTestResult` and :class:`unittest." +"TextTestRunner` flush now the output stream more often." +msgstr "" + +#: build/NEWS:12608 +msgid "" +":issue:`45917`: Added :func:`math.exp2`:, which returns 2 raised to the " +"power of x." +msgstr "" + +#: build/NEWS:12611 +msgid "" +":issue:`37658`: Fix issue when on certain conditions ``asyncio.wait_for()`` " +"may allow a coroutine to complete successfully, but fail to return the " +"result, potentially causing memory leaks or other issues." +msgstr "" + +#: build/NEWS:12615 +msgid "" +":issue:`45876`: Improve the accuracy of stdev() and pstdev() in the " +"statistics module. When the inputs are floats or fractions, the output is a " +"correctly rounded float" +msgstr "" + +#: build/NEWS:12619 +msgid "" +":issue:`44649`: Handle dataclass(slots=True) with a field that has default a " +"default value, but for which init=False." +msgstr "" + +#: build/NEWS:12622 +msgid "" +":issue:`45803`: Added missing kw_only parameter to dataclasses." +"make_dataclass()." +msgstr "" + +#: build/NEWS:12625 +msgid "" +":issue:`45837`: The :meth:`turtle.RawTurtle.settiltangle` is deprecated " +"since Python 3.1, it now emits a deprecation warning and will be removed in " +"Python 3.13." +msgstr "" + +#: build/NEWS:12629 +msgid "Use :meth:`turtle.RawTurtle.tiltangle` instead." +msgstr "" + +#: build/NEWS:12631 +msgid "" +":meth:`turtle.RawTurtle.tiltangle` was earlier incorrectly marked as " +"deprecated, its docstring has been corrected." +msgstr "" + +#: build/NEWS:14082 build/NEWS:14139 build/NEWS:14146 +msgid "Patch by Hugo van Kemenade." +msgstr "" + +#: build/NEWS:12636 +msgid "" +":issue:`45831`: :mod:`faulthandler` can now write ASCII-only strings (like " +"filenames and function names) with a single write() syscall when dumping a " +"traceback. It reduces the risk of getting an unreadable dump when two " +"threads or two processes dump a traceback to the same file (like stderr) at " +"the same time. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:12642 +msgid "" +":issue:`45828`: :mod:`sqlite` C callbacks now use unraisable exceptions if " +"callback tracebacks are enabled. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:12645 +msgid "" +":issue:`41735`: Fix thread lock in ``zlib.Decompress.flush()`` method before " +"``PyObject_GetBuffer``." +msgstr "" + +#: build/NEWS:12648 +msgid "" +":issue:`45235`: Reverted an argparse bugfix that caused regression in the " +"handling of default arguments for subparsers. This prevented leaf level " +"arguments from taking precedence over root level arguments." +msgstr "" + +#: build/NEWS:12652 +msgid "" +":issue:`45754`: Fix a regression in Python 3.11a1 and 3.11a2 where :mod:" +"`sqlite3` incorrectly would use ``SQLITE_LIMIT_LENGTH`` when checking SQL " +"statement lengths. Now, ``SQLITE_LIMIT_SQL_LENGTH`` is used. Patch by Erlend " +"E. Aasland." +msgstr "" + +#: build/NEWS:12657 +msgid "" +":issue:`45766`: Added *proportional* option to :meth:`statistics." +"linear_regression`." +msgstr "" + +#: build/NEWS:12660 +msgid "" +":issue:`45765`: In importlib.metadata, fix distribution discovery for an " +"empty path." +msgstr "" + +#: build/NEWS:12663 +msgid "" +":issue:`45757`: Fix bug where :mod:`dis` produced an incorrect oparg when :" +"opcode:`EXTENDED_ARG` is followed by an opcode that does not use its " +"argument." +msgstr "" + +#: build/NEWS:12667 +msgid "" +":issue:`45644`: In-place JSON file formatting using ``python3 -m json.tool " +"infile infile`` now works correctly, previously it left the file empty. " +"Patch by Chris Wesseling." +msgstr "" + +#: build/NEWS:12671 +msgid "" +":issue:`45703`: When a namespace package is imported before another module " +"from the same namespace is created/installed in a different :data:`sys.path` " +"location while the program is running, calling the :func:`importlib." +"invalidate_caches` function will now also guarantee the new module is " +"noticed." +msgstr "" + +#: build/NEWS:12677 +msgid ":issue:`45535`: Improve output of ``dir()`` with Enums." +msgstr "" + +#: build/NEWS:12679 +msgid "" +":issue:`45664`: Fix :func:`types.resolve_bases` and :func:`types.new_class` " +"for :class:`types.GenericAlias` instance as a base." +msgstr "" + +#: build/NEWS:12682 +msgid "" +":issue:`45663`: Fix :func:`dataclasses.is_dataclass` for dataclasses which " +"are subclasses of :class:`types.GenericAlias`." +msgstr "" + +#: build/NEWS:12685 +msgid "" +":issue:`45662`: Fix the repr of :data:`dataclasses.InitVar` with a type " +"alias to the built-in class, e.g. ``InitVar[list[int]]``." +msgstr "" + +#: build/NEWS:12688 +msgid "" +":issue:`43137`: Launch GNOME web browsers via gio tool instead of obsolete " +"gvfs-open" +msgstr "" + +#: build/NEWS:12691 +msgid "" +":issue:`45429`: On Windows, :func:`time.sleep` now uses a waitable timer " +"which supports high-resolution timers. Patch by Donghee Na and Eryk Sun." +msgstr "" + +#: build/NEWS:12694 +msgid ":issue:`37295`: Optimize :func:`math.comb` and :func:`math.perm`." +msgstr "" + +#: build/NEWS:12696 +msgid "" +":issue:`45514`: Deprecated legacy functions in :mod:`importlib.resources`." +msgstr "" + +#: build/NEWS:12698 +msgid "" +":issue:`45507`: Add tests for truncated/missing trailers in gzip.decompress " +"implementation." +msgstr "" + +#: build/NEWS:12701 +msgid "" +":issue:`45359`: Implement :pep:`585` for :class:`graphlib.TopologicalSorter`." +msgstr "" + +#: build/NEWS:12703 +msgid "" +":issue:`44733`: Add ``max_tasks_per_child`` to :class:`concurrent.futures." +"ProcessPoolExecutor`. This allows users to specify the maximum number of " +"tasks a single process should execute before the process needs to be " +"restarted." +msgstr "" + +#: build/NEWS:12708 +msgid "" +":issue:`28806`: Improve netrc library. netrc file no longer needs to contain " +"all tokens. And if the login name is anonymous, security check is no longer " +"need." +msgstr "" + +#: build/NEWS:12712 +msgid "" +":issue:`43498`: Avoid a possible *\"RuntimeError: dictionary changed size " +"during iteration\"* when adjusting the process count of :class:" +"`ProcessPoolExecutor`." +msgstr "" + +#: build/NEWS:12716 +msgid "" +":issue:`42158`: Add MIME types for N-quads, N-triples, Notation3 and TriG to " +"``mimetypes``." +msgstr "" + +#: build/NEWS:12719 +msgid "" +":issue:`30533`: Add :func:`inspect.getmembers_static` , it return all " +"members without triggering dynamic lookup via the descriptor protocol. Patch " +"by Weipeng Hong." +msgstr "" + +#: build/NEWS:12726 +msgid "" +":issue:`42238`: ``make -C Doc suspicious`` will be removed soon in favor of " +"``make -C Doc check``, mark it as deprecated." +msgstr "" + +#: build/NEWS:12729 +msgid "" +":issue:`45840`: Improve cross-references in the documentation for the data " +"model." +msgstr "" + +#: build/NEWS:12732 +msgid "" +":issue:`45640`: Properly marked-up grammar tokens in the documentation are " +"now clickable and take you to the definition of a given piece of grammar. " +"Patch by Arthur Milchior." +msgstr "" + +#: build/NEWS:12736 +msgid "" +":issue:`45788`: Link doc for sys.prefix to sysconfig doc on installation " +"paths." +msgstr "" + +#: build/NEWS:12738 +msgid "" +":issue:`45772`: ``socket.socket`` documentation is corrected to a class from " +"a function." +msgstr "" + +#: build/NEWS:12741 +msgid "" +":issue:`45392`: Update the docstring of the :class:`type` built-in to remove " +"a redundant line and to mention keyword arguments for the constructor." +msgstr "" + +#: build/NEWS:12744 +msgid "" +":issue:`45250`: Update the documentation to note that CPython does not " +"consistently require iterators to define ``__iter__``." +msgstr "" + +#: build/NEWS:12747 +msgid "" +":issue:`25381`: In the extending chapter of the extending doc, update a " +"paragraph about the global variables containing exception information." +msgstr "" + +#: build/NEWS:12750 +msgid "" +":issue:`43905`: Expanded :func:`~dataclasses.astuple` and :func:" +"`~dataclasses.asdict` docs, warning about deepcopy being applied and " +"providing a workaround." +msgstr "" + +#: build/NEWS:12757 +msgid "" +":issue:`45695`: Out-of-tree builds with a read-only source directory are now " +"tested by CI." +msgstr "" + +#: build/NEWS:12760 +msgid "" +":issue:`19460`: Add new Test for ``Lib/email/mime/nonmultipart.py::" +"MIMENonMultipart``." +msgstr "" + +#: build/NEWS:12763 +msgid "" +":issue:`45835`: Fix race condition in test_queue tests with multiple " +"\"feeder\" threads." +msgstr "" + +#: build/NEWS:12766 +msgid "" +":issue:`45783`: The test for the freeze tool now handles file moves and " +"deletions." +msgstr "" + +#: build/NEWS:12769 +msgid "" +":issue:`45745`: Remove the ``--findleaks`` command line option of regrtest: " +"use the ``--fail-env-changed`` option instead. Since Python 3.7, it was a " +"deprecated alias to the ``--fail-env-changed`` option." +msgstr "" + +#: build/NEWS:12773 +msgid "" +":issue:`45701`: Add tests with ``tuple`` type with :func:`functools." +"lru_cache` to ``test_functools``." +msgstr "" + +#: build/NEWS:12779 +msgid "" +":issue:`44035`: CI now verifies that autoconf files have been regenerated " +"with a current and unpatched autoconf package." +msgstr "" + +#: build/NEWS:12782 +msgid "" +":issue:`45950`: The build system now uses a :program:`_bootstrap_python` " +"interpreter for freezing and deepfreezing again. To speed up build process " +"the build tools :program:`_bootstrap_python` and :program:`_freeze_module` " +"are no longer build with LTO." +msgstr "" + +#: build/NEWS:12787 +msgid "" +":issue:`45881`: The :program:`configure` script now accepts ``--with-build-" +"python`` and ``--with-freeze-module`` options to make cross compiling easier." +msgstr "" + +#: build/NEWS:12791 +msgid "" +":issue:`40280`: Emscripten platform now uses ``.wasm`` suffix by default." +msgstr "" + +#: build/NEWS:12793 +msgid "" +":issue:`40280`: Disable unusable core extension modules on WASM/Emscripten " +"targets." +msgstr "" + +#: build/NEWS:12796 +msgid "" +":issue:`40280`: ``configure`` now checks for socket ``shutdown`` function. " +"The check makes it possible to disable ``SYS_shutdown`` with " +"``ac_cv_func_shutdown=no`` in CONFIG_SITE." +msgstr "" + +#: build/NEWS:12800 +msgid "" +":issue:`40280`: ``configure`` now checks for functions ``fork1, getegid, " +"geteuid, getgid, getppid, getuid, opendir, pipe, system, wait, ttyname``." +msgstr "" + +#: build/NEWS:12803 +msgid "" +":issue:`33393`: Update ``config.guess`` to 2021-06-03 and ``config.sub`` to " +"2021-08-14. ``Makefile`` now has an ``update-config`` target to make " +"updating more convenient." +msgstr "" + +#: build/NEWS:12807 +msgid "" +":issue:`45866`: ``make regen-all`` now produces the same output when run " +"from a directory other than the source tree: when building Python out of the " +"source tree. pegen now strips directory of the \"generated by pygen from " +"<FILENAME>\" header Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:12812 +msgid "" +":issue:`40280`: ``configure`` now accepts machine ``wasm32`` or ``wasm64`` " +"and OS ``wasi`` or ``emscripten`` for cross building, e.g. ``wasm32-unknown-" +"emscripten``, ``wasm32-wasi``, or ``wasm32-unknown-wasi``." +msgstr "" + +#: build/NEWS:12817 +msgid "" +":issue:`41498`: Python now compiles on platforms without ``sigset_t``. " +"Several functions in :mod:`signal` are not available when ``sigset_t`` is " +"missing." +msgstr "" + +#: build/NEWS:12820 +msgid "Based on patch by Roman Yurchak for pyodide." +msgstr "" + +#: build/NEWS:12822 +msgid "" +":issue:`45881`: ``setup.py`` now uses ``CC`` from environment first to " +"discover multiarch and cross compile paths." +msgstr "" + +#: build/NEWS:12825 +msgid "" +":issue:`45886`: The ``_freeze_module`` program path can now be overridden on " +"the command line, e.g. ``make FREEZE_MODULE=../x86_64/Program/" +"_freeze_module``." +msgstr "" + +#: build/NEWS:12829 +msgid "" +":issue:`45873`: Get rid of the ``_bootstrap_python`` build step. The " +"deepfreeze.py script is now run using ``$(PYTHON_FOR_REGEN)`` which can be " +"Python 3.7 or newer (on Windows, 3.8 or newer)." +msgstr "" + +#: build/NEWS:12833 +msgid "" +":issue:`45847`: Port builtin hashlib extensions to ``PY_STDLIB_MOD`` macro " +"and ``addext()``." +msgstr "" + +#: build/NEWS:12836 +msgid "" +":issue:`45723`: Add ``autoconf`` helpers for saving and restoring " +"environment variables:" +msgstr "" + +#: build/NEWS:12839 +msgid "" +"``SAVE_ENV``: Save ``$CFLAGS``, ``$LDFLAGS``, ``$LIBS``, and ``$CPPFLAGS``." +msgstr "" + +#: build/NEWS:12841 +msgid "" +"``RESTORE_ENV``: Restore ``$CFLAGS``, ``$LDFLAGS``, ``$LIBS``, and " +"``$CPPFLAGS``." +msgstr "" + +#: build/NEWS:12843 +msgid "" +"``WITH_SAVE_ENV([SCRIPT])``: Run ``SCRIPT`` wrapped with ``SAVE_ENV`` and " +"``RESTORE_ENV``." +msgstr "" + +#: build/NEWS:12848 +msgid "" +":issue:`45573`: Mandatory core modules, that are required to bootstrap " +"Python, are now in ``Modules/Setup.bootstrap``." +msgstr "" + +#: build/NEWS:12851 +msgid "" +":issue:`45573`: ``configure`` now creates ``Modules/Setup.stdlib`` with " +"conditionally enabled/disabled extension module lines. The file is not used, " +"yet." +msgstr "" + +#: build/NEWS:12855 +msgid "" +":issue:`45573`: ``configure`` now uses a unified format to set state, " +"compiler flags, and linker flags in Makefile. The new macro " +"``PY_STDLIB_MOD`` sets three variables that are consumed by ``Modules/" +"Setup`` and ``setup.py``." +msgstr "" + +#: build/NEWS:12859 +msgid "" +":issue:`45816`: Python now supports building with Visual Studio 2022 (MSVC " +"v143, VS Version 17.0). Patch by Jeremiah Vivian." +msgstr "" + +#: build/NEWS:12862 +msgid "" +":issue:`45800`: Settings for :mod:`pyexpat` C extension are now detected by " +"``configure``. The bundled ``expat`` library is built in ``Makefile``." +msgstr "" + +#: build/NEWS:12865 +msgid "" +":issue:`45798`: Settings for :mod:`decimal` internal C extension are now " +"detected by ``configure``. The bundled ``libmpdec`` library is built in " +"``Makefile``." +msgstr "" + +#: build/NEWS:12869 +msgid "" +":issue:`45723`: :program:`configure` has a new option ``--with-pkg-config`` " +"to disable or require pkg-config." +msgstr "" + +#: build/NEWS:12872 +msgid "" +":issue:`45774`: The build dependencies for :mod:`sqlite3` are now detected " +"by ``configure`` and ``pkg-config``. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:12875 +msgid "" +":issue:`45763`: The build dependencies for :mod:`zlib`, :mod:`bz2`, and :mod:" +"`lzma` are now detected by ``configure``." +msgstr "" + +#: build/NEWS:12878 +msgid "" +":issue:`45747`: gdbm and dbm build dependencies are now detected by " +"``configure``." +msgstr "" + +#: build/NEWS:12881 +msgid "" +":issue:`45743`: On macOS, the build system no longer passes " +"``search_paths_first`` to the linker. The flag has been the default since " +"Xcode 4 / macOS 10.6." +msgstr "" + +#: build/NEWS:12885 +msgid "" +":issue:`45723`: ``configure.ac`` is now compatible with autoconf 2.71. " +"Deprecated checks ``STDC_HEADERS`` and ``AC_HEADER_TIME`` have been removed." +msgstr "" + +#: build/NEWS:12889 +msgid "" +":issue:`45723`: ``configure`` now prints a warning when pkg-config is " +"missing." +msgstr "" + +#: build/NEWS:12891 +msgid "" +":issue:`45731`: ``configure --enable-loadable-sqlite-extensions`` is now " +"handled by new ``PY_SQLITE_ENABLE_LOAD_EXTENSION`` macro instead of logic in " +"setup.py." +msgstr "" + +#: build/NEWS:12895 +msgid "" +":issue:`45723`: configure.ac now uses custom helper macros and " +"``AC_CACHE_CHECK`` to simplify and speed up configure runs." +msgstr "" + +#: build/NEWS:12898 +msgid "" +":issue:`45696`: Skip the marshal step for frozen modules by generating C " +"code that produces a set of ready-to-use code objects. This speeds up " +"startup time by another 10% or more." +msgstr "" + +#: build/NEWS:12902 +msgid ":issue:`45561`: Run smelly.py tool from $(srcdir)." +msgstr "" + +#: build/NEWS:12907 +msgid "" +":issue:`46105`: Fixed calculation of :data:`sys.path` in a venv on Windows." +msgstr "" + +#: build/NEWS:12909 +msgid "" +":issue:`45901`: When installed through the Microsoft Store and set as the " +"default app for :file:`*.py` files, command line arguments will now be " +"passed to Python when invoking a script without explicitly launching Python " +"(that is, ``script.py args`` rather than ``python script.py args``)." +msgstr "" + +#: build/NEWS:12915 +msgid "" +":issue:`45616`: Fix Python Launcher's ability to distinguish between " +"versions 3.1 and 3.10 when either one is explicitly requested. Previously, " +"3.1 would be used if 3.10 was requested but not installed, and 3.10 would be " +"used if 3.1 was requested but 3.10 was installed." +msgstr "" + +#: build/NEWS:12920 +msgid "" +":issue:`45850`: Implement changes to build with deep-frozen modules on " +"Windows. Note that we now require Python 3.10 as the \"bootstrap\" or " +"\"host\" Python." +msgstr "" + +#: build/NEWS:12923 +msgid ":issue:`45732`: Updates bundled Tcl/Tk to 8.6.12." +msgstr "" + +#: build/NEWS:12925 +msgid "" +":issue:`45720`: Internal reference to :file:`shlwapi.dll` was dropped to " +"help improve startup time. This DLL will no longer be loaded at the start of " +"every Python process." +msgstr "" + +#: build/NEWS:12932 +msgid ":issue:`45732`: Update python.org macOS installer to use Tcl/Tk 8.6.12." +msgstr "" + +#: build/NEWS:12937 +msgid "" +":issue:`39026`: Fix Python.h to build C extensions with Xcode: remove a " +"relative include from ``Include/cpython/pystate.h``." +msgstr "" + +#: build/NEWS:12942 +msgid "Python 3.11.0 alpha 2" +msgstr "" + +#: build/NEWS:12944 +msgid "*Release date: 2021-11-05*" +msgstr "" + +#: build/NEWS:12949 +msgid "" +":issue:`45716`: Improve the :exc:`SyntaxError` message when using ``True``, " +"``None`` or ``False`` as keywords in a function call. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:12953 +msgid "" +":issue:`45688`: :data:`sys.stdlib_module_names` now contains the macOS-" +"specific module :mod:`!_scproxy`." +msgstr "" + +#: build/NEWS:12956 +msgid "" +":issue:`45379`: Clarify :exc:`ImportError` message when we try to explicitly " +"import a frozen module but frozen modules are disabled." +msgstr "" + +#: build/NEWS:12959 +msgid "" +":issue:`44525`: Specialize simple calls to Python functions (no starargs, " +"keyword dict, or closure)" +msgstr "" + +#: build/NEWS:12962 +msgid "" +":issue:`45530`: Cases of sorting using tuples as keys may now be " +"significantly faster in some cases. Patch by Tim Peters." +msgstr "" + +#: build/NEWS:12965 +msgid "" +"The order of the result may differ from earlier releases if the tuple " +"elements don't define a total ordering (see :ref:`expressions-value-" +"comparisons` for information on total ordering). It's generally true that " +"the result of sorting simply isn't well-defined in the absence of a total " +"ordering on list elements." +msgstr "" + +#: build/NEWS:12971 +msgid "" +":issue:`45526`: In obmalloc, set ADDRESS_BITS to not ignore any bits " +"(ignored 16 before). That is safer in the case that the kernel gives user-" +"space virtual addresses that span a range greater than 48 bits." +msgstr "" + +#: build/NEWS:12975 +msgid "" +":issue:`30570`: Fixed a crash in ``issubclass()`` from infinite recursion " +"when searching pathological ``__bases__`` tuples." +msgstr "" + +#: build/NEWS:12978 +msgid "" +":issue:`45521`: Fix a bug in the obmalloc radix tree code. On 64-bit " +"machines, the bug causes the tree to hold 46-bits of virtual addresses, " +"rather than the intended 48-bits." +msgstr "" + +#: build/NEWS:12982 +msgid "" +":issue:`45494`: Fix parser crash when reporting errors involving invalid " +"continuation characters. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:12985 +msgid "" +":issue:`45445`: Python now fails to initialize if it finds an invalid :" +"option:`-X` option in the command line. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:12988 +msgid "" +":issue:`45340`: Object attributes are held in an array instead of a " +"dictionary. An object's dictionary are created lazily, only when needed. " +"Reduces the memory consumption of a typical Python object by about 30%. " +"Patch by Mark Shannon." +msgstr "" + +#: build/NEWS:12993 +msgid "" +":issue:`45408`: Fix a crash in the parser when reporting tokenizer errors " +"that occur at the same time unclosed parentheses are detected. Patch by " +"Pablo Galindo." +msgstr "" + +#: build/NEWS:12997 +msgid "" +":issue:`29410`: Add SipHash13 for string hash algorithm and use it by " +"default." +msgstr "" + +#: build/NEWS:12999 +msgid "" +":issue:`45385`: Fix reference leak from descr_check. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:13001 +msgid "" +":issue:`45367`: Specialized the ``BINARY_MULTIPLY`` opcode to " +"``BINARY_MULTIPLY_INT`` and ``BINARY_MULTIPLY_FLOAT`` using the PEP 659 " +"machinery." +msgstr "" + +#: build/NEWS:13005 +msgid "" +":issue:`21736`: Frozen stdlib modules now have ``__file__`` to the .py file " +"they would otherwise be loaded from, if possible. For packages, " +"``__path__`` now has the correct entry instead of being an empty list, which " +"allows unfrozen submodules to be imported. These are set only if the stdlib " +"directory is known when the runtime is initialized. Note that the file at " +"``__file__`` is not guaranteed to exist. None of this affects non-stdlib " +"frozen modules nor, for now, frozen modules imported using " +"``PyImport_ImportFrozenModule()``. Also, at the moment ``co_filename`` is " +"not updated for the module." +msgstr "" + +#: build/NEWS:13015 +msgid "" +":issue:`45020`: For frozen stdlib modules, record the original module name " +"as ``module.__spec__.loader_state.origname``. If the value is different " +"than ``module.__spec__.name`` then the module was defined as an alias in " +"Tools/scripts/freeze_modules.py. If it is ``None`` then the module comes " +"from a source file outside the stdlib." +msgstr "" + +#: build/NEWS:13021 +msgid "" +":issue:`45324`: In FrozenImporter.find_spec(), we now preserve the " +"information needed in exec_module() to load the module. This change mostly " +"impacts internal details, rather than changing the importer's behavior." +msgstr "" + +#: build/NEWS:13025 +msgid "" +":issue:`45292`: Implement :pep:`654`. Add :class:`ExceptionGroup` and :class:" +"`BaseExceptionGroup`. Update traceback display code." +msgstr "" + +#: build/NEWS:13028 +msgid "" +":issue:`40116`: Change to the implementation of split dictionaries. Classes " +"where the instances differ either in the exact set of attributes, or in the " +"order in which those attributes are set, can still share keys. This should " +"have no observable effect on users of Python or the C-API. Patch by Mark " +"Shannon." +msgstr "" + +#: build/NEWS:13034 +msgid "" +":issue:`44050`: Extensions that indicate they use global state (by setting " +"``m_size`` to -1) can again be used in multiple interpreters. This reverts " +"to behavior of Python 3.8." +msgstr "" + +#: build/NEWS:13038 +msgid "" +":issue:`44525`: Setup initial specialization infrastructure for the " +"``CALL_FUNCTION`` opcode. Implemented initial specializations for C function " +"calls:" +msgstr "" + +#: build/NEWS:13042 +msgid "``CALL_FUNCTION_BUILTIN_O`` for ``METH_O`` flag." +msgstr "" + +#: build/NEWS:13044 +msgid "" +"``CALL_FUNCTION_BUILTIN_FAST`` for ``METH_FASTCALL`` flag without keywords." +msgstr "" + +#: build/NEWS:13046 +msgid "``CALL_FUNCTION_LEN`` for ``len(o)``." +msgstr "" + +#: build/NEWS:13048 +msgid "``CALL_FUNCTION_ISINSTANCE`` for ``isinstance(o, t)``." +msgstr "" + +#: build/NEWS:13050 +msgid "" +":issue:`44511`: Improve the generated bytecode for class and mapping " +"patterns." +msgstr "" + +#: build/NEWS:13052 +msgid "" +":issue:`43706`: Speed up calls to ``enumerate()`` by using the :pep:`590` " +"``vectorcall`` calling convention. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:13058 +msgid "" +":issue:`45679`: Fix caching of multi-value :data:`typing.Literal`. " +"``Literal[True, 2]`` is no longer equal to ``Literal[1, 2]``." +msgstr "" + +#: build/NEWS:13061 +msgid "" +":issue:`42064`: Convert :mod:`sqlite3` to multi-phase initialisation (PEP " +"489). Patches by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:13064 +msgid "" +":issue:`45438`: Fix typing.Signature string representation for generic " +"builtin types." +msgstr "" + +#: build/NEWS:13067 +msgid "" +":issue:`45613`: :mod:`sqlite3` now sets :attr:`sqlite3.threadsafety` based " +"on the default threading mode the underlying SQLite library has been " +"compiled with. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:13071 +msgid ":issue:`45574`: Fix warning about ``print_escape`` being unused." +msgstr "" + +#: build/NEWS:13073 +msgid "" +":issue:`45581`: :meth:`sqlite3.connect` now correctly raises :exc:" +"`MemoryError` if the underlying SQLite API signals memory error. Patch by " +"Erlend E. Aasland." +msgstr "" + +#: build/NEWS:13077 +msgid "" +":issue:`45557`: :func:`pprint.pprint` now handles *underscore_numbers* " +"correctly. Previously it was always setting it to ``False``." +msgstr "" + +#: build/NEWS:13080 +msgid "" +":issue:`44019`: Add :func:`operator.call` to ``operator.__all__``. Patch by " +"Kreusada." +msgstr "" + +#: build/NEWS:13083 +msgid "" +":issue:`42174`: :meth:`shutil.get_terminal_size` now falls back to sane " +"values if the column or line count are 0." +msgstr "" + +#: build/NEWS:13086 +msgid "" +":issue:`35673`: Improve the introspectability of the ``__loader__`` " +"attribute for namespace packages. :class:`importlib.machinery." +"NamespaceLoader` is now public, and implements the :class:`importlib.abc." +"InspectLoader` interface. ``_NamespaceLoader`` is kept for backward " +"compatibility." +msgstr "" + +#: build/NEWS:13091 +msgid "" +":issue:`45515`: Add references to :mod:`zoneinfo` in the :mod:`datetime` " +"documentation, mostly replacing outdated references to ``dateutil.tz``. " +"Change by Paul Ganssle." +msgstr "" + +#: build/NEWS:13095 +msgid "" +":issue:`45475`: Reverted optimization of iterating :class:`gzip.GzipFile`, :" +"class:`bz2.BZ2File`, and :class:`lzma.LZMAFile` (see :issue:`43787`) because " +"it caused regression when user iterate them without having reference of " +"them. Patch by Inada Naoki." +msgstr "" + +#: build/NEWS:13100 +msgid "" +":issue:`45489`: Update :class:`~typing.ForwardRef` to support ``|`` " +"operator. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:13103 +msgid "" +":issue:`42222`: Removed deprecated support for float arguments in " +"*randrange()*." +msgstr "" + +#: build/NEWS:13106 +msgid "" +":issue:`45428`: Fix a regression in py_compile when reading filenames from " +"standard input." +msgstr "" + +#: build/NEWS:13109 +msgid "" +":issue:`45467`: Fix incremental decoder and stream reader in the \"raw-" +"unicode-escape\" codec. Previously they failed if the escape sequence was " +"split." +msgstr "" + +#: build/NEWS:13113 +msgid "" +":issue:`45461`: Fix incremental decoder and stream reader in the \"unicode-" +"escape\" codec. Previously they failed if the escape sequence was split." +msgstr "" + +#: build/NEWS:13117 +msgid "" +":issue:`45239`: Fixed :func:`email.utils.parsedate_tz` crashing with :exc:" +"`UnboundLocalError` on certain invalid input instead of returning ``None``. " +"Patch by Ben Hoyt." +msgstr "" + +#: build/NEWS:13121 +msgid "" +":issue:`45417`: Fix quadratic behaviour in the enum module: Creation of enum " +"classes with a lot of entries was quadratic." +msgstr "" + +#: build/NEWS:13124 +msgid "" +":issue:`45249`: Fix the behaviour of :func:`traceback.print_exc` when " +"displaying the caret when the ``end_offset`` in the exception is set to 0. " +"Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:13128 +msgid "" +":issue:`45416`: Fix use of :class:`asyncio.Condition` with explicit :class:" +"`asyncio.Lock` objects, which was a regression due to removal of explicit " +"loop arguments. Patch by Joongi Kim." +msgstr "" + +#: build/NEWS:13132 +msgid "" +":issue:`20028`: Empty escapechar/quotechar is not allowed when initializing :" +"class:`csv.Dialect`. Patch by Vajrasky Kok and Donghee Na." +msgstr "" + +#: build/NEWS:13135 +msgid "" +":issue:`44904`: Fix bug in the :mod:`doctest` module that caused it to fail " +"if a docstring included an example with a ``classmethod`` ``property``. " +"Patch by Alex Waygood." +msgstr "" + +#: build/NEWS:13139 +msgid "" +":issue:`45406`: Make :func:`inspect.getmodule` catch ``FileNotFoundError`` " +"raised by :func:`inspect.getabsfile`, and return ``None`` to indicate that " +"the module could not be determined." +msgstr "" + +#: build/NEWS:13143 +msgid "" +":issue:`45411`: Add extensions for files containing subtitles - .srt & .vtt " +"- to the mimetypes.py module." +msgstr "" + +#: build/NEWS:13146 +msgid "" +":issue:`10716`: Migrated pydoc to HTML5 (without changing the look of it). " +"Side effect is to update xmlrpc's ``ServerHTMLDoc`` which now uses the CSS " +"too. cgitb now relies less on pydoc (as it can't use the CSS file)." +msgstr "" + +#: build/NEWS:13150 +msgid ":issue:`27580`: Add support of null characters in :mod:`csv`." +msgstr "" + +#: build/NEWS:13152 +msgid "" +":issue:`45262`: Prevent use-after-free in asyncio. Make sure the cached " +"running loop holder gets cleared on dealloc to prevent use-after-free in " +"get_running_loop" +msgstr "" + +#: build/NEWS:13156 +msgid "" +":issue:`45386`: Make :mod:`xmlrpc.client` more robust to C runtimes where " +"the underlying C ``strftime`` function results in a ``ValueError`` when " +"testing for year formatting options." +msgstr "" + +#: build/NEWS:13160 +msgid "" +":issue:`20028`: Improve error message of :class:`csv.Dialect` when " +"initializing. Patch by Vajrasky Kok and Donghee Na." +msgstr "" + +#: build/NEWS:13163 +msgid ":issue:`45343`: Update bundled pip to 21.2.4 and setuptools to 58.1.0" +msgstr "" + +#: build/NEWS:13165 +msgid "" +":issue:`45328`: Fixed :class:`http.client.HTTPConnection` to work properly " +"in OSs that don't support the ``TCP_NODELAY`` socket option." +msgstr "" + +#: build/NEWS:13168 +msgid "" +":issue:`45243`: Add :meth:`~sqlite3.Connection.setlimit` and :meth:`~sqlite3." +"Connection.getlimit` to :class:`sqlite3.Connection` for setting and getting " +"SQLite limits by connection basis. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:13173 +msgid ":issue:`45320`: Removed from the :mod:`inspect` module:" +msgstr "" + +#: build/NEWS:13175 +msgid "the ``getargspec`` function, deprecated since Python 3.0;" +msgstr "" + +#: build/NEWS:13176 +msgid "" +"use :func:`inspect.signature` or :func:`inspect.getfullargspec` instead." +msgstr "" + +#: build/NEWS:13178 +msgid "" +"the ``formatargspec`` function, deprecated since Python 3.5; use the :func:" +"`inspect.signature` function and :class:`Signature` object directly." +msgstr "" + +#: build/NEWS:13182 +msgid "" +"the undocumented ``Signature.from_builtin`` and ``Signature.from_function`` " +"functions, deprecated since Python 3.5; use the :meth:`Signature." +"from_callable() <inspect.Signature.from_callable>` method instead." +msgstr "" + +#: build/NEWS:13189 +msgid "" +":issue:`45192`: Fix the ``tempfile._infer_return_type`` function so that the " +"``dir`` argument of the :mod:`tempfile` functions accepts an object " +"implementing the ``os.PathLike`` protocol." +msgstr "" + +#: build/NEWS:13193 +msgid "Patch by Kyungmin Lee." +msgstr "" + +#: build/NEWS:13195 +msgid "" +":issue:`45160`: When tracing a tkinter variable used by a ttk OptionMenu, " +"callbacks are no longer made twice." +msgstr "" + +#: build/NEWS:13198 +msgid "" +":issue:`25625`: Added non parallel-safe :func:`~contextlib.chdir` context " +"manager to change the current working directory and then restore it on exit. " +"Simple wrapper around :func:`~os.chdir`." +msgstr "" + +#: build/NEWS:13202 +msgid "" +":issue:`24139`: Add support for SQLite extended result codes in :exc:" +"`sqlite3.Error`. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:13205 +msgid "" +":issue:`24444`: Fixed an error raised in :mod:`argparse` help display when " +"help for an option is set to 1+ blank spaces or when *choices* arg is an " +"empty container." +msgstr "" + +#: build/NEWS:13209 +msgid "" +":issue:`44547`: Implement ``Fraction.__int__``, so that a :class:`fractions." +"Fraction` instance ``f`` passes an ``isinstance(f, typing.SupportsInt)`` " +"check." +msgstr "" + +#: build/NEWS:13213 +msgid "" +":issue:`40321`: Adds support for HTTP 308 redirects to :mod:`urllib`. See :" +"rfc:`7538` for details. Patch by Jochem Schulenklopper." +msgstr "" + +#: build/NEWS:13216 +msgid "" +":issue:`41374`: Ensure that ``socket.TCP_*`` constants are exposed on Cygwin " +"3.1.6 and greater." +msgstr "" + +#: build/NEWS:13219 +msgid "" +":issue:`35970`: Add help flag to the base64 module's command line interface. " +"Patch contributed by Robert Kuska." +msgstr "" + +#: build/NEWS:13225 +msgid "" +":issue:`45726`: Improve documentation for :func:`functools.singledispatch` " +"and :class:`functools.singledispatchmethod`." +msgstr "" + +#: build/NEWS:13228 +msgid "" +":issue:`45680`: Amend the docs on ``GenericAlias`` objects to clarify that " +"non-container classes can also implement ``__class_getitem__``. Patch " +"contributed by Alex Waygood." +msgstr "" + +#: build/NEWS:13232 +msgid "" +":issue:`45618`: Update Sphinx version used to build the documentation to " +"4.2.0. Patch by Maciej Olko." +msgstr "" + +#: build/NEWS:13235 +msgid "" +":issue:`45655`: Add a new \"relevant PEPs\" section to the top of the " +"documentation for the ``typing`` module. Patch by Alex Waygood." +msgstr "" + +#: build/NEWS:13238 +msgid "" +":issue:`45604`: Add ``level`` argument to ``multiprocessing.log_to_stderr`` " +"function docs." +msgstr "" + +#: build/NEWS:13241 +msgid "" +":issue:`45516`: Add protocol description to the :class:`importlib.abc." +"TraversableResources` documentation." +msgstr "" + +#: build/NEWS:13244 +msgid "" +":issue:`45464`: Mention in the documentation of :ref:`Built-in Exceptions " +"<bltin-exceptions>` that inheriting from multiple exception types in a " +"single subclass is not recommended due to possible memory layout " +"incompatibility." +msgstr "" + +#: build/NEWS:13249 +msgid ":issue:`45449`: Add note about :pep:`585` in :mod:`collections.abc`." +msgstr "" + +#: build/NEWS:13251 +msgid "" +":issue:`45516`: Add protocol description to the :class:`importlib.abc." +"Traversable` documentation." +msgstr "" + +#: build/NEWS:13254 +msgid "" +":issue:`20692`: Add Programming FAQ entry explaining that int literal " +"attribute access requires either a space after or parentheses around the " +"literal." +msgstr "" + +#: build/NEWS:13260 +msgid "" +":issue:`45678`: Add tests for scenarios in which :class:`functools." +"singledispatchmethod` is stacked on top of a method that has already been " +"wrapped by two other decorators. Patch by Alex Waygood." +msgstr "" + +#: build/NEWS:13264 +msgid ":issue:`45578`: Add tests for :func:`dis.distb`" +msgstr "" + +#: build/NEWS:13266 +msgid "" +":issue:`45678`: Add tests to ensure that ``functools.singledispatchmethod`` " +"correctly wraps the attributes of the target function." +msgstr "" + +#: build/NEWS:13269 +msgid "" +":issue:`45668`: PGO tests now pass when Python is built without test " +"extension modules." +msgstr "" + +#: build/NEWS:13272 +msgid "" +":issue:`45577`: Add subtests for all ``pickle`` protocols in " +"``test_zoneinfo``." +msgstr "" + +#: build/NEWS:13274 +msgid "" +":issue:`45566`: Fix ``test_frozen_pickle`` in ``test_dataclasses`` to check " +"all ``pickle`` versions." +msgstr "" + +#: build/NEWS:13277 +msgid "" +":issue:`43592`: :mod:`test.libregrtest` now raises the soft resource limit " +"for the maximum number of file descriptors when the default is too low for " +"our test suite as was often the case on macOS." +msgstr "" + +#: build/NEWS:13281 +msgid "" +":issue:`39679`: Add more test cases for ``@functools.singledispatchmethod`` " +"when combined with ``@classmethod`` or ``@staticmethod``." +msgstr "" + +#: build/NEWS:13284 +msgid "" +":issue:`45410`: When libregrtest spawns a worker process, stderr is now " +"written into stdout to keep messages order. Use a single pipe for stdout and " +"stderr, rather than two pipes. Previously, messages were out of order which " +"made analysis of buildbot logs harder Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:13289 +msgid "" +":issue:`45402`: Fix test_tools.test_sundry() when Python is built out of " +"tree: fix how the freeze_modules.py tool locates the _freeze_module program. " +"Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:13293 +msgid "" +":issue:`45403`: Fix test_sys.test_stdlib_dir() when Python is built outside " +"the source tree: compare normalized paths. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:13296 +msgid "" +":issue:`45400`: Fix " +"test_name_error_suggestions_do_not_trigger_for_too_many_locals() of " +"test_exceptions if a directory name contains \"a1\" (like " +"\"Python-3.11.0a1\"): use a stricter regular expression. Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:13302 +msgid "" +":issue:`10572`: Rename :mod:`sqlite3` tests from ``test_sqlite`` to " +"``test_sqlite3``, and relocate them to ``Lib/test/test_sqlite3``. Patch by " +"Erlend E. Aasland." +msgstr "" + +#: build/NEWS:13309 +msgid "" +":issue:`43158`: ``setup.py`` now uses values from configure script to build " +"the ``_uuid`` extension module. Configure now detects util-linux's " +"``libuuid``, too." +msgstr "" + +#: build/NEWS:13313 +msgid "" +":issue:`45666`: Fix warning of ``swprintf`` and ``%s`` usage in ``_testembed." +"c``" +msgstr "" + +#: build/NEWS:13316 +msgid "" +":issue:`45548`: ``Modules/Setup`` and ``Modules/makesetup`` have been " +"improved. The ``Setup`` file now contains working rules for all extensions. " +"Outdated comments have been removed. Rules defined by ``makesetup`` track " +"dependencies correctly." +msgstr "" + +#: build/NEWS:13321 +msgid "" +":issue:`45548`: The :mod:`math` and :mod:`cmath` implementation now require " +"a C99 compatible ``libm`` and no longer ship with workarounds for missing " +"acosh, asinh, atanh, expm1, and log1p functions." +msgstr "" + +#: build/NEWS:13325 +msgid "" +":issue:`45595`: ``setup.py`` and ``makesetup`` now track build dependencies " +"on all Python header files and module specific header files." +msgstr "" + +#: build/NEWS:13328 +msgid "" +":issue:`45571`: ``Modules/Setup`` now use ``PY_CFLAGS_NODIST`` instead of " +"``PY_CFLAGS`` to compile shared modules." +msgstr "" + +#: build/NEWS:13331 +msgid "" +":issue:`45570`: :mod:`pyexpat` and :mod:`!_elementtree` no longer define " +"obsolete macros ``HAVE_EXPAT_CONFIG_H`` and ``USE_PYEXPAT_CAPI``. " +"``XML_POOR_ENTROPY`` is now defined in ``expat_config.h``." +msgstr "" + +#: build/NEWS:13335 +msgid "" +":issue:`43974`: ``setup.py`` no longer defines ``Py_BUILD_CORE_MODULE``. " +"Instead every module, that uses the internal API, defines the macro." +msgstr "" + +#: build/NEWS:13338 +msgid ":issue:`45548`: Fill in missing entries in Modules/Setup." +msgstr "" + +#: build/NEWS:13340 +msgid "" +":issue:`45532`: Update :data:`sys.version` to use ``main`` as fallback " +"information. Patch by Jeong YunWon." +msgstr "" + +#: build/NEWS:13343 +msgid "" +":issue:`45536`: The ``configure`` script now checks whether OpenSSL headers " +"and libraries provide required APIs. Most common APIs are verified. The " +"check detects outdated or missing OpenSSL. Failures do not stop configure." +msgstr "" + +#: build/NEWS:13347 +msgid "" +":issue:`45221`: Fixed regression in handling of ``LDFLAGS`` and ``CPPFLAGS`` " +"options where :meth:`argparse.parse_known_args` could interpret an option as " +"one of the built-in command line argument, for example ``-h`` for help." +msgstr "" + +#: build/NEWS:13351 +msgid "" +":issue:`45440`: Building Python now requires a C99 ``<math.h>`` header file " +"providing the following functions: ``copysign()``, ``hypot()``, " +"``isfinite()``, ``isinf()``, ``isnan()``, ``round()``. Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:13356 +msgid "" +":issue:`45405`: Prevent ``internal configure error`` when running " +"``configure`` with recent versions of non-Apple clang. Patch by David " +"Bohman." +msgstr "" + +#: build/NEWS:13359 +msgid ":issue:`45433`: Avoid linking libpython with libcrypt." +msgstr "" + +#: build/NEWS:13364 +msgid "" +":issue:`43652`: Update Tcl/Tk to 8.6.11, actually this time. The previous " +"update incorrectly included 8.6.10." +msgstr "" + +#: build/NEWS:13367 +msgid "" +":issue:`45337`: venv now warns when the created environment may need to be " +"accessed at a different path, due to redirections, links or junctions. It " +"also now correctly installs or upgrades components when the alternate path " +"is required." +msgstr "" + +#: build/NEWS:13372 +msgid "" +":issue:`43851`: Build SQLite ``SQLITE_OMIT_AUTOINIT`` on Windows. Patch by " +"Erlend E. Aasland." +msgstr "" + +#: build/NEWS:13378 +msgid "" +":issue:`44828`: Avoid tkinter file dialog failure on macOS 12 Monterey when " +"using the Tk 8.6.11 provided by python.org macOS installers. Patch by Marc " +"Culler of the Tk project." +msgstr "" + +#: build/NEWS:13385 +msgid "" +":issue:`45495`: Add context keywords 'case' and 'match' to completions list." +msgstr "" + +#: build/NEWS:13390 +msgid "" +":issue:`29103`: :c:func:`PyType_FromSpec* <PyType_FromModuleAndSpec>` now " +"copies the class name from the spec to a buffer owned by the class, so the " +"original can be safely deallocated. Patch by Petr Viktorin." +msgstr "" + +#: build/NEWS:13394 +msgid "" +":issue:`45522`: The internal freelists for frame, float, list, dict, async " +"generators, and context objects can now be disabled." +msgstr "" + +#: build/NEWS:13397 +msgid "" +":issue:`35134`: Exclude :c:func:`PyWeakref_GET_OBJECT` from the limited C " +"API. It never worked since the :c:type:`!PyWeakReference` structure is " +"opaque in the limited C API." +msgstr "" + +#: build/NEWS:13401 +msgid "" +":issue:`35081`: Move the ``interpreteridobject.h`` header file from " +"``Include/`` to ``Include/internal/``. It only provides private functions. " +"Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:13405 +msgid "" +":issue:`35134`: The non-limited API files ``cellobject.h``, ``classobject." +"h``, ``context.h``, ``funcobject.h``, ``genobject.h`` and ``longintrepr.h`` " +"have been moved to the ``Include/cpython`` directory. Moreover, the ``eval." +"h`` header file was removed. These files must not be included directly, as " +"they are already included in ``Python.h``: :ref:`Include Files <api-" +"includes>`. If they have been included directly, consider including ``Python." +"h`` instead. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:13413 +msgid "" +":issue:`45474`: The following items are no longer available when " +"``Py_LIMITED_API`` is defined:" +msgstr "" + +#: build/NEWS:13416 +msgid ":c:func:`PyMarshal_WriteLongToFile`" +msgstr "" + +#: build/NEWS:13417 +msgid ":c:func:`PyMarshal_WriteObjectToFile`" +msgstr "" + +#: build/NEWS:13418 +msgid ":c:func:`PyMarshal_ReadObjectFromString`" +msgstr "" + +#: build/NEWS:13419 +msgid ":c:func:`PyMarshal_WriteObjectToString`" +msgstr "" + +#: build/NEWS:13420 +msgid "the ``Py_MARSHAL_VERSION`` macro" +msgstr "" + +#: build/NEWS:13422 +msgid "These are not part of the :ref:`limited API <limited-api-list>`." +msgstr "" + +#: build/NEWS:13426 +msgid "" +":issue:`45434`: Remove the ``pystrhex.h`` header file. It only contains " +"private functions. C extensions should only include the main ``<Python.h>`` " +"header file. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:13430 +msgid "" +":issue:`45440`: Remove the ``Py_FORCE_DOUBLE()`` macro. It was used by the " +"``Py_IS_INFINITY()`` macro. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:13433 +msgid "" +":issue:`45434`: ``<Python.h>`` no longer includes the header files ``<stdlib." +"h>``, ``<stdio.h>``, ``<errno.h>`` and ``<string.h>`` when the " +"``Py_LIMITED_API`` macro is set to ``0x030b0000`` (Python 3.11) or higher. C " +"extensions should explicitly include the header files after ``#include " +"<Python.h>``. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:13439 +msgid "" +":issue:`41123`: Remove ``Py_UNICODE_COPY()`` and ``Py_UNICODE_FILL()`` " +"macros, deprecated since Python 3.3. Use ``PyUnicode_CopyCharacters()`` or " +"``memcpy()`` (``wchar_t*`` string), and ``PyUnicode_Fill()`` functions " +"instead. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:13444 +msgid "" +":issue:`45412`: Remove the following math macros using the ``errno`` " +"variable:" +msgstr "" + +#: build/NEWS:13446 +msgid "``Py_ADJUST_ERANGE1()``" +msgstr "" + +#: build/NEWS:13447 +msgid "``Py_ADJUST_ERANGE2()``" +msgstr "" + +#: build/NEWS:13448 +msgid "``Py_OVERFLOWED()``" +msgstr "" + +#: build/NEWS:13449 +msgid "``Py_SET_ERANGE_IF_OVERFLOW()``" +msgstr "" + +#: build/NEWS:13450 +msgid "``Py_SET_ERRNO_ON_MATH_ERROR()``" +msgstr "" + +#: build/NEWS:13454 +msgid "" +":issue:`45395`: Custom frozen modules (the array set to " +"``PyImport_FrozenModules``) are now treated as additions, rather than " +"replacing all the default frozen modules. Frozen stdlib modules can still be " +"disabled by setting the \"code\" field of the custom array entry to NULL." +msgstr "" + +#: build/NEWS:13459 +msgid "" +":issue:`43760`: Add new :c:func:`PyThreadState_EnterTracing`, and :c:func:" +"`PyThreadState_LeaveTracing` functions to the limited C API to suspend and " +"resume tracing and profiling. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:13463 +msgid "" +":issue:`44220`: :c:var:`PyStructSequence_UnnamedField` is added to the " +"Stable ABI." +msgstr "" + +#: build/NEWS:13468 +msgid "Python 3.11.0 alpha 1" +msgstr "" + +#: build/NEWS:13470 +msgid "*Release date: 2021-10-05*" +msgstr "" + +#: build/NEWS:13475 +msgid "" +":issue:`42278`: Replaced usage of :func:`tempfile.mktemp` with :class:" +"`~tempfile.TemporaryDirectory` to avoid a potential race condition." +msgstr "" + +#: build/NEWS:13478 +msgid "" +":issue:`44600`: Fix incorrect line numbers while tracing some failed " +"patterns in :ref:`match <match>` statements. Patch by Charles Burkland." +msgstr "" + +#: build/NEWS:13481 +msgid "" +":issue:`41180`: Add auditing events to the :mod:`marshal` module, and stop " +"raising ``code.__init__`` events for every unmarshalled code object. " +"Directly instantiated code objects will continue to raise an event, and " +"audit event handlers should inspect or collect the raw marshal data. This " +"reduces a significant performance overhead when loading from ``.pyc`` files." +msgstr "" + +#: build/NEWS:13488 +msgid "" +":issue:`44394`: Update the vendored copy of libexpat to 2.4.1 (from 2.2.8) " +"to get the fix for the :cve:`2013-0340` \"Billion Laughs\" vulnerability. " +"This copy is most used on Windows and macOS." +msgstr "" + +#: build/NEWS:13492 +msgid "" +":issue:`43124`: Made the internal ``putcmd`` function in :mod:`smtplib` " +"sanitize input for presence of ``\\r`` and ``\\n`` characters to avoid " +"(unlikely) command injection." +msgstr "" + +#: build/NEWS:13496 +msgid "" +":issue:`44022`: :mod:`http.client` now avoids infinitely reading potential " +"HTTP headers after a ``100 Continue`` status response from the server." +msgstr "" + +#: build/NEWS:13502 +msgid "" +":issue:`43760`: The number of hardware branches per instruction dispatch is " +"reduced from two to one by adding a special instruction for tracing. Patch " +"by Mark Shannon." +msgstr "" + +#: build/NEWS:13506 +msgid "" +":issue:`45061`: Add a deallocator to the bool type to detect refcount bugs " +"in C extensions which call Py_DECREF(Py_True) or Py_DECREF(Py_False) by " +"mistake. Detect also refcount bugs when the empty tuple singleton or the " +"Unicode empty string singleton is destroyed by mistake. Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:13512 +msgid "" +":issue:`24076`: sum() was further optimised for summing up single digit " +"integers." +msgstr "" + +#: build/NEWS:13515 +msgid ":issue:`45190`: Update Unicode databases to Unicode 14.0.0." +msgstr "" + +#: build/NEWS:13517 +msgid ":issue:`45167`: Fix deepcopying of :class:`types.GenericAlias` objects." +msgstr "" + +#: build/NEWS:13519 +msgid "" +":issue:`45155`: :meth:`int.to_bytes` and :meth:`int.from_bytes` now take a " +"default value of ``\"big\"`` for the ``byteorder`` argument. :meth:`int." +"to_bytes` also takes a default value of ``1`` for the ``length`` argument." +msgstr "" + +#: build/NEWS:13524 +msgid "" +":issue:`44219`: Release the GIL while performing ``isatty`` system calls on " +"arbitrary file descriptors. In particular, this affects :func:`os.isatty`, :" +"func:`os.device_encoding` and :class:`io.TextIOWrapper`. By extension, :func:" +"`io.open` in text mode is also affected. This change solves a deadlock in :" +"func:`os.isatty`. Patch by Vincent Michel in :issue:`44219`." +msgstr "" + +#: build/NEWS:13530 +msgid "" +":issue:`44959`: Added fallback to extension modules with '.sl' suffix on HP-" +"UX" +msgstr "" + +#: build/NEWS:13532 +msgid "" +":issue:`45121`: Fix issue where ``Protocol.__init__`` raises " +"``RecursionError`` when it's called directly or via ``super()``. Patch " +"provided by Yurii Karabas." +msgstr "" + +#: build/NEWS:13536 +msgid "" +":issue:`44348`: The deallocator function of the :exc:`BaseException` type " +"now uses the trashcan mechanism to prevent stack overflow. For example, when " +"a :exc:`RecursionError` instance is raised, it can be linked to another " +"RecursionError through the ``__context__`` attribute or the " +"``__traceback__`` attribute, and then a chain of exceptions is created. When " +"the chain is destroyed, nested deallocator function calls can crash with a " +"stack overflow if the chain is too long compared to the available stack " +"memory. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:13545 +msgid "" +":issue:`45123`: Fix PyAiter_Check to only check for the __anext__ presence " +"(not for __aiter__). Rename PyAiter_Check to PyAIter_Check, " +"PyObject_GetAiter -> PyObject_GetAIter." +msgstr "" + +#: build/NEWS:13549 +msgid "" +":issue:`1514420`: Interpreter no longer attempts to open files with names in " +"angle brackets (like \"<string>\" or \"<stdin>\") when formatting an " +"exception." +msgstr "" + +#: build/NEWS:13553 +msgid "" +":issue:`41031`: Match C and Python code formatting of unprintable exceptions " +"and exceptions in the :mod:`__main__` module." +msgstr "" + +#: build/NEWS:13556 +msgid "" +":issue:`37330`: :func:`open`, :func:`io.open`, :func:`codecs.open` and :" +"class:`fileinput.FileInput` no longer accept ``'U'`` (\"universal newline\") " +"in the file mode. This flag was deprecated since Python 3.3. Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:13561 +msgid "" +":issue:`45083`: When the interpreter renders an exception, its name now has " +"a complete qualname. Previously only the class name was concatenated to the " +"module name, which sometimes resulted in an incorrect full name being " +"displayed." +msgstr "" + +#: build/NEWS:13566 +msgid "" +"(This issue impacted only the C code exception rendering, the :mod:" +"`traceback` module was using qualname already)." +msgstr "" + +#: build/NEWS:13569 +msgid "" +":issue:`34561`: List sorting now uses the merge-ordering strategy from Munro " +"and Wild's ``powersort()``. Unlike the former strategy, this is provably " +"near-optimal in the entropy of the distribution of run lengths. Most uses of " +"``list.sort()`` probably won't see a significant time difference, but may " +"see significant improvements in cases where the former strategy was " +"exceptionally poor. However, as these are all fast linear-time " +"approximations to a problem that's inherently at best quadratic-time to " +"solve truly optimally, it's also possible to contrive cases where the former " +"strategy did better." +msgstr "" + +#: build/NEWS:13579 +msgid "" +":issue:`45056`: Compiler now removes trailing unused constants from " +"co_consts." +msgstr "" + +#: build/NEWS:13581 +msgid "" +":issue:`45020`: Add a new command line option, \"-X frozen_modules=[on|" +"off]\" to opt out of (or into) using optional frozen modules. This defaults " +"to \"on\" (or \"off\" if it's running out of the source tree)." +msgstr "" + +#: build/NEWS:13585 +msgid "" +":issue:`45012`: In :mod:`posix`, release GIL during ``stat()``, ``lstat()``, " +"and ``fstatat()`` syscalls made by :func:`os.DirEntry.stat`. Patch by " +"Stanisław Skonieczny." +msgstr "" + +#: build/NEWS:13589 +msgid "" +":issue:`45018`: Fixed pickling of range iterators that iterated for over " +"``2**32`` times." +msgstr "" + +#: build/NEWS:13592 +msgid "" +":issue:`45000`: A :exc:`SyntaxError` is now raised when trying to delete :" +"const:`__debug__`. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:13595 +msgid "" +":issue:`44963`: Implement ``send()`` and ``throw()`` methods for " +"``anext_awaitable`` objects. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:13598 +msgid "" +":issue:`44962`: Fix a race in WeakKeyDictionary, WeakValueDictionary and " +"WeakSet when two threads attempt to commit the last pending removal. This " +"fixes asyncio.create_task and fixes a data loss in asyncio.run where " +"shutdown_asyncgens is not run" +msgstr "" + +#: build/NEWS:13603 +msgid "" +":issue:`24234`: Implement the :meth:`__bytes__` special method on the :class:" +"`bytes` type, so a bytes object ``b`` passes an ``isinstance(b, typing." +"SupportsBytes)`` check." +msgstr "" + +#: build/NEWS:13607 +msgid "" +":issue:`24234`: Implement the :meth:`__complex__` special method on the :" +"class:`complex` type, so a complex number ``z`` passes an ``isinstance(z, " +"typing.SupportsComplex)`` check." +msgstr "" + +#: build/NEWS:13611 +msgid "" +":issue:`44954`: Fixed a corner case bug where the result of ``float." +"fromhex('0x.8p-1074')`` was rounded the wrong way." +msgstr "" + +#: build/NEWS:13614 +msgid "" +":issue:`44947`: Refine the syntax error for trailing commas in import " +"statements. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:13617 +msgid "" +":issue:`44945`: Specialize the BINARY_ADD instruction using the PEP 659 " +"machinery. Adds five new instructions:" +msgstr "" + +#: build/NEWS:13620 +msgid "BINARY_ADD_ADAPTIVE" +msgstr "" + +#: build/NEWS:13621 +msgid "BINARY_ADD_FLOAT" +msgstr "" + +#: build/NEWS:13622 +msgid "BINARY_ADD_INT" +msgstr "" + +#: build/NEWS:13623 +msgid "BINARY_ADD_UNICODE" +msgstr "" + +#: build/NEWS:13624 +msgid "BINARY_ADD_UNICODE_INPLACE_FAST" +msgstr "" + +#: build/NEWS:13626 +msgid "" +":issue:`44929`: Fix some edge cases of ``enum.Flag`` string representation " +"in the REPL. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:13629 +msgid ":issue:`44914`: Class version tags are no longer recycled." +msgstr "" + +#: build/NEWS:13631 +msgid "" +"This means that a version tag serves as a unique identifier for the state of " +"a class. We rely on this for effective specialization of the LOAD_ATTR and " +"other instructions." +msgstr "" + +#: build/NEWS:13635 +msgid "" +":issue:`44698`: Restore behaviour of complex exponentiation with integer-" +"valued exponent of type :class:`float` or :class:`complex`." +msgstr "" + +#: build/NEWS:13638 +msgid "" +":issue:`44895`: A debug variable :envvar:`PYTHONDUMPREFSFILE` is added for " +"creating a dump file which is generated by :option:`--with-trace-refs`. " +"Patch by Donghee Na." +msgstr "" + +#: build/NEWS:13642 +msgid ":issue:`44900`: Add five superinstructions for PEP 659 quickening:" +msgstr "" + +#: build/NEWS:13644 +msgid "LOAD_FAST LOAD_FAST" +msgstr "" + +#: build/NEWS:13645 +msgid "STORE_FAST LOAD_FAST" +msgstr "" + +#: build/NEWS:13646 +msgid "LOAD_FAST LOAD_CONST" +msgstr "" + +#: build/NEWS:13647 +msgid "LOAD_CONST LOAD_FAST" +msgstr "" + +#: build/NEWS:13648 +msgid "STORE_FAST STORE_FAST" +msgstr "" + +#: build/NEWS:13650 +msgid "" +":issue:`44889`: Initial implementation of adaptive specialization of " +"``LOAD_METHOD``. The following specialized forms were added:" +msgstr "" + +#: build/NEWS:13653 +msgid "``LOAD_METHOD_CACHED``" +msgstr "" + +#: build/NEWS:13655 +msgid "``LOAD_METHOD_MODULE``" +msgstr "" + +#: build/NEWS:13657 +msgid "``LOAD_METHOD_CLASS``" +msgstr "" + +#: build/NEWS:13659 +msgid "" +":issue:`44890`: Specialization stats are always collected in debug builds." +msgstr "" + +#: build/NEWS:13661 +msgid "" +":issue:`44885`: Correct the ast locations of f-strings with format specs and " +"repeated expressions. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:13664 +msgid "" +":issue:`44878`: Remove the loop from the bytecode interpreter. All " +"instructions end with a DISPATCH macro, so the loop is now redundant." +msgstr "" + +#: build/NEWS:13667 +msgid "" +":issue:`44878`: Remove switch statement for interpreter loop when using " +"computed gotos. This makes sure that we only have one dispatch table in the " +"interpreter." +msgstr "" + +#: build/NEWS:13671 +msgid "" +":issue:`44874`: Deprecate the old trashcan macros " +"(``Py_TRASHCAN_SAFE_BEGIN``/``Py_TRASHCAN_SAFE_END``). They should be " +"replaced by the new macros ``Py_TRASHCAN_BEGIN`` and ``Py_TRASHCAN_END``." +msgstr "" + +#: build/NEWS:13675 +msgid "" +":issue:`44872`: Use new trashcan macros (Py_TRASHCAN_BEGIN/END) in " +"frameobject.c instead of the old ones (Py_TRASHCAN_SAFE_BEGIN/END)." +msgstr "" + +#: build/NEWS:13678 +msgid "" +":issue:`33930`: Fix segmentation fault with deep recursion when cleaning " +"method objects. Patch by Augusto Goulart and Pablo Galindo." +msgstr "" + +#: build/NEWS:13681 +msgid "" +":issue:`25782`: Fix bug where ``PyErr_SetObject`` hangs when the current " +"exception has a cycle in its context chain." +msgstr "" + +#: build/NEWS:13684 +msgid "" +":issue:`44856`: Fix reference leaks in the error paths of ``update_bases()`` " +"and ``__build_class__``. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:13687 +msgid "" +":issue:`44826`: Initial implementation of adaptive specialization of " +"STORE_ATTR" +msgstr "" + +#: build/NEWS:13689 +msgid "Three specialized forms of STORE_ATTR are added:" +msgstr "" + +#: build/NEWS:13691 +msgid "STORE_ATTR_SLOT" +msgstr "" + +#: build/NEWS:13693 +msgid "STORE_ATTR_SPLIT_KEYS" +msgstr "" + +#: build/NEWS:13695 +msgid "STORE_ATTR_WITH_HINT" +msgstr "" + +#: build/NEWS:13697 +msgid "" +":issue:`44838`: Fixed a bug that was causing the parser to raise an " +"incorrect custom :exc:`SyntaxError` for invalid 'if' expressions. Patch by " +"Pablo Galindo." +msgstr "" + +#: build/NEWS:13701 +msgid "" +":issue:`44821`: Create instance dictionaries (__dict__) eagerly, to improve " +"regularity of object layout and assist specialization." +msgstr "" + +#: build/NEWS:13704 +msgid "" +":issue:`44792`: Improve syntax errors for if expressions. Patch by Miguel " +"Brito" +msgstr "" + +#: build/NEWS:13706 +msgid "" +":issue:`34013`: Generalize the invalid legacy statement custom error message " +"(like the one generated when \"print\" is called without parentheses) to " +"include more generic expressions. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:13710 +msgid ":issue:`44732`: Rename ``types.Union`` to ``types.UnionType``." +msgstr "" + +#: build/NEWS:13712 +msgid "" +":issue:`44725`: Expose specialization stats in python via :func:`!_opcode." +"get_specialization_stats`." +msgstr "" + +#: build/NEWS:13715 +msgid "" +":issue:`44717`: Improve AttributeError on circular imports of submodules." +msgstr "" + +#: build/NEWS:13717 +msgid "" +":issue:`44698`: Fix undefined behaviour in complex object exponentiation." +msgstr "" + +#: build/NEWS:13719 +msgid "" +":issue:`44653`: Support :mod:`typing` types in parameter substitution in the " +"union type." +msgstr "" + +#: build/NEWS:13722 +msgid "" +":issue:`44676`: Add ability to serialise ``types.Union`` objects. Patch " +"provided by Yurii Karabas." +msgstr "" + +#: build/NEWS:13725 +msgid "" +":issue:`44633`: Parameter substitution of the union type with wrong types " +"now raises ``TypeError`` instead of returning :data:`NotImplemented`." +msgstr "" + +#: build/NEWS:13728 +msgid "" +":issue:`44661`: Update ``property_descr_set`` to use vectorcall if possible. " +"Patch by Donghee Na." +msgstr "" + +#: build/NEWS:13731 +msgid "" +":issue:`44662`: Add ``__module__`` to ``types.Union``. This also fixes " +"``types.Union`` issues with ``typing.Annotated``. Patch provided by Yurii " +"Karabas." +msgstr "" + +#: build/NEWS:13735 +msgid "" +":issue:`44655`: Include the name of the type in unset __slots__ attribute " +"errors. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:13738 +msgid "" +":issue:`44655`: Don't include a missing attribute with the same name as the " +"failing one when offering suggestions for missing attributes. Patch by Pablo " +"Galindo" +msgstr "" + +#: build/NEWS:13742 +msgid "" +":issue:`44646`: Fix the hash of the union type: it no longer depends on the " +"order of arguments." +msgstr "" + +#: build/NEWS:13745 +msgid "" +":issue:`44636`: Collapse union of equal types. E.g. the result of ``int | " +"int`` is now ``int``. Fix comparison of the union type with non-hashable " +"objects. E.g. ``int | str == {}`` no longer raises a TypeError." +msgstr "" + +#: build/NEWS:13749 +msgid "" +":issue:`44611`: On Windows, :func:`os.urandom`: uses BCryptGenRandom API " +"instead of CryptGenRandom API which is deprecated from Microsoft Windows " +"API. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:13753 +msgid "" +":issue:`44635`: Convert ``None`` to ``type(None)`` in the union type " +"constructor." +msgstr "" + +#: build/NEWS:13756 +msgid ":issue:`26280`: Implement adaptive specialization for BINARY_SUBSCR" +msgstr "" + +#: build/NEWS:13758 +msgid "Three specialized forms of BINARY_SUBSCR are added:" +msgstr "" + +#: build/NEWS:13760 +msgid "BINARY_SUBSCR_LIST_INT" +msgstr "" + +#: build/NEWS:13762 +msgid "BINARY_SUBSCR_TUPLE_INT" +msgstr "" + +#: build/NEWS:13764 +msgid "BINARY_SUBSCR_DICT" +msgstr "" + +#: build/NEWS:13766 +msgid "" +":issue:`44589`: Mapping patterns in ``match`` statements with two or more " +"equal literal keys will now raise a :exc:`SyntaxError` at compile-time." +msgstr "" + +#: build/NEWS:13769 +msgid "" +":issue:`44606`: Fix ``__instancecheck__`` and ``__subclasscheck__`` for the " +"union type." +msgstr "" + +#: build/NEWS:13772 +msgid "" +":issue:`42073`: The ``@classmethod`` decorator can now wrap other " +"classmethod-like descriptors." +msgstr "" + +#: build/NEWS:13775 +msgid "" +":issue:`41972`: Tuned the string-searching algorithm of fastsearch.h to have " +"a shorter inner loop for most cases." +msgstr "" + +#: build/NEWS:13778 +msgid "" +":issue:`44590`: All necessary data for executing a Python function (local " +"variables, stack, etc) is now kept in a per-thread stack. Frame objects are " +"lazily allocated on demand. This increases performance by about 7% on the " +"standard benchmark suite. Introspection and debugging are unaffected as " +"frame objects are always available when needed. Patch by Mark Shannon." +msgstr "" + +#: build/NEWS:13784 +msgid "" +":issue:`44584`: The threading debug (:envvar:`!PYTHONTHREADDEBUG` " +"environment variable) is deprecated in Python 3.10 and will be removed in " +"Python 3.12. This feature requires a debug build of Python. Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:13788 +msgid "" +":issue:`43895`: An obsolete internal cache of shared object file handles " +"added in 1995 that attempted, but did not guarantee, that a .so would not be " +"dlopen'ed twice to work around flaws in mid-1990s posix-ish operating " +"systems has been removed from dynload_shlib.c." +msgstr "" + +#: build/NEWS:13793 +msgid "" +":issue:`44490`: :mod:`typing` now searches for type parameters in ``types." +"Union`` objects. ``get_type_hints`` will also properly resolve annotations " +"with nested ``types.Union`` objects. Patch provided by Yurii Karabas." +msgstr "" + +#: build/NEWS:13798 +msgid "" +":issue:`43950`: Code objects can now provide the column information for " +"instructions when available. This is levaraged during traceback printing to " +"show the expressions responsible for errors." +msgstr "" + +#: build/NEWS:13802 +msgid "" +"Contributed by Pablo Galindo, Batuhan Taskaya and Ammar Askar as part of :" +"pep:`657`." +msgstr "" + +#: build/NEWS:13805 +msgid "" +":issue:`44562`: Remove uses of :c:func:`PyObject_GC_Del` in error path when " +"initializing :class:`types.GenericAlias`." +msgstr "" + +#: build/NEWS:13808 +msgid "" +":issue:`41486`: Fix a memory consumption and copying performance regression " +"in earlier 3.10 beta releases if someone used an output buffer larger than " +"4GiB with zlib.decompress on input data that expands that large." +msgstr "" + +#: build/NEWS:13812 +msgid "" +":issue:`43908`: Heap types with the :c:macro:`Py_TPFLAGS_IMMUTABLETYPE` flag " +"can now inherit the :pep:`590` vectorcall protocol. Previously, this was " +"only possible for :ref:`static types <static-types>`. Patch by Erlend E. " +"Aasland." +msgstr "" + +#: build/NEWS:13817 +msgid "" +":issue:`44553`: Implement GC methods for ``types.Union`` to break reference " +"cycles and prevent memory leaks." +msgstr "" + +#: build/NEWS:13820 +msgid "" +":issue:`44490`: Add ``__parameters__`` attribute and ``__getitem__`` " +"operator to ``types.Union``. Patch provided by Yurii Karabas." +msgstr "" + +#: build/NEWS:13823 +msgid "" +":issue:`44523`: Remove the pass-through for :func:`hash` of :class:`weakref." +"proxy` objects to prevent unintended consequences when the original referred " +"object dies while the proxy is part of a hashable object. Patch by Pablo " +"Galindo." +msgstr "" + +#: build/NEWS:13828 +msgid "" +":issue:`44483`: Fix a crash in ``types.Union`` objects when creating a union " +"of an object with bad ``__module__`` field." +msgstr "" + +#: build/NEWS:13831 +msgid "" +":issue:`44486`: Modules will always have a dictionary, even when created by " +"``types.ModuleType.__new__()``" +msgstr "" + +#: build/NEWS:13834 +msgid "" +":issue:`44472`: Fix ltrace functionality when exceptions are raised. Patch " +"by Pablo Galindo" +msgstr "" + +#: build/NEWS:13837 +msgid "" +":issue:`12022`: A :exc:`TypeError` is now raised instead of an :exc:" +"`AttributeError` in :keyword:`with` and :keyword:`async with` statements for " +"objects which do not support the :term:`context manager` or :term:" +"`asynchronous context manager` protocols correspondingly." +msgstr "" + +#: build/NEWS:13842 +msgid "" +":issue:`44297`: Make sure that the line number is set when entering a " +"comprehension scope. This ensures that backtraces including generator " +"expressions show the correct line number." +msgstr "" + +#: build/NEWS:13846 +msgid "" +":issue:`44456`: Improve the syntax error when mixing positional and keyword " +"patterns. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:13849 +msgid "" +":issue:`44409`: Fix error location information for tokenizer errors raised " +"on initialization of the tokenizer. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:13852 +msgid "" +":issue:`44396`: Fix a possible crash in the tokenizer when raising syntax " +"errors for unclosed strings. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:13855 +msgid "" +":issue:`44376`: Exact integer exponentiation (like ``i**2`` or ``pow(i, " +"2)``) with a small exponent is much faster, due to reducing overhead in such " +"cases." +msgstr "" + +#: build/NEWS:13859 +msgid "" +":issue:`44313`: Directly imported objects and modules (through import and " +"from import statements) don't generate ``LOAD_METHOD``/``CALL_METHOD`` for " +"directly accessed objects on their namespace. They now use the regular " +"``LOAD_ATTR``/``CALL_FUNCTION``." +msgstr "" + +#: build/NEWS:13864 +msgid ":issue:`44338`: Implement adaptive specialization for LOAD_GLOBAL" +msgstr "" + +#: build/NEWS:13866 +msgid "Two specialized forms of LOAD_GLOBAL are added:" +msgstr "" + +#: build/NEWS:13868 +msgid "LOAD_GLOBAL_MODULE" +msgstr "" + +#: build/NEWS:13870 +msgid "LOAD_GLOBAL_BUILTIN" +msgstr "" + +#: build/NEWS:13872 +msgid "" +":issue:`44368`: Improve syntax errors for invalid \"as\" targets. Patch by " +"Pablo Galindo" +msgstr "" + +#: build/NEWS:13875 +msgid "" +":issue:`44349`: Fix an edge case when displaying text from files with " +"encoding in syntax errors. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:13878 +msgid "" +":issue:`44337`: Initial implementation of adaptive specialization of " +"LOAD_ATTR" +msgstr "" + +#: build/NEWS:13880 +msgid "Four specialized forms of LOAD_ATTR are added:" +msgstr "" + +#: build/NEWS:13882 +msgid "LOAD_ATTR_SLOT" +msgstr "" + +#: build/NEWS:13884 +msgid "LOAD_ATTR_SPLIT_KEYS" +msgstr "" + +#: build/NEWS:13886 +msgid "LOAD_ATTR_WITH_HINT" +msgstr "" + +#: build/NEWS:13888 +msgid "LOAD_ATTR_MODULE" +msgstr "" + +#: build/NEWS:13890 +msgid "" +":issue:`44335`: Fix a regression when identifying incorrect characters in " +"syntax errors. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:13893 +msgid "" +":issue:`43693`: Computation of the offsets of cell variables is done in the " +"compiler instead of at runtime. This reduces the overhead of handling cell " +"and free variables, especially in the case where a variable is both an " +"argument and cell variable." +msgstr "" + +#: build/NEWS:13898 +msgid "" +":issue:`44317`: Improve tokenizer error with improved locations. Patch by " +"Pablo Galindo." +msgstr "" + +#: build/NEWS:13901 +msgid "" +":issue:`44304`: Fix a crash in the :mod:`sqlite3` module that happened when " +"the garbage collector clears :class:`sqlite.Statement` objects. Patch by " +"Pablo Galindo" +msgstr "" + +#: build/NEWS:13905 +msgid "" +":issue:`44305`: Improve error message for ``try`` blocks without ``except`` " +"or ``finally`` blocks. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:13908 +msgid "" +":issue:`43413`: Constructors of subclasses of some builtin classes (e.g. :" +"class:`tuple`, :class:`list`, :class:`frozenset`) no longer accept arbitrary " +"keyword arguments. [reverted in 3.11a4] Subclass of :class:`set` can now " +"define a ``__new__()`` method with additional keyword parameters without " +"overriding also ``__init__()``." +msgstr "" + +#: build/NEWS:13914 +msgid "" +":issue:`43667`: Improve Unicode support in non-UTF locales on Oracle " +"Solaris. This issue does not affect other Solaris systems." +msgstr "" + +#: build/NEWS:13917 +msgid "" +":issue:`43693`: A new opcode MAKE_CELL has been added that effectively moves " +"some of the work done on function entry into the compiler and into the eval " +"loop. In addition to creating the required cell objects, the new opcode " +"converts relevant arguments (and other locals) to cell variables on function " +"entry." +msgstr "" + +#: build/NEWS:13923 +msgid "" +":issue:`44232`: Fix a regression in :func:`type` when a metaclass raises an " +"exception. The C function :c:func:`type_new` must properly report the " +"exception when a metaclass constructor raises an exception and the winner " +"class is not the metaclass. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:13928 +msgid "" +":issue:`44201`: Avoid side effects of checking for specialized syntax errors " +"in the REPL that was causing it to ask for extra tokens after a syntax error " +"had been detected. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:13932 +msgid "" +":issue:`43693`: ``PyCodeObject`` gained ``co_fastlocalnames`` and " +"``co_fastlocalkinds`` as the authoritative source of fast locals info. " +"Marshaled code objects have changed accordingly." +msgstr "" + +#: build/NEWS:13936 +msgid "" +":issue:`44184`: Fix a crash at Python exit when a deallocator function " +"removes the last strong reference to a heap type. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:13939 +msgid "" +":issue:`44187`: Implement quickening in the interpreter. This offers no " +"advantages as yet, but is an enabler of future optimizations. See PEP 659 " +"for full explanation." +msgstr "" + +#: build/NEWS:13943 +msgid "" +":issue:`44180`: The parser doesn't report generic syntax errors that happen " +"in a position further away that the one it reached in the first pass. Patch " +"by Pablo Galindo" +msgstr "" + +#: build/NEWS:13947 +msgid "" +":issue:`44168`: Fix error message in the parser involving keyword arguments " +"with invalid expressions. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:13950 +msgid "" +":issue:`44156`: String caches in ``compile.c`` are now subinterpreter " +"compatible." +msgstr "" + +#: build/NEWS:13953 +msgid "" +":issue:`44143`: Fixed a crash in the parser that manifest when raising " +"tokenizer errors when an existing exception was present. Patch by Pablo " +"Galindo." +msgstr "" + +#: build/NEWS:13957 +msgid "" +":issue:`44032`: Move 'fast' locals and other variables from the frame object " +"to a per-thread datastack." +msgstr "" + +#: build/NEWS:13960 +msgid "" +":issue:`44114`: Fix incorrect dictkeys_reversed and dictitems_reversed " +"function signatures in C code, which broke webassembly builds." +msgstr "" + +#: build/NEWS:13963 +msgid ":issue:`44110`: Improve :func:`str.__getitem__` error message" +msgstr "" + +#: build/NEWS:13965 +msgid "" +":issue:`26110`: Add ``CALL_METHOD_KW`` opcode to speed up method calls with " +"keyword arguments. Idea originated from PyPy. A side effect is executing " +"``CALL_METHOD`` is now branchless in the evaluation loop." +msgstr "" + +#: build/NEWS:13969 +msgid "" +":issue:`28307`: Compiler now optimizes simple C-style formatting with " +"literal format containing only format codes %s, %r and %a by converting them " +"to f-string expressions." +msgstr "" + +#: build/NEWS:13973 +msgid "" +":issue:`43149`: Correct the syntax error message regarding multiple " +"exception types to not refer to \"exception groups\". Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:13976 +msgid "" +":issue:`43822`: The parser will prioritize tokenizer errors over custom " +"syntax errors when raising exceptions. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:13979 +msgid ":issue:`40222`: \"Zero cost\" exception handling." +msgstr "" + +#: build/NEWS:13981 +msgid "Uses a lookup table to determine how to handle exceptions." +msgstr "" + +#: build/NEWS:13982 +msgid "" +"Removes SETUP_FINALLY and POP_TOP block instructions, eliminating the " +"runtime overhead of try statements." +msgstr "" + +#: build/NEWS:13983 +msgid "Reduces the size of the frame object by about 60%." +msgstr "" + +#: build/NEWS:13985 +msgid "Patch by Mark Shannon" +msgstr "" + +#: build/NEWS:13987 +msgid "" +":issue:`43918`: Document the signature and ``default`` argument in the " +"docstring of the new ``anext`` builtin." +msgstr "" + +#: build/NEWS:13990 +msgid "" +":issue:`43833`: Emit a deprecation warning if the numeric literal is " +"immediately followed by one of keywords: and, else, for, if, in, is, or. " +"Raise a syntax error with more informative message if it is immediately " +"followed by other keyword or identifier." +msgstr "" + +#: build/NEWS:13995 +msgid "" +":issue:`43879`: Add native_thread_id to PyThreadState. Patch by Gabriele N. " +"Tornetta." +msgstr "" + +#: build/NEWS:13998 +msgid "" +":issue:`43693`: Compute cell offsets relative to locals in compiler. Allows " +"the interpreter to treats locals and cells a single array, which is slightly " +"more efficient. Also make the LOAD_CLOSURE opcode an alias for LOAD_FAST. " +"Preserving LOAD_CLOSURE helps keep bytecode a bit more readable." +msgstr "" + +#: build/NEWS:14003 +msgid "" +":issue:`17792`: More accurate error messages for access of unbound locals or " +"free vars." +msgstr "" + +#: build/NEWS:14006 +msgid ":issue:`28146`: Fix a confusing error message in :func:`str.format`." +msgstr "" + +#: build/NEWS:14008 +msgid "" +":issue:`11105`: When compiling :class:`ast.AST` objects with recursive " +"references through :func:`compile`, the interpreter doesn't crash anymore " +"instead it raises a :exc:`RecursionError`." +msgstr "" + +#: build/NEWS:14012 +msgid "" +":issue:`39091`: Fix crash when using passing a non-exception to a " +"generator's ``throw()`` method. Patch by Noah Oxer" +msgstr "" + +#: build/NEWS:14015 +msgid "" +":issue:`33346`: Asynchronous comprehensions are now allowed inside " +"comprehensions in asynchronous functions. Outer comprehensions implicitly " +"become asynchronous." +msgstr "" + +#: build/NEWS:14022 +msgid "" +":issue:`45371`: Fix clang rpath issue in ``distutils``. The UnixCCompiler " +"now uses correct clang option to add a runtime library directory (rpath) to " +"a shared library." +msgstr "" + +#: build/NEWS:14026 +msgid "" +":issue:`45329`: Fix freed memory access in :class:`pyexpat.xmlparser` when " +"building it with an installed expat library <= 2.2.0." +msgstr "" + +#: build/NEWS:14029 +msgid "" +":issue:`41710`: On Unix, if the ``sem_clockwait()`` function is available in " +"the C library (glibc 2.30 and newer), the :meth:`threading.Lock.acquire` " +"method now uses the monotonic clock (:const:`time.CLOCK_MONOTONIC`) for the " +"timeout, rather than using the system clock (:const:`time.CLOCK_REALTIME`), " +"to not be affected by system clock changes. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:14036 +msgid "" +":issue:`1596321`: Fix the :func:`threading._shutdown` function when the :mod:" +"`threading` module was imported first from a thread different than the main " +"thread: no longer log an error at Python exit." +msgstr "" + +#: build/NEWS:14040 +msgid "" +":issue:`45274`: Fix a race condition in the :meth:`Thread.join() <threading." +"Thread.join>` method of the :mod:`threading` module. If the function is " +"interrupted by a signal and the signal handler raises an exception, make " +"sure that the thread remains in a consistent state to prevent a deadlock. " +"Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:14046 +msgid "" +":issue:`21302`: In Unix operating systems, :func:`time.sleep` now uses the " +"``nanosleep()`` function, if ``clock_nanosleep()`` is not available but " +"``nanosleep()`` is available. ``nanosleep()`` allows to sleep with " +"nanosecond precision." +msgstr "" + +#: build/NEWS:14051 +msgid "" +":issue:`21302`: On Windows, :func:`time.sleep` now uses a waitable timer " +"which has a resolution of 100 nanoseconds (10\\ :sup:`-7` seconds). " +"Previously, it had a resolution of 1 millisecond (10\\ :sup:`-3` seconds). " +"Patch by Benjamin Szőke and Victor Stinner." +msgstr "" + +#: build/NEWS:14056 +msgid "" +":issue:`45238`: Fix :meth:`unittest.IsolatedAsyncioTestCase.debug`: it runs " +"now asynchronous methods and callbacks." +msgstr "" + +#: build/NEWS:14059 +msgid "" +":issue:`36674`: :meth:`unittest.TestCase.debug` raises now a :class:" +"`unittest.SkipTest` if the class or the test method are decorated with the " +"skipping decorator." +msgstr "" + +#: build/NEWS:14063 +msgid "" +":issue:`45235`: Fix an issue where argparse would not preserve values in a " +"provided namespace when using a subparser with defaults." +msgstr "" + +#: build/NEWS:14066 +msgid "" +":issue:`45183`: Have zipimport.zipimporter.find_spec() not raise an " +"exception when the underlying zip file has been deleted and the internal " +"cache has been reset via invalidate_cache()." +msgstr "" + +#: build/NEWS:14070 +msgid "" +":issue:`45234`: Fixed a regression in :func:`~shutil.copyfile`, :func:" +"`~shutil.copy`, :func:`~shutil.copy2` raising :exc:`FileNotFoundError` when " +"source is a directory, which should raise :exc:`IsADirectoryError`" +msgstr "" + +#: build/NEWS:14075 +msgid "" +":issue:`45228`: Fix stack buffer overflow in parsing J1939 network address." +msgstr "" + +#: build/NEWS:14077 +msgid ":issue:`45225`: use map function instead of genexpr in capwords." +msgstr "" + +#: build/NEWS:14079 +msgid "" +":issue:`42135`: Fix typo: ``importlib.find_loader`` is really slated for " +"removal in Python 3.12 not 3.10, like the others in PR 25169." +msgstr "" + +#: build/NEWS:14084 +msgid "" +":issue:`20524`: Improves error messages on ``.format()`` operation for " +"``str``, ``float``, ``int``, and ``complex``. New format now shows the " +"problematic pattern and the object type." +msgstr "" + +#: build/NEWS:14088 +msgid "" +":issue:`45168`: Change :func:`dis.dis` output to omit op arg values that " +"cannot be resolved due to ``co_consts``, ``co_names`` etc not being " +"provided. Previously the oparg itself was repeated in the value field, which " +"is not useful and can be confusing." +msgstr "" + +#: build/NEWS:14093 +msgid "" +":issue:`21302`: In Unix operating systems, :func:`time.sleep` now uses the " +"``clock_nanosleep()`` function, if available, which allows to sleep for an " +"interval specified with nanosecond precision." +msgstr "" + +#: build/NEWS:14097 +msgid "" +":issue:`45173`: Remove from the :mod:`configparser` module: the :class:`!" +"SafeConfigParser` class, the :attr:`!filename` property of the :class:" +"`~configparser.ParsingError` class, the :meth:`!readfp` method of the :class:" +"`~configparser.ConfigParser` class, deprecated since Python 3.2." +msgstr "" + +#: build/NEWS:14105 +msgid "" +":issue:`44987`: Pure ASCII strings are now normalized in constant time by :" +"func:`unicodedata.normalize`. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:14108 +msgid "" +":issue:`35474`: Calling :func:`mimetypes.guess_all_extensions` with " +"``strict=False`` no longer affects the result of the following call with " +"``strict=True``. Also, mutating the returned list no longer affects the " +"global state." +msgstr "" + +#: build/NEWS:14113 +msgid "" +":issue:`45166`: :func:`typing.get_type_hints` now works with :data:`~typing." +"Final` wrapped in :class:`~typing.ForwardRef`." +msgstr "" + +#: build/NEWS:14116 +msgid ":issue:`45162`: Remove many old deprecated :mod:`unittest` features:" +msgstr "" + +#: build/NEWS:14118 +msgid "" +"\"``fail*``\" and \"``assert*``\" aliases of :class:`~unittest.TestCase` " +"methods." +msgstr "" + +#: build/NEWS:14119 +msgid "" +"Broken from start :class:`~unittest.TestCase` method " +"``assertDictContainsSubset()``." +msgstr "" + +#: build/NEWS:14120 +msgid "" +"Ignored :meth:`<unittest.TestLoader.loadTestsFromModule> TestLoader." +"loadTestsFromModule` parameter *use_load_tests*." +msgstr "" + +#: build/NEWS:14121 +msgid "Old alias ``_TextTestResult`` of :class:`~unittest.TextTestResult`." +msgstr "" + +#: build/NEWS:14123 +msgid "" +":issue:`38371`: Remove the deprecated ``split()`` method of :class:`!" +"_tkinter.TkappType`. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:14126 +msgid "" +":issue:`20499`: Improve the speed and accuracy of statistics.pvariance()." +msgstr "" + +#: build/NEWS:14128 +msgid "" +":issue:`45132`: Remove :meth:`~object.__getitem__` methods of :class:`xml." +"dom.pulldom.DOMEventStream`, :class:`wsgiref.util.FileWrapper` and :class:" +"`fileinput.FileInput`, deprecated since Python 3.9." +msgstr "" + +#: build/NEWS:14134 +msgid "" +":issue:`45129`: Due to significant security concerns, the *reuse_address* " +"parameter of :meth:`asyncio.loop.create_datagram_endpoint`, disabled in " +"Python 3.9, is now entirely removed. This is because of the behavior of the " +"socket option ``SO_REUSEADDR`` in UDP." +msgstr "" + +#: build/NEWS:14141 +msgid "" +":issue:`45124`: The ``bdist_msi`` command, deprecated in Python 3.9, is now " +"removed." +msgstr "" + +#: build/NEWS:14144 +msgid "Use ``bdist_wheel`` (wheel packages) instead." +msgstr "" + +#: build/NEWS:14148 +msgid "" +":issue:`30856`: :class:`unittest.TestResult` methods :meth:`~unittest." +"TestResult.addFailure`, :meth:`~unittest.TestResult.addError`, :meth:" +"`~unittest.TestResult.addSkip` and :meth:`~unittest.TestResult.addSubTest` " +"are now called immediately after raising an exception in test or finishing a " +"subtest. Previously they were called only after finishing the test clean up." +msgstr "" + +#: build/NEWS:14156 +msgid "" +":issue:`45034`: Changes how error is formatted for ``struct.pack`` with " +"``'H'`` and ``'h'`` modes and too large / small numbers. Now it shows the " +"actual numeric limits, while previously it was showing arithmetic " +"expressions." +msgstr "" + +#: build/NEWS:14160 +msgid "" +":issue:`25894`: :mod:`unittest` now always reports skipped and failed " +"subtests separately: separate characters in default mode and separate lines " +"in verbose mode. Also the test description is now output for errors in test " +"method, class and module cleanups." +msgstr "" + +#: build/NEWS:14165 +msgid "" +":issue:`45081`: Fix issue when dataclasses that inherit from ``typing." +"Protocol`` subclasses have wrong ``__init__``. Patch provided by Yurii " +"Karabas." +msgstr "" + +#: build/NEWS:14169 +msgid "" +":issue:`45085`: The ``binhex`` module, deprecated in Python 3.9, is now " +"removed. The following :mod:`binascii` functions, deprecated in Python 3.9, " +"are now also removed:" +msgstr "" + +#: build/NEWS:14173 +msgid "``a2b_hqx()``, ``b2a_hqx()``;" +msgstr "" + +#: build/NEWS:14174 +msgid "``rlecode_hqx()``, ``rledecode_hqx()``." +msgstr "" + +#: build/NEWS:14176 +msgid "The :func:`binascii.crc_hqx` function remains available." +msgstr "" + +#: build/NEWS:14180 +msgid "" +":issue:`40360`: The :mod:`lib2to3` package is now deprecated and may not be " +"able to parse Python 3.10 or newer. See the :pep:`617` (New PEG parser for " +"CPython). Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:14184 +msgid "" +":issue:`45075`: Rename :meth:`traceback.StackSummary.format_frame` to :meth:" +"`traceback.StackSummary.format_frame_summary`. This method was added for " +"3.11 so it was not released yet." +msgstr "" + +#: build/NEWS:14188 +msgid "Updated code and docs to better distinguish frame and FrameSummary." +msgstr "" + +#: build/NEWS:14190 +msgid "" +":issue:`31299`: Add option to completely drop frames from a traceback by " +"returning ``None`` from a :meth:`~traceback.StackSummary.format_frame` " +"override." +msgstr "" + +#: build/NEWS:14194 +msgid "" +":issue:`41620`: :meth:`~unittest.TestCase.run` now always return a :class:" +"`~unittest.TestResult` instance. Previously it returned ``None`` if the test " +"class or method was decorated with a skipping decorator." +msgstr "" + +#: build/NEWS:14198 +msgid "" +":issue:`45021`: Fix a potential deadlock at shutdown of forked children when " +"using :mod:`concurrent.futures` module" +msgstr "" + +#: build/NEWS:14201 +msgid "" +":issue:`43913`: Fix bugs in cleaning up classes and modules in :mod:" +"`unittest`:" +msgstr "" + +#: build/NEWS:14203 +msgid "" +"Functions registered with :func:`~unittest.addModuleCleanup` were not called " +"unless the user defines ``tearDownModule()`` in their test module." +msgstr "" + +#: build/NEWS:14204 +msgid "" +"Functions registered with :meth:`~unittest.TestCase.addClassCleanup` were " +"not called if ``tearDownClass`` is set to ``None``." +msgstr "" + +#: build/NEWS:14205 +msgid "" +"Buffering in :class:`~unittest.TestResult` did not work with functions " +"registered with ``addClassCleanup()`` and ``addModuleCleanup()``." +msgstr "" + +#: build/NEWS:14206 +msgid "" +"Errors in functions registered with ``addClassCleanup()`` and " +"``addModuleCleanup()`` were not handled correctly in buffered and debug " +"modes." +msgstr "" + +#: build/NEWS:14207 +msgid "" +"Errors in ``setUpModule()`` and functions registered with " +"``addModuleCleanup()`` were reported in wrong order." +msgstr "" + +#: build/NEWS:14208 +msgid "And several lesser bugs." +msgstr "" + +#: build/NEWS:14210 +msgid "" +":issue:`45030`: Fix integer overflow in pickling and copying the range " +"iterator." +msgstr "" + +#: build/NEWS:14213 +msgid "" +":issue:`45001`: Made email date parsing more robust against malformed input, " +"namely a whitespace-only ``Date:`` header. Patch by Wouter Bolsterlee." +msgstr "" + +#: build/NEWS:14216 +msgid "" +":issue:`45010`: Remove support of special method ``__div__`` in :mod:" +"`unittest.mock`. It is not used in Python 3." +msgstr "" + +#: build/NEWS:14219 +msgid "" +":issue:`39218`: Improve accuracy of variance calculations by using ``x*x`` " +"instead of ``x**2``." +msgstr "" + +#: build/NEWS:14222 +msgid "" +":issue:`43613`: Improve the speed of :func:`gzip.compress` and :func:`gzip." +"decompress` by compressing and decompressing at once in memory instead of in " +"a streamed fashion." +msgstr "" + +#: build/NEWS:14226 +msgid "" +":issue:`37596`: Ensure that :class:`set` and :class:`frozenset` objects are " +"always :mod:`marshalled <marshal>` reproducibly." +msgstr "" + +#: build/NEWS:14229 +msgid "" +":issue:`44019`: A new function ``operator.call`` has been added, such that " +"``operator.call(obj, *args, **kwargs) == obj(*args, **kwargs)``." +msgstr "" + +#: build/NEWS:14232 +msgid "" +":issue:`42255`: :class:`webbrowser.MacOSX` is deprecated and will be removed " +"in Python 3.13. It is untested and undocumented and also not used by " +"webbrowser itself. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:14236 +msgid "" +":issue:`44955`: Method :meth:`~unittest.TestResult.stopTestRun` is now " +"always called in pair with method :meth:`~unittest.TestResult.startTestRun` " +"for :class:`~unittest.TestResult` objects implicitly created in :meth:" +"`~unittest.TestCase.run`. Previously it was not called for test methods and " +"classes decorated with a skipping decorator." +msgstr "" + +#: build/NEWS:14242 +msgid "" +":issue:`39039`: tarfile.open raises :exc:`~tarfile.ReadError` when a zlib " +"error occurs during file extraction." +msgstr "" + +#: build/NEWS:14245 +msgid "" +":issue:`44935`: :mod:`subprocess` on Solaris now also uses :func:`os." +"posix_spawn` for better performance." +msgstr "" + +#: build/NEWS:14248 +msgid "" +":issue:`44911`: :class:`~unittest.IsolatedAsyncioTestCase` will no longer " +"throw an exception while cancelling leaked tasks. Patch by Bar Harel." +msgstr "" + +#: build/NEWS:14251 +msgid "" +":issue:`41322`: Added ``DeprecationWarning`` for tests and async tests that " +"return a value!=None (as this may indicate an improperly written test, for " +"example a test written as a generator function)." +msgstr "" + +#: build/NEWS:14255 +msgid "" +":issue:`44524`: Make exception message more useful when subclass from typing " +"special form alias. Patch provided by Yurii Karabas." +msgstr "" + +#: build/NEWS:14258 +msgid "" +":issue:`38956`: :class:`argparse.BooleanOptionalAction`'s default value is " +"no longer printed twice when used with :class:`argparse." +"ArgumentDefaultsHelpFormatter`." +msgstr "" + +#: build/NEWS:14262 +msgid "" +":issue:`44860`: Fix the ``posix_user`` scheme in :mod:`sysconfig` to not " +"depend on :data:`sys.platlibdir`." +msgstr "" + +#: build/NEWS:14265 +msgid "" +":issue:`44859`: Improve error handling in :mod:`sqlite3` and raise more " +"accurate exceptions." +msgstr "" + +#: build/NEWS:14268 +msgid "" +":exc:`MemoryError` is now raised instead of :exc:`sqlite3.Warning` when " +"memory is not enough for encoding a statement to UTF-8 in ``Connection." +"__call__()`` and ``Cursor.execute()``." +msgstr "" + +#: build/NEWS:14269 +msgid "" +":exc:`UnicodEncodeError` is now raised instead of :exc:`sqlite3.Warning` " +"when the statement contains surrogate characters in ``Connection." +"__call__()`` and ``Cursor.execute()``." +msgstr "" + +#: build/NEWS:14270 +msgid "" +":exc:`TypeError` is now raised instead of :exc:`ValueError` for non-string " +"script argument in ``Cursor.executescript()``." +msgstr "" + +#: build/NEWS:14271 +msgid "" +":exc:`ValueError` is now raised for script containing the null character " +"instead of truncating it in ``Cursor.executescript()``." +msgstr "" + +#: build/NEWS:14272 +msgid "" +"Correctly handle exceptions raised when getting boolean value of the result " +"of the progress handler." +msgstr "" + +#: build/NEWS:14273 +msgid "Add many tests covering different corner cases." +msgstr "" + +#: build/NEWS:14275 +msgid ":issue:`44581`: Upgrade bundled pip to 21.2.3 and setuptools to 57.4.0" +msgstr "" + +#: build/NEWS:14277 +msgid "" +":issue:`44849`: Fix the :func:`os.set_inheritable` function on FreeBSD 14 " +"for file descriptor opened with the :const:`~os.O_PATH` flag: ignore the :" +"const:`~errno.EBADF` error on ``ioctl()``, fallback on the ``fcntl()`` " +"implementation. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:14282 +msgid "" +":issue:`44605`: The @functools.total_ordering() decorator now works with " +"metaclasses." +msgstr "" + +#: build/NEWS:14285 +msgid "" +":issue:`44524`: Fixed an issue wherein the ``__name__`` and ``__qualname__`` " +"attributes of subscribed specialforms could be ``None``." +msgstr "" + +#: build/NEWS:14288 +msgid "" +":issue:`44839`: :class:`MemoryError` raised in user-defined functions will " +"now produce a ``MemoryError`` in :mod:`sqlite3`. :class:`OverflowError` will " +"now be converted to :class:`~sqlite3.DataError`. Previously :class:`~sqlite3." +"OperationalError` was produced in these cases." +msgstr "" + +#: build/NEWS:14293 +msgid "" +":issue:`44822`: :mod:`sqlite3` user-defined functions and aggregators " +"returning :class:`strings <str>` with embedded NUL characters are no longer " +"truncated. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:14297 +msgid "" +":issue:`44801`: Ensure that the :class:`~typing.ParamSpec` variable in " +"Callable can only be substituted with a parameters expression (a list of " +"types, an ellipsis, ParamSpec or Concatenate)." +msgstr "" + +#: build/NEWS:14301 +msgid "" +":issue:`44806`: Non-protocol subclasses of :class:`typing.Protocol` ignore " +"now the ``__init__`` method inherited from protocol base classes." +msgstr "" + +#: build/NEWS:14304 +msgid "" +":issue:`27275`: :meth:`collections.OrderedDict.popitem` and :meth:" +"`collections.OrderedDict.pop` no longer call ``__getitem__`` and " +"``__delitem__`` methods of the OrderedDict subclasses." +msgstr "" + +#: build/NEWS:14308 +msgid "" +":issue:`44793`: Fix checking the number of arguments when subscribe a " +"generic type with ``ParamSpec`` parameter." +msgstr "" + +#: build/NEWS:14311 +msgid "" +":issue:`44784`: In importlib.metadata tests, override warnings behavior " +"under expected DeprecationWarnings (importlib_metadata 4.6.3)." +msgstr "" + +#: build/NEWS:14314 +msgid "" +":issue:`44667`: The :func:`tokenize.tokenize` doesn't incorrectly generate a " +"``NEWLINE`` token if the source doesn't end with a new line character but " +"the last line is a comment, as the function is already generating a ``NL`` " +"token. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:14319 +msgid "" +":issue:`44771`: Added ``importlib.simple`` module implementing adapters from " +"a low-level resources reader interface to a ``TraversableResources`` " +"interface. Legacy API (``path``, ``contents``, ...) is now supported " +"entirely by the ``.files()`` API with a compatibility shim supplied for " +"resource loaders without that functionality. Feature parity with " +"``importlib_resources`` 5.2." +msgstr "" + +#: build/NEWS:14326 +msgid "" +":issue:`44752`: :mod:`rcompleter` does not call :func:`getattr` on :class:" +"`property` objects to avoid the side-effect of evaluating the corresponding " +"method." +msgstr "" + +#: build/NEWS:14330 +msgid "" +":issue:`44747`: Refactor usage of ``sys._getframe`` in ``typing`` module. " +"Patch provided by Yurii Karabas." +msgstr "" + +#: build/NEWS:14333 +msgid "" +":issue:`42378`: Fixes the issue with log file being overwritten when :class:" +"`logging.FileHandler` is used in :mod:`atexit` with *filemode* set to " +"``'w'``. Note this will cause the message in *atexit* not being logged if " +"the log stream is already closed due to shutdown of logging." +msgstr "" + +#: build/NEWS:14338 +msgid "" +":issue:`44720`: ``weakref.proxy`` objects referencing non-iterators now " +"raise ``TypeError`` rather than dereferencing the null ``tp_iternext`` slot " +"and crashing." +msgstr "" + +#: build/NEWS:14342 +msgid "" +":issue:`44704`: The implementation of ``collections.abc.Set._hash()`` now " +"matches that of ``frozenset.__hash__()``." +msgstr "" + +#: build/NEWS:14345 +msgid "" +":issue:`44666`: Fixed issue in :func:`compileall.compile_file` when ``sys." +"stdout`` is redirected. Patch by Stefan Hölzl." +msgstr "" + +#: build/NEWS:14348 +msgid "" +":issue:`44688`: :meth:`sqlite3.Connection.create_collation` now accepts non-" +"ASCII collation names. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:14351 +msgid "" +":issue:`44690`: Adopt *binacii.a2b_base64*'s strict mode in *base64." +"b64decode*." +msgstr "" + +#: build/NEWS:14353 +msgid "" +":issue:`42854`: Fixed a bug in the :mod:`!_ssl` module that was throwing :" +"exc:`OverflowError` when using :meth:`!_ssl._SSLSocket.write` and :meth:`!" +"_ssl._SSLSocket.read` for a big value of the ``len`` parameter. Patch by " +"Pablo Galindo." +msgstr "" + +#: build/NEWS:14358 +msgid "" +":issue:`44686`: Replace ``unittest.mock._importer`` with ``pkgutil." +"resolve_name``." +msgstr "" + +#: build/NEWS:14361 +msgid "" +":issue:`44353`: Make ``NewType.__call__`` faster by implementing it in C. " +"Patch provided by Yurii Karabas." +msgstr "" + +#: build/NEWS:14364 +msgid "" +":issue:`44682`: Change the :mod:`pdb` *commands* directive to disallow " +"setting commands for an invalid breakpoint and to display an appropriate " +"error." +msgstr "" + +#: build/NEWS:14367 +msgid "" +":issue:`44353`: Refactor ``typing.NewType`` from function into callable " +"class. Patch provided by Yurii Karabas." +msgstr "" + +#: build/NEWS:14370 +msgid "" +":issue:`44678`: Added a separate error message for discontinuous padding in " +"*binascii.a2b_base64* strict mode." +msgstr "" + +#: build/NEWS:14373 +msgid "" +":issue:`44524`: Add missing ``__name__`` and ``__qualname__`` attributes to " +"``typing`` module classes. Patch provided by Yurii Karabas." +msgstr "" + +#: build/NEWS:14376 +msgid "" +":issue:`40897`: Give priority to using the current class constructor in :" +"func:`inspect.signature`. Patch by Weipeng Hong." +msgstr "" + +#: build/NEWS:14379 +msgid "" +":issue:`44638`: Add a reference to the zipp project and hint as to how to " +"use it." +msgstr "" + +#: build/NEWS:14382 +msgid "" +":issue:`44648`: Fixed wrong error being thrown by :func:`inspect.getsource` " +"when examining a class in the interactive session. Instead of :exc:" +"`TypeError`, it should be :exc:`OSError` with appropriate error message." +msgstr "" + +#: build/NEWS:14387 +msgid "" +":issue:`44608`: Fix memory leak in :func:`!_tkinter._flatten` if it is " +"called with a sequence or set, but not list or tuple." +msgstr "" + +#: build/NEWS:14390 +msgid "" +":issue:`44594`: Fix an edge case of :class:`ExitStack` and :class:" +"`AsyncExitStack` exception chaining. They will now match ``with`` block " +"behavior when ``__context__`` is explicitly set to ``None`` when the " +"exception is in flight." +msgstr "" + +#: build/NEWS:14395 +msgid "" +":issue:`42799`: In :mod:`fnmatch`, the cache size for compiled regex " +"patterns (:func:`functools.lru_cache`) was bumped up from 256 to 32768, " +"affecting functions: :func:`fnmatch.fnmatch`, :func:`fnmatch.fnmatchcase`, :" +"func:`fnmatch.filter`." +msgstr "" + +#: build/NEWS:14400 +msgid "" +":issue:`41928`: Update :func:`shutil.copyfile` to raise :exc:" +"`FileNotFoundError` instead of confusing :exc:`IsADirectoryError` when a " +"path ending with a :const:`os.path.sep` does not exist; :func:`shutil.copy` " +"and :func:`shutil.copy2` are also affected." +msgstr "" + +#: build/NEWS:14405 +msgid "" +":issue:`44569`: Added the :func:`StackSummary.format_frame` function in :mod:" +"`traceback`. This allows users to customize the way individual lines are " +"formatted in tracebacks without re-implementing logic to handle recursive " +"tracebacks." +msgstr "" + +#: build/NEWS:14410 +msgid "" +":issue:`44566`: handle StopIteration subclass raised from @contextlib." +"contextmanager generator" +msgstr "" + +#: build/NEWS:14413 +msgid "" +":issue:`44558`: Make the implementation consistency of :func:`~operator." +"indexOf` between C and Python versions. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:14417 +msgid "" +":issue:`41249`: Fixes ``TypedDict`` to work with ``typing.get_type_hints()`` " +"and postponed evaluation of annotations across modules." +msgstr "" + +#: build/NEWS:14420 +msgid "" +":issue:`44554`: Refactor argument processing in :func:`pdb.main` to simplify " +"detection of errors in input loading and clarify behavior around module or " +"script invocation." +msgstr "" + +#: build/NEWS:14424 +msgid "" +":issue:`34798`: Break up paragraph about :class:`pprint.PrettyPrinter` " +"construction parameters to make it easier to read." +msgstr "" + +#: build/NEWS:14427 +msgid "" +":issue:`44539`: Added support for recognizing JPEG files without JFIF or " +"Exif markers." +msgstr "" + +#: build/NEWS:14430 +msgid "" +":issue:`44461`: Fix bug with :mod:`pdb`'s handling of import error due to a " +"package which does not have a ``__main__`` module" +msgstr "" + +#: build/NEWS:14433 +msgid "" +":issue:`43625`: Fix a bug in the detection of CSV file headers by :meth:`csv." +"Sniffer.has_header` and improve documentation of same." +msgstr "" + +#: build/NEWS:14436 +msgid ":issue:`44516`: Update vendored pip to 21.1.3" +msgstr "" + +#: build/NEWS:14438 +msgid "" +":issue:`42892`: Fixed an exception thrown while parsing a malformed " +"multipart email by :class:`email.message.EmailMessage`." +msgstr "" + +#: build/NEWS:14441 +msgid "" +":issue:`44468`: :func:`typing.get_type_hints` now finds annotations in " +"classes and base classes with unexpected ``__module__``. Previously, it " +"skipped those MRO elements." +msgstr "" + +#: build/NEWS:14445 +msgid "" +":issue:`44491`: Allow clearing the :mod:`sqlite3` authorizer callback by " +"passing :const:`None` to :meth:`~sqlite3.Connection.set_authorizer`. Patch " +"by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:14449 +msgid "" +":issue:`43977`: Set the proper :c:macro:`Py_TPFLAGS_MAPPING` and :c:macro:" +"`Py_TPFLAGS_SEQUENCE` flags for subclasses created before a parent has been " +"registered as a :class:`collections.abc.Mapping` or :class:`collections.abc." +"Sequence`." +msgstr "" + +#: build/NEWS:14454 +msgid "" +":issue:`44482`: Fix very unlikely resource leak in :mod:`glob` in alternate " +"Python implementations." +msgstr "" + +#: build/NEWS:14457 +msgid "" +":issue:`44466`: The :mod:`faulthandler` module now detects if a fatal error " +"occurs during a garbage collector collection. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:14460 +msgid "" +":issue:`44471`: A :exc:`TypeError` is now raised instead of an :exc:" +"`AttributeError` in :meth:`contextlib.ExitStack.enter_context` and :meth:" +"`contextlib.AsyncExitStack.enter_async_context` for objects which do not " +"support the :term:`context manager` or :term:`asynchronous context manager` " +"protocols correspondingly." +msgstr "" + +#: build/NEWS:14466 +msgid "" +":issue:`44404`: :mod:`tkinter`'s ``after()`` method now supports callables " +"without the ``__name__`` attribute." +msgstr "" + +#: build/NEWS:14469 +msgid "" +":issue:`41546`: Make :mod:`pprint` (like the builtin ``print``) not attempt " +"to write to ``stdout`` when it is ``None``." +msgstr "" + +#: build/NEWS:14472 +msgid "" +":issue:`44458`: ``BUFFER_BLOCK_SIZE`` is now declared static, to avoid " +"linking collisions when bz2, lmza or zlib are statically linked." +msgstr "" + +#: build/NEWS:14475 +msgid "" +":issue:`44464`: Remove exception for flake8 in deprecated importlib.metadata " +"interfaces. Sync with importlib_metadata 4.6." +msgstr "" + +#: build/NEWS:14478 +msgid "" +":issue:`44446`: Take into account that ``lineno`` might be ``None`` in :" +"class:`traceback.FrameSummary`." +msgstr "" + +#: build/NEWS:14481 +msgid "" +":issue:`44439`: Fix in :meth:`bz2.BZ2File.write` / :meth:`lzma.LZMAFile." +"write` methods, when the input data is an object that supports the buffer " +"protocol, the file length may be wrong." +msgstr "" + +#: build/NEWS:14485 +msgid "" +":issue:`44434`: _thread.start_new_thread() no longer calls " +"PyThread_exit_thread() explicitly at the thread exit, the call was " +"redundant. On Linux with the glibc, pthread_exit() aborts the whole process " +"if dlopen() fails to open libgcc_s.so file (ex: EMFILE error). Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:14491 +msgid "" +":issue:`42972`: The _thread.RLock type now fully implement the GC protocol: " +"add a traverse function and the :c:macro:`Py_TPFLAGS_HAVE_GC` flag. Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:14495 +msgid "" +":issue:`44422`: The :func:`threading.enumerate` function now uses a " +"reentrant lock to prevent a hang on reentrant call. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:14498 +msgid "" +":issue:`38291`: Importing typing.io or typing.re now prints a " +"``DeprecationWarning``." +msgstr "" + +#: build/NEWS:14501 +msgid "" +":issue:`37880`: argparse actions store_const and append_const each receive a " +"default value of ``None`` when the ``const`` kwarg is not provided. " +"Previously, this raised a :exc:`TypeError`." +msgstr "" + +#: build/NEWS:14505 +msgid ":issue:`44389`: Fix deprecation of :data:`ssl.OP_NO_TLSv1_3`" +msgstr "" + +#: build/NEWS:14507 +msgid "" +":issue:`27827`: :meth:`pathlib.PureWindowsPath.is_reserved` now identifies a " +"greater range of reserved filenames, including those with trailing spaces or " +"colons." +msgstr "" + +#: build/NEWS:14511 +msgid "" +":issue:`44395`: Fix :meth:`~email.message.MIMEPart.as_string` to pass " +"unixfrom properly. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:14514 +msgid "" +":issue:`34266`: Handle exceptions from parsing the arg of :mod:`pdb`'s run/" +"restart command." +msgstr "" + +#: build/NEWS:14517 +msgid "" +":issue:`44362`: Improve :mod:`ssl` module's deprecation messages, error " +"reporting, and documentation for deprecations." +msgstr "" + +#: build/NEWS:14520 +msgid ":issue:`44342`: [Enum] Change pickling from by-value to by-name." +msgstr "" + +#: build/NEWS:14522 +msgid "" +":issue:`44356`: [Enum] Allow multiple data-type mixins if they are all the " +"same." +msgstr "" + +#: build/NEWS:14525 +msgid "" +":issue:`44351`: Restore back :func:`parse_makefile` in ``distutils." +"sysconfig`` because it behaves differently than the similar implementation " +"in :mod:`sysconfig`." +msgstr "" + +#: build/NEWS:14529 +msgid "" +":issue:`35800`: :class:`!smtpd.MailmanProxy` is now removed as it is " +"unusable without an external module, ``mailman``. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:14532 +msgid "" +":issue:`44357`: Added a function that returns cube root of the given number :" +"func:`math.cbrt`" +msgstr "" + +#: build/NEWS:14535 +msgid "" +":issue:`44339`: Change ``math.pow(±0.0, -math.inf)`` to return ``inf`` " +"instead of raising ``ValueError``. This brings the special-case handling of " +"``math.pow`` into compliance with the IEEE 754 standard." +msgstr "" + +#: build/NEWS:14539 +msgid "" +":issue:`44242`: Remove missing flag check from Enum creation and move into a " +"``verify`` decorator." +msgstr "" + +#: build/NEWS:14542 +msgid "" +":issue:`44246`: In ``importlib.metadata``, restore compatibility in the " +"result from ``Distribution.entry_points`` (``EntryPoints``) to honor " +"expectations in older implementations and issuing deprecation warnings for " +"these cases: A. ``EntryPoints`` objects are once again mutable, allowing " +"for ``sort()`` and other list-based mutation operations. Avoid deprecation " +"warnings by casting to a mutable sequence (e.g. ``list(dist.entry_points)." +"sort()``). B. ``EntryPoints`` results once again allow for access by " +"index. To avoid deprecation warnings, cast the result to a Sequence " +"first (e.g. ``tuple(dist.entry_points)[0]``)." +msgstr "" + +#: build/NEWS:14552 +msgid "" +":issue:`44246`: In importlib.metadata.entry_points, de-duplication of " +"distributions no longer requires loading the full metadata for " +"PathDistribution objects, improving entry point loading performance by ~10x." +msgstr "" + +#: build/NEWS:14557 +msgid "" +":issue:`43858`: Added a function that returns a copy of a dict of logging " +"levels: :func:`logging.getLevelNamesMapping`" +msgstr "" + +#: build/NEWS:14560 +msgid "" +":issue:`44260`: The :class:`random.Random` constructor no longer reads " +"system entropy without need." +msgstr "" + +#: build/NEWS:14563 +msgid "" +":issue:`44254`: On Mac, give turtledemo button text a color that works on " +"both light or dark background. Programmers cannot control the latter." +msgstr "" + +#: build/NEWS:14566 +msgid "" +":issue:`44258`: Support PEP 515 for Fraction's initialization from string." +msgstr "" + +#: build/NEWS:14568 +msgid "" +":issue:`44235`: Remove deprecated functions in the :mod:`gettext`. Patch by " +"Donghee Na." +msgstr "" + +#: build/NEWS:14571 +msgid ":issue:`38693`: Prefer f-strings to ``.format`` in importlib.resources." +msgstr "" + +#: build/NEWS:14573 +msgid ":issue:`33693`: Importlib.metadata now prefers f-strings to .format." +msgstr "" + +#: build/NEWS:14575 +msgid "" +":issue:`44241`: Incorporate minor tweaks from importlib_metadata 4.1: " +"SimplePath protocol, support for Metadata 2.2." +msgstr "" + +#: build/NEWS:14578 +msgid "" +":issue:`43216`: Remove the :func:`@asyncio.coroutine <asyncio.coroutine>` :" +"term:`decorator` enabling legacy generator-based coroutines to be compatible " +"with async/await code; remove :class:`asyncio.coroutines.CoroWrapper` used " +"for wrapping legacy coroutine objects in the debug mode. The decorator has " +"been deprecated since Python 3.8 and the removal was initially scheduled for " +"Python 3.10. Patch by Illia Volochii." +msgstr "" + +#: build/NEWS:14586 +msgid ":issue:`44210`: Make importlib.metadata._meta.PackageMetadata public." +msgstr "" + +#: build/NEWS:14588 +msgid "" +":issue:`43643`: Declare readers.MultiplexedPath.name as a property per the " +"spec." +msgstr "" + +#: build/NEWS:14591 +msgid "" +":issue:`27334`: The :mod:`sqlite3` context manager now performs a rollback " +"(thus releasing the database lock) if commit failed. Patch by Luca Citi and " +"Erlend E. Aasland." +msgstr "" + +#: build/NEWS:14595 +msgid "" +":issue:`4928`: Documented existing behavior on POSIX: NamedTemporaryFiles " +"are not deleted when creating process is killed with SIGKILL" +msgstr "" + +#: build/NEWS:14598 +msgid "" +":issue:`44154`: Optimize :class:`fractions.Fraction` pickling for large " +"components." +msgstr "" + +#: build/NEWS:14601 +msgid "" +":issue:`33433`: For IPv4 mapped IPv6 addresses (:rfc:`4291` Section " +"2.5.5.2), the :mod:`ipaddress.IPv6Address.is_private` check is deferred to " +"the mapped IPv4 address. This solves a bug where public mapped IPv4 " +"addresses were considered private by the IPv6 check." +msgstr "" + +#: build/NEWS:14606 +msgid ":issue:`44150`: Add optional *weights* argument to statistics.fmean()." +msgstr "" + +#: build/NEWS:14608 +msgid "" +":issue:`44142`: :func:`ast.unparse` will now drop the redundant parentheses " +"when tuples used as assignment targets (e.g in for loops)." +msgstr "" + +#: build/NEWS:14611 +msgid "" +":issue:`44145`: :mod:`hmac` computations were not releasing the GIL while " +"calling the OpenSSL ``HMAC_Update`` C API (a new feature in 3.9). This " +"unintentionally prevented parallel computation as other :mod:`hashlib` " +"algorithms support." +msgstr "" + +#: build/NEWS:14616 +msgid "" +":issue:`44095`: :class:`zipfile.Path` now supports :attr:`zipfile.Path." +"stem`, :attr:`zipfile.Path.suffixes`, and :attr:`zipfile.Path.suffix` " +"attributes." +msgstr "" + +#: build/NEWS:14619 +msgid "" +":issue:`44077`: It's now possible to receive the type of service (ToS), a.k." +"a. differentiated services (DS), a.k.a. differentiated services code point " +"(DSCP) and explicit congestion notification (ECN) IP header fields with " +"``socket.IP_RECVTOS``." +msgstr "" + +#: build/NEWS:14624 +msgid "" +":issue:`37788`: Fix a reference leak when a Thread object is never joined." +msgstr "" + +#: build/NEWS:14626 +msgid "" +":issue:`38908`: Subclasses of ``typing.Protocol`` which only have data " +"variables declared will now raise a ``TypeError`` when checked with " +"``isinstance`` unless they are decorated with :func:`runtime_checkable`. " +"Previously, these checks passed silently. Patch provided by Yurii Karabas." +msgstr "" + +#: build/NEWS:14631 +msgid "" +":issue:`44098`: ``typing.ParamSpec`` will no longer be found in the " +"``__parameters__`` of most :mod:`typing` generics except in valid use " +"locations specified by :pep:`612`. This prevents incorrect usage like " +"``typing.List[P][int]``. This change means incorrect usage which may have " +"passed silently in 3.10 beta 1 and earlier will now error." +msgstr "" + +#: build/NEWS:14637 +msgid "" +":issue:`44089`: Allow subclassing ``csv.Error`` in 3.10 (it was allowed in " +"3.9 and earlier but was disallowed in early versions of 3.10)." +msgstr "" + +#: build/NEWS:14640 +msgid "" +":issue:`44081`: :func:`ast.unparse` now doesn't use redundant spaces to " +"separate ``lambda`` and the ``:`` if there are no parameters." +msgstr "" + +#: build/NEWS:14643 +msgid "" +":issue:`44061`: Fix regression in previous release when calling :func:" +"`pkgutil.iter_modules` with a list of :class:`pathlib.Path` objects" +msgstr "" + +#: build/NEWS:14646 +msgid "" +":issue:`44059`: Register the SerenityOS Browser in the :mod:`webbrowser` " +"module." +msgstr "" + +#: build/NEWS:14649 +msgid "" +":issue:`36515`: The :mod:`hashlib` module no longer does unaligned memory " +"accesses when compiled for ARM platforms." +msgstr "" + +#: build/NEWS:14652 +msgid ":issue:`40465`: Remove random module features deprecated in Python 3.9." +msgstr "" + +#: build/NEWS:14654 +msgid ":issue:`44018`: random.seed() no longer mutates bytearray inputs." +msgstr "" + +#: build/NEWS:14656 +msgid "" +":issue:`38352`: Add ``IO``, ``BinaryIO``, ``TextIO``, ``Match``, and " +"``Pattern`` to ``typing.__all__``. Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:14659 +msgid "" +":issue:`44002`: :mod:`urllib.parse` now uses :func:`functool.lru_cache` for " +"its internal URL splitting and quoting caches instead of rolling its own " +"like its the '90s." +msgstr "" + +#: build/NEWS:14663 +msgid "" +"The undocumented internal :mod:`urllib.parse` ``Quoted`` class API is now " +"deprecated, for removal in 3.14." +msgstr "" + +#: build/NEWS:14666 +msgid "" +":issue:`43972`: When :class:`http.server.SimpleHTTPRequestHandler` sends a " +"``301 (Moved Permanently)`` for a directory path not ending with ``/``, add " +"a ``Content-Length: 0`` header. This improves the behavior for certain " +"clients." +msgstr "" + +#: build/NEWS:14671 +msgid "" +":issue:`28528`: Fix a bug in :mod:`pdb` where :meth:`~pdb.Pdb.checkline` " +"raises :exc:`AttributeError` if it is called after :meth:`~pdb.Pdb.reset`." +msgstr "" + +#: build/NEWS:14674 +msgid "" +":issue:`43853`: Improved string handling for :mod:`sqlite3` user-defined " +"functions and aggregates:" +msgstr "" + +#: build/NEWS:14677 +msgid "" +"It is now possible to pass strings with embedded null characters to UDFs" +msgstr "" + +#: build/NEWS:14678 +msgid "Conversion failures now correctly raise :exc:`MemoryError`" +msgstr "" + +#: build/NEWS:14682 +msgid "" +":issue:`43666`: AIX: ``Lib/_aix_support.get_platform()`` may fail in an AIX " +"WPAR. The fileset bos.rte appears to have a builddate in both LPAR and WPAR " +"so this fileset is queried rather than bos.mp64. To prevent a similar " +"situation (no builddate in ODM) a value (9988) sufficient for completing a " +"build is provided. Patch by M Felt." +msgstr "" + +#: build/NEWS:14688 +msgid "" +":issue:`43650`: Fix :exc:`MemoryError` in :func:`shutil.unpack_archive` " +"which fails inside :func:`shutil._unpack_zipfile` on large files. Patch by " +"Igor Bolshakov." +msgstr "" + +#: build/NEWS:14692 +msgid "" +":issue:`43612`: :func:`zlib.compress` now accepts a wbits parameter which " +"allows users to compress data as a raw deflate block without zlib headers " +"and trailers in one go. Previously this required instantiating a ``zlib." +"compressobj``. It also provides a faster alternative to ``gzip.compress`` " +"when wbits=31 is used." +msgstr "" + +#: build/NEWS:14698 +msgid "" +":issue:`43392`: :func:`importlib._bootstrap._find_and_load` now implements a " +"two-step check to avoid locking when modules have been already imported and " +"are ready. This improves performance of repeated calls to :func:`importlib." +"import_module` and :func:`importlib.__import__`." +msgstr "" + +#: build/NEWS:14703 +msgid "" +":issue:`43318`: Fix a bug where :mod:`pdb` does not always echo cleared " +"breakpoints." +msgstr "" + +#: build/NEWS:14706 +msgid "" +":issue:`43234`: Prohibit passing non-:class:`concurrent.futures." +"ThreadPoolExecutor` executors to :meth:`loop.set_default_executor` following " +"a deprecation in Python 3.8. Patch by Illia Volochii." +msgstr "" + +#: build/NEWS:14711 +msgid "" +":issue:`43232`: Prohibit previously deprecated potentially disruptive " +"operations on :class:`asyncio.trsock.TransportSocket`. Patch by Illia " +"Volochii." +msgstr "" + +#: build/NEWS:14715 +msgid ":issue:`30077`: Added support for Apple's aifc/sowt pseudo-compression" +msgstr "" + +#: build/NEWS:14717 +msgid "" +":issue:`42971`: Add definition of ``errno.EQFULL`` for platforms that define " +"this constant (such as macOS)." +msgstr "" + +#: build/NEWS:14720 +msgid "" +":issue:`43086`: Added a new optional :code:`strict_mode` parameter to " +"*binascii.a2b_base64*. When :code:`scrict_mode` is set to :code:`True`, the " +"*a2b_base64* function will accept only valid base64 content. More details " +"about what \"valid base64 content\" is, can be found in the function's " +"documentation." +msgstr "" + +#: build/NEWS:14726 +msgid "" +":issue:`43024`: Improve the help signature of :func:`traceback." +"print_exception`, :func:`traceback.format_exception` and :func:`traceback." +"format_exception_only`." +msgstr "" + +#: build/NEWS:14730 +msgid "" +":issue:`33809`: Add the :meth:`traceback.TracebackException.print` method " +"which prints the formatted exception information." +msgstr "" + +#: build/NEWS:14733 +msgid "" +":issue:`42862`: :mod:`sqlite3` now utilizes :meth:`functools.lru_cache` to " +"implement the connection statement cache. As a small optimisation, the " +"default statement cache size has been increased from 100 to 128. Patch by " +"Erlend E. Aasland." +msgstr "" + +#: build/NEWS:14738 +msgid "" +":issue:`41818`: Soumendra Ganguly: add termios.tcgetwinsize(), termios." +"tcsetwinsize()." +msgstr "" + +#: build/NEWS:14741 +msgid "" +":issue:`40497`: :meth:`subprocess.check_output` now raises :exc:`ValueError` " +"when the invalid keyword argument *check* is passed by user code. Previously " +"such use would fail later with a :exc:`TypeError`. Patch by Rémi Lapeyre." +msgstr "" + +#: build/NEWS:14746 +msgid "" +":issue:`37449`: ``ensurepip`` now uses ``importlib.resources.files()`` " +"traversable APIs" +msgstr "" + +#: build/NEWS:14749 +msgid "" +":issue:`40956`: Use Argument Clinic in :mod:`sqlite3`. Patches by Erlend E. " +"Aasland." +msgstr "" + +#: build/NEWS:14752 +msgid "" +":issue:`41730`: ``DeprecationWarning`` is now raised when importing :mod:" +"`tkinter.tix`, which has been deprecated in documentation since Python 3.6." +msgstr "" + +#: build/NEWS:14756 +msgid "" +":issue:`20684`: Remove unused ``_signature_get_bound_param`` function from :" +"mod:`inspect` - by Anthony Sottile." +msgstr "" + +#: build/NEWS:14759 +msgid "" +":issue:`41402`: Fix :meth:`email.message.EmailMessage.set_content` when " +"called with binary data and ``7bit`` content transfer encoding." +msgstr "" + +#: build/NEWS:14762 +msgid "" +":issue:`32695`: The *compresslevel* and *preset* keyword arguments of :func:" +"`tarfile.open` are now both documented and tested." +msgstr "" + +#: build/NEWS:14765 +msgid "" +":issue:`41137`: Use utf-8 encoding while reading .pdbrc files. Patch by " +"Srinivas Reddy Thatiparthy" +msgstr "" + +#: build/NEWS:14768 +msgid "" +":issue:`24391`: Improved reprs of :mod:`threading` synchronization objects: :" +"class:`~threading.Semaphore`, :class:`~threading.BoundedSemaphore`, :class:" +"`~threading.Event` and :class:`~threading.Barrier`." +msgstr "" + +#: build/NEWS:14772 +msgid "" +":issue:`5846`: Deprecated the following :mod:`unittest` functions, scheduled " +"for removal in Python 3.13:" +msgstr "" + +#: build/NEWS:14775 +msgid ":func:`~unittest.findTestCases`" +msgstr "" + +#: build/NEWS:14776 +msgid ":func:`~unittest.makeSuite`" +msgstr "" + +#: build/NEWS:14777 +msgid ":func:`~unittest.getTestCaseNames`" +msgstr "" + +#: build/NEWS:14779 +msgid "Use :class:`~unittest.TestLoader` methods instead:" +msgstr "" + +#: build/NEWS:14781 +msgid ":meth:`unittest.TestLoader.loadTestsFromModule`" +msgstr "" + +#: build/NEWS:14782 +msgid ":meth:`unittest.TestLoader.loadTestsFromTestCase`" +msgstr "" + +#: build/NEWS:14783 +msgid ":meth:`unittest.TestLoader.getTestCaseNames`" +msgstr "" + +#: build/NEWS:14787 +msgid "" +":issue:`40563`: Support pathlike objects on dbm/shelve. Patch by Hakan Çelik " +"and Henry-Joseph Audéoud." +msgstr "" + +#: build/NEWS:14790 +msgid "" +":issue:`34990`: Fixed a Y2k38 bug in the compileall module where it would " +"fail to compile files with a modification time after the year 2038." +msgstr "" + +#: build/NEWS:14793 +msgid "" +":issue:`39549`: Whereas the code for reprlib.Repr had previously used a " +"hardcoded string value of '...', this PR updates it to use of a “fillvalue” " +"attribute, whose value defaults to '...' and can be reset in either " +"individual reprlib.Repr instances or in subclasses thereof." +msgstr "" + +#: build/NEWS:14798 +msgid "" +":issue:`37022`: :mod:`pdb` now displays exceptions from ``repr()`` with its " +"``p`` and ``pp`` commands." +msgstr "" + +#: build/NEWS:14801 +msgid "" +":issue:`38840`: Fix ``test___all__`` on platforms lacking a shared memory " +"implementation." +msgstr "" + +#: build/NEWS:14804 +msgid "" +":issue:`39359`: Add one missing check that the password is a bytes object " +"for an encrypted zipfile." +msgstr "" + +#: build/NEWS:14807 +msgid "" +":issue:`38741`: :mod:`configparser`: using ']' inside a section header will " +"no longer cut the section name short at the ']'" +msgstr "" + +#: build/NEWS:14810 +msgid "" +":issue:`38415`: Added missing behavior to :func:`contextlib." +"asynccontextmanager` to match :func:`contextlib.contextmanager` so decorated " +"functions can themselves be decorators." +msgstr "" + +#: build/NEWS:14815 +msgid "" +":issue:`30256`: Pass multiprocessing BaseProxy argument ``manager_owned`` " +"through AutoProxy." +msgstr "" + +#: build/NEWS:14818 +msgid "" +":issue:`27513`: :func:`email.utils.getaddresses` now accepts :class:`email." +"header.Header` objects along with string values. Patch by Zackery Spytz." +msgstr "" + +#: build/NEWS:14822 +msgid "" +":issue:`16379`: Add SQLite error code and name to :mod:`sqlite3` exceptions. " +"Patch by Aviv Palivoda, Daniel Shahaf, and Erlend E. Aasland." +msgstr "" + +#: build/NEWS:14825 +msgid "" +":issue:`26228`: pty.spawn no longer hangs on FreeBSD, macOS, and Solaris." +msgstr "" + +#: build/NEWS:14827 +msgid ":issue:`33349`: lib2to3 now recognizes async generators everywhere." +msgstr "" + +#: build/NEWS:14829 +msgid "" +":issue:`29298`: Fix ``TypeError`` when required subparsers without ``dest`` " +"do not receive arguments. Patch by Anthony Sottile." +msgstr "" + +#: build/NEWS:14835 +msgid "" +":issue:`45216`: Remove extra documentation listing methods in ``difflib``. " +"It was rendering twice in pydoc and was outdated in some places." +msgstr "" + +#: build/NEWS:14838 +msgid "" +":issue:`45024`: :mod:`collections.abc` documentation has been expanded to " +"explicitly cover how instance and subclass checks work, with additional " +"doctest examples and an exhaustive list of ABCs which test membership purely " +"by presence of the right :term:`special method`\\s. Patch by Raymond " +"Hettinger." +msgstr "" + +#: build/NEWS:14844 +msgid "" +":issue:`44957`: Promote PEP 604 union syntax by using it where possible. " +"Also, mention ``X | Y`` more prominently in section about ``Union`` and " +"mention ``X | None`` at all in section about ``Optional``." +msgstr "" + +#: build/NEWS:14848 +msgid "" +":issue:`16580`: Added code equivalents for the :meth:`int.to_bytes` and :" +"meth:`int.from_bytes` methods, as well as tests ensuring that these code " +"equivalents are valid." +msgstr "" + +#: build/NEWS:14852 +msgid "" +":issue:`44903`: Removed the ``othergui.rst`` file, any references to it, and " +"the list of GUI frameworks in the FAQ. In their place I've added links to " +"the Python Wiki `page on GUI frameworks <https://wiki.python.org/moin/" +"GuiProgramming>`_." +msgstr "" + +#: build/NEWS:14857 +msgid "" +":issue:`33479`: Tkinter documentation has been greatly expanded with new " +"\"Architecture\" and \"Threading model\" sections." +msgstr "" + +#: build/NEWS:14860 +msgid "" +":issue:`36700`: :mod:`base64` RFC references were updated to point to :rfc:" +"`4648`; a section was added to point users to the new \"security " +"considerations\" section of the RFC." +msgstr "" + +#: build/NEWS:14864 +msgid "" +":issue:`44740`: Replaced occurrences of uppercase \"Web\" and \"Internet\" " +"with lowercase versions per the 2016 revised Associated Press Style Book." +msgstr "" + +#: build/NEWS:14867 +msgid "" +":issue:`44693`: Update the definition of __future__ in the glossary by " +"replacing the confusing word \"pseudo-module\" with a more accurate " +"description." +msgstr "" + +#: build/NEWS:14871 +msgid ":issue:`35183`: Add typical examples to os.path.splitext docs" +msgstr "" + +#: build/NEWS:14873 +msgid "" +":issue:`30511`: Clarify that :func:`shutil.make_archive` is not thread-safe " +"due to reliance on changing the current working directory." +msgstr "" + +#: build/NEWS:14876 +msgid "" +":issue:`44561`: Update of three expired hyperlinks in Doc/distributing/index." +"rst: \"Project structure\", \"Building and packaging the project\", and " +"\"Uploading the project to the Python Packaging Index\"." +msgstr "" + +#: build/NEWS:14880 +msgid "" +":issue:`44651`: Delete entry \"coercion\" in Doc/glossary.rst for its " +"outdated definition." +msgstr "" + +#: build/NEWS:14883 +msgid "" +":issue:`42958`: Updated the docstring and docs of :func:`filecmp.cmp` to be " +"more accurate and less confusing especially in respect to *shallow* arg." +msgstr "" + +#: build/NEWS:14886 +msgid "" +":issue:`44631`: Refactored the ``repr()`` code of the ``_Environ`` (os " +"module)." +msgstr "" + +#: build/NEWS:14888 +msgid ":issue:`44613`: importlib.metadata is no longer provisional." +msgstr "" + +#: build/NEWS:14890 +msgid "" +":issue:`44558`: Match the docstring and python implementation of :func:" +"`~operator.countOf` to the behavior of its c implementation." +msgstr "" + +#: build/NEWS:14893 +msgid "" +":issue:`44544`: List all kwargs for :func:`textwrap.wrap`, :func:`textwrap." +"fill`, and :func:`textwrap.shorten`. Now, there are nav links to attributes " +"of :class:`TextWrap`, which makes navigation much easier while minimizing " +"duplication in the documentation." +msgstr "" + +#: build/NEWS:14898 +msgid "" +":issue:`38062`: Clarify that atexit uses equality comparisons internally." +msgstr "" + +#: build/NEWS:14900 +msgid "" +":issue:`40620`: Convert examples in tutorial controlflow.rst section 4.3 to " +"be interpreter-demo style." +msgstr "" + +#: build/NEWS:14903 +msgid "" +":issue:`43066`: Added a warning to :mod:`zipfile` docs: filename arg with a " +"leading slash may cause archive to be un-openable on Windows systems." +msgstr "" + +#: build/NEWS:14906 +msgid "" +":issue:`39452`: Rewrote ``Doc/library/__main__.rst``. Broadened scope of the " +"document to explicitly discuss and differentiate between ``__main__.py`` in " +"packages versus the ``__name__ == '__main__'`` expression (and the idioms " +"that surround it)." +msgstr "" + +#: build/NEWS:14911 +msgid "" +":issue:`13814`: In the Design FAQ, answer \"Why don't generators support the " +"with statement?\"" +msgstr "" + +#: build/NEWS:14914 +msgid ":issue:`27752`: Documentation of csv.Dialect is more descriptive." +msgstr "" + +#: build/NEWS:14916 +msgid "" +":issue:`44453`: Fix documentation for the return type of :func:`sysconfig." +"get_path`." +msgstr "" + +#: build/NEWS:14919 +msgid "" +":issue:`44392`: Added a new section in the C API documentation for types " +"used in type hinting. Documented ``Py_GenericAlias`` and " +"``Py_GenericAliasType``." +msgstr "" + +#: build/NEWS:14923 +msgid "" +":issue:`38291`: Mark ``typing.io`` and ``typing.re`` as deprecated since " +"Python 3.8 in the documentation. They were never properly supported by type " +"checkers." +msgstr "" + +#: build/NEWS:14927 +msgid "" +":issue:`44322`: Document that SyntaxError args have a details tuple and that " +"details are adjusted for errors in f-string field replacement expressions." +msgstr "" + +#: build/NEWS:14930 +msgid "" +":issue:`42392`: Document the deprecation and removal of the ``loop`` " +"parameter for many functions and classes in :mod:`asyncio`." +msgstr "" + +#: build/NEWS:14933 +msgid "" +":issue:`44195`: Corrected references to ``TraversableResources`` in docs. " +"There is no ``TraversableReader``." +msgstr "" + +#: build/NEWS:14936 +msgid "" +":issue:`41963`: Document that ``ConfigParser`` strips off comments when " +"reading configuration files." +msgstr "" + +#: build/NEWS:14939 +msgid "" +":issue:`44072`: Correct where in the numeric ABC hierarchy ``**`` support is " +"added, i.e., in numbers.Complex, not numbers.Integral." +msgstr "" + +#: build/NEWS:14942 +msgid "" +":issue:`43558`: Add the remark to :mod:`dataclasses` documentation that the :" +"meth:`__init__` of any base class has to be called in :meth:`__post_init__`, " +"along with a code example." +msgstr "" + +#: build/NEWS:14946 +msgid "" +":issue:`44025`: Clarify when '_' in match statements is a keyword, and when " +"not." +msgstr "" + +#: build/NEWS:14949 +msgid "" +":issue:`41706`: Fix docs about how methods like ``__add__`` are invoked when " +"evaluating operator expressions." +msgstr "" + +#: build/NEWS:14952 +msgid "" +":issue:`41621`: Document that :class:`collections.defaultdict` parameter " +"``default_factory`` defaults to ``None`` and is positional-only." +msgstr "" + +#: build/NEWS:14955 +msgid ":issue:`41576`: document BaseException in favor of bare except" +msgstr "" + +#: build/NEWS:14957 +msgid "" +":issue:`21760`: The description for __file__ fixed. Patch by Furkan Onder" +msgstr "" + +#: build/NEWS:14959 +msgid "" +":issue:`39498`: Add a \"Security Considerations\" index which links to " +"standard library modules that have explicitly documented security " +"considerations." +msgstr "" + +#: build/NEWS:14962 +msgid "" +":issue:`33479`: Remove the unqualified claim that tkinter is threadsafe. It " +"has not been true for several years and likely never was. An explanation of " +"what is true may be added later, after more discussion, and possibly after " +"patching _tkinter.c," +msgstr "" + +#: build/NEWS:14970 +msgid "" +":issue:`40173`: Fix :func:`test.support.import_helper.import_fresh_module`." +msgstr "" + +#: build/NEWS:14972 +msgid ":issue:`45280`: Add a test case for empty :class:`typing.NamedTuple`." +msgstr "" + +#: build/NEWS:14974 +msgid "" +":issue:`45269`: Cover case when invalid ``markers`` type is supplied to " +"``c_make_encoder``." +msgstr "" + +#: build/NEWS:14977 +msgid "" +":issue:`45128`: Fix ``test_multiprocessing_fork`` failure due to " +"``test_logging`` and ``sys.modules`` manipulation." +msgstr "" + +#: build/NEWS:14980 +msgid "" +":issue:`45209`: Fix ``UserWarning: resource_tracker`` warning in " +"``_test_multiprocessing._TestSharedMemory." +"test_shared_memory_cleaned_after_process_termination``" +msgstr "" + +#: build/NEWS:14983 +msgid "" +":issue:`45185`: Enables ``TestEnumerations`` test cases in ``test_ssl`` " +"suite." +msgstr "" + +#: build/NEWS:14985 +msgid "" +":issue:`45195`: Fix test_readline.test_nonascii(): sometimes, the newline " +"character is not written at the end, so don't expect it in the output. Patch " +"by Victor Stinner." +msgstr "" + +#: build/NEWS:14989 +msgid "" +":issue:`45156`: Fixes infinite loop on :func:`unittest.mock.seal` of mocks " +"created by :func:`~unittest.create_autospec`." +msgstr "" + +#: build/NEWS:14992 +msgid "" +":issue:`45125`: Improves pickling tests and docs of ``SharedMemory`` and " +"``SharableList`` objects." +msgstr "" + +#: build/NEWS:14995 +msgid "" +":issue:`44860`: Update ``test_sysconfig.test_user_similar()`` for the " +"posix_user scheme: ``platlib`` doesn't use :data:`sys.platlibdir`. Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:14999 +msgid "" +":issue:`45052`: ``WithProcessesTestSharedMemory.test_shared_memory_basics`` " +"test was ignored, because ``self.assertEqual(sms.size, sms2.size)`` line was " +"failing. It is now removed and test is unskipped." +msgstr "" + +#: build/NEWS:15003 +msgid "" +"The main motivation for this line to be removed from the test is that the " +"``size`` of ``SharedMemory`` is not ever guaranteed to be the same. It is " +"decided by the platform." +msgstr "" + +#: build/NEWS:15007 +msgid "" +":issue:`44895`: libregrtest now clears the type cache later to reduce the " +"risk of false alarm when checking for reference leaks. Previously, the type " +"cache was cleared too early and libregrtest raised a false alarm about " +"reference leaks under very specific conditions. Patch by Irit Katriel and " +"Victor Stinner." +msgstr "" + +#: build/NEWS:15013 +msgid "" +":issue:`45042`: Fixes that test classes decorated with ``@hashlib_helper." +"requires_hashdigest`` were skipped all the time." +msgstr "" + +#: build/NEWS:15016 +msgid "" +":issue:`25130`: Add calls of :func:`gc.collect` in tests to support PyPy." +msgstr "" + +#: build/NEWS:15018 +msgid "" +":issue:`45011`: Made tests relying on the :mod:`!_asyncio` C extension " +"module optional to allow running on alternative Python implementations. " +"Patch by Serhiy Storchaka." +msgstr "" + +#: build/NEWS:15022 +msgid "" +":issue:`44949`: Fix auto history tests of test_readline: sometimes, the " +"newline character is not written at the end, so don't expect it in the " +"output." +msgstr "" + +#: build/NEWS:15025 +msgid "" +":issue:`44891`: Tests were added to clarify :func:`id` is preserved when " +"``obj * 1`` is used on :class:`str` and :class:`bytes` objects. Patch by " +"Nikita Sobolev." +msgstr "" + +#: build/NEWS:15029 +msgid "" +":issue:`44852`: Add ability to wholesale silence DeprecationWarnings while " +"running the regression test suite." +msgstr "" + +#: build/NEWS:15032 +msgid "" +":issue:`40928`: Notify users running test_decimal regression tests on macOS " +"of potential harmless \"malloc can't allocate region\" messages spewed by " +"test_decimal." +msgstr "" + +#: build/NEWS:15036 +msgid ":issue:`44734`: Fixed floating-point precision issue in turtle tests." +msgstr "" + +#: build/NEWS:15038 +msgid "" +":issue:`44708`: Regression tests, when run with -w, are now re-running only " +"the affected test methods instead of re-running the entire test file." +msgstr "" + +#: build/NEWS:15041 +msgid "" +":issue:`42095`: Added interop tests for Apple plists: generate plist files " +"with Python plistlib and parse with Apple plutil; and the other way round." +msgstr "" + +#: build/NEWS:15044 +msgid "" +":issue:`44647`: Added a permanent Unicode-valued environment variable to " +"regression tests to ensure they handle this use case in the future. If your " +"test environment breaks because of that, report a bug to us, and temporarily " +"set PYTHONREGRTEST_UNICODE_GUARD=0 in your test environment." +msgstr "" + +#: build/NEWS:15049 +msgid "" +":issue:`44515`: Adjust recently added contextlib tests to avoid assuming the " +"use of a refcounted GC" +msgstr "" + +#: build/NEWS:15052 +msgid "" +":issue:`44287`: Fix asyncio test_popen() of test_windows_utils by using a " +"longer timeout. Use military grade battle-tested :data:`test.support." +"SHORT_TIMEOUT` timeout rather than a hardcoded timeout of 10 seconds: it's " +"30 seconds by default, but it is made longer on slow buildbots. Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:15058 +msgid "" +":issue:`44451`: Reset ``DeprecationWarning`` filters in ``test." +"test_importlib.test_metadata_api.APITests.test_entry_points_by_index`` to " +"avoid ``StopIteration`` error if ``DeprecationWarnings`` are ignored." +msgstr "" + +#: build/NEWS:15062 +msgid "" +":issue:`44363`: Account for address sanitizer in test_capi. test_capi now " +"passes when run GCC address sanitizer." +msgstr "" + +#: build/NEWS:15065 +msgid ":issue:`44364`: Add non integral tests for :func:`math.sqrt` function." +msgstr "" + +#: build/NEWS:15067 +msgid "" +":issue:`43921`: Fix test_ssl.test_wrong_cert_tls13(): use " +"``suppress_ragged_eofs=False``, since ``read()`` can raise :exc:`ssl." +"SSLEOFError` on Windows. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:15071 +msgid "" +":issue:`43921`: Fix test_pha_required_nocert() of test_ssl: catch two more " +"EOF cases (when the ``recv()`` method returns an empty string). Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:15075 +msgid "" +":issue:`44131`: Add test_frozenmain to test_embed to test the :c:func:" +"`Py_FrozenMain` C function. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:15078 +msgid ":issue:`31904`: Ignore error string case in test_file_not_exists()." +msgstr "" + +#: build/NEWS:15080 +msgid "" +":issue:`42083`: Add test to check that ``PyStructSequence_NewType`` accepts " +"a ``PyStructSequence_Desc`` with ``doc`` field set to ``NULL``." +msgstr "" + +#: build/NEWS:15083 +msgid "" +":issue:`35753`: Fix crash in doctest when doctest parses modules that " +"include unwrappable functions by skipping those functions." +msgstr "" + +#: build/NEWS:15086 +msgid "" +":issue:`30256`: Add test for nested queues when using ``multiprocessing`` " +"shared objects ``AutoProxy[Queue]`` inside ``ListProxy`` and ``DictProxy``" +msgstr "" + +#: build/NEWS:15092 +msgid "" +":issue:`45220`: Avoid building with the Windows 11 SDK previews " +"automatically. This may be overridden by setting the " +"``DefaultWindowsSDKVersion`` environment variable before building." +msgstr "" + +#: build/NEWS:15096 +msgid "" +":issue:`45020`: Freeze stdlib modules that are imported during startup. " +"This provides significant performance improvements to startup. If " +"necessary, use the previously added \"-X frozen_modules=off\" commandline " +"option to force importing the source modules." +msgstr "" + +#: build/NEWS:15101 +msgid "" +":issue:`45188`: Windows builds now regenerate frozen modules as the first " +"part of the build. Previously the regeneration was later in the build, which " +"would require it to be restarted if any modules had changed." +msgstr "" + +#: build/NEWS:15105 +msgid ":issue:`45163`: Fixes Haiku platform build." +msgstr "" + +#: build/NEWS:15107 +msgid "" +":issue:`45067`: The ncurses function extended_color_content was introduced " +"in 2017" +msgstr "" + +#: build/NEWS:15110 +msgid "(https://invisible-island.net/ncurses/NEWS.html#index-t20170401). The" +msgstr "" + +#: build/NEWS:15112 +msgid "" +"ncurses-devel package in CentOS 7 had a older version ncurses resulted in " +"compilation error. For compiling ncurses with extended color support, we " +"verify the version of the ncurses library >= 20170401." +msgstr "" + +#: build/NEWS:15116 +msgid "" +":issue:`45019`: Generate lines in relevant files for frozen modules. Up " +"until now each of the files had to be edited manually. This change makes it " +"easier to add to and modify the frozen modules." +msgstr "" + +#: build/NEWS:15120 +msgid "" +":issue:`44340`: Add support for building with clang thin lto via --with-" +"lto=thin/full. Patch by Donghee Na and Brett Holman." +msgstr "" + +#: build/NEWS:15123 +msgid "" +":issue:`44535`: Enable building using a Visual Studio 2022 install on " +"Windows." +msgstr "" + +#: build/NEWS:15125 +msgid "" +":issue:`43298`: Improved error message when building without a Windows SDK " +"installed." +msgstr "" + +#: build/NEWS:15128 +msgid "" +":issue:`44381`: The Windows build now accepts :envvar:" +"`EnableControlFlowGuard` set to ``guard`` to enable CFG." +msgstr "" + +#: build/NEWS:15131 +msgid "" +":issue:`41282`: Fix broken ``make install`` that caused standard library " +"extension modules to be unnecessarily and incorrectly rebuilt during the " +"install phase of cpython." +msgstr "" + +#: build/NEWS:15138 +msgid "" +":issue:`45375`: Fixes an assertion failure due to searching for the standard " +"library in unnormalised paths." +msgstr "" + +#: build/NEWS:15141 +msgid ":issue:`45022`: Update Windows release to include libffi 3.4.2" +msgstr "" + +#: build/NEWS:15143 +msgid ":issue:`45007`: Update to OpenSSL 1.1.1l in Windows build" +msgstr "" + +#: build/NEWS:15145 +msgid ":issue:`44848`: Upgrade Windows installer to use SQLite 3.36.0." +msgstr "" + +#: build/NEWS:15147 +msgid "" +":issue:`44572`: Avoid consuming standard input in the :mod:`platform` module" +msgstr "" + +#: build/NEWS:15149 +msgid "" +":issue:`44582`: Accelerate speed of :mod:`mimetypes` initialization using a " +"native implementation of the registry scan." +msgstr "" + +#: build/NEWS:15152 +msgid "" +":issue:`41299`: Fix 16 milliseconds jitter when using timeouts in :mod:" +"`threading`, such as with :meth:`threading.Lock.acquire` or :meth:`threading." +"Condition.wait`." +msgstr "" + +#: build/NEWS:15156 +msgid "" +":issue:`42686`: Build :mod:`sqlite3` with math functions enabled. Patch by " +"Erlend E. Aasland." +msgstr "" + +#: build/NEWS:15159 +msgid "" +":issue:`40263`: This is a follow-on bug from https://bugs.python.org/" +"issue26903. Once that is applied we run into an off-by-one assertion " +"problem. The assert was not correct." +msgstr "" + +#: build/NEWS:15166 +msgid ":issue:`45007`: Update macOS installer builds to use OpenSSL 1.1.1l." +msgstr "" + +#: build/NEWS:15168 +msgid "" +":issue:`34602`: When building CPython on macOS with ``./configure --with-" +"undefined-behavior-sanitizer --with-pydebug``, the stack size is now " +"quadrupled to allow for the entire test suite to pass." +msgstr "" + +#: build/NEWS:15172 +msgid ":issue:`44848`: Update macOS installer to use SQLite 3.36.0." +msgstr "" + +#: build/NEWS:15174 +msgid "" +":issue:`44689`: :meth:`ctypes.util.find_library` now works correctly on " +"macOS 11 Big Sur even if Python is built on an older version of macOS. " +"Previously, when built on older macOS systems, ``find_library`` was not able " +"to find macOS system libraries when running on Big Sur due to changes in " +"how system libraries are stored." +msgstr "" + +#: build/NEWS:15180 +msgid "" +":issue:`41972`: The framework build's user header path in sysconfig is " +"changed to add a 'pythonX.Y' component to match distutils's behavior." +msgstr "" + +#: build/NEWS:15183 +msgid "" +":issue:`43109`: Allow --with-lto configure option to work with Apple-" +"supplied Xcode or Command Line Tools." +msgstr "" + +#: build/NEWS:15186 +msgid "" +":issue:`34932`: Add socket.TCP_KEEPALIVE support for macOS. Patch by Shane " +"Harvey." +msgstr "" + +#: build/NEWS:15192 +msgid "" +":issue:`45296`: On Windows, change exit/quit message to suggest Ctrl-D, " +"which works, instead of <Ctrl-Z Return>, which does not work in IDLE." +msgstr "" + +#: build/NEWS:15195 +msgid ":issue:`45193`: Make completion boxes appear on Ubuntu again." +msgstr "" + +#: build/NEWS:15197 +msgid "" +":issue:`40128`: Mostly fix completions on macOS when not using tcl/tk 8.6.11 " +"(as with 3.9). The added update_idletask call should be harmless and " +"possibly helpful otherwise." +msgstr "" + +#: build/NEWS:15201 +msgid "" +":issue:`33962`: Move the indent space setting from the Font tab to the new " +"Windows tab. Patch by Mark Roseman and Terry Jan Reedy." +msgstr "" + +#: build/NEWS:15204 +msgid "" +":issue:`40468`: Split the settings dialog General tab into Windows and Shell/" +"ED tabs. Move help sources, which extend the Help menu, to the Extensions " +"tab. Make space for new options and shorten the dialog. The latter makes the " +"dialog better fit small screens." +msgstr "" + +#: build/NEWS:15209 +msgid "" +":issue:`41611`: Avoid uncaught exceptions in ``AutoCompleteWindow." +"winconfig_event()``." +msgstr "" + +#: build/NEWS:15212 +msgid "" +":issue:`41611`: Fix IDLE sometimes freezing upon tab-completion on macOS." +msgstr "" + +#: build/NEWS:15214 +msgid "" +":issue:`44010`: Highlight the new :ref:`match <match>` statement's :ref:" +"`soft keywords <soft-keywords>`: :keyword:`match`, :keyword:`case <match>`, " +"and :keyword:`_ <wildcard-patterns>`. However, this highlighting is not " +"perfect and will be incorrect in some rare cases, including some ``_``-s in " +"``case`` patterns." +msgstr "" + +#: build/NEWS:15220 +msgid "" +":issue:`44026`: Include interpreter's typo fix suggestions in message line " +"for NameErrors and AttributeErrors. Patch by E. Paine." +msgstr "" + +#: build/NEWS:15226 +msgid "" +":issue:`44786`: Fix a warning in regular expression in the c-analyzer script." +msgstr "" + +#: build/NEWS:15228 +msgid "" +":issue:`44967`: pydoc now returns a non-zero status code when a module " +"cannot be found." +msgstr "" + +#: build/NEWS:15231 +msgid "" +":issue:`44978`: Allow the Argument Clinic tool to handle ``__complex__`` " +"special methods." +msgstr "" + +#: build/NEWS:15234 +msgid "" +":issue:`43425`: Removed the 'test2to3' demo project that demonstrated using " +"lib2to3 to support Python 2.x and Python 3.x from a single source in a " +"distutils package. Patch by Donghee Na" +msgstr "" + +#: build/NEWS:15238 +msgid "" +":issue:`44074`: Make patchcheck automatically detect the correct base branch " +"name (previously it was hardcoded to 'master')" +msgstr "" + +#: build/NEWS:15241 +msgid "" +":issue:`20291`: Added support for variadic positional parameters in Argument " +"Clinic." +msgstr "" + +#: build/NEWS:15247 +msgid "" +":issue:`41710`: The PyThread_acquire_lock_timed() function now clamps the " +"timeout if it is too large, rather than aborting the process. Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:15251 +msgid "" +":issue:`44687`: :meth:`BufferedReader.peek` no longer raises :exc:" +"`ValueError` when the entire file has already been buffered." +msgstr "" + +#: build/NEWS:15254 +msgid "" +":issue:`45116`: Add the :c:macro:`Py_ALWAYS_INLINE` macro to ask the " +"compiler to always inline a static inline function. The compiler can ignore " +"it and decides to not inline the function. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:15258 +msgid "" +":issue:`45094`: Add the :c:macro:`Py_NO_INLINE` macro to disable inlining on " +"a function. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:15261 +msgid "" +":issue:`45061`: Add a deallocator to the :class:`bool` type to detect " +"refcount bugs in C extensions which call ``Py_DECREF(Py_True);`` or " +"``Py_DECREF(Py_False);`` by mistake. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:15265 +msgid "" +":issue:`42035`: Add a new :c:func:`PyType_GetQualName` function to get " +"type's qualified name." +msgstr "" + +#: build/NEWS:15268 +msgid "" +":issue:`41103`: Reverts removal of the old buffer protocol because they are " +"part of stable ABI." +msgstr "" + +#: build/NEWS:15271 +msgid "" +":issue:`44751`: Remove ``crypt.h`` include from the public ``Python.h`` " +"header." +msgstr "" + +#: build/NEWS:15273 +msgid "" +":issue:`42747`: The ``Py_TPFLAGS_HAVE_VERSION_TAG`` type flag now does " +"nothing. The ``Py_TPFLAGS_HAVE_AM_SEND`` flag (which was added in 3.10) is " +"removed. Both were unnecessary because it is not possible to have type " +"objects with the relevant fields missing." +msgstr "" + +#: build/NEWS:15278 +msgid "" +":issue:`44530`: Added the ``co_qualname`` to the ``PyCodeObject`` structure " +"to propagate the qualified name from the compiler to code objects." +msgstr "" + +#: build/NEWS:15281 +msgid "Patch by Gabriele N. Tornetta" +msgstr "" + +#: build/NEWS:15283 +msgid "" +":issue:`44441`: :c:func:`Py_RunMain` now resets :c:data:`PyImport_Inittab` " +"to its initial value at exit. It must be possible to call :c:func:" +"`PyImport_AppendInittab` or :c:func:`PyImport_ExtendInittab` at each Python " +"initialization. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:15288 +msgid "" +":issue:`39947`: Remove 4 private trashcan C API functions which were only " +"kept for the backward compatibility of the stable ABI with Python 3.8 and " +"older, since the trashcan API was not usable with the limited C API on " +"Python 3.8 and older. The trashcan API was excluded from the limited C API " +"in Python 3.9." +msgstr "" + +#: build/NEWS:15294 +msgid "Removed functions:" +msgstr "" + +#: build/NEWS:15296 +msgid "_PyTrash_deposit_object()" +msgstr "" + +#: build/NEWS:15297 +msgid "_PyTrash_destroy_chain()" +msgstr "" + +#: build/NEWS:15298 +msgid "_PyTrash_thread_deposit_object()" +msgstr "" + +#: build/NEWS:15299 +msgid "_PyTrash_thread_destroy_chain()" +msgstr "" + +#: build/NEWS:15301 +msgid "" +"The trashcan C API was never usable with the limited C API, since old " +"trashcan macros accessed directly :c:type:`PyThreadState` members like " +"``_tstate->trash_delete_nesting``, whereas the :c:type:`PyThreadState` " +"structure is opaque in the limited C API." +msgstr "" + +#: build/NEWS:15306 +msgid "Exclude also the ``PyTrash_UNWIND_LEVEL`` constant from the C API." +msgstr "" + +#: build/NEWS:15310 +msgid "" +":issue:`40939`: Removed documentation for the removed ``PyParser_*`` C API." +msgstr "" + +#: build/NEWS:15312 +msgid "" +":issue:`43795`: The list in :ref:`limited-api-list` now shows the public " +"name :c:struct:`PyFrameObject` rather than ``_frame``. The non-existing " +"entry ``_node`` no longer appears in the list." +msgstr "" + +#: build/NEWS:15316 +msgid "" +":issue:`44378`: :c:func:`Py_IS_TYPE` no longer uses :c:func:`Py_TYPE` to " +"avoid a compiler warning: no longer cast ``const PyObject*`` to " +"``PyObject*``. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:15320 +msgid "" +":issue:`39573`: Convert the :c:func:`Py_TYPE` and :c:func:`Py_SIZE` macros " +"to static inline functions. The :c:func:`Py_SET_TYPE` and :c:func:" +"`Py_SET_SIZE` functions must now be used to set an object type and size. " +"Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:15325 +msgid "" +":issue:`44263`: The :c:func:`PyType_Ready` function now raises an error if a " +"type is defined with the :c:macro:`Py_TPFLAGS_HAVE_GC` flag set but has no " +"traverse function (:c:member:`PyTypeObject.tp_traverse`). Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:15330 +msgid "" +":issue:`43795`: The undocumented function :c:func:`Py_FrozenMain` is removed " +"from the Limited API." +msgstr "" + +#: build/NEWS:15333 +msgid "" +":issue:`44113`: Deprecate the following functions to configure the Python " +"initialization:" +msgstr "" + +#: build/NEWS:15336 +msgid ":c:func:`!PySys_AddWarnOptionUnicode`" +msgstr "" + +#: build/NEWS:15337 +msgid ":c:func:`!PySys_AddWarnOption`" +msgstr "" + +#: build/NEWS:15338 +msgid ":c:func:`!PySys_AddXOption`" +msgstr "" + +#: build/NEWS:15339 +msgid ":c:func:`!PySys_HasWarnOptions`" +msgstr "" + +#: build/NEWS:15340 +msgid ":c:func:`!Py_SetPath`" +msgstr "" + +#: build/NEWS:15341 +msgid ":c:func:`!Py_SetProgramName`" +msgstr "" + +#: build/NEWS:15342 +msgid ":c:func:`!Py_SetPythonHome`" +msgstr "" + +#: build/NEWS:15343 +msgid ":c:func:`!Py_SetStandardStreamEncoding`" +msgstr "" + +#: build/NEWS:15344 +msgid ":c:func:`!_Py_SetProgramFullPath`" +msgstr "" + +#: build/NEWS:15346 +msgid "" +"Use the new :c:type:`PyConfig` API of the :ref:`Python Initialization " +"Configuration <init-config>` instead (:pep:`587`)." +msgstr "" + +#: build/NEWS:15349 +msgid "" +":issue:`44094`: Remove ``PyErr_SetFromErrnoWithUnicodeFilename()``, " +"``PyErr_SetFromWindowsErrWithUnicodeFilename()``, and " +"``PyErr_SetExcFromWindowsErrWithUnicodeFilename()``. They are not documented " +"and have been deprecated since Python 3.3." +msgstr "" + +#: build/NEWS:15354 +msgid "" +":issue:`43795`: :c:func:`PyCodec_Unregister` is now properly exported as a " +"function in the Windows Stable ABI DLL." +msgstr "" + +#: build/NEWS:15357 +msgid "" +":issue:`44029`: Remove deprecated ``Py_UNICODE`` APIs: ``PyUnicode_Encode``, " +"``PyUnicode_EncodeUTF7``, ``PyUnicode_EncodeUTF8``, " +"``PyUnicode_EncodeUTF16``, ``PyUnicode_EncodeUTF32``, " +"``PyUnicode_EncodeLatin1``, ``PyUnicode_EncodeMBCS``, " +"``PyUnicode_EncodeDecimal``, ``PyUnicode_EncodeRawUnicodeEscape``, " +"``PyUnicode_EncodeCharmap``, ``PyUnicode_EncodeUnicodeEscape``, " +"``PyUnicode_TransformDecimalToASCII``, ``PyUnicode_TranslateCharmap``, " +"``PyUnicodeEncodeError_Create``, ``PyUnicodeTranslateError_Create``. See :" +"pep:`393` and :pep:`624` for reference." +msgstr "" + +#: build/NEWS:15367 +msgid "" +":issue:`42035`: Add a new :c:func:`PyType_GetName` function to get type's " +"short name." +msgstr "" + +#: build/NEWS:15372 +msgid "Python 3.10.0 beta 1" +msgstr "" + +#: build/NEWS:15374 +msgid "*Release date: 2021-05-03*" +msgstr "" + +#: build/NEWS:15379 +msgid "" +":issue:`43434`: Creating :class:`sqlite3.Connection` objects now also " +"produces ``sqlite3.connect`` and ``sqlite3.connect/handle`` :ref:`auditing " +"events <auditing>`. Previously these events were only produced by :func:" +"`sqlite3.connect` calls. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:15384 +msgid "" +":issue:`43998`: The :mod:`ssl` module sets more secure cipher suites " +"defaults. Ciphers without forward secrecy and with SHA-1 MAC are disabled by " +"default. Security level 2 prohibits weak RSA, DH, and ECC keys with less " +"than 112 bits of security. :class:`~ssl.SSLContext` defaults to minimum " +"protocol version TLS 1.2. Settings are based on Hynek Schlawack's research." +msgstr "" + +#: build/NEWS:15391 +msgid "" +":issue:`43882`: The presence of newline or tab characters in parts of a URL " +"could allow some forms of attacks." +msgstr "" + +#: build/NEWS:15394 +msgid "" +"Following the controlling specification for URLs defined by WHATWG :func:" +"`urllib.parse` now removes ASCII newlines and tabs from URLs, preventing " +"such attacks." +msgstr "" + +#: build/NEWS:15398 +msgid "" +":issue:`43472`: Ensures interpreter-level audit hooks receive the ``cpython." +"PyInterpreterState_New`` event when called through the " +"``_xxsubinterpreters`` module." +msgstr "" + +#: build/NEWS:15402 +msgid "" +":issue:`43362`: Fix invalid free in _sha3 module. The issue was introduced " +"in 3.10.0a1. Python 3.9 and earlier are not affected." +msgstr "" + +#: build/NEWS:15405 +msgid "" +":issue:`43762`: Add audit events for :func:`sqlite3.connect/handle`, :meth:" +"`sqlite3.Connection.enable_load_extension`, and :meth:`sqlite3.Connection." +"load_extension`. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:15409 +msgid "" +":issue:`43756`: Add new audit event ``glob.glob/2`` to incorporate the new " +"*root_dir* and *dir_fd* arguments added to :func:`glob.glob` and :func:`glob." +"iglob`." +msgstr "" + +#: build/NEWS:15413 +msgid "" +":issue:`36384`: :mod:`ipaddress` module no longer accepts any leading zeros " +"in IPv4 address strings. Leading zeros are ambiguous and interpreted as " +"octal notation by some libraries. For example the legacy function :func:" +"`socket.inet_aton` treats leading zeros as octal notation. glibc " +"implementation of modern :func:`~socket.inet_pton` does not accept any " +"leading zeros. For a while the :mod:`ipaddress` module used to accept " +"ambiguous leading zeros." +msgstr "" + +#: build/NEWS:15421 +msgid "" +":issue:`43075`: Fix Regular Expression Denial of Service (ReDoS) " +"vulnerability in :class:`urllib.request.AbstractBasicAuthHandler`. The " +"ReDoS-vulnerable regex has quadratic worst-case complexity and it allows " +"cause a denial of service when identifying crafted invalid RFCs. This ReDoS " +"issue is on the client side and needs remote attackers to control the HTTP " +"server." +msgstr "" + +#: build/NEWS:15427 +msgid "" +":issue:`42800`: Audit hooks are now fired for frame.f_code, traceback." +"tb_frame, and generator code/frame attribute access." +msgstr "" + +#: build/NEWS:15430 +msgid ":issue:`37363`: Add audit events to the :mod:`http.client` module." +msgstr "" + +#: build/NEWS:15435 +msgid "" +":issue:`43977`: Prevent classes being both a sequence and a mapping when " +"pattern matching." +msgstr "" + +#: build/NEWS:15438 +msgid "" +":issue:`43977`: Use :c:member:`~PyTypeObject.tp_flags` on the class object " +"to determine if the subject is a sequence or mapping when pattern matching. " +"Avoids the need to import :mod:`collections.abc` when pattern matching." +msgstr "" + +#: build/NEWS:15442 +msgid "" +":issue:`43892`: Restore proper validation of complex literal value patterns " +"when parsing :keyword:`!match` blocks." +msgstr "" + +#: build/NEWS:15445 +msgid "" +":issue:`43933`: Set frame.f_lineno to the line number of the 'with' kweyword " +"when executing the call to ``__exit__``." +msgstr "" + +#: build/NEWS:15448 +msgid "" +":issue:`43933`: If the current position in a frame has no line number then " +"set the f_lineno attribute to None, instead of -1, to conform to PEP 626. " +"This should not normally be possible, but might occur in some unusual " +"circumstances." +msgstr "" + +#: build/NEWS:15453 +msgid "" +":issue:`43963`: Importing the :mod:`!_signal` module in a subinterpreter has " +"no longer side effects." +msgstr "" + +#: build/NEWS:15456 +msgid "" +":issue:`42739`: The internal representation of line number tables is changed " +"to not use sentinels, and an explicit length parameter is added to the out " +"of process API function ``PyLineTable_InitAddressRange``. This makes the " +"handling of line number tables more robust in some circumstances." +msgstr "" + +#: build/NEWS:15461 +msgid "" +":issue:`43908`: Make :mod:`re` types immutable. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:15463 +msgid "" +":issue:`43908`: Make the :class:`array.array` type immutable. Patch by " +"Erlend E. Aasland." +msgstr "" + +#: build/NEWS:15466 +msgid "" +":issue:`43901`: Change class and module objects to lazy-create empty " +"annotations dicts on demand. The annotations dicts are stored in the " +"object's __dict__ for backwards compatibility." +msgstr "" + +#: build/NEWS:15470 +msgid "" +":issue:`43892`: Match patterns now use new dedicated AST nodes " +"(``MatchValue``, ``MatchSingleton``, ``MatchSequence``, ``MatchStar``, " +"``MatchMapping``, ``MatchClass``) rather than reusing expression AST nodes. " +"``MatchAs`` and ``MatchOr`` are now defined as pattern nodes rather than as " +"expression nodes. Patch by Nick Coghlan." +msgstr "" + +#: build/NEWS:15476 +msgid "" +":issue:`42725`: Usage of ``await``/``yield``/``yield from`` and named " +"expressions within an annotation is now forbidden when PEP 563 is activated." +msgstr "" + +#: build/NEWS:15480 +msgid "" +":issue:`43754`: When performing structural pattern matching (:pep:`634`), " +"captured names are now left unbound until the *entire* pattern has matched " +"successfully." +msgstr "" + +#: build/NEWS:15484 +msgid "" +":issue:`42737`: Annotations for complex targets (everything beside simple " +"names) no longer cause any runtime effects with ``from __future__ import " +"annotations``." +msgstr "" + +#: build/NEWS:15488 +msgid "" +":issue:`43914`: :exc:`SyntaxError` exceptions raised by the interpreter will " +"highlight the full error range of the expression that consistutes the syntax " +"error itself, instead of just where the problem is detected. Patch by Pablo " +"Galindo." +msgstr "" + +#: build/NEWS:15493 +msgid "" +":issue:`38605`: Revert making ``from __future__ import annotations`` the " +"default. This follows the Steering Council decision to postpone PEP 563 " +"changes to at least Python 3.11. See the original email for more information " +"regarding the decision: https://mail.python.org/archives/list/python-" +"dev@python.org/thread/CLVXXPQ2T2LQ5MP2Y53VVQFCXYWQJHKZ/. Patch by Pablo " +"Galindo." +msgstr "" + +#: build/NEWS:15500 +msgid "" +":issue:`43475`: Hashes of NaN values now depend on object identity. " +"Formerly, they always hashed to 0 even though NaN values are not equal to " +"one another. Having the same hash for unequal values caused pile-ups in " +"hash tables." +msgstr "" + +#: build/NEWS:15505 +msgid "" +":issue:`43859`: Improve the error message for :exc:`IndentationError` " +"exceptions. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:15508 +msgid "" +":issue:`41323`: Constant tuple folding in bytecode optimizer now reuses " +"tuple in constant table." +msgstr "" + +#: build/NEWS:15511 +msgid "" +":issue:`43846`: Data stack usage is much reduced for large literal and call " +"expressions." +msgstr "" + +#: build/NEWS:15514 +msgid "" +":issue:`38530`: When printing :exc:`NameError` raised by the interpreter, :c:" +"func:`PyErr_Display` will offer suggestions of similar variable names in the " +"function that the exception was raised from. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:15518 +msgid "" +":issue:`43823`: Improve syntax errors for invalid dictionary literals. Patch " +"by Pablo Galindo." +msgstr "" + +#: build/NEWS:15521 +msgid "" +":issue:`43822`: Improve syntax errors in the parser for missing commas " +"between expressions. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:15524 +msgid "" +":issue:`43798`: :class:`ast.alias` nodes now include source location " +"metadata attributes e.g. lineno, col_offset." +msgstr "" + +#: build/NEWS:15527 +msgid "" +":issue:`43797`: Improve ``SyntaxError`` error messages for invalid " +"comparisons. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:15530 +msgid "" +":issue:`43760`: Move the flag for checking whether tracing is enabled to the " +"C stack, from the heap. Should speed up dispatch in the interpreter." +msgstr "" + +#: build/NEWS:15533 +msgid "" +":issue:`43682`: Static methods (:func:`@staticmethod <staticmethod>`) and " +"class methods (:func:`@classmethod <classmethod>`) now inherit the method " +"attributes (``__module__``, ``__name__``, ``__qualname__``, ``__doc__``, " +"``__annotations__``) and have a new ``__wrapped__`` attribute. Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:15539 +msgid "" +":issue:`43751`: Fixed a bug where ``anext(ait, default)`` would erroneously " +"return None." +msgstr "" + +#: build/NEWS:15542 +msgid "" +":issue:`42128`: :data:`~object.__match_args__` is no longer allowed to be a " +"list." +msgstr "" + +#: build/NEWS:15545 +msgid "" +":issue:`43683`: Add GEN_START opcode. Marks start of generator, including " +"async, or coroutine and handles sending values to a newly created generator " +"or coroutine." +msgstr "" + +#: build/NEWS:15549 +msgid "" +":issue:`43105`: Importlib now resolves relative paths when creating module " +"spec objects from file locations." +msgstr "" + +#: build/NEWS:15552 +msgid "" +":issue:`43682`: Static methods (:func:`@staticmethod <staticmethod>`) are " +"now callable as regular functions. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:15555 +msgid "" +":issue:`42609`: Prevented crashes in the AST validator and optimizer when " +"compiling some absurdly long expressions like ``\"+0\"*1000000``. :exc:" +"`RecursionError` is now raised instead." +msgstr "" + +#: build/NEWS:15559 +msgid "" +":issue:`38530`: When printing :exc:`AttributeError`, :c:func:`PyErr_Display` " +"will offer suggestions of similar attribute names in the object that the " +"exception was raised from. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:15566 +msgid "" +":issue:`44015`: In @dataclass(), raise a TypeError if KW_ONLY is specified " +"more than once." +msgstr "" + +#: build/NEWS:15569 +msgid "" +":issue:`25478`: Added a *total()* method to collections.Counter() to compute " +"the sum of the counts." +msgstr "" + +#: build/NEWS:15572 +msgid "" +":issue:`43733`: Change :class:`netrc.netrc` to use UTF-8 encoding before " +"using locale encoding." +msgstr "" + +#: build/NEWS:15575 +msgid "" +":issue:`43979`: Removed an unnecessary list comprehension before looping " +"from :func:`urllib.parse.parse_qsl`. Patch by Christoph Zwerschke and " +"Donghee Na." +msgstr "" + +#: build/NEWS:15579 +msgid ":issue:`43993`: Update bundled pip to 21.1.1." +msgstr "" + +#: build/NEWS:15581 +msgid "" +":issue:`43957`: [Enum] Deprecate ``TypeError`` when non-member is used in a " +"containment check; In 3.12 ``True`` or ``False`` will be returned instead, " +"and containment will return ``True`` if the value is either a member of that " +"enum or one of its members' value." +msgstr "" + +#: build/NEWS:15586 +msgid "" +":issue:`42904`: For backwards compatibility with previous minor versions of " +"Python, if :func:`typing.get_type_hints` receives no namespace dictionary " +"arguments, :func:`typing.get_type_hints` will search through the global then " +"local namespaces during evaluation of stringized type annotations (string " +"forward references) inside a class." +msgstr "" + +#: build/NEWS:15592 +msgid "" +":issue:`43945`: [Enum] Deprecate non-standard mixin format() behavior: in " +"3.12 the enum member, not the member's value, will be used for format() " +"calls." +msgstr "" + +#: build/NEWS:15595 +msgid ":issue:`41139`: Deprecate undocumented ``cgi.log()`` API." +msgstr "" + +#: build/NEWS:15597 +msgid "" +":issue:`43937`: Fixed the :mod:`turtle` module working with non-default root " +"window." +msgstr "" + +#: build/NEWS:15600 +msgid ":issue:`43930`: Update bundled pip to 21.1 and setuptools to 56.0.0" +msgstr "" + +#: build/NEWS:15602 +msgid "" +":issue:`43907`: Fix a bug in the pure-Python pickle implementation when " +"using protocol 5, where bytearray instances that occur several time in the " +"pickled object graph would incorrectly unpickle into repeated copies of the " +"bytearray object." +msgstr "" + +#: build/NEWS:15607 +msgid "" +":issue:`43926`: In ``importlib.metadata``, provide a uniform interface to " +"``Description``, allow for any field to be encoded with multiline values, " +"remove continuation lines from multiline values, and add a ``.json`` " +"property for easy access to the PEP 566 JSON-compatible form. Sync with " +"``importlib_metadata 4.0``." +msgstr "" + +#: build/NEWS:15613 +msgid "" +":issue:`43920`: OpenSSL 3.0.0: :meth:`~ssl.SSLContext.load_verify_locations` " +"now returns a consistent error message when cadata contains no valid " +"certificate." +msgstr "" + +#: build/NEWS:15617 +msgid "" +":issue:`43607`: :mod:`urllib` can now convert Windows paths with ``\\\\?\\`` " +"prefixes into URL paths." +msgstr "" + +#: build/NEWS:15620 +msgid "" +":issue:`43817`: Add :func:`inspect.get_annotations`, which safely computes " +"the annotations defined on an object. It works around the quirks of " +"accessing the annotations from various types of objects, and makes very few " +"assumptions about the object passed in. :func:`inspect.get_annotations` can " +"also correctly un-stringize stringized annotations." +msgstr "" + +#: build/NEWS:15626 +msgid "" +":func:`inspect.signature`, :func:`inspect.from_callable`, and :func:`inspect." +"from_function` now call :func:`inspect.get_annotations` to retrieve " +"annotations. This means :func:`inspect.signature` and :func:`inspect." +"from_callable` can now un-stringize stringized annotations, too." +msgstr "" + +#: build/NEWS:15632 +msgid "" +":issue:`43284`: platform.win32_ver derives the windows version from sys." +"getwindowsversion().platform_version which in turn derives the version from " +"kernel32.dll (which can be of a different version than Windows itself). " +"Therefore change the platform.win32_ver to determine the version using the " +"platform module's _syscmd_ver private function to return an accurate version." +msgstr "" + +#: build/NEWS:15639 +msgid "" +":issue:`42854`: The :mod:`ssl` module now uses ``SSL_read_ex`` and " +"``SSL_write_ex`` internally. The functions support reading and writing of " +"data larger than 2 GB. Writing zero-length data no longer fails with a " +"protocol violation error." +msgstr "" + +#: build/NEWS:15644 +msgid "" +":issue:`42333`: Port ``_ssl`` extension module to multiphase initialization." +msgstr "" + +#: build/NEWS:15646 +msgid "" +":issue:`43880`: :mod:`ssl` now raises DeprecationWarning for OP_NO_SSL/TLS* " +"options, old TLS versions, old protocols, and other features that have been " +"deprecated since Python 3.6, 3.7, or OpenSSL 1.1.0." +msgstr "" + +#: build/NEWS:15650 +msgid "" +":issue:`41559`: :pep:`612` is now implemented purely in Python; builtin " +"``types.GenericAlias`` objects no longer include ``typing.ParamSpec`` in " +"``__parameters__`` (with the exception of ``collections.abc.Callable``\\ 's " +"``GenericAlias``). This means previously invalid uses of ``ParamSpec`` (such " +"as ``list[P]``) which worked in earlier versions of Python 3.10 alpha, will " +"now raise ``TypeError`` during substitution." +msgstr "" + +#: build/NEWS:15657 +msgid "" +":issue:`43867`: The :mod:`multiprocessing` ``Server`` class now explicitly " +"catches :exc:`SystemExit` and closes the client connection in this case. It " +"happens when the ``Server.serve_client()`` method reaches the end of file " +"(EOF)." +msgstr "" + +#: build/NEWS:15662 +msgid "" +":issue:`40443`: Remove unused imports: pyclbr no longer uses copy, and " +"typing no longer uses ast. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:15665 +msgid "" +":issue:`43820`: Remove an unneeded copy of the namespace passed to " +"dataclasses.make_dataclass()." +msgstr "" + +#: build/NEWS:15668 +msgid "" +":issue:`43787`: Add ``__iter__()`` method to :class:`bz2.BZ2File`, :class:" +"`gzip.GzipFile`, and :class:`lzma.LZMAFile`. It makes iterating them about " +"2x faster. Patch by Inada Naoki." +msgstr "" + +#: build/NEWS:15672 +msgid "" +":issue:`43680`: Deprecate io.OpenWrapper and _pyio.OpenWrapper: use io.open " +"and _pyio.open instead. Until Python 3.9, _pyio.open was not a static method " +"and builtins.open was set to OpenWrapper to not become a bound method when " +"set to a class variable. _io.open is a built-in function whereas _pyio.open " +"is a Python function. In Python 3.10, _pyio.open() is now a static method, " +"and builtins.open() is now io.open()." +msgstr "" + +#: build/NEWS:15679 +msgid "" +":issue:`43680`: The Python :func:`!_pyio.open` function becomes a static " +"method to behave as :func:`io.open` built-in function: don't become a bound " +"method when stored as a class variable. It becomes possible since static " +"methods are now callable in Python 3.10. Moreover, :func:`!_pyio." +"OpenWrapper` becomes a simple alias to :func:`!_pyio.open`. Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:15686 +msgid "" +":issue:`41515`: Fix :exc:`KeyError` raised in :func:`typing.get_type_hints` " +"due to synthetic modules that don't appear in ``sys.modules``." +msgstr "" + +#: build/NEWS:15689 +msgid "" +":issue:`43776`: When :class:`subprocess.Popen` args are provided as a string " +"or as :class:`pathlib.Path`, the Popen instance repr now shows the right " +"thing." +msgstr "" + +#: build/NEWS:15693 +msgid "" +":issue:`42248`: [Enum] ensure exceptions raised in ``_missing__`` are " +"released" +msgstr "" + +#: build/NEWS:15695 +msgid "" +":issue:`43744`: fix issue with enum member name matching the start of a " +"private variable name" +msgstr "" + +#: build/NEWS:15698 +msgid "" +":issue:`43772`: Fixed the return value of ``TypeVar.__ror__``. Patch by " +"Jelle Zijlstra." +msgstr "" + +#: build/NEWS:15701 +msgid "" +":issue:`43764`: Add match_args parameter to @dataclass decorator to allow " +"suppression of __match_args__ generation." +msgstr "" + +#: build/NEWS:15704 +msgid "" +":issue:`43799`: OpenSSL 3.0.0: define ``OPENSSL_API_COMPAT`` 1.1.1 to " +"suppress deprecation warnings. Python requires OpenSSL 1.1.1 APIs." +msgstr "" + +#: build/NEWS:15707 +msgid "" +":issue:`43478`: Mocks can no longer be used as the specs for other Mocks. As " +"a result, an already-mocked object cannot have an attribute mocked using " +"``autospec=True`` or be the subject of a ``create_autospec(...)`` call. This " +"can uncover bugs in tests since these Mock-derived Mocks will always pass " +"certain tests (e.g. :func:`isinstance`) and builtin assert functions (e.g. " +"assert_called_once_with) will unconditionally pass." +msgstr "" + +#: build/NEWS:15714 +msgid "" +":issue:`43794`: Add :const:`ssl.OP_IGNORE_UNEXPECTED_EOF` constants (OpenSSL " +"3.0.0)" +msgstr "" + +#: build/NEWS:15717 +msgid "" +":issue:`43785`: Improve ``bz2.BZ2File`` performance by removing the RLock " +"from BZ2File. This makes BZ2File thread unsafe in the face of multiple " +"simultaneous readers or writers, just like its equivalent classes in :mod:" +"`gzip` and :mod:`lzma` have always been. Patch by Inada Naoki." +msgstr "" + +#: build/NEWS:15722 +msgid "" +":issue:`43789`: OpenSSL 3.0.0: Don't call the password callback function a " +"second time when first call has signaled an error condition." +msgstr "" + +#: build/NEWS:15725 +msgid "" +":issue:`43788`: The header files for :mod:`ssl` error codes are now OpenSSL " +"version-specific. Exceptions will now show correct reason and library codes. " +"The ``make_ssl_data.py`` script has been rewritten to use OpenSSL's text " +"file with error codes." +msgstr "" + +#: build/NEWS:15730 +msgid "" +":issue:`43766`: Implement :pep:`647` in the :mod:`typing` module by adding :" +"data:`TypeGuard`." +msgstr "" + +#: build/NEWS:15733 +msgid "" +":issue:`25264`: :func:`os.path.realpath` now accepts a *strict* keyword-only " +"argument. When set to ``True``, :exc:`OSError` is raised if a path doesn't " +"exist or a symlink loop is encountered." +msgstr "" + +#: build/NEWS:15737 +msgid "" +":issue:`43780`: In ``importlib.metadata``, incorporate changes from " +"importlib_metadata 3.10: Add mtime-based caching during distribution " +"discovery. Flagged use of dict result from ``entry_points()`` as deprecated." +msgstr "" + +#: build/NEWS:15742 +msgid "" +":gh:`47383`: The ``P.args`` and ``P.kwargs`` attributes of :class:`typing." +"ParamSpec` are now instances of the new classes :class:`typing." +"ParamSpecArgs` and :class:`typing.ParamSpecKwargs`, which enables a more " +"useful ``repr()``. Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:15747 +msgid "" +":issue:`43731`: Add an ``encoding`` parameter :func:`logging.fileConfig`." +msgstr "" + +#: build/NEWS:15749 +msgid "" +":issue:`43712`: Add ``encoding`` and ``errors`` parameters to :func:" +"`fileinput.input` and :class:`fileinput.FileInput`." +msgstr "" + +#: build/NEWS:15752 +msgid "" +":issue:`38659`: A ``simple_enum`` decorator is added to the ``enum`` module " +"to convert a normal class into an Enum. ``test_simple_enum`` added to test " +"simple enums against a corresponding normal Enum. Standard library modules " +"updated to use ``simple_enum``." +msgstr "" + +#: build/NEWS:15757 +msgid "" +":issue:`43764`: Fix an issue where :data:`~object.__match_args__` generation " +"could fail for some :mod:`dataclasses`." +msgstr "" + +#: build/NEWS:15760 +msgid "" +":issue:`43752`: Fix :mod:`sqlite3` regression for zero-sized blobs with " +"converters, where ``b\"\"`` was returned instead of ``None``. The regression " +"was introduced by PR 24723. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:15764 +msgid "" +":issue:`43655`: :mod:`tkinter` dialog windows are now recognized as dialogs " +"by window managers on macOS and X Window." +msgstr "" + +#: build/NEWS:15767 +msgid "" +":issue:`43723`: The following ``threading`` methods are now deprecated and " +"should be replaced:" +msgstr "" + +#: build/NEWS:15770 +msgid "``currentThread`` => :func:`threading.current_thread`" +msgstr "" + +#: build/NEWS:15772 +msgid "``activeCount`` => :func:`threading.active_count`" +msgstr "" + +#: build/NEWS:15774 +msgid "``Condition.notifyAll`` => :meth:`threading.Condition.notify_all`" +msgstr "" + +#: build/NEWS:15776 +msgid "``Event.isSet`` => :meth:`threading.Event.is_set`" +msgstr "" + +#: build/NEWS:15778 +msgid "``Thread.setName`` => :attr:`threading.Thread.name`" +msgstr "" + +#: build/NEWS:15780 +msgid "``thread.getName`` => :attr:`threading.Thread.name`" +msgstr "" + +#: build/NEWS:15782 +msgid "``Thread.isDaemon`` => :attr:`threading.Thread.daemon`" +msgstr "" + +#: build/NEWS:15784 +msgid "``Thread.setDaemon`` => :attr:`threading.Thread.daemon`" +msgstr "" + +#: build/NEWS:15786 +msgid "Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:15788 +msgid "" +":issue:`2135`: Deprecate find_module() and find_loader() implementations in " +"importlib and zipimport." +msgstr "" + +#: build/NEWS:15791 +msgid "" +":issue:`43534`: :func:`turtle.textinput` and :func:`turtle.numinput` create " +"now a transient window working on behalf of the canvas window." +msgstr "" + +#: build/NEWS:15794 +msgid "" +":issue:`43532`: Add the ability to specify keyword-only fields to " +"dataclasses. These fields will become keyword-only arguments to the " +"generated __init__." +msgstr "" + +#: build/NEWS:15797 +msgid "" +":issue:`43522`: Fix problem with :attr:`~ssl.SSLContext." +"hostname_checks_common_name`. OpenSSL does not copy hostflags from *struct " +"SSL_CTX* to *struct SSL*." +msgstr "" + +#: build/NEWS:15801 +msgid "" +":issue:`8978`: Improve error message for :func:`tarfile.open` when :mod:" +"`lzma` / :mod:`bz2` are unavailable. Patch by Anthony Sottile." +msgstr "" + +#: build/NEWS:15804 +msgid "" +":issue:`42967`: Allow :class:`bytes` ``separator`` argument in ``urllib." +"parse.parse_qs`` and ``urllib.parse.parse_qsl`` when parsing :class:`str` " +"query strings. Previously, this raised a ``TypeError``." +msgstr "" + +#: build/NEWS:15808 +msgid "" +":issue:`43296`: Improve :mod:`sqlite3` error handling: " +"``sqlite3_value_blob()`` errors that set ``SQLITE_NOMEM`` now raise :exc:" +"`MemoryError`. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:15812 +msgid "" +":issue:`43312`: New functions :func:`sysconfig.get_preferred_scheme` and :" +"func:`sysconfig.get_default_scheme` are added to query a platform for its " +"preferred \"user\", \"home\", and \"prefix\" (default) scheme names." +msgstr "" + +#: build/NEWS:15816 +msgid "" +":issue:`43265`: Improve :meth:`sqlite3.Connection.backup` error handling. " +"The error message for non-existent target database names is now ``unknown " +"database <database name>`` instead of ``SQL logic error``. Patch by Erlend " +"E. Aasland." +msgstr "" + +#: build/NEWS:15821 +msgid "" +":issue:`41282`: Install schemes in ``distutils.command.install`` are now " +"loaded from :mod:`sysconfig`." +msgstr "" + +#: build/NEWS:15824 +msgid "" +":issue:`41282`: ``distutils.sysconfig`` has been merged to :mod:`sysconfig`." +msgstr "" + +#: build/NEWS:15826 +msgid "" +":issue:`43176`: Fixed processing of a dataclass that inherits from a frozen " +"dataclass with no fields. It is now correctly detected as an error." +msgstr "" + +#: build/NEWS:15829 +msgid "" +":issue:`43080`: :mod:`pprint` now has support for :class:`dataclasses." +"dataclass`. Patch by Lewis Gaul." +msgstr "" + +#: build/NEWS:15832 +msgid "" +":issue:`39950`: Add ``pathlib.Path.hardlink_to()`` method that supersedes " +"``link_to()``. The new method has the same argument order as " +"``symlink_to()``." +msgstr "" + +#: build/NEWS:15836 +msgid "" +":issue:`42904`: :func:`typing.get_type_hints` now checks the local namespace " +"of a class when evaluating :pep:`563` annotations inside said class." +msgstr "" + +#: build/NEWS:15839 +msgid "" +":issue:`42269`: Add ``slots`` parameter to ``dataclasses.dataclass`` " +"decorator to automatically generate ``__slots__`` for class. Patch provided " +"by Yurii Karabas." +msgstr "" + +#: build/NEWS:15843 +msgid "" +":issue:`39529`: Deprecated use of :func:`asyncio.get_event_loop` without " +"running event loop. Emit deprecation warning for :mod:`asyncio` functions " +"which implicitly create a :class:`~asyncio.Future` or :class:`~asyncio.Task` " +"objects if there is no running event loop and no explicit *loop* argument is " +"passed: :func:`~asyncio.ensure_future`, :func:`~asyncio.wrap_future`, :func:" +"`~asyncio.gather`, :func:`~asyncio.shield`, :func:`~asyncio.as_completed` " +"and constructors of :class:`~asyncio.Future`, :class:`~asyncio.Task`, :class:" +"`~asyncio.StreamReader`, :class:`~asyncio.StreamReaderProtocol`." +msgstr "" + +#: build/NEWS:15853 +msgid "" +":issue:`18369`: Certificate and PrivateKey classes were added to the ssl " +"module. Certificates and keys can now be loaded from memory buffer, too." +msgstr "" + +#: build/NEWS:15856 +msgid "" +":issue:`41486`: Use a new output buffer management code for :mod:`bz2` / :" +"mod:`lzma` / :mod:`zlib` modules, and add ``.readall()`` function to " +"``_compression.DecompressReader`` class. These bring some performance " +"improvements. Patch by Ma Lin." +msgstr "" + +#: build/NEWS:15861 +msgid "" +":issue:`31870`: The :func:`ssl.get_server_certificate` function now has a " +"*timeout* parameter." +msgstr "" + +#: build/NEWS:15864 +msgid "" +":issue:`41735`: Fix thread locks in zlib module may go wrong in rare case. " +"Patch by Ma Lin." +msgstr "" + +#: build/NEWS:15867 +msgid "" +":issue:`36470`: Fix dataclasses with ``InitVar``\\s and :func:`~dataclasses." +"replace`. Patch by Claudiu Popa." +msgstr "" + +#: build/NEWS:15870 +msgid ":issue:`40849`: Expose X509_V_FLAG_PARTIAL_CHAIN ssl flag" +msgstr "" + +#: build/NEWS:15872 +msgid "" +":issue:`35114`: :func:`ssl.RAND_status` now returns a boolean value (as " +"documented) instead of ``1`` or ``0``." +msgstr "" + +#: build/NEWS:15875 +msgid "" +":issue:`39906`: :meth:`pathlib.Path.stat` and :meth:`~pathlib.Path.chmod` " +"now accept a *follow_symlinks* keyword-only argument for consistency with " +"corresponding functions in the :mod:`os` module." +msgstr "" + +#: build/NEWS:15879 +msgid "" +":issue:`39899`: :func:`os.path.expanduser` now refuses to guess Windows home " +"directories if the basename of current user's home directory does not match " +"their username." +msgstr "" + +#: build/NEWS:15883 +msgid "" +":meth:`pathlib.Path.expanduser` and :meth:`~pathlib.Path.home` now " +"consistently raise :exc:`RuntimeError` exception when a home directory " +"cannot be resolved. Previously a :exc:`KeyError` exception could be raised " +"on Windows when the ``\"USERNAME\"`` environment variable was unset." +msgstr "" + +#: build/NEWS:15888 +msgid "" +":issue:`36076`: Added SNI support to :func:`ssl.get_server_certificate`." +msgstr "" + +#: build/NEWS:15890 +msgid "" +":issue:`38490`: Covariance, Pearson's correlation, and simple linear " +"regression functionality was added to statistics module. Patch by Tymoteusz " +"Wołodźko." +msgstr "" + +#: build/NEWS:15893 +msgid "" +":issue:`33731`: Provide a locale.localize() function, which converts a " +"normalized number string into a locale format." +msgstr "" + +#: build/NEWS:15896 +msgid "" +":issue:`32745`: Fix a regression in the handling of ctypes' :data:`ctypes." +"c_wchar_p` type: embedded null characters would cause a :exc:`ValueError` to " +"be raised. Patch by Zackery Spytz." +msgstr "" + +#: build/NEWS:15903 +msgid "" +":issue:`43987`: Add \"Annotations Best Practices\" document as a new HOWTO." +msgstr "" + +#: build/NEWS:15905 +msgid "" +":issue:`43977`: Document the new :c:macro:`Py_TPFLAGS_MAPPING` and :c:macro:" +"`Py_TPFLAGS_SEQUENCE` type flags." +msgstr "" + +#: build/NEWS:15908 +msgid "" +":issue:`43959`: The documentation on the PyContextVar C-API was clarified." +msgstr "" + +#: build/NEWS:15910 +msgid "" +":issue:`43938`: Update dataclasses documentation to express that " +"FrozenInstanceError is derived from AttributeError." +msgstr "" + +#: build/NEWS:15913 +msgid "" +":issue:`43778`: Fix the Sphinx glossary_search extension: create the " +"_static/ sub-directory if it doesn't exist." +msgstr "" + +#: build/NEWS:15916 +msgid "" +":issue:`43755`: Update documentation to reflect that unparenthesized lambda " +"expressions can no longer be the expression part in an ``if`` clause in " +"comprehensions and generator expressions since Python 3.9." +msgstr "" + +#: build/NEWS:15920 +msgid "" +":issue:`43739`: Fixing the example code in Doc/extending/extending.rst to " +"declare and initialize the pmodule variable to be of the right type." +msgstr "" + +#: build/NEWS:15926 +msgid "" +":issue:`43961`: Fix test_logging.test_namer_rotator_inheritance() on " +"Windows: use :func:`os.replace` rather than :func:`os.rename`. Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:15930 +msgid "" +":issue:`43842`: Fix a race condition in the SMTP test of test_logging. Don't " +"close a file descriptor (socket) from a different thread while asyncore." +"loop() is polling the file descriptor. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:15934 +msgid "" +":issue:`43843`: :mod:`test.libregrtest` now marks a test as ENV_CHANGED " +"(altered the execution environment) if a thread raises an exception but does " +"not catch it. It sets a hook on :func:`threading.excepthook`. Use ``--fail-" +"env-changed`` option to mark the test as failed. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:15940 +msgid "" +":issue:`43811`: Tests multiple OpenSSL versions on GitHub Actions. Use " +"ccache to speed up testing." +msgstr "" + +#: build/NEWS:15943 +msgid "" +":issue:`43791`: OpenSSL 3.0.0: Disable testing of legacy protocols TLS 1.0 " +"and 1.1. Tests are failing with TLSV1_ALERT_INTERNAL_ERROR." +msgstr "" + +#: build/NEWS:15949 +msgid "" +":issue:`43567`: Improved generated code refresh (AST/tokens/opcodes/" +"keywords) on Windows." +msgstr "" + +#: build/NEWS:15952 +msgid "" +":issue:`43669`: Implement :pep:`644`. Python now requires OpenSSL 1.1.1 or " +"newer." +msgstr "" + +#: build/NEWS:15958 +msgid "" +":issue:`35306`: Adds additional arguments to :func:`os.startfile` function." +msgstr "" + +#: build/NEWS:15960 +msgid "" +":issue:`43538`: Avoid raising errors from :meth:`pathlib.Path.exists` when " +"passed an invalid filename." +msgstr "" + +#: build/NEWS:15963 +msgid "" +":issue:`38822`: Fixed :func:`os.stat` failing on inaccessible directories " +"with a trailing slash, rather than falling back to the parent directory's " +"metadata. This implicitly affected :func:`os.path.exists` and :func:`os.path." +"isdir`." +msgstr "" + +#: build/NEWS:15968 +msgid "" +":issue:`26227`: Fixed decoding of host names in :func:`socket.gethostbyaddr` " +"and :func:`socket.gethostbyname_ex`." +msgstr "" + +#: build/NEWS:15971 +msgid "" +":issue:`40432`: Updated pegen regeneration script on Windows to find and use " +"Python 3.8 or higher. Prior to this, pegen regeneration already required " +"3.8 or higher, but the script may have used lower versions of Python." +msgstr "" + +#: build/NEWS:15975 +msgid "" +":issue:`43745`: Actually updates Windows release to OpenSSL 1.1.1k. Earlier " +"releases were mislabelled and actually included 1.1.1i again." +msgstr "" + +#: build/NEWS:15978 +msgid ":issue:`43652`: Update Tcl and Tk to 8.6.11 in Windows installer." +msgstr "" + +#: build/NEWS:15980 +msgid ":issue:`43492`: Upgrade Windows installer to use SQLite 3.35.5." +msgstr "" + +#: build/NEWS:15982 +msgid "" +":issue:`30555`: Fix ``WindowsConsoleIO`` errors in the presence of fd " +"redirection. Patch by Segev Finer." +msgstr "" + +#: build/NEWS:15988 +msgid "" +":issue:`42119`: Fix check for macOS SDK paths when building Python. Narrow " +"search to match contents of SDKs, namely only files in ``/System/Library``, " +"``/System/IOSSupport``, and ``/usr`` other than ``/usr/local``. Previously, " +"anything under ``/System`` was assumed to be in an SDK which causes problems " +"with the new file system layout in 10.15+ where user file systems may appear " +"to be mounted under ``/System``. Paths in ``/Library`` were also " +"incorrectly treated as SDK locations." +msgstr "" + +#: build/NEWS:15996 +msgid ":issue:`43568`: Drop support for MACOSX_DEPLOYMENT_TARGET < 10.3" +msgstr "" + +#: build/NEWS:15998 +msgid "" +":issue:`44009`: Provide \"python3.x-intel64\" executable to allow reliably " +"forcing macOS universal2 framework builds to run under Rosetta 2 Intel-64 " +"emulation on Apple Silicon Macs. This can be useful for testing or when " +"universal2 wheels are not yet available." +msgstr "" + +#: build/NEWS:16003 +msgid "" +":issue:`43851`: Build SQLite with ``SQLITE_OMIT_AUTOINIT`` on macOS. Patch " +"by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:16006 +msgid ":issue:`43492`: Update macOS installer to use SQLite 3.35.4." +msgstr "" + +#: build/NEWS:16008 +msgid "" +":issue:`42235`: ``Mac/BuildScript/build-installer.py`` will now use \"--" +"enable-optimizations\" and ``--with-lto`` when building on macOS 10.15 or " +"later." +msgstr "" + +#: build/NEWS:16015 +msgid "" +":issue:`37903`: Add mouse actions to the shell sidebar. Left click and " +"optional drag selects one or more lines, as with the editor line number " +"sidebar. Right click after selecting raises a context menu with 'copy with " +"prompts'. This zips together prompts from the sidebar with lines from the " +"selected text." +msgstr "" + +#: build/NEWS:16021 +msgid "" +":issue:`43981`: Fix reference leak in test_sidebar and test_squeezer. " +"Patches by Terry Jan Reedy and Pablo Galindo" +msgstr "" + +#: build/NEWS:16024 +msgid ":issue:`37892`: Indent IDLE Shell input with spaces instead of tabs" +msgstr "" + +#: build/NEWS:16026 +msgid "" +":issue:`43655`: IDLE dialog windows are now recognized as dialogs by window " +"managers on macOS and X Window." +msgstr "" + +#: build/NEWS:16029 +msgid ":issue:`37903`: IDLE's shell now shows prompts in a separate side-bar." +msgstr "" + +#: build/NEWS:16034 +msgid "" +":issue:`43916`: Add a new :c:macro:`Py_TPFLAGS_DISALLOW_INSTANTIATION` type " +"flag to disallow creating type instances. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:16037 +msgid "" +":issue:`43774`: Remove the now unused ``PYMALLOC_DEBUG`` macro. Debug hooks " +"on memory allocators are now installed by default if Python is built in " +"debug mode (if ``Py_DEBUG`` macro is defined). Moreover, they can now be " +"used on Python build in release mode (ex: using ``PYTHONMALLOC=debug`` " +"environment variable)." +msgstr "" + +#: build/NEWS:16043 +msgid "" +":issue:`43962`: _PyInterpreterState_IDIncref() now calls " +"_PyInterpreterState_IDInitref() and always increments id_refcount. " +"Previously, calling _xxsubinterpreters.get_current() could create an " +"id_refcount inconsistency when a _xxsubinterpreters.InterpreterID object was " +"deallocated. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:16049 +msgid "" +":issue:`28254`: Add new C-API functions to control the state of the garbage " +"collector: :c:func:`PyGC_Enable()`, :c:func:`PyGC_Disable()`, :c:func:" +"`PyGC_IsEnabled()`, corresponding to the functions in the :mod:`gc` module." +msgstr "" + +#: build/NEWS:16054 +msgid "" +":issue:`43908`: Introduce :c:macro:`Py_TPFLAGS_IMMUTABLETYPE` flag for " +"immutable type objects, and modify :c:func:`PyType_Ready` to set it for " +"static types. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:16058 +msgid "" +":issue:`43795`: :c:func:`PyMem_Calloc` is now available in the limited C API " +"(``Py_LIMITED_API``)." +msgstr "" + +#: build/NEWS:16061 +msgid "" +":issue:`43868`: :c:func:`PyOS_ReadlineFunctionPointer` is no longer exported " +"by limited C API headers and by ``python3.dll`` on Windows. Like any " +"function that takes ``FILE*``, it is not part of the stable ABI." +msgstr "" + +#: build/NEWS:16065 +msgid "" +":issue:`43795`: Stable ABI and limited API definitions are generated from a " +"central manifest (:pep:`652`)." +msgstr "" + +#: build/NEWS:16068 +msgid "" +":issue:`43753`: Add the :c:func:`Py_Is(x, y) <Py_Is>` function to test if " +"the *x* object is the *y* object, the same as ``x is y`` in Python. Add also " +"the :c:func:`Py_IsNone`, :c:func:`Py_IsTrue`, :c:func:`Py_IsFalse` functions " +"to test if an object is, respectively, the ``None`` singleton, the ``True`` " +"singleton or the ``False`` singleton. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:16077 +msgid "Python 3.10.0 alpha 7" +msgstr "" + +#: build/NEWS:16079 +msgid "*Release date: 2021-04-05*" +msgstr "" + +#: build/NEWS:16084 +msgid "" +":issue:`42988`: :cve:`2021-3426`: Remove the ``getfile`` feature of the :mod:" +"`pydoc` module which could be abused to read arbitrary files on the disk " +"(directory traversal vulnerability). Moreover, even source code of Python " +"modules can contain sensitive data like passwords. Vulnerability reported by " +"David Schwörer." +msgstr "" + +#: build/NEWS:16090 +msgid "" +":issue:`43285`: :mod:`ftplib` no longer trusts the IP address value returned " +"from the server in response to the PASV command by default. This prevents a " +"malicious FTP server from using the response to probe IPv4 address and port " +"combinations on the client network." +msgstr "" + +#: build/NEWS:16095 +msgid "" +"Code that requires the former vulnerable behavior may set a " +"``trust_server_pasv_ipv4_address`` attribute on their :class:`ftplib.FTP` " +"instances to ``True`` to re-enable it." +msgstr "" + +#: build/NEWS:16099 +msgid "" +":issue:`43439`: Add audit hooks for :func:`gc.get_objects`, :func:`gc." +"get_referrers` and :func:`gc.get_referents`. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:16106 +msgid ":issue:`27129`: Update CPython bytecode magic number." +msgstr "" + +#: build/NEWS:16108 +msgid ":issue:`43672`: Raise ImportWarning when calling find_loader()." +msgstr "" + +#: build/NEWS:16110 +msgid "" +":issue:`43660`: Fix crash that happens when replacing ``sys.stderr`` with a " +"callable that can remove the object while an exception is being printed. " +"Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:16114 +msgid "" +":issue:`27129`: The bytecode interpreter uses instruction, rather byte, " +"offsets internally. This reduces the number of EXTENDED_ARG instructions " +"needed and streamlines instruction dispatch a bit." +msgstr "" + +#: build/NEWS:16118 +msgid "" +":issue:`40645`: Fix reference leak in the :mod:`!_hashopenssl` extension. " +"Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:16121 +msgid "" +":issue:`42134`: Calls to find_module() by the import system now raise " +"ImportWarning." +msgstr "" + +#: build/NEWS:16124 +msgid "" +":issue:`41064`: Improve the syntax error for invalid usage of double starred " +"elements ('**') in f-strings. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:16127 +msgid "" +":issue:`43575`: Speed up calls to ``map()`` by using the :pep:`590` " +"``vectorcall`` calling convention. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:16130 +msgid "" +":issue:`42137`: The import system now prefers using ``__spec__`` for " +"``ModuleType.__repr__`` over ``module_repr()``." +msgstr "" + +#: build/NEWS:16133 +msgid "" +":issue:`43452`: Added micro-optimizations to ``_PyType_Lookup()`` to improve " +"cache lookup performance in the common case of cache hits." +msgstr "" + +#: build/NEWS:16136 +msgid "" +":issue:`43555`: Report the column offset for :exc:`SyntaxError` for invalid " +"line continuation characters. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:16139 +msgid "" +":issue:`43517`: Fix misdetection of circular imports when using ``from pkg." +"mod import attr``, which caused false positives in non-trivial multi-" +"threaded code." +msgstr "" + +#: build/NEWS:16143 +msgid "" +":issue:`43497`: Emit SyntaxWarnings for assertions with tuple constants, " +"this is a regression introduced in python3.7" +msgstr "" + +#: build/NEWS:16146 +msgid "" +":issue:`39316`: Tracing now has correct line numbers for attribute accesses " +"when the attribute is on a different line from the object. Improves " +"debugging and profiling for multi-line method chains." +msgstr "" + +#: build/NEWS:16150 +msgid "" +":issue:`35883`: Python no longer fails at startup with a fatal error if a " +"command line argument contains an invalid Unicode character. The :c:func:" +"`Py_DecodeLocale` function now escapes byte sequences which would be decoded " +"as Unicode characters outside the [U+0000; U+10ffff] range." +msgstr "" + +#: build/NEWS:16155 +msgid "" +":issue:`43410`: Fix a bug that was causing the parser to crash when emitting " +"syntax errors when reading input from stdin. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:16158 +msgid "" +":issue:`43406`: Fix a possible race condition where ``PyErr_CheckSignals`` " +"tries to execute a non-Python signal handler." +msgstr "" + +#: build/NEWS:16161 +msgid "" +":issue:`42128`: Add ``__match_args__`` to :ref:`struct sequence objects " +"<struct-sequence-objects>`. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:16164 +msgid "" +":issue:`43390`: CPython now sets the ``SA_ONSTACK`` flag in ``PyOS_setsig`` " +"for the VM's default signal handlers. This is friendlier to other in-" +"process code that an extension module or embedding use could pull in (such " +"as Golang's cgo) where tiny thread stacks are the norm and ``sigaltstack()`` " +"has been used to provide for signal handlers. This is a no-op change for " +"the vast majority of processes that don't use sigaltstack." +msgstr "" + +#: build/NEWS:16171 +msgid "" +":issue:`43287`: Speed up calls to ``filter()`` by using the :pep:`590` " +"``vectorcall`` calling convention. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:16174 +msgid "" +":issue:`37448`: Add a radix tree based memory map to track in-use obmalloc " +"arenas. Use to replace the old implementation of address_in_range(). The " +"radix tree approach makes it easy to increase pool sizes beyond the OS page " +"size. Boosting the pool and arena size allows obmalloc to handle a " +"significantly higher percentage of requests from its ultra-fast paths." +msgstr "" + +#: build/NEWS:16180 +msgid "" +"It also has the advantage of eliminating the memory unsanitary behavior of " +"the previous address_in_range(). The old address_in_range() was marked with " +"the annotations _Py_NO_SANITIZE_ADDRESS, _Py_NO_SANITIZE_THREAD, and " +"_Py_NO_SANITIZE_MEMORY. Those annotations are no longer needed." +msgstr "" + +#: build/NEWS:16185 +msgid "" +"To disable the radix tree map, set a preprocessor flag as follows: ``-" +"DWITH_PYMALLOC_RADIX_TREE=0``." +msgstr "" + +#: build/NEWS:16188 +msgid "Co-authored-by: Tim Peters <tim.peters@gmail.com>" +msgstr "" + +#: build/NEWS:16190 +msgid "" +":issue:`29988`: Only handle asynchronous exceptions and requests to drop the " +"GIL when returning from a call or on the back edges of loops. Makes sure " +"that :meth:`~object.__exit__` is always called in with statements, even for " +"interrupts." +msgstr "" + +#: build/NEWS:16198 +msgid "" +":issue:`43720`: Document various stdlib deprecations in imp, pkgutil, and " +"importlib.util for removal in Python 3.12." +msgstr "" + +#: build/NEWS:16201 +msgid "" +":issue:`43433`: :class:`xmlrpc.client.ServerProxy` no longer ignores query " +"and fragment in the URL of the server." +msgstr "" + +#: build/NEWS:16204 +msgid "" +":issue:`31956`: The :meth:`~array.array.index` method of :class:`array." +"array` now has optional *start* and *stop* parameters." +msgstr "" + +#: build/NEWS:16207 +msgid "" +":issue:`40066`: Enum: adjust ``repr()`` to show only enum and member name " +"(not value, nor angle brackets) and ``str()`` to show only member name. " +"Update and improve documentation to match." +msgstr "" + +#: build/NEWS:16211 +msgid "" +":issue:`42136`: Deprecate all module_repr() methods found in importlib as " +"their use is being phased out by Python 3.12." +msgstr "" + +#: build/NEWS:16214 +msgid "" +":issue:`35930`: Raising an exception raised in a \"future\" instance will " +"create reference cycles." +msgstr "" + +#: build/NEWS:16217 +msgid "" +":issue:`41369`: Finish updating the vendored libmpdec to version 2.5.1. " +"Patch by Stefan Krah." +msgstr "" + +#: build/NEWS:16220 +msgid "" +":issue:`43422`: Revert the _decimal C API which was added in :issue:`41324`." +msgstr "" + +#: build/NEWS:16222 +msgid "" +":issue:`43577`: Fix deadlock when using :class:`ssl.SSLContext` debug " +"callback with :meth:`ssl.SSLContext.sni_callback`." +msgstr "" + +#: build/NEWS:16225 +msgid "" +":issue:`43571`: It's now possible to create MPTCP sockets with IPPROTO_MPTCP" +msgstr "" + +#: build/NEWS:16227 +msgid "" +":issue:`43542`: ``image/heic`` and ``image/heif`` were added to :mod:" +"`mimetypes`." +msgstr "" + +#: build/NEWS:16230 +msgid "" +":issue:`40645`: The :mod:`hmac` module now uses OpenSSL's HMAC " +"implementation when digestmod argument is a hash name or builtin hash " +"function." +msgstr "" + +#: build/NEWS:16233 +msgid "" +":issue:`43510`: Implement :pep:`597`: Add ``EncodingWarning`` warning, ``-X " +"warn_default_encoding`` option, :envvar:`PYTHONWARNDEFAULTENCODING` " +"environment variable and ``encoding=\"locale\"`` argument value." +msgstr "" + +#: build/NEWS:16237 +msgid ":issue:`43521`: ``ast.unparse`` can now render NaNs and empty sets." +msgstr "" + +#: build/NEWS:16239 +msgid "" +":issue:`42914`: :func:`pprint.pprint` gains a new boolean " +"``underscore_numbers`` optional argument to emit integers with thousands " +"separated by an underscore character for improved readability (for example " +"``1_000_000`` instead of ``1000000``)." +msgstr "" + +#: build/NEWS:16244 +msgid "" +":issue:`41361`: :meth:`~collections.deque.rotate` calls are now slightly " +"faster due to faster argument parsing." +msgstr "" + +#: build/NEWS:16247 +msgid "" +":issue:`43423`: :func:`subprocess.communicate` no longer raises an " +"IndexError when there is an empty stdout or stderr IO buffer during a " +"timeout on Windows." +msgstr "" + +#: build/NEWS:16251 +msgid "" +":issue:`27820`: Fixed long-standing bug of smtplib.SMTP where doing AUTH " +"LOGIN with initial_response_ok=False will fail." +msgstr "" + +#: build/NEWS:16254 +msgid "" +"The cause is that SMTP.auth_login _always_ returns a password if provided " +"with a challenge string, thus non-compliant with the standard for AUTH LOGIN." +msgstr "" + +#: build/NEWS:16258 +msgid "Also fixes bug with the test for smtpd." +msgstr "" + +#: build/NEWS:16260 +msgid "" +":issue:`43445`: Add frozen modules to :data:`sys.stdlib_module_names`. For " +"example, add ``\"_frozen_importlib\"`` and " +"``\"_frozen_importlib_external\"`` names." +msgstr "" + +#: build/NEWS:16264 +msgid "" +":issue:`43245`: Add keyword arguments support to ``ChainMap.new_child()``." +msgstr "" + +#: build/NEWS:16266 +msgid "" +":issue:`29982`: Add optional parameter *ignore_cleanup_errors* to :func:" +"`tempfile.TemporaryDirectory` and allow multiple :func:`cleanup` attempts. " +"Contributed by C.A.M. Gerlach." +msgstr "" + +#: build/NEWS:16270 +msgid "" +":issue:`43428`: Include changes from `importlib_metadata 3.7 <https://" +"importlib-metadata.readthedocs.io/en/latest/history.html#v3-7-0>`_:" +msgstr "" + +#: build/NEWS:16273 +msgid "Performance enhancements to distribution discovery." +msgstr "" + +#: build/NEWS:16275 +msgid "``entry_points`` only returns unique distributions." +msgstr "" + +#: build/NEWS:16277 +msgid "" +"Introduces new ``EntryPoints`` object for containing a set of entry points " +"with convenience methods for selecting entry points by group or name. " +"``entry_points`` now returns this object if selection parameters are " +"supplied but continues to return a dict object for compatibility. Users are " +"encouraged to rely on the selection interface. The dict object result is " +"likely to be deprecated in the future." +msgstr "" + +#: build/NEWS:16284 +msgid "" +"Added packages_distributions function to return a mapping of packages to the " +"distributions that provide them." +msgstr "" + +#: build/NEWS:16287 +msgid "" +":issue:`43332`: Improves the networking efficiency of :mod:`http.client` " +"when using a proxy via :meth:`~HTTPConnection.set_tunnel`. Fewer small send " +"calls are made during connection setup." +msgstr "" + +#: build/NEWS:16291 +msgid "" +":issue:`43420`: Improve performance of :class:`fractions.Fraction` " +"arithmetics for large components. Contributed by Sergey B. Kirpichev." +msgstr "" + +#: build/NEWS:16294 +msgid "" +":issue:`43356`: Allow passing a signal number to ``_thread." +"interrupt_main()``." +msgstr "" + +#: build/NEWS:16296 +msgid "" +":issue:`43399`: Fix ``ElementTree.extend`` not working on iterators when " +"using the Python implementation" +msgstr "" + +#: build/NEWS:16299 +msgid "" +":issue:`43369`: Improve :mod:`sqlite3` error handling: If " +"``sqlite3_column_text()`` and ``sqlite3_column_blob()`` set " +"``SQLITE_NOMEM``, :exc:`MemoryError` is now raised. Patch by Erlend E. " +"Aasland." +msgstr "" + +#: build/NEWS:16304 +msgid "" +":issue:`43368`: Fix a regression introduced in PR 24562, where an empty " +"bytestring was fetched as ``None`` instead of ``b''`` in :mod:`sqlite3`. " +"Patch by Mariusz Felisiak." +msgstr "" + +#: build/NEWS:16308 +msgid "" +":issue:`41282`: Fixed stacklevel of ``DeprecationWarning`` emitted from " +"``import distutils``." +msgstr "" + +#: build/NEWS:16311 +msgid "" +":issue:`42129`: ``importlib.resources`` now honors namespace packages, " +"merging resources from each location in the namespace as introduced in " +"``importlib_resources`` 3.2 and including incidental changes through 5.0.3." +msgstr "" + +#: build/NEWS:16316 +msgid "" +":issue:`43295`: :meth:`datetime.datetime.strptime` now raises ``ValueError`` " +"instead of ``IndexError`` when matching ``'z'`` with the ``%z`` format " +"specifier." +msgstr "" + +#: build/NEWS:16320 +msgid "" +":issue:`43125`: Return empty string if base64mime.body_encode receive empty " +"bytes" +msgstr "" + +#: build/NEWS:16323 +msgid "" +":issue:`43084`: :func:`curses.window.enclose` returns now ``True`` or " +"``False`` (as was documented) instead of ``1`` or ``0``." +msgstr "" + +#: build/NEWS:16326 +msgid ":issue:`42994`: Add MIME types for opus, AAC, 3gpp and 3gpp2" +msgstr "" + +#: build/NEWS:16328 +msgid "" +":issue:`14678`: Add an invalidate_caches() method to the zipimport." +"zipimporter class to support importlib.invalidate_caches(). Patch by Desmond " +"Cheong." +msgstr "" + +#: build/NEWS:16331 +msgid "" +":issue:`42782`: Fail fast in :func:`shutil.move` to avoid creating " +"destination directories on failure." +msgstr "" + +#: build/NEWS:16334 +msgid "" +":issue:`40066`: Enum's ``repr()`` and ``str()`` have changed: ``repr()`` is " +"now *EnumClass.MemberName* and ``str()`` is *MemberName*. Additionally, " +"stdlib Enum's whose contents are available as module attributes, such as " +"``RegexFlag.IGNORECASE``, have their ``repr()`` as *module.name*, e.g. ``re." +"IGNORECASE``." +msgstr "" + +#: build/NEWS:16340 +msgid "" +":issue:`26053`: Fixed bug where the :mod:`pdb` interactive run command " +"echoed the args from the shell command line, even if those have been " +"overridden at the pdb prompt." +msgstr "" + +#: build/NEWS:16344 +msgid "" +":issue:`24160`: Fixed bug where breakpoints did not persist across multiple " +"debugger sessions in :mod:`pdb`'s interactive mode." +msgstr "" + +#: build/NEWS:16347 +msgid "" +":issue:`40701`: When the :data:`tempfile.tempdir` global variable is set to " +"a value of type bytes, it is now handled consistently. Previously " +"exceptions could be raised from some tempfile APIs when the directory did " +"not already exist in this situation. Also ensures that the :func:`tempfile." +"gettempdir` and :func:`tempfile.gettempdirb` functions *always* return " +"``str`` and ``bytes`` respectively." +msgstr "" + +#: build/NEWS:16354 +msgid "" +":issue:`39342`: Expose ``X509_V_FLAG_ALLOW_PROXY_CERTS`` as :const:`~ssl." +"VERIFY_ALLOW_PROXY_CERTS` to allow proxy certificate validation as explained " +"in https://docs.openssl.org/1.1.1/man7/proxy-certificates/." +msgstr "" + +#: build/NEWS:16359 +msgid "" +":issue:`31861`: Add builtins.aiter and builtins.anext. Patch by Joshua " +"Bronson (@jab), Daniel Pope (@lordmauve), and Justin Wang (@justin39)." +msgstr "" + +#: build/NEWS:16365 +msgid "" +":issue:`43199`: Answer \"Why is there no goto?\" in the Design and History " +"FAQ." +msgstr "" + +#: build/NEWS:16367 +msgid "" +":issue:`43407`: Clarified that a result from :func:`time.monotonic`, :func:" +"`time.perf_counter`, :func:`time.process_time`, or :func:`time.thread_time` " +"can be compared with the result from any following call to the same function " +"- not just the next immediate call." +msgstr "" + +#: build/NEWS:16372 +msgid "" +":issue:`43354`: Fix type documentation for ``Fault.faultCode``; the type has " +"to be ``int`` instead of ``str``." +msgstr "" + +#: build/NEWS:16375 +msgid "" +":issue:`41933`: Clarified wording of s * n in the Common Sequence Operations" +msgstr "" + +#: build/NEWS:16380 +msgid "" +":issue:`37945`: Fix test_getsetlocale_issue1813() of test_locale: skip the " +"test if ``setlocale()`` fails. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:16383 +msgid "" +":issue:`41561`: Add workaround for Ubuntu's custom OpenSSL security level " +"policy." +msgstr "" + +#: build/NEWS:16389 +msgid "" +":issue:`43179`: Introduce and correctly use ALIGNOF_X in place of SIZEOF_X " +"for alignment-related code in optimized string routines. Patch by Jessica " +"Clarke." +msgstr "" + +#: build/NEWS:16393 +msgid ":issue:`43631`: Update macOS, Windows, and CI to OpenSSL 1.1.1k." +msgstr "" + +#: build/NEWS:16395 +msgid "" +":issue:`43617`: Improve configure.ac: Check for presence of autoconf-archive " +"package and remove our copies of M4 macros." +msgstr "" + +#: build/NEWS:16398 +msgid "" +":issue:`43466`: The ``configure`` script now supports ``--with-openssl-" +"rpath`` option." +msgstr "" + +#: build/NEWS:16401 +msgid "" +":issue:`43372`: Use ``_freeze_importlib`` to generate code for the " +"``__hello__`` module. This approach ensures the code matches the interpreter " +"version. Previously, PYTHON_FOR_REGEN was used to generate the code, which " +"might be wrong. The marshal format for code objects has changed with :issue:" +"`42246`, commit 877df851. Update the code and the expected code sizes in " +"ctypes test_frozentable." +msgstr "" + +#: build/NEWS:16411 +msgid "" +":issue:`43440`: Build :mod:`sqlite3` with the ``R*Tree`` module enabled. " +"Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:16417 +msgid "" +":issue:`42225`: Document that IDLE can fail on Unix either from " +"misconfigured IP masquerade rules or failure displaying complex colored (non-" +"ascii) characters." +msgstr "" + +#: build/NEWS:16424 +msgid "" +":issue:`43688`: The limited C API is now supported if Python is built in " +"debug mode (if the ``Py_DEBUG`` macro is defined). In the limited C API, " +"the :c:func:`Py_INCREF` and :c:func:`Py_DECREF` functions are now " +"implemented as opaque function calls, rather than accessing directly the :c:" +"member:`PyObject.ob_refcnt` member, if Python is built in debug mode and the " +"``Py_LIMITED_API`` macro targets Python 3.10 or newer. It became possible to " +"support the limited C API in debug mode because the :c:type:`PyObject` " +"structure is the same in release and debug mode since Python 3.8 (see :issue:" +"`36465`)." +msgstr "" + +#: build/NEWS:16434 +msgid "" +"The limited C API is still not supported in the ``--with-trace-refs`` " +"special build (``Py_TRACE_REFS`` macro)." +msgstr "" + +#: build/NEWS:16439 +msgid ":issue:`43244`: Remove the ``pyarena.h`` header file with functions:" +msgstr "" + +#: build/NEWS:16441 +msgid "``PyArena_New()``" +msgstr "" + +#: build/NEWS:16442 +msgid "``PyArena_Free()``" +msgstr "" + +#: build/NEWS:16443 +msgid "``PyArena_Malloc()``" +msgstr "" + +#: build/NEWS:16444 +msgid "``PyArena_AddPyObject()``" +msgstr "" + +#: build/NEWS:16446 +msgid "" +"These functions were undocumented, excluded from the limited C API, and were " +"only used internally by the compiler. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:16449 +msgid "" +":issue:`43244`: Remove the compiler and parser functions using ``struct " +"_mod`` type, because the public AST C API was removed:" +msgstr "" + +#: build/NEWS:16452 +msgid "``PyAST_Compile()``" +msgstr "" + +#: build/NEWS:16453 +msgid "``PyAST_CompileEx()``" +msgstr "" + +#: build/NEWS:16454 +msgid "``PyAST_CompileObject()``" +msgstr "" + +#: build/NEWS:16455 +msgid "``PyFuture_FromAST()``" +msgstr "" + +#: build/NEWS:16456 +msgid "``PyFuture_FromASTObject()``" +msgstr "" + +#: build/NEWS:16457 +msgid "``PyParser_ASTFromFile()``" +msgstr "" + +#: build/NEWS:16458 +msgid "``PyParser_ASTFromFileObject()``" +msgstr "" + +#: build/NEWS:16459 +msgid "``PyParser_ASTFromFilename()``" +msgstr "" + +#: build/NEWS:16460 +msgid "``PyParser_ASTFromString()``" +msgstr "" + +#: build/NEWS:16461 +msgid "``PyParser_ASTFromStringObject()``" +msgstr "" + +#: build/NEWS:16463 +msgid "" +"These functions were undocumented and excluded from the limited C API. Patch " +"by Victor Stinner." +msgstr "" + +#: build/NEWS:16466 +msgid "" +":issue:`43244`: Remove ``ast.h``, ``asdl.h``, and ``Python-ast.h`` header " +"files. These functions were undocumented and excluded from the limited C " +"API. Most names defined by these header files were not prefixed by ``Py`` " +"and so could create names conflicts. For example, ``Python-ast.h`` defined a " +"``Yield`` macro which was conflict with the ``Yield`` name used by the " +"Windows ``<winbase.h>`` header. Use the Python :mod:`ast` module instead. " +"Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:16474 +msgid "" +":issue:`43541`: Fix a ``PyEval_EvalCodeEx()`` regression: fix reference " +"counting on builtins. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:16477 +msgid "" +":issue:`43244`: Remove the ``symtable.h`` header file and the undocumented " +"functions:" +msgstr "" + +#: build/NEWS:16480 +msgid "``PyST_GetScope()``" +msgstr "" + +#: build/NEWS:16481 +msgid "``PySymtable_Build()``" +msgstr "" + +#: build/NEWS:16482 +msgid "``PySymtable_BuildObject()``" +msgstr "" + +#: build/NEWS:16483 +msgid "``PySymtable_Free()``" +msgstr "" + +#: build/NEWS:16484 +msgid "``Py_SymtableString()``" +msgstr "" + +#: build/NEWS:16485 +msgid "``Py_SymtableStringObject()``" +msgstr "" + +#: build/NEWS:16487 +msgid "" +"The ``Py_SymtableString()`` function was part the stable ABI by mistake but " +"it could not be used, because the ``symtable.h`` header file was excluded " +"from the limited C API." +msgstr "" + +#: build/NEWS:16491 +msgid "The Python :mod:`symtable` module remains available and is unchanged." +msgstr "" + +#: build/NEWS:16495 +msgid "" +":issue:`43244`: Remove the ``PyAST_Validate()`` function. It is no longer " +"possible to build a AST object (``mod_ty`` type) with the public C API. The " +"function was already excluded from the limited C API (:pep:`384`). Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:16502 +msgid "Python 3.10.0 alpha 6" +msgstr "" + +#: build/NEWS:16504 +msgid "*Release date: 2021-03-01*" +msgstr "" + +#: build/NEWS:16509 +msgid "" +":issue:`42967`: Fix web cache poisoning vulnerability by defaulting the " +"query args separator to ``&``, and allowing the user to choose a custom " +"separator." +msgstr "" + +#: build/NEWS:16516 +msgid "" +":issue:`43321`: Fix ``SystemError`` raised when ``PyArg_Parse*()`` is used " +"with ``#`` but without ``PY_SSIZE_T_CLEAN`` defined." +msgstr "" + +#: build/NEWS:16519 +msgid "" +":issue:`36346`: ``PyArg_Parse*()`` functions now emits " +"``DeprecationWarning`` when ``u`` or ``Z`` format is used. See :pep:`623` " +"for detail." +msgstr "" + +#: build/NEWS:16522 +msgid "" +":issue:`43277`: Add a new :c:func:`PySet_CheckExact` function to the C-API " +"to check if an object is an instance of :class:`set` but not an instance of " +"a subtype. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:16526 +msgid "" +":issue:`42990`: The :data:`types.FunctionType` constructor now inherits the " +"current builtins if the *globals* dictionary has no ``\"__builtins__\"`` " +"key, rather than using ``{\"None\": None}`` as builtins: same behavior as :" +"func:`eval` and :func:`exec` functions. Defining a function with ``def " +"function(...): ...`` in Python is not affected, globals cannot be overridden " +"with this syntax: it also inherits the current builtins. Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:16534 +msgid "" +":issue:`42990`: Functions have a new ``__builtins__`` attribute which is " +"used to look for builtin symbols when a function is executed, instead of " +"looking into ``__globals__['__builtins__']``. Patch by Mark Shannon and " +"Victor Stinner." +msgstr "" + +#: build/NEWS:16539 +msgid "" +":issue:`43149`: Improve the error message in the parser for exception groups " +"without parentheses. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:16542 +msgid "" +":issue:`43121`: Fixed an incorrect :exc:`SyntaxError` message for missing " +"comma in literals. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:16545 +msgid "" +":issue:`42819`: :mod:`readline`: Explicitly disable bracketed paste in the " +"interactive interpreter, even if it's set in the inputrc, is enabled by " +"default (eg GNU Readline 8.1), or a user calls ``readline." +"read_init_file()``. The Python REPL has not implemented bracketed paste " +"support. Also, bracketed mode writes the ``\"\\x1b[?2004h\"`` escape " +"sequence into stdout which causes test failures in applications that don't " +"support it. It can still be explicitly enabled by calling ``readline." +"parse_and_bind(\"set enable-bracketed-paste on\")``. Patch by Dustin " +"Rodrigues." +msgstr "" + +#: build/NEWS:16555 +msgid "" +":issue:`42808`: Simple calls to ``type(object)`` are now faster due to the " +"``vectorcall`` calling convention. Patch by Dennis Sweeney." +msgstr "" + +#: build/NEWS:16558 +msgid "" +":issue:`42217`: Make the compiler merges same co_code and co_linetable " +"objects in a module like already did for co_consts." +msgstr "" + +#: build/NEWS:16561 +msgid "" +":issue:`41972`: Substring search functions such as ``str1 in str2`` and " +"``str2.find(str1)`` now sometimes use the \"Two-Way\" string comparison " +"algorithm to avoid quadratic behavior on long strings." +msgstr "" + +#: build/NEWS:16565 +msgid "" +":issue:`42128`: Implement :pep:`634` (structural pattern matching). Patch by " +"Brandt Bucher." +msgstr "" + +#: build/NEWS:16568 +msgid "" +":issue:`40692`: In the :class:`concurrent.futures.ProcessPoolExecutor`, " +"validate that :func:`multiprocess.synchronize` is available on a given " +"platform and rely on that check in the :mod:`concurrent.futures` test suite " +"so we can run tests that are unrelated to :class:`ProcessPoolExecutor` on " +"those platforms." +msgstr "" + +#: build/NEWS:16574 +msgid "" +":issue:`38302`: If :func:`object.__ipow__` returns :data:`NotImplemented`, " +"the operator will correctly fall back to :func:`object.__pow__` and :func:" +"`object.__rpow__` as expected." +msgstr "" + +#: build/NEWS:16581 +msgid "" +":issue:`43316`: The ``python -m gzip`` command line application now properly " +"fails when detecting an unsupported extension. It exits with a non-zero exit " +"code and prints an error message to stderr." +msgstr "" + +#: build/NEWS:16585 +msgid "" +":issue:`43317`: Set the chunk size for the ``gzip`` module main function to " +"io.DEFAULT_BUFFER_SIZE. This is slightly faster than the 1024 bytes constant " +"that was used previously." +msgstr "" + +#: build/NEWS:16589 +msgid "" +":issue:`43146`: Handle None in single-arg versions of :func:`~traceback." +"print_exception` and :func:`~traceback.format_exception`." +msgstr "" + +#: build/NEWS:16593 +msgid "" +":issue:`43260`: Fix TextIOWrapper can not flush internal buffer forever " +"after very large text is written." +msgstr "" + +#: build/NEWS:16596 +msgid "" +":issue:`43258`: Prevent needless allocation of :mod:`sqlite3` aggregate " +"function context when no rows match an aggregate query. Patch by Erlend E. " +"Aasland." +msgstr "" + +#: build/NEWS:16600 +msgid "" +":issue:`43251`: Improve :mod:`sqlite3` error handling: " +"``sqlite3_column_name()`` failures now result in :exc:`MemoryError`. Patch " +"by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:16604 +msgid "" +":issue:`40956`: Fix segfault in :meth:`sqlite3.Connection.backup` if no " +"argument was provided. The regression was introduced by PR 23838. Patch by " +"Erlend E. Aasland." +msgstr "" + +#: build/NEWS:16608 +msgid "" +":issue:`43172`: The readline module now passes its tests when built directly " +"against libedit. Existing irreconcilable API differences remain in :func:" +"`readline.get_begidx` and :func:`readline.get_endidx` behavior based on " +"libreadline vs libedit use." +msgstr "" + +#: build/NEWS:16613 +msgid "" +":issue:`43163`: Fix a bug in :mod:`codeop` that was causing it to not ask " +"for more input when multi-line snippets have unclosed parentheses. Patch by " +"Pablo Galindo" +msgstr "" + +#: build/NEWS:16617 +msgid "" +":issue:`43162`: deprecate unsupported ability to access enum members as " +"attributes of other enum members" +msgstr "" + +#: build/NEWS:16620 +msgid "" +":issue:`43146`: Fix recent regression in None argument handling in :mod:" +"`~traceback` module functions." +msgstr "" + +#: build/NEWS:16623 +msgid "" +":issue:`43102`: The namedtuple __new__ method had its __builtins__ set to " +"None instead of an actual dictionary. This created problems for " +"introspection tools." +msgstr "" + +#: build/NEWS:16627 +msgid "" +":issue:`43106`: Added :const:`~os.O_EVTONLY`, :const:`~os.O_FSYNC`, :const:" +"`~os.O_SYMLINK` and :const:`~os.O_NOFOLLOW_ANY` for macOS. Patch by Donghee " +"Na." +msgstr "" + +#: build/NEWS:16631 +msgid "" +":issue:`42960`: Adds :const:`resource.RLIMIT_KQUEUES` constant from FreeBSD " +"to the :mod:`resource` module." +msgstr "" + +#: build/NEWS:16634 +msgid "" +":issue:`42151`: Make the pure Python implementation of :mod:`xml.etree." +"ElementTree` behave the same as the C implementation (:mod:`!_elementree`) " +"regarding default attribute values (by not setting " +"``specified_attributes=1``)." +msgstr "" + +#: build/NEWS:16639 +msgid "" +":issue:`29753`: In ctypes, now packed bitfields are calculated properly and " +"the first item of packed bitfields is now shrank correctly." +msgstr "" + +#: build/NEWS:16645 +msgid "" +":issue:`27646`: Clarify that 'yield from <expr>' works with any iterable, " +"not just iterators." +msgstr "" + +#: build/NEWS:16648 +msgid "" +":issue:`36346`: Update some deprecated unicode APIs which are documented as " +"\"will be removed in 4.0\" to \"3.12\". See :pep:`623` for detail." +msgstr "" + +#: build/NEWS:16654 +msgid "" +":issue:`43288`: Fix test_importlib to correctly skip Unicode file tests if " +"the filesystem does not support them." +msgstr "" + +#: build/NEWS:16660 +msgid ":issue:`43174`: Windows build now uses ``/utf-8`` compiler option." +msgstr "" + +#: build/NEWS:16662 +msgid "" +":issue:`43103`: Add a new configure ``--without-static-libpython`` option to " +"not build the ``libpythonMAJOR.MINOR.a`` static library and not install the " +"``python.o`` object file." +msgstr "" + +#: build/NEWS:16666 +msgid "" +":issue:`13501`: The configure script can now use *libedit* instead of " +"*readline* with the command line option ``--with-readline=editline``." +msgstr "" + +#: build/NEWS:16669 +msgid "" +":issue:`42603`: Make configure script use pkg-config to detect the location " +"of Tcl/Tk headers and libraries, used to build tkinter." +msgstr "" + +#: build/NEWS:16672 +msgid "" +"On macOS, a Tcl/Tk configuration provided by pkg-config will be preferred " +"over Tcl/Tk frameworks installed in ``/{System/,}Library/Frameworks``. If " +"both exist and the latter is preferred, the appropriate ``--with-tcltk-*`` " +"configuration options need to be explicitly set." +msgstr "" + +#: build/NEWS:16677 +msgid "" +":issue:`39448`: Add the \"regen-frozen\" makefile target that regenerates " +"the code for the frozen ``__hello__`` module." +msgstr "" + +#: build/NEWS:16683 +msgid "" +":issue:`43155`: :c:func:`PyCMethod_New` is now present in ``python3.lib``." +msgstr "" + +#: build/NEWS:16688 +msgid ":issue:`41837`: Update macOS installer build to use OpenSSL 1.1.1j." +msgstr "" + +#: build/NEWS:16693 +msgid "" +":issue:`43283`: Document why printing to IDLE's Shell is often slower than " +"printing to a system terminal and that it can be made faster by pre-" +"formatting a single string before printing." +msgstr "" + +#: build/NEWS:16700 +msgid "" +":issue:`43278`: Always put compiler and system information on the first line " +"of the REPL welcome message." +msgstr "" + +#: build/NEWS:16703 +msgid "" +":issue:`43270`: Remove the private ``_PyErr_OCCURRED()`` macro: use the " +"public :c:func:`PyErr_Occurred` function instead." +msgstr "" + +#: build/NEWS:16706 +msgid "" +":issue:`35134`: Move odictobject.h, parser_interface.h, picklebufobject.h, " +"pydebug.h, and pyfpe.h into the cpython/ directory. They must not be " +"included directly, as they are already included by Python.h: :ref:`Include " +"Files <api-includes>`." +msgstr "" + +#: build/NEWS:16711 +msgid "" +":issue:`35134`: Move pyarena.h, pyctype.h, and pytime.h into the cpython/ " +"directory. They must not be included directly, as they are already included " +"by Python.h: :ref:`Include Files <api-includes>`." +msgstr "" + +#: build/NEWS:16715 +msgid "" +":issue:`40170`: :c:func:`PyExceptionClass_Name` is now always declared as a " +"function, in order to hide implementation details. The macro accessed :c:" +"member:`PyTypeObject.tp_name` directly. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:16719 +msgid "" +":issue:`43239`: The :c:func:`PyCFunction_New` function is now exported in " +"the ABI when compiled with ``-fvisibility=hidden``." +msgstr "" + +#: build/NEWS:16722 +msgid "" +":issue:`40170`: :c:func:`PyIter_Check` is now always declared as a function, " +"in order to hide implementation details. The macro accessed :c:member:" +"`PyTypeObject.tp_iternext` directly. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:16726 +msgid "" +":issue:`40170`: Convert :c:func:`PyDescr_IsData` macro to a function to hide " +"implementation details: The macro accessed :c:member:`PyTypeObject." +"tp_descr_set` directly. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:16731 +msgid "" +":issue:`43181`: Convert :c:func:`PyObject_TypeCheck` macro to a static " +"inline function. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:16736 +msgid "Python 3.10.0 alpha 5" +msgstr "" + +#: build/NEWS:16738 +msgid "*Release date: 2021-02-02*" +msgstr "" + +#: build/NEWS:16743 +msgid "" +":issue:`42938`: Avoid static buffers when computing the repr of :class:" +"`ctypes.c_double` and :class:`ctypes.c_longdouble` values." +msgstr "" + +#: build/NEWS:16749 +msgid ":issue:`42990`: Refactor the ``PyEval_`` family of functions." +msgstr "" + +#: build/NEWS:16751 +msgid "" +"An new function ``_PyEval_Vector`` is added to simplify calls to Python from " +"C." +msgstr "" + +#: build/NEWS:16752 +msgid "``_PyEval_EvalCodeWithName`` is removed" +msgstr "" + +#: build/NEWS:16753 +msgid "" +"``PyEval_EvalCodeEx`` is retained as part of the API, but is not used " +"internally" +msgstr "" + +#: build/NEWS:16755 +msgid "" +":issue:`38631`: Replace :c:func:`Py_FatalError` calls in the compiler with " +"regular :exc:`SystemError` exceptions. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:16758 +msgid "" +":issue:`42997`: Improve error message for missing \":\" before blocks. Patch " +"by Pablo Galindo." +msgstr "" + +#: build/NEWS:16761 +msgid "" +":issue:`43017`: Improve error message in the parser when using un-" +"parenthesised tuples in comprehensions. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:16764 +msgid "" +":issue:`42986`: Fix parser crash when reporting syntax errors in f-string " +"with newlines. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:16767 +msgid "" +":issue:`40176`: Syntax errors for unterminated string literals now point to " +"the start of the string instead of reporting EOF/EOL." +msgstr "" + +#: build/NEWS:16770 +msgid "" +":issue:`42927`: The inline cache for ``LOAD_ATTR`` now also optimizes access " +"to attributes defined by ``__slots__``. This makes reading such attribute up " +"to 30% faster." +msgstr "" + +#: build/NEWS:16774 +msgid "" +":issue:`42864`: Improve error messages in the parser when parentheses are " +"not closed. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:16777 +msgid "" +":issue:`42924`: Fix ``bytearray`` repetition incorrectly copying data from " +"the start of the buffer, even if the data is offset within the buffer (e.g. " +"after reassigning a slice at the start of the ``bytearray`` to a shorter " +"byte string)." +msgstr "" + +#: build/NEWS:16782 +msgid "" +":issue:`42882`: Fix the :c:func:`!_PyUnicode_FromId` function " +"(_Py_IDENTIFIER(var) API) when :c:func:`Py_Initialize` / :c:func:" +"`Py_Finalize` is called multiple times: preserve ``_PyRuntime.unicode_ids." +"next_index`` value." +msgstr "" + +#: build/NEWS:16787 +msgid "" +":issue:`42827`: Fix a crash when working out the error line of a :exc:" +"`SyntaxError` in some multi-line expressions." +msgstr "" + +#: build/NEWS:16790 +msgid "" +":issue:`42823`: frame.f_lineno is correct even if frame.f_trace is set to " +"True" +msgstr "" + +#: build/NEWS:16792 +msgid "" +":issue:`37324`: Remove deprecated aliases to :ref:`collections-abstract-base-" +"classes` from the :mod:`collections` module." +msgstr "" + +#: build/NEWS:16796 +msgid "" +":issue:`41994`: Fixed possible leak in ``import`` when ``sys.modules`` is " +"not a ``dict``." +msgstr "" + +#: build/NEWS:16799 +msgid "" +":issue:`27772`: In string formatting, preceding the *width* field by ``'0'`` " +"no longer affects the default alignment for strings." +msgstr "" + +#: build/NEWS:16805 +msgid "" +":issue:`43108`: Fixed a reference leak in the :mod:`curses` module. Patch by " +"Pablo Galindo" +msgstr "" + +#: build/NEWS:16808 +msgid "" +":issue:`43077`: Update the bundled pip to 21.0.1 and setuptools to 52.0.0." +msgstr "" + +#: build/NEWS:16810 +msgid "" +":issue:`41282`: Deprecate ``distutils`` in documentation and add warning on " +"import." +msgstr "" + +#: build/NEWS:16813 +msgid "" +":issue:`43014`: Improve performance of :mod:`tokenize` by 20-30%. Patch by " +"Anthony Sottile." +msgstr "" + +#: build/NEWS:16816 +msgid ":issue:`42323`: Fix :func:`math.nextafter` for NaN on AIX." +msgstr "" + +#: build/NEWS:16818 +msgid "" +":issue:`42955`: Add :data:`sys.stdlib_module_names`, containing the list of " +"the standard library module names. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:16821 +msgid "" +":issue:`42944`: Fix ``random.Random.sample`` when ``counts`` argument is not " +"``None``." +msgstr "" + +#: build/NEWS:16824 +msgid "" +":issue:`42934`: Use :class:`~traceback.TracebackException`'s new ``compact`` " +"param in :class:`~unittest.TestResult` to reduce time and memory consumed by " +"traceback formatting." +msgstr "" + +#: build/NEWS:16828 +msgid ":issue:`42931`: Add :func:`randbytes` to ``random.__all__``." +msgstr "" + +#: build/NEWS:16830 +msgid "" +":issue:`38250`: [Enum] Flags consisting of a single bit are now considered " +"canonical, and will be the only flags returned from listing and iterating " +"over a Flag class or a Flag member. Multi-bit flags are considered aliases; " +"they will be returned from lookups and operations that result in their " +"value. Iteration for both Flag and Flag members is in definition order." +msgstr "" + +#: build/NEWS:16837 +msgid "" +":issue:`42877`: Added the ``compact`` parameter to the constructor of :class:" +"`traceback.TracebackException` to reduce time and memory for use cases that " +"only need to call :func:`TracebackException.format` and :func:" +"`TracebackException.format_exception_only`." +msgstr "" + +#: build/NEWS:16842 +msgid "" +":issue:`42923`: The :c:func:`Py_FatalError` function and the :mod:" +"`faulthandler` module now dump the list of extension modules on a fatal " +"error." +msgstr "" + +#: build/NEWS:16846 +msgid "" +":issue:`42848`: Removed recursion from :class:`~traceback." +"TracebackException` to allow it to handle long exception chains." +msgstr "" + +#: build/NEWS:16849 +msgid "" +":issue:`42901`: [Enum] move member creation from ``EnumMeta.__new__`` to " +"``_proto_member.__set_name__``, allowing members to be created and visible " +"in ``__init_subclass__``." +msgstr "" + +#: build/NEWS:16853 +msgid "" +":issue:`42780`: Fix os.set_inheritable() for O_PATH file descriptors on " +"Linux." +msgstr "" + +#: build/NEWS:16855 +msgid "" +":issue:`42866`: Fix a reference leak in the ``getcodec()`` function of CJK " +"codecs. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:16858 +msgid "" +":issue:`42846`: Convert the 6 CJK codec extension modules (_codecs_cn, " +"_codecs_hk, _codecs_iso2022, _codecs_jp, _codecs_kr and _codecs_tw) to the " +"multiphase initialization API (:pep:`489`). Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:16862 +msgid ":issue:`42851`: remove __init_subclass__ support for Enum members" +msgstr "" + +#: build/NEWS:16864 +msgid "" +":issue:`42834`: Make internal caches of the ``_json`` module compatible with " +"subinterpreters." +msgstr "" + +#: build/NEWS:16867 +msgid "" +":issue:`41748`: Fix HTMLParser parsing rules for element attributes " +"containing commas with spaces. Patch by Karl Dubost." +msgstr "" + +#: build/NEWS:16870 +msgid "" +":issue:`40810`: Require SQLite 3.7.15 or newer. Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:16872 +msgid "" +":issue:`1635741`: Convert the _multibytecodec extension module (CJK codecs) " +"to multi-phase initialization (:pep:`489`). Patch by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:16875 +msgid "" +":issue:`42802`: The distutils ``bdist_wininst`` command deprecated in Python " +"3.8 has been removed. The distutils ``bdist_wheel`` command is now " +"recommended to distribute binary packages on Windows." +msgstr "" + +#: build/NEWS:16879 +msgid "" +":issue:`24464`: The undocumented built-in function ``sqlite3." +"enable_shared_cache`` is now deprecated, scheduled for removal in Python " +"3.12. Its use is strongly discouraged by the SQLite3 documentation. Patch " +"by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:16884 +msgid "" +":issue:`42384`: Make pdb populate sys.path[0] exactly the same as regular " +"python execution." +msgstr "" + +#: build/NEWS:16887 +msgid "" +":issue:`42383`: Fix pdb: previously pdb would fail to restart the debugging " +"target if it was specified using a relative path and the current directory " +"changed." +msgstr "" + +#: build/NEWS:16891 +msgid "" +":issue:`42005`: Fix CLI of :mod:`cProfile` and :mod:`profile` to catch :exc:" +"`BrokenPipeError`." +msgstr "" + +#: build/NEWS:16894 +msgid "" +":issue:`41604`: Don't decrement the reference count of the previous user_ptr " +"when set_panel_userptr fails." +msgstr "" + +#: build/NEWS:16897 +msgid "" +":issue:`41149`: Allow executing callables that have a boolean value of " +"``False`` when passed to :class:`Threading.thread` as the target. Patch " +"contributed by Barney Stratford." +msgstr "" + +#: build/NEWS:16901 +msgid "" +":issue:`38307`: Add an 'end_lineno' attribute to the Class and Function " +"objects that appear in the tree returned by pyclbr functions. This and the " +"existing 'lineno' attribute define the extent of class and def statements. " +"Patch by Aviral Srivastava." +msgstr "" + +#: build/NEWS:16906 +msgid "" +":issue:`39273`: The ``BUTTON5_*`` constants are now exposed in the :mod:" +"`curses` module if available." +msgstr "" + +#: build/NEWS:16909 +msgid "" +":issue:`33289`: Correct call to :mod:`tkinter.colorchooser` to return RGB " +"triplet of ints instead of floats. Patch by Cheryl Sabella." +msgstr "" + +#: build/NEWS:16915 +msgid "" +":issue:`40304`: Fix doc for type(name, bases, dict). Patch by Boris " +"Verkhovskiy and Éric Araujo." +msgstr "" + +#: build/NEWS:16918 +msgid "" +":issue:`42811`: Updated importlib.util.resolve_name() doc to use __spec__." +"parent instead of __package__. (Thanks Yair Frid.)" +msgstr "" + +#: build/NEWS:16924 +msgid "" +":issue:`40823`: Use :meth:`unittest.TestLoader().loadTestsFromTestCase` " +"instead of :meth:`unittest.makeSuite` in :mod:`sqlite3` tests. Patch by " +"Erlend E. Aasland." +msgstr "" + +#: build/NEWS:16928 +msgid "" +":issue:`40810`: In :mod:`sqlite3`, fix ``CheckTraceCallbackContent`` for " +"SQLite pre 3.7.15." +msgstr "" + +#: build/NEWS:16934 +msgid "" +":issue:`43031`: Pass ``--timeout=$(TESTTIMEOUT)`` option to the default " +"profile task ``./python -m test --pgo`` command." +msgstr "" + +#: build/NEWS:16937 +msgid "" +":issue:`36143`: ``make regen-all`` now also runs ``regen-keyword``. Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:16940 +msgid "" +":issue:`42874`: Removed the grep -q and -E flags in the tzpath validation " +"section of the configure script to better accommodate users of some " +"platforms (specifically Solaris 10)." +msgstr "" + +#: build/NEWS:16944 +msgid "" +":issue:`31904`: Add library search path by wr-cc in " +"add_cross_compiling_paths() for VxWorks." +msgstr "" + +#: build/NEWS:16947 +msgid "" +":issue:`42856`: Add ``--with-wheel-pkg-dir=PATH`` option to the ``./" +"configure`` script. If specified, the :mod:`ensurepip` module looks for " +"``setuptools`` and ``pip`` wheel packages in this directory: if both are " +"present, these wheel packages are used instead of ensurepip bundled wheel " +"packages." +msgstr "" + +#: build/NEWS:16952 +msgid "" +"Some Linux distribution packaging policies recommend against bundling " +"dependencies. For example, Fedora installs wheel packages in the ``/usr/" +"share/python-wheels/`` directory and don't install the ``ensurepip." +"_bundled`` package." +msgstr "" + +#: build/NEWS:16960 +msgid ":issue:`41837`: Updated Windows installer to include OpenSSL 1.1.1i" +msgstr "" + +#: build/NEWS:16962 +msgid ":issue:`42584`: Upgrade Windows installer to use SQLite 3.34.0." +msgstr "" + +#: build/NEWS:16967 +msgid "" +":issue:`42504`: Ensure that the value of sysconfig." +"get_config_var('MACOSX_DEPLOYMENT_TARGET') is always a string, even in when " +"the value is parsable as an integer." +msgstr "" + +#: build/NEWS:16974 +msgid "" +":issue:`43008`: Make IDLE invoke :func:`sys.excepthook` in normal, 2-process " +"mode. Patch by Ken Hilton." +msgstr "" + +#: build/NEWS:16977 +msgid "" +":issue:`33065`: Fix problem debugging user classes with __repr__ method." +msgstr "" + +#: build/NEWS:16979 +msgid "" +":issue:`23544`: Disable Debug=>Stack Viewer when user code is running or " +"Debugger is active, to prevent hang or crash. Patch by Zackery Spytz." +msgstr "" + +#: build/NEWS:16982 +msgid "" +":issue:`32631`: Finish zzdummy example extension module: make menu entries " +"work; add docstrings and tests with 100% coverage." +msgstr "" + +#: build/NEWS:16988 +msgid "" +":issue:`42979`: When Python is built in debug mode (with C assertions), " +"calling a type slot like ``sq_length`` (``__len__()`` in Python) now fails " +"with a fatal error if the slot succeeded with an exception set, or failed " +"with no exception set. The error message contains the slot, the type name, " +"and the current exception (if an exception is set). Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:16994 +msgid "" +":issue:`43030`: Fixed a compiler warning in :c:func:`Py_UNICODE_ISSPACE()` " +"on platforms with signed :c:type:`wchar_t`." +msgstr "" + +#: build/NEWS:16999 +msgid "Python 3.10.0 alpha 4" +msgstr "" + +#: build/NEWS:17001 +msgid "*Release date: 2021-01-04*" +msgstr "" + +#: build/NEWS:17006 +msgid "" +":issue:`42814`: Fix undefined behavior in ``Objects/genericaliasobject.c``." +msgstr "" + +#: build/NEWS:17008 +msgid "" +":issue:`42806`: Fix the column offsets for f-strings :mod:`ast` nodes " +"surrounded by parentheses and for nodes that spawn multiple lines. Patch by " +"Pablo Galindo." +msgstr "" + +#: build/NEWS:17012 +msgid "" +":issue:`40631`: Fix regression where a single parenthesized starred " +"expression was a valid assignment target." +msgstr "" + +#: build/NEWS:17015 +msgid "" +":issue:`27794`: Improve the error message for failed writes/deletes to " +"property objects. When possible, the attribute name is now shown. Patch " +"provided by Yurii Karabas." +msgstr "" + +#: build/NEWS:17019 +msgid "" +":issue:`42745`: Make the type attribute lookup cache per-interpreter. Patch " +"by Victor Stinner." +msgstr "" + +#: build/NEWS:17022 +msgid "" +":issue:`42246`: Jumps to jumps are not eliminated when it would break PEP " +"626." +msgstr "" + +#: build/NEWS:17024 +msgid "" +":issue:`42246`: Make sure that the ``f_lasti`` and ``f_lineno`` attributes " +"of a frame are set correctly when an exception is raised or re-raised. " +"Required for PEP 626." +msgstr "" + +#: build/NEWS:17028 +msgid "" +":issue:`32381`: The coding cookie (ex: ``# coding: latin1``) is now ignored " +"in the command passed to the :option:`-c` command line option. Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:17032 +msgid "" +":issue:`30858`: Improve error location in expressions that contain " +"assignments. Patch by Pablo Galindo and Lysandros Nikolaou." +msgstr "" + +#: build/NEWS:17035 +msgid "" +":issue:`42615`: Remove jump commands made redundant by the deletion of " +"unreachable bytecode blocks" +msgstr "" + +#: build/NEWS:17038 +msgid "" +":issue:`42639`: Make the :mod:`atexit` module state per-interpreter. It is " +"now safe have more than one :mod:`atexit` module instance. Patch by Donghee " +"Na and Victor Stinner." +msgstr "" + +#: build/NEWS:17042 +msgid "" +":issue:`32381`: Fix encoding name when running a ``.pyc`` file on Windows: :" +"c:func:`PyRun_SimpleFileExFlags()` now uses the correct encoding to decode " +"the filename." +msgstr "" + +#: build/NEWS:17046 +msgid "" +":issue:`42195`: The ``__args__`` of the parameterized generics for :data:" +"`typing.Callable` and :class:`collections.abc.Callable` are now consistent. " +"The ``__args__`` for :class:`collections.abc.Callable` are now flattened " +"while :data:`typing.Callable`'s have not changed. To allow this change, :" +"class:`types.GenericAlias` can now be subclassed and ``collections.abc." +"Callable``'s ``__class_getitem__`` will now return a subclass of ``types." +"GenericAlias``. Tests for typing were also updated to not subclass things " +"like ``Callable[..., T]`` as that is not a valid base class. Finally, both " +"``Callable``\\ s no longer validate their ``argtypes``, in " +"``Callable[[argtypes], resulttype]`` to prepare for :pep:`612`. Patch by " +"Ken Jin." +msgstr "" + +#: build/NEWS:17058 +msgid "" +":issue:`40137`: Convert functools module to use :c:func:" +"`PyType_FromModuleAndSpec`." +msgstr "" + +#: build/NEWS:17061 +msgid "" +":issue:`40077`: Convert :mod:`array` to use heap types, and establish module " +"state for these." +msgstr "" + +#: build/NEWS:17064 +msgid ":issue:`42008`: Fix _random.Random() seeding." +msgstr "" + +#: build/NEWS:17066 +msgid "" +":issue:`1635741`: Port the :mod:`pyexpat` extension module to multi-phase " +"initialization (:pep:`489`)." +msgstr "" + +#: build/NEWS:17069 +msgid "" +":issue:`40521`: Make the Unicode dictionary of interned strings compatible " +"with subinterpreters. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:17072 +msgid "" +":issue:`39465`: Make :c:func:`!_PyUnicode_FromId` function compatible with " +"subinterpreters. Each interpreter now has an array of identifier objects " +"(interned strings decoded from UTF-8). Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:17079 +msgid "" +":issue:`42257`: Handle empty string in variable executable in platform." +"libc_ver()" +msgstr "" + +#: build/NEWS:17082 +msgid "" +":issue:`42772`: randrange() now raises a TypeError when step is specified " +"without a stop argument. Formerly, it silently ignored the step argument." +msgstr "" + +#: build/NEWS:17085 +msgid "" +":issue:`42759`: Fixed equality comparison of :class:`tkinter.Variable` and :" +"class:`tkinter.font.Font`. Objects which belong to different Tcl " +"interpreters are now always different, even if they have the same name." +msgstr "" + +#: build/NEWS:17089 +msgid "" +":issue:`42756`: Configure LMTP Unix-domain socket to use socket global " +"default timeout when a timeout is not explicitly provided." +msgstr "" + +#: build/NEWS:17092 +msgid "" +":issue:`23328`: Allow / character in username, password fields on _PROXY " +"envars." +msgstr "" + +#: build/NEWS:17095 +msgid "" +":issue:`42740`: :func:`typing.get_args` and :func:`typing.get_origin` now " +"support :pep:`604` union types and :pep:`612` additions to ``Callable``." +msgstr "" + +#: build/NEWS:17098 +msgid "" +":issue:`42655`: :mod:`subprocess` *extra_groups* is now correctly passed " +"into setgroups() system call." +msgstr "" + +#: build/NEWS:17101 +msgid "" +":issue:`42727`: ``EnumMeta.__prepare__`` now accepts ``**kwds`` to properly " +"support ``__init_subclass__``" +msgstr "" + +#: build/NEWS:17104 +msgid ":issue:`38308`: Add optional *weights* to *statistics.harmonic_mean()*." +msgstr "" + +#: build/NEWS:17106 +msgid "" +":issue:`42721`: When simple query dialogs (:mod:`tkinter.simpledialog`), " +"message boxes (:mod:`tkinter.messagebox`) or color choose dialog (:mod:" +"`tkinter.colorchooser`) are created without arguments *master* and *parent*, " +"and the default root window is not yet created, and :func:`~tkinter." +"NoDefaultRoot` was not called, a new temporal hidden root window will be " +"created automatically. It will not be set as the default root window and " +"will be destroyed right after closing the dialog window. It will help to use " +"these simple dialog windows in programs which do not need other GUI." +msgstr "" + +#: build/NEWS:17116 +msgid ":issue:`25246`: Optimized :meth:`collections.deque.remove`." +msgstr "" + +#: build/NEWS:17118 +msgid "" +":issue:`35728`: Added a root parameter to :func:`tkinter.font.nametofont`." +msgstr "" + +#: build/NEWS:17120 +msgid "" +":issue:`15303`: :mod:`tkinter` supports now widgets with boolean value False." +msgstr "" + +#: build/NEWS:17122 +msgid "" +":issue:`42681`: Fixed range checks for color and pair numbers in :mod:" +"`curses`." +msgstr "" + +#: build/NEWS:17124 +msgid "" +":issue:`42685`: Improved placing of simple query windows in Tkinter (such " +"as :func:`tkinter.simpledialog.askinteger`). They are now centered at the " +"center of the parent window if it is specified and shown, otherwise at the " +"center of the screen." +msgstr "" + +#: build/NEWS:17129 +msgid "" +":issue:`9694`: Argparse help no longer uses the confusing phrase, \"optional " +"arguments\". It uses \"options\" instead." +msgstr "" + +#: build/NEWS:17132 +msgid "" +":issue:`1635741`: Port the :mod:`!_thread` extension module to the " +"multiphase initialization API (:pep:`489`) and convert its static types to " +"heap types." +msgstr "" + +#: build/NEWS:17136 +msgid "" +":issue:`37961`: Fix crash in :func:`tracemalloc.Traceback.__repr__` " +"(regressed in Python 3.9)." +msgstr "" + +#: build/NEWS:17139 +msgid "" +":issue:`42630`: :mod:`tkinter` functions and constructors which need a " +"default root window raise now :exc:`RuntimeError` with descriptive message " +"instead of obscure :exc:`AttributeError` or :exc:`NameError` if it is not " +"created yet or cannot be created automatically." +msgstr "" + +#: build/NEWS:17144 +msgid "" +":issue:`42639`: :func:`atexit._run_exitfuncs` now logs callback exceptions " +"using :data:`sys.unraisablehook`, rather than logging them directly into :" +"data:`sys.stderr` and raise the last exception." +msgstr "" + +#: build/NEWS:17148 +msgid "" +":issue:`42644`: ``logging.disable`` will now validate the types and value of " +"its parameter. It also now accepts strings representing the levels (as does " +"``logging.setLevel``) instead of only the numerical values." +msgstr "" + +#: build/NEWS:17152 +msgid "" +":issue:`42639`: At Python exit, if a callback registered with :func:`atexit." +"register` fails, its exception is now logged. Previously, only some " +"exceptions were logged, and the last exception was always silently ignored." +msgstr "" + +#: build/NEWS:17157 +msgid "" +":issue:`36541`: Fixed lib2to3.pgen2 to be able to parse PEP-570 positional " +"only argument syntax." +msgstr "" + +#: build/NEWS:17160 +msgid "" +":issue:`42382`: In ``importlib.metadata``: - ``EntryPoint`` objects now " +"expose a ``.dist`` object referencing the ``Distribution`` when constructed " +"from a ``Distribution``. - Add support for package discovery under package " +"normalization rules. - The object returned by ``metadata()`` now has a " +"formally defined protocol called ``PackageMetadata`` with declared support " +"for the ``.get_all()`` method. - Synced with importlib_metadata 3.3." +msgstr "" + +#: build/NEWS:17167 +msgid "" +":issue:`41877`: A check is added against misspellings of autospect, " +"auto_spec and set_spec being passed as arguments to patch, patch.object and " +"create_autospec." +msgstr "" + +#: build/NEWS:17171 +msgid "" +":issue:`39717`: [tarfile] update nested exception raising to use ``from " +"None`` or ``from e``" +msgstr "" + +#: build/NEWS:17174 +msgid "" +":issue:`41877`: AttributeError for suspected misspellings of assertions on " +"mocks are now pointing out that the cause are misspelled assertions and also " +"what to do if the misspelling is actually an intended attribute name. The " +"unittest.mock document is also updated to reflect the current set of " +"recognised misspellings." +msgstr "" + +#: build/NEWS:17180 +msgid "" +":issue:`41559`: Implemented :pep:`612`: added ``ParamSpec`` and " +"``Concatenate`` to :mod:`typing`. Patch by Ken Jin." +msgstr "" + +#: build/NEWS:17183 +msgid ":issue:`42385`: StrEnum: fix _generate_next_value_ to return a str" +msgstr "" + +#: build/NEWS:17185 +msgid ":issue:`31904`: Define THREAD_STACK_SIZE for VxWorks." +msgstr "" + +#: build/NEWS:17187 +msgid ":issue:`34750`: [Enum] ``_EnumDict.update()`` is now supported." +msgstr "" + +#: build/NEWS:17189 +msgid "" +":issue:`42517`: Enum: private names do not become members / do not generate " +"errors -- they remain normal attributes" +msgstr "" + +#: build/NEWS:17192 +msgid "" +":issue:`42678`: ``Enum``: call ``__init_subclass__`` after members have been " +"added" +msgstr "" + +#: build/NEWS:17195 +msgid "" +":issue:`28964`: :func:`ast.literal_eval` adds line number information (if " +"available) in error message for malformed nodes." +msgstr "" + +#: build/NEWS:17198 +msgid "" +":issue:`42470`: :func:`random.sample` no longer warns on a sequence which is " +"also a set." +msgstr "" + +#: build/NEWS:17201 +msgid "" +":issue:`31904`: :func:`posixpath.expanduser` returns the input *path* " +"unchanged if user home directory is None on VxWorks." +msgstr "" + +#: build/NEWS:17204 +msgid "" +":issue:`42388`: Fix subprocess.check_output(..., input=None) behavior when " +"text=True to be consistent with that of the documentation and " +"universal_newlines=True." +msgstr "" + +#: build/NEWS:17208 +msgid "" +":issue:`34463`: Fixed discrepancy between :mod:`traceback` and the " +"interpreter in formatting of SyntaxError with lineno not set (:mod:" +"`traceback` was changed to match interpreter)." +msgstr "" + +#: build/NEWS:17212 +msgid "" +":issue:`42393`: Raise :exc:`OverflowError` instead of silent truncation in :" +"meth:`socket.ntohs` and :meth:`socket.htons`. Silent truncation was " +"deprecated in Python 3.7. Patch by Erlend E. Aasland" +msgstr "" + +#: build/NEWS:17216 +msgid "" +":issue:`42222`: Harmonized :func:`random.randrange` argument handling to " +"match :func:`range`." +msgstr "" + +#: build/NEWS:17219 +msgid "" +"The integer test and conversion in ``randrange()`` now uses :func:`operator." +"index`." +msgstr "" + +#: build/NEWS:17221 +msgid "Non-integer arguments to ``randrange()`` are deprecated." +msgstr "" + +#: build/NEWS:17222 +msgid "The ``ValueError`` is deprecated in favor of a ``TypeError``." +msgstr "" + +#: build/NEWS:17223 +msgid "It now runs a little faster than before." +msgstr "" + +#: build/NEWS:17225 +msgid "(Contributed by Raymond Hettinger and Serhiy Storchaka.)" +msgstr "" + +#: build/NEWS:17227 +msgid "" +":issue:`42163`: Restore compatibility for ``uname_result`` around deepcopy " +"and _replace." +msgstr "" + +#: build/NEWS:17230 +msgid "" +":issue:`42090`: ``zipfile.Path.joinpath`` now accepts arbitrary arguments, " +"same as ``pathlib.Path.joinpath``." +msgstr "" + +#: build/NEWS:17233 +msgid "" +":issue:`1635741`: Port the _csv module to the multi-phase initialization API " +"(:pep:`489`)." +msgstr "" + +#: build/NEWS:17236 +msgid "" +":issue:`42059`: :class:`typing.TypedDict` types created using the " +"alternative call-style syntax now correctly respect the ``total`` keyword " +"argument when setting their ``__required_keys__`` and ``__optional_keys__`` " +"class attributes." +msgstr "" + +#: build/NEWS:17241 +msgid "" +":issue:`41960`: Add ``globalns`` and ``localns`` parameters to the :func:" +"`inspect.signature` and :meth:`inspect.Signature.from_callable`." +msgstr "" + +#: build/NEWS:17244 +msgid ":issue:`41907`: fix ``format()`` behavior for ``IntFlag``" +msgstr "" + +#: build/NEWS:17246 +msgid ":issue:`41891`: Ensure asyncio.wait_for waits for task completion" +msgstr "" + +#: build/NEWS:17248 +msgid "" +":issue:`24792`: Fixed bug where :mod:`zipimporter` sometimes reports an " +"incorrect cause of import errors." +msgstr "" + +#: build/NEWS:17251 +msgid "" +":issue:`31904`: Fix site and sysconfig modules for VxWorks RTOS which has no " +"home directories." +msgstr "" + +#: build/NEWS:17254 +msgid ":issue:`41462`: Add :func:`os.set_blocking` support for VxWorks RTOS." +msgstr "" + +#: build/NEWS:17256 +msgid "" +":issue:`40219`: Lowered :class:`tkinter.ttk.LabeledScale` dummy widget to " +"prevent hiding part of the content label." +msgstr "" + +#: build/NEWS:17259 +msgid "" +":issue:`37193`: Fixed memory leak in ``socketserver.ThreadingMixIn`` " +"introduced in Python 3.7." +msgstr "" + +#: build/NEWS:17262 +msgid "" +":issue:`39068`: Fix initialization race condition in :func:`a85encode` and :" +"func:`b85encode` in :mod:`base64`. Patch by Brandon Stansbury." +msgstr "" + +#: build/NEWS:17268 +msgid "" +":issue:`17140`: Add documentation for the :class:`multiprocessing.pool." +"ThreadPool` class." +msgstr "" + +#: build/NEWS:17271 +msgid "" +":issue:`34398`: Prominently feature listings from the glossary in " +"documentation search results. Patch by Ammar Askar." +msgstr "" + +#: build/NEWS:17277 +msgid "" +":issue:`42794`: Update test_nntplib to use official group name of news.aioe." +"org for testing. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:17280 +msgid ":issue:`31904`: Skip some asyncio tests on VxWorks." +msgstr "" + +#: build/NEWS:17282 +msgid "" +":issue:`42641`: Enhance ``test_select.test_select()``: it now takes 500 " +"milliseconds rather than 10 seconds. Use Python rather than a shell to make " +"the test more portable." +msgstr "" + +#: build/NEWS:17286 +msgid ":issue:`31904`: Skip some tests in _test_all_chown_common() on VxWorks." +msgstr "" + +#: build/NEWS:17288 +msgid ":issue:`42199`: Fix bytecode helper assertNotInBytecode." +msgstr "" + +#: build/NEWS:17290 +msgid ":issue:`41443`: Add more attribute checking in test_posix.py" +msgstr "" + +#: build/NEWS:17292 +msgid ":issue:`31904`: Disable os.popen and impacted tests on VxWorks" +msgstr "" + +#: build/NEWS:17294 +msgid ":issue:`41439`: Port test_ssl and test_uuid to VxWorks RTOS." +msgstr "" + +#: build/NEWS:17299 +msgid "" +":issue:`42692`: Fix __builtin_available check on older compilers. Patch by " +"Joshua Root." +msgstr "" + +#: build/NEWS:17302 +msgid "" +":issue:`27640`: Added ``--disable-test-modules`` option to the ``configure`` " +"script: don't build nor install test modules. Patch by Xavier de Gaye, " +"Thomas Petazzoni and Peixing Xin." +msgstr "" + +#: build/NEWS:17306 +msgid "" +":issue:`42604`: Now all platforms use a value for the \"EXT_SUFFIX\" build " +"variable derived from SOABI (for instance in freeBSD, \"EXT_SUFFIX\" is now " +"\".cpython-310d.so\" instead of \".so\"). Previously only Linux, Mac and " +"VxWorks were using a value for \"EXT_SUFFIX\" that included \"SOABI\"." +msgstr "" + +#: build/NEWS:17311 +msgid "" +":issue:`42598`: Fix implicit function declarations in configure which could " +"have resulted in incorrect configuration checks. Patch contributed by " +"Joshua Root." +msgstr "" + +#: build/NEWS:17315 +msgid ":issue:`31904`: Enable libpython3.so for VxWorks." +msgstr "" + +#: build/NEWS:17317 +msgid ":issue:`29076`: Add fish shell support to macOS installer." +msgstr "" + +#: build/NEWS:17322 +msgid "" +":issue:`42361`: Update macOS installer build to use Tcl/Tk 8.6.11 (rc2, " +"expected to be final release)." +msgstr "" + +#: build/NEWS:17325 +msgid ":issue:`41837`: Update macOS installer build to use OpenSSL 1.1.1i." +msgstr "" + +#: build/NEWS:17327 +msgid ":issue:`42584`: Update macOS installer to use SQLite 3.34.0." +msgstr "" + +#: build/NEWS:17332 +msgid "" +":issue:`42726`: Fixed Python 3 compatibility issue with gdb/libpython.py " +"handling of attribute dictionaries." +msgstr "" + +#: build/NEWS:17335 +msgid "" +":issue:`42613`: Fix ``freeze.py`` tool to use the prope config and library " +"directories. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:17341 +msgid "" +":issue:`42591`: Export the :c:func:`Py_FrozenMain` function: fix a Python " +"3.9.0 regression. Python 3.9 uses ``-fvisibility=hidden`` and the function " +"was not exported explicitly and so not exported." +msgstr "" + +#: build/NEWS:17345 +msgid "" +":issue:`32381`: Remove the private :c:func:`!_Py_fopen` function which is no " +"longer needed. Use :c:func:`!_Py_wfopen` or :c:func:`!_Py_fopen_obj` " +"instead. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:17349 +msgid ":issue:`1635741`: Port :mod:`resource` extension module to module state" +msgstr "" + +#: build/NEWS:17351 +msgid "" +":issue:`42111`: Update the ``xxlimited`` module to be a better example of " +"how to use the limited C API." +msgstr "" + +#: build/NEWS:17354 +msgid "" +":issue:`40052`: Fix an alignment build warning/error in function " +"``PyVectorcall_Function()``. Patch by Andreas Schneider, Antoine Pitrou and " +"Petr Viktorin." +msgstr "" + +#: build/NEWS:17360 +msgid "Python 3.10.0 alpha 3" +msgstr "" + +#: build/NEWS:17362 +msgid "*Release date: 2020-12-07*" +msgstr "" + +#: build/NEWS:17367 +msgid "" +":issue:`40791`: Add ``volatile`` to the accumulator variable in ``hmac." +"compare_digest``, making constant-time-defeating optimizations less likely." +msgstr "" + +#: build/NEWS:17374 +msgid "" +":issue:`42576`: ``types.GenericAlias`` will now raise a ``TypeError`` when " +"attempting to initialize with a keyword argument. Previously, this would " +"cause the interpreter to crash if the interpreter was compiled with debug " +"symbols. This does not affect interpreters compiled for release. Patch by " +"Ken Jin." +msgstr "" + +#: build/NEWS:17380 +msgid "" +":issue:`42536`: Several built-in and standard library types now ensure that " +"their internal result tuples are always tracked by the :term:`garbage " +"collector <garbage collection>`:" +msgstr "" + +#: build/NEWS:17384 +msgid ":meth:`collections.OrderedDict.items() <collections.OrderedDict>`" +msgstr "" + +#: build/NEWS:17386 +msgid ":meth:`dict.items`" +msgstr "" + +#: build/NEWS:17388 +msgid ":func:`enumerate`" +msgstr "" + +#: build/NEWS:17390 +msgid ":func:`functools.reduce`" +msgstr "" + +#: build/NEWS:17392 +msgid ":func:`itertools.combinations`" +msgstr "" + +#: build/NEWS:17394 +msgid ":func:`itertools.combinations_with_replacement`" +msgstr "" + +#: build/NEWS:17396 +msgid ":func:`itertools.permutations`" +msgstr "" + +#: build/NEWS:17398 +msgid ":func:`itertools.product`" +msgstr "" + +#: build/NEWS:17400 +msgid ":func:`itertools.zip_longest`" +msgstr "" + +#: build/NEWS:17402 +msgid ":func:`zip`" +msgstr "" + +#: build/NEWS:17404 +msgid "" +"Previously, they could have become untracked by a prior garbage collection. " +"Patch by Brandt Bucher." +msgstr "" + +#: build/NEWS:17407 +msgid "" +":issue:`42500`: Improve handling of exceptions near recursion limit. " +"Converts a number of Fatal Errors in RecursionErrors." +msgstr "" + +#: build/NEWS:17410 +msgid "" +":issue:`42246`: PEP 626: After a return, the f_lineno attribute of a frame " +"is always the last line executed." +msgstr "" + +#: build/NEWS:17413 +msgid "" +":issue:`42435`: Speed up comparison of bytes objects with non-bytes objects " +"when option :option:`-b` is specified. Speed up comparison of bytarray " +"objects with non-buffer object." +msgstr "" + +#: build/NEWS:17417 +msgid "" +":issue:`1635741`: Port the ``_warnings`` extension module to the multi-phase " +"initialization API (:pep:`489`). Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:17420 +msgid "" +":issue:`41686`: On Windows, the ``SIGINT`` event, ``_PyOS_SigintEvent()``, " +"is now created even if Python is configured to not install signal handlers " +"(if :c:member:`PyConfig.install_signal_handlers` equals to 0, or " +"``Py_InitializeEx(0)``)." +msgstr "" + +#: build/NEWS:17425 +msgid "" +":issue:`42381`: Allow assignment expressions in set literals and set " +"comprehensions as per PEP 572. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:17428 +msgid "" +":issue:`42202`: Change function parameters annotations internal " +"representation to tuple of strings. Patch provided by Yurii Karabas." +msgstr "" + +#: build/NEWS:17431 +msgid "" +":issue:`42374`: Fix a regression introduced by the new parser, where an " +"unparenthesized walrus operator was not allowed within generator expressions." +msgstr "" + +#: build/NEWS:17435 +msgid ":issue:`42316`: Allow an unparenthesized walrus in subscript indexes." +msgstr "" + +#: build/NEWS:17437 +msgid "" +":issue:`42349`: Make sure that the compiler front-end produces a well-formed " +"control flow graph. Be be more aggressive in the compiler back-end, as it is " +"now safe to do so." +msgstr "" + +#: build/NEWS:17441 +msgid "" +":issue:`42296`: On Windows, fix a regression in signal handling which " +"prevented to interrupt a program using CTRL+C. The signal handler can be run " +"in a thread different than the Python thread, in which case the test " +"deciding if the thread can handle signals is wrong." +msgstr "" + +#: build/NEWS:17446 +msgid "" +":issue:`42332`: :class:`types.GenericAlias` objects can now be the targets " +"of weakrefs." +msgstr "" + +#: build/NEWS:17449 +msgid "" +":issue:`42282`: Optimise constant subexpressions that appear as part of " +"named expressions (previously the AST optimiser did not descend into named " +"expressions). Patch by Nick Coghlan." +msgstr "" + +#: build/NEWS:17453 +msgid "" +":issue:`42266`: Fixed a bug with the LOAD_ATTR opcode cache that was not " +"respecting monkey-patching a class-level attribute to make it a descriptor. " +"Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:17457 +msgid ":issue:`40077`: Convert :mod:`queue` to use heap types." +msgstr "" + +#: build/NEWS:17459 +msgid "" +":issue:`42246`: Improved accuracy of line tracing events and f_lineno " +"attribute of Frame objects. See PEP 626 for details." +msgstr "" + +#: build/NEWS:17462 +msgid ":issue:`40077`: Convert :mod:`mmap` to use heap types." +msgstr "" + +#: build/NEWS:17464 +msgid "" +":issue:`42233`: Allow ``GenericAlias`` objects to use :ref:`union type " +"expressions <types-union>`. This allows expressions like ``list[int] | " +"dict[float, str]`` where previously a ``TypeError`` would have been thrown. " +"This also fixes union type expressions not de-duplicating ``GenericAlias`` " +"objects. (Contributed by Ken Jin in :issue:`42233`.)" +msgstr "" + +#: build/NEWS:17470 +msgid "" +":issue:`26131`: The import system triggers a ``ImportWarning`` when it falls " +"back to using ``load_module()``." +msgstr "" + +#: build/NEWS:17476 +msgid "" +":issue:`5054`: CGIHTTPRequestHandler.run_cgi() HTTP_ACCEPT improperly " +"parsed. Replace the special purpose getallmatchingheaders with generic " +"get_all method and add relevant tests." +msgstr "" + +#: build/NEWS:17480 +msgid "Original Patch by Martin Panter. Modified by Senthil Kumaran." +msgstr "" + +#: build/NEWS:17482 +msgid "" +":issue:`42562`: Fix issue when dis failed to parse function that has no line " +"numbers. Patch provided by Yurii Karabas." +msgstr "" + +#: build/NEWS:17485 +msgid "" +":issue:`17735`: :func:`inspect.findsource` now raises :exc:`OSError` instead " +"of :exc:`IndexError` when :attr:`co_lineno` of a code object is greater than " +"the file length. This can happen, for example, when a file is edited after " +"it was imported. PR by Irit Katriel." +msgstr "" + +#: build/NEWS:17490 +msgid "" +":issue:`42116`: Fix handling of trailing comments by :func:`inspect." +"getsource`." +msgstr "" + +#: build/NEWS:17492 +msgid "" +":issue:`42532`: Remove unexpected call of ``__bool__`` when passing a " +"``spec_arg`` argument to a Mock." +msgstr "" + +#: build/NEWS:17495 +msgid ":issue:`38200`: Added itertools.pairwise()" +msgstr "" + +#: build/NEWS:17497 +msgid "" +":issue:`41818`: Fix test_master_read() so that it succeeds on all platforms " +"that either raise OSError or return b\"\" upon reading from master." +msgstr "" + +#: build/NEWS:17500 +msgid "" +":issue:`42487`: ChainMap.__iter__ no longer calls __getitem__ on underlying " +"maps" +msgstr "" + +#: build/NEWS:17503 +msgid "" +":issue:`42482`: :class:`~traceback.TracebackException` no longer holds a " +"reference to the exception's traceback object. Consequently, instances of " +"TracebackException for equivalent but non-equal exceptions now compare as " +"equal." +msgstr "" + +#: build/NEWS:17508 +msgid "" +":issue:`41818`: Make test_openpty() avoid unexpected success due to number " +"of rows and/or number of columns being == 0." +msgstr "" + +#: build/NEWS:17511 +msgid "" +":issue:`42392`: Remove loop parameter from ``asyncio.subprocess`` and " +"``asyncio.tasks`` functions. Patch provided by Yurii Karabas." +msgstr "" + +#: build/NEWS:17514 +msgid "" +":issue:`42392`: Remove loop parameter from ``asyncio.open_connection`` and " +"``asyncio.start_server`` functions. Patch provided by Yurii Karabas." +msgstr "" + +#: build/NEWS:17517 +msgid "" +":issue:`28468`: Add :func:`platform.freedesktop_os_release` function to " +"parse freedesktop.org ``os-release`` files." +msgstr "" + +#: build/NEWS:17520 +msgid "" +":issue:`42299`: Removed the ``formatter`` module, which was deprecated in " +"Python 3.4. It is somewhat obsolete, little used, and not tested. It was " +"originally scheduled to be removed in Python 3.6, but such removals were " +"delayed until after Python 2.7 EOL. Existing users should copy whatever " +"classes they use into their code. Patch by Donghee Na and and Terry J. Reedy." +msgstr "" + +#: build/NEWS:17527 +msgid "" +":issue:`26131`: Deprecate zipimport.zipimporter.load_module() in favour of " +"exec_module()." +msgstr "" + +#: build/NEWS:17530 +msgid "" +":issue:`41818`: Updated tests for the pty library. test_basic() has been " +"changed to test_openpty(); this additionally checks if slave termios and " +"slave winsize are being set properly by pty.openpty(). In order to add " +"support for FreeBSD, NetBSD, OpenBSD, and Darwin, this also adds " +"test_master_read(), which demonstrates that pty.spawn() should not depend on " +"an OSError to exit from its copy loop." +msgstr "" + +#: build/NEWS:17537 +msgid "" +":issue:`42392`: Remove loop parameter from ``__init__`` in all ``asyncio." +"locks`` and ``asyncio.Queue`` classes. Patch provided by Yurii Karabas." +msgstr "" + +#: build/NEWS:17541 +msgid "" +":issue:`15450`: Make :class:`filecmp.dircmp` respect subclassing. Now the :" +"attr:`filecmp.dircmp.subdirs` behaves as expected when subclassing dircmp." +msgstr "" + +#: build/NEWS:17545 +msgid "" +":issue:`42413`: The exception :exc:`socket.timeout` is now an alias of :exc:" +"`TimeoutError`." +msgstr "" + +#: build/NEWS:17548 +msgid ":issue:`31904`: Support signal module on VxWorks." +msgstr "" + +#: build/NEWS:17550 +msgid "" +":issue:`42406`: We fixed an issue in ``pickle.whichmodule`` in which " +"importing ``multiprocessing`` could change the how pickle identifies which " +"module an object belongs to, potentially breaking the unpickling of those " +"objects." +msgstr "" + +#: build/NEWS:17554 +msgid "" +":issue:`42403`: Simplify the :mod:`importlib` external bootstrap code: " +"``importlib._bootstrap_external`` now uses regular imports to import builtin " +"modules. When it is imported, the builtin :func:`__import__` function is " +"already fully working and so can be used to import builtin modules like :mod:" +"`sys`. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:17560 +msgid "" +":issue:`1635741`: Convert _sre module types to heap types (PEP 384). Patch " +"by Erlend E. Aasland." +msgstr "" + +#: build/NEWS:17563 +msgid ":issue:`42375`: subprocess module update for DragonFlyBSD support." +msgstr "" + +#: build/NEWS:17565 +msgid "" +":issue:`41713`: Port the ``_signal`` extension module to the multi-phase " +"initialization API (:pep:`489`). Patch by Victor Stinner and Mohamed Koubaa." +msgstr "" + +#: build/NEWS:17569 +msgid "" +":issue:`37205`: :func:`time.time`, :func:`time.perf_counter` and :func:`time." +"monotonic` functions can no longer fail with a Python fatal error, instead " +"raise a regular Python exception on failure." +msgstr "" + +#: build/NEWS:17573 +msgid "" +":issue:`42328`: Fixed :meth:`tkinter.ttk.Style.map`. The function accepts " +"now the representation of the default state as empty sequence (as returned " +"by ``Style.map()``). The structure of the result is now the same on all " +"platform and does not depend on the value of ``wantobjects``." +msgstr "" + +#: build/NEWS:17578 +msgid "" +":issue:`42345`: Fix various issues with ``typing.Literal`` parameter " +"handling (flatten, deduplicate, use type to cache key). Patch provided by " +"Yurii Karabas." +msgstr "" + +#: build/NEWS:17582 +msgid "" +":issue:`37205`: :func:`time.perf_counter` on Windows and :func:`time." +"monotonic` on macOS are now system-wide. Previously, they used an offset " +"computed at startup to reduce the precision loss caused by the float type. " +"Use :func:`time.perf_counter_ns` and :func:`time.monotonic_ns` added in " +"Python 3.7 to avoid this precision loss." +msgstr "" + +#: build/NEWS:17588 +msgid "" +":issue:`42318`: Fixed support of non-BMP characters in :mod:`tkinter` on " +"macOS." +msgstr "" + +#: build/NEWS:17590 +msgid "" +":issue:`42350`: Fix the :class:`threading.Thread` class at fork: do nothing " +"if the thread is already stopped (ex: fork called at Python exit). " +"Previously, an error was logged in the child process." +msgstr "" + +#: build/NEWS:17594 +msgid ":issue:`42333`: Port _ssl extension module to heap types." +msgstr "" + +#: build/NEWS:17596 +msgid "" +":issue:`42014`: The ``onerror`` callback from ``shutil.rmtree`` now receives " +"correct function when ``os.open`` fails." +msgstr "" + +#: build/NEWS:17599 +msgid ":issue:`42237`: Fix ``os.sendfile()`` on illumos." +msgstr "" + +#: build/NEWS:17601 +msgid "" +":issue:`42308`: Add :data:`threading.__excepthook__` to allow retrieving the " +"original value of :func:`threading.excepthook` in case it is set to a broken " +"or a different value. Patch by Mario Corchero." +msgstr "" + +#: build/NEWS:17605 +msgid "" +":issue:`42131`: Implement PEP 451/spec methods on zipimport.zipimporter: " +"find_spec(), create_module(), and exec_module()." +msgstr "" + +#: build/NEWS:17608 +msgid "" +"This also allows for the documented deprecation of find_loader(), " +"find_module(), and load_module()." +msgstr "" + +#: build/NEWS:17611 +msgid "" +":issue:`41877`: Mock objects which are not unsafe will now raise an " +"AttributeError if an attribute with the prefix asert, aseert, or assrt is " +"accessed, in addition to this already happening for the prefixes assert or " +"assret." +msgstr "" + +#: build/NEWS:17616 +msgid "" +":issue:`42264`: ``sqlite3.OptimizedUnicode`` has been undocumented and " +"obsolete since Python 3.3, when it was made an alias to :class:`str`. It is " +"now deprecated, scheduled for removal in Python 3.12." +msgstr "" + +#: build/NEWS:17620 +msgid "" +":issue:`42251`: Added :func:`threading.gettrace` and :func:`threading." +"getprofile` to retrieve the functions set by :func:`threading.settrace` and :" +"func:`threading.setprofile` respectively. Patch by Mario Corchero." +msgstr "" + +#: build/NEWS:17625 +msgid ":issue:`42249`: Fixed writing binary Plist files larger than 4 GiB." +msgstr "" + +#: build/NEWS:17627 +msgid "" +":issue:`42236`: On Unix, the :func:`os.device_encoding` function now returns " +"``'UTF-8'`` rather than the device encoding if the :ref:`Python UTF-8 Mode " +"<utf8-mode>` is enabled." +msgstr "" + +#: build/NEWS:17631 +msgid "" +":issue:`41754`: webbrowser: Ignore *NotADirectoryError* when calling ``xdg-" +"settings``." +msgstr "" + +#: build/NEWS:17634 +msgid "" +":issue:`42183`: Fix a stack overflow error for asyncio Task or Future repr()." +msgstr "" + +#: build/NEWS:17636 +msgid "" +"The overflow occurs under some circumstances when a Task or Future " +"recursively returns itself." +msgstr "" + +#: build/NEWS:17639 +msgid "" +":issue:`42140`: Improve asyncio.wait function to create the futures set just " +"one time." +msgstr "" + +#: build/NEWS:17642 +msgid "" +":issue:`42133`: Update various modules in the stdlib to fall back on " +"``__spec__.loader`` when ``__loader__`` isn't defined on a module." +msgstr "" + +#: build/NEWS:17645 +msgid "" +":issue:`26131`: The ``load_module()`` methods found in ``importlib`` now " +"trigger a ``DeprecationWarning``." +msgstr "" + +#: build/NEWS:17648 +msgid "" +":issue:`39825`: Windows: Change ``sysconfig.get_config_var('EXT_SUFFIX')`` " +"to the expected full ``platform_tag.extension`` format. Previously it was " +"hard-coded to ``.pyd``, now it is compatible with ``distutils.sysconfig`` " +"and will result in something like ``.cp38-win_amd64.pyd``. This brings " +"windows into conformance with the other platforms." +msgstr "" + +#: build/NEWS:17654 +msgid "" +":issue:`26389`: The :func:`traceback.format_exception`, :func:`traceback." +"format_exception_only`, and :func:`traceback.print_exception` functions can " +"now take an exception object as a positional-only argument." +msgstr "" + +#: build/NEWS:17659 +msgid "" +":issue:`41889`: Enum: fix regression involving inheriting a multiply " +"inherited enum" +msgstr "" + +#: build/NEWS:17662 +msgid "" +":issue:`41861`: Convert :mod:`sqlite3` to use heap types (PEP 384). Patch by " +"Erlend E. Aasland." +msgstr "" + +#: build/NEWS:17665 +msgid "" +":issue:`40624`: Added support for the XPath ``!=`` operator in xml.etree" +msgstr "" + +#: build/NEWS:17667 +msgid "" +":issue:`28850`: Fix :meth:`pprint.PrettyPrinter.format` overrides being " +"ignored for contents of small containers. The :func:`pprint._safe_repr` " +"function was removed." +msgstr "" + +#: build/NEWS:17671 +msgid "" +":issue:`41625`: Expose the :c:func:`splice` as :func:`os.splice` in the :mod:" +"`os` module. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:17674 +msgid "" +":issue:`34215`: Clarify the error message for :exc:`asyncio." +"IncompleteReadError` when ``expected`` is ``None``." +msgstr "" + +#: build/NEWS:17677 +msgid "" +":issue:`41543`: Add async context manager support for contextlib.nullcontext." +msgstr "" + +#: build/NEWS:17679 +msgid "" +":issue:`21041`: :attr:`pathlib.PurePath.parents` now supports negative " +"indexing. Patch contributed by Yaroslav Pankovych." +msgstr "" + +#: build/NEWS:17682 +msgid "" +":issue:`41332`: Added missing connect_accepted_socket() method to ``asyncio." +"AbstractEventLoop``." +msgstr "" + +#: build/NEWS:17685 +msgid "" +":issue:`12800`: Extracting a symlink from a tarball should succeed and " +"overwrite the symlink if it already exists. The fix is to remove the " +"existing file or symlink before extraction. Based on patch by Chris AtLee, " +"Jeffrey Kintscher, and Senthil Kumaran." +msgstr "" + +#: build/NEWS:17690 +msgid "" +":issue:`40968`: :mod:`urllib.request` and :mod:`http.client` now send " +"``http/1.1`` ALPN extension during TLS handshake when no custom context is " +"supplied." +msgstr "" + +#: build/NEWS:17694 +msgid "" +":issue:`41001`: Add :func:`os.eventfd` to provide a low level interface for " +"Linux's event notification file descriptor." +msgstr "" + +#: build/NEWS:17697 +msgid "" +":issue:`40816`: Add AsyncContextDecorator to contextlib to support async " +"context manager as a decorator." +msgstr "" + +#: build/NEWS:17700 +msgid "" +":issue:`40550`: Fix time-of-check/time-of-action issue in subprocess.Popen." +"send_signal." +msgstr "" + +#: build/NEWS:17703 +msgid "" +":issue:`39411`: Add an ``is_async`` identifier to :mod:`pyclbr`'s " +"``Function`` objects. Patch by Batuhan Taskaya" +msgstr "" + +#: build/NEWS:17706 +msgid ":issue:`35498`: Add slice support to :attr:`pathlib.PurePath.parents`." +msgstr "" + +#: build/NEWS:17711 +msgid "" +":issue:`42238`: Tentative to deprecate ``make suspicious`` by first removing " +"it from the CI and documentation builds, but keeping it around for manual " +"uses." +msgstr "" + +#: build/NEWS:17715 +msgid ":issue:`42153`: Fix the URL for the IMAP protocol documents." +msgstr "" + +#: build/NEWS:17717 +msgid "" +":issue:`41028`: Language and version switchers, previously maintained in " +"every cpython branches, are now handled by docsbuild-script." +msgstr "" + +#: build/NEWS:17723 +msgid "" +":issue:`41473`: Re-enable test_gdb on gdb 9.2 and newer: https://bugzilla." +"redhat.com/show_bug.cgi?id=1866884 bug is fixed in gdb 10.1." +msgstr "" + +#: build/NEWS:17727 +msgid "" +":issue:`42553`: Fix ``test_asyncio.test_call_later()`` race condition: don't " +"measure asyncio performance in the ``call_later()`` unit test. The test " +"failed randomly on the CI." +msgstr "" + +#: build/NEWS:17731 +msgid "" +":issue:`31904`: Fix test_netrc on VxWorks: create temporary directories " +"using temp_cwd()." +msgstr "" + +#: build/NEWS:17734 +msgid "" +":issue:`31904`: skip test_getaddrinfo_ipv6_scopeid_symbolic and " +"test_getnameinfo_ipv6_scopeid_symbolic on VxWorks" +msgstr "" + +#: build/NEWS:17737 +msgid ":issue:`31904`: skip test_test of test_mailcap on VxWorks" +msgstr "" + +#: build/NEWS:17739 +msgid ":issue:`31904`: add shell requirement for test_pipes" +msgstr "" + +#: build/NEWS:17741 +msgid ":issue:`31904`: skip some tests related to fifo on VxWorks" +msgstr "" + +#: build/NEWS:17743 +msgid ":issue:`31904`: Fix test_doctest.py failures for VxWorks." +msgstr "" + +#: build/NEWS:17745 +msgid "" +":issue:`40754`: Include ``_testinternalcapi`` module in Windows installer " +"for test suite" +msgstr "" + +#: build/NEWS:17748 +msgid "" +":issue:`41561`: test_ssl: skip test_min_max_version_mismatch when TLS 1.0 is " +"not available" +msgstr "" + +#: build/NEWS:17751 +msgid ":issue:`31904`: Fix os module failures for VxWorks RTOS." +msgstr "" + +#: build/NEWS:17753 +msgid ":issue:`31904`: Fix fifo test cases for VxWorks RTOS." +msgstr "" + +#: build/NEWS:17758 +msgid "" +":issue:`31904`: remove libnet dependency from detect_socket() for VxWorks" +msgstr "" + +#: build/NEWS:17760 +msgid "" +":issue:`42398`: Fix a race condition in \"make regen-all\" when make -jN " +"option is used to run jobs in parallel. The clinic.py script now only use " +"atomic write to write files. Moveover, generated files are now left " +"unchanged if the content does not change, to not change the file " +"modification time." +msgstr "" + +#: build/NEWS:17765 +msgid "" +":issue:`41617`: Fix building ``pycore_bitutils.h`` internal header on old " +"clang version without ``__builtin_bswap16()`` (ex: Xcode 4.6.3 on Mac OS X " +"10.7). Patch by Joshua Root and Victor Stinner." +msgstr "" + +#: build/NEWS:17769 +msgid "" +":issue:`38823`: It is no longer possible to build the ``_ctypes`` extension " +"module without :c:type:`wchar_t` type: remove ``CTYPES_UNICODE`` macro. " +"Anyway, the :c:type:`wchar_t` type is required to build Python. Patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:17774 +msgid "" +":issue:`42087`: Support was removed for AIX 5.3 and below. See :issue:" +"`40680`." +msgstr "" + +#: build/NEWS:17776 +msgid "" +":issue:`40998`: Addressed three compiler warnings found by undefined " +"behavior sanitizer (ubsan)." +msgstr "" + +#: build/NEWS:17782 +msgid "" +":issue:`42120`: Remove macro definition of ``copysign`` (to ``_copysign``) " +"in headers." +msgstr "" + +#: build/NEWS:17785 +msgid "" +":issue:`38506`: The Windows launcher now properly handles Python 3.10 when " +"listing installed Python versions." +msgstr "" + +#: build/NEWS:17791 +msgid "" +":issue:`42504`: Fix build on macOS Big Sur when MACOSX_DEPLOYMENT_TARGET=11" +msgstr "" + +#: build/NEWS:17793 +msgid "" +":issue:`41116`: Ensure distutils.unixxcompiler.find_library_file can find " +"system provided libraries on macOS 11." +msgstr "" + +#: build/NEWS:17796 +msgid ":issue:`41100`: Add support for macOS 11 and Apple Silicon systems." +msgstr "" + +#: build/NEWS:17798 +msgid "" +"It is now possible to build \"Universal 2\" binaries using \"--enable-" +"universalsdk --with-universal-archs=universal2\"." +msgstr "" + +#: build/NEWS:17801 +msgid "" +"Binaries build on later macOS versions can be deployed back to older " +"versions (tested up to macOS 10.9), when using the correct deployment " +"target. This is tested using Xcode 11 and later." +msgstr "" + +#: build/NEWS:17805 +msgid ":issue:`42232`: Added Darwin specific madvise options to mmap module." +msgstr "" + +#: build/NEWS:17807 +msgid "" +":issue:`38443`: The ``--enable-universalsdk`` and ``--with-universal-archs`` " +"options for the configure script now check that the specified architectures " +"can be used." +msgstr "" + +#: build/NEWS:17814 +msgid "" +":issue:`42508`: Keep IDLE running on macOS. Remove obsolete workaround that " +"prevented running files with shortcuts when using new universal2 installers " +"built on macOS 11." +msgstr "" + +#: build/NEWS:17818 +msgid ":issue:`42426`: Fix reporting offset of the RE error in searchengine." +msgstr "" + +#: build/NEWS:17820 +msgid "" +":issue:`42415`: Get docstrings for IDLE calltips more often by using inspect." +"getdoc." +msgstr "" + +#: build/NEWS:17826 +msgid "" +":issue:`42212`: The smelly.py script now also checks the Python dynamic " +"library and extension modules, not only the Python static library. Make also " +"the script more verbose: explain what it does." +msgstr "" + +#: build/NEWS:17830 +msgid "" +":issue:`36310`: Allow :file:`Tools/i18n/pygettext.py` to detect calls to " +"``gettext`` in f-strings." +msgstr "" + +#: build/NEWS:17836 +msgid "" +":issue:`42423`: The :c:func:`PyType_FromSpecWithBases` and :c:func:" +"`PyType_FromModuleAndSpec` functions now accept a single class as the " +"*bases* argument." +msgstr "" + +#: build/NEWS:17840 +msgid "" +":issue:`1635741`: Port :mod:`select` extension module to multiphase " +"initialization (:pep:`489`)." +msgstr "" + +#: build/NEWS:17843 +msgid "" +":issue:`1635741`: Port _posixsubprocess extension module to multiphase " +"initialization (:pep:`489`)." +msgstr "" + +#: build/NEWS:17846 +msgid "" +":issue:`1635741`: Port _posixshmem extension module to multiphase " +"initialization (:pep:`489`)" +msgstr "" + +#: build/NEWS:17849 +msgid "" +":issue:`1635741`: Port _struct extension module to multiphase initialization " +"(:pep:`489`)" +msgstr "" + +#: build/NEWS:17852 +msgid "" +":issue:`1635741`: Port :mod:`spwd` extension module to multiphase " +"initialization (:pep:`489`)" +msgstr "" + +#: build/NEWS:17855 +msgid "" +":issue:`1635741`: Port :mod:`gc` extension module to multiphase " +"initialization (:pep:`489`)" +msgstr "" + +#: build/NEWS:17858 +msgid "" +":issue:`1635741`: Port _queue extension module to multiphase initialization " +"(:pep:`489`)" +msgstr "" + +#: build/NEWS:17861 +msgid "" +":issue:`39573`: Convert :c:func:`Py_TYPE` and :c:func:`Py_SIZE` back to " +"macros to allow using them as an l-value. Many third party C extension " +"modules rely on the ability of using Py_TYPE() and Py_SIZE() to set an " +"object type and size: ``Py_TYPE(obj) = type;`` and ``Py_SIZE(obj) = size;``." +msgstr "" + +#: build/NEWS:17866 +msgid "" +":issue:`1635741`: Port :mod:`symtable` extension module to multiphase " +"initialization (:pep:`489`)" +msgstr "" + +#: build/NEWS:17869 +msgid "" +":issue:`1635741`: Port :mod:`grp` and :mod:`pwd` extension modules to " +"multiphase initialization (:pep:`489`)" +msgstr "" + +#: build/NEWS:17872 +msgid "" +":issue:`1635741`: Port _random extension module to multiphase initialization " +"(:pep:`489`)" +msgstr "" + +#: build/NEWS:17875 +msgid "" +":issue:`1635741`: Port _hashlib extension module to multiphase " +"initialization (:pep:`489`)" +msgstr "" + +#: build/NEWS:17878 +msgid "" +":issue:`41713`: Removed the undocumented ``PyOS_InitInterrupts()`` function. " +"Initializing Python already implicitly installs signal handlers: see :c:" +"member:`PyConfig.install_signal_handlers`. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:17882 +msgid "" +":issue:`40170`: The ``Py_TRASHCAN_BEGIN`` macro no longer accesses " +"PyTypeObject attributes, but now can get the condition by calling the new " +"private :c:func:`!_PyTrash_cond()` function which hides implementation " +"details." +msgstr "" + +#: build/NEWS:17886 +msgid "" +":issue:`42260`: :c:func:`Py_GetPath`, :c:func:`Py_GetPrefix`, :c:func:" +"`Py_GetExecPrefix`, :c:func:`Py_GetProgramFullPath`, :c:func:" +"`Py_GetPythonHome` and :c:func:`Py_GetProgramName` functions now return " +"``NULL`` if called before :c:func:`Py_Initialize` (before Python is " +"initialized). Use the new :ref:`Python Initialization Configuration API " +"<init-config>` to get the :ref:`Python Path Configuration. <init-path-" +"config>`. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:17894 +msgid "" +":issue:`42260`: The :c:func:`PyConfig_Read` function now only parses :c:" +"member:`PyConfig.argv` arguments once: :c:member:`PyConfig.parse_argv` is " +"set to ``2`` after arguments are parsed. Since Python arguments are " +"strippped from :c:member:`PyConfig.argv`, parsing arguments twice would " +"parse the application options as Python options." +msgstr "" + +#: build/NEWS:17900 +msgid "" +":issue:`42262`: Added :c:func:`Py_NewRef` and :c:func:`Py_XNewRef` functions " +"to increment the reference count of an object and return the object. Patch " +"by Victor Stinner." +msgstr "" + +#: build/NEWS:17904 +msgid "" +":issue:`42260`: When :c:func:`Py_Initialize` is called twice, the second " +"call now updates more :mod:`sys` attributes for the configuration, rather " +"than only :data:`sys.argv`. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:17908 +msgid "" +":issue:`41832`: The :c:func:`PyType_FromModuleAndSpec` function now accepts " +"NULL ``tp_doc`` slot." +msgstr "" + +#: build/NEWS:17911 +msgid "" +":issue:`1635741`: Added :c:func:`PyModule_AddObjectRef` function: similar " +"to :c:func:`PyModule_AddObject` but don't steal a reference to the value on " +"success. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:17915 +msgid "" +":issue:`42171`: The :c:macro:`METH_FASTCALL` calling convention is added to " +"the limited API. The functions :c:func:`PyModule_AddType`, :c:func:" +"`PyType_FromModuleAndSpec`, :c:func:`PyType_GetModule` and :c:func:" +"`PyType_GetModuleState` are added to the limited API on Windows." +msgstr "" + +#: build/NEWS:17920 +msgid "" +":issue:`42085`: Add dedicated entry to PyAsyncMethods for sending values" +msgstr "" + +#: build/NEWS:17922 +msgid ":issue:`41073`: :c:func:`PyType_GetSlot()` can now accept static types." +msgstr "" + +#: build/NEWS:17924 +msgid "" +":issue:`30459`: :c:func:`PyList_SET_ITEM`, :c:func:`PyTuple_SET_ITEM` and :c:" +"func:`PyCell_SET` macros can no longer be used as l-value or r-value. For " +"example, ``x = PyList_SET_ITEM(a, b, c)`` and ``PyList_SET_ITEM(a, b, c) = " +"x`` now fail with a compiler error. It prevents bugs like ``if " +"(PyList_SET_ITEM (a, b, c) < 0) ...`` test. Patch by Zackery Spytz and " +"Victor Stinner." +msgstr "" + +#: build/NEWS:17933 +msgid "Python 3.10.0 alpha 2" +msgstr "" + +#: build/NEWS:17935 +msgid "*Release date: 2020-11-03*" +msgstr "" + +#: build/NEWS:17940 +msgid "" +":issue:`42103`: Prevented potential DoS attack via CPU and RAM exhaustion " +"when processing malformed Apple Property List files in binary format." +msgstr "" + +#: build/NEWS:17943 +msgid "" +":issue:`42051`: The :mod:`plistlib` module no longer accepts entity " +"declarations in XML plist files to avoid XML vulnerabilities. This should " +"not affect users as entity declarations are not used in regular plist files." +msgstr "" + +#: build/NEWS:17951 +msgid "" +":issue:`42236`: If the ``nl_langinfo(CODESET)`` function returns an empty " +"string, Python now uses UTF-8 as the filesystem encoding. Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:17955 +msgid "" +":issue:`42218`: Fixed a bug in the PEG parser that was causing crashes in " +"debug mode. Now errors are checked in left-recursive rules to avoid cases " +"where such errors do not get handled in time and appear as long-distance " +"crashes in other places." +msgstr "" + +#: build/NEWS:17960 +msgid "" +":issue:`42214`: Fixed a possible crash in the PEG parser when checking for " +"the '!=' token in the ``barry_as_flufl`` rule. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:17963 +msgid "" +":issue:`42206`: Propagate and raise the errors caused by :c:func:" +"`PyAST_Validate` in the parser." +msgstr "" + +#: build/NEWS:17966 +msgid "" +":issue:`41796`: The :mod:`ast` module internal state is now per interpreter. " +"Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:17969 +msgid "" +":issue:`42143`: Fix handling of errors during creation of " +"``PyFunctionObject``, which resulted in operations on uninitialized memory. " +"Patch by Yonatan Goldschmidt." +msgstr "" + +#: build/NEWS:17973 +msgid "" +":issue:`41659`: Fix a bug in the parser, where a curly brace following a " +"``primary`` didn't fail immediately. This led to invalid expressions like " +"``a {b}`` to throw a :exc:`SyntaxError` with a wrong offset, or invalid " +"expressions ending with a curly brace like ``a {`` to not fail immediately " +"in the REPL." +msgstr "" + +#: build/NEWS:17979 +msgid "" +":issue:`42150`: Fix possible buffer overflow in the new parser when checking " +"for continuation lines. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:17982 +msgid "" +":issue:`42123`: Run the parser two times. On the first run, disable all the " +"rules that only generate better error messages to gain performance. If " +"there's a parse failure, run the parser a second time with those enabled." +msgstr "" + +#: build/NEWS:17986 +msgid "" +":issue:`42093`: The ``LOAD_ATTR`` instruction now uses new \"per opcode " +"cache\" mechanism and it is about 36% faster now. Patch by Pablo Galindo and " +"Yury Selivanov." +msgstr "" + +#: build/NEWS:17990 +msgid "" +":issue:`42030`: Support for the legacy AIX-specific shared library loading " +"support has been removed. All versions of AIX since 4.3 have supported and " +"defaulted to using the common Unix mechanism instead." +msgstr "" + +#: build/NEWS:17994 +msgid "" +":issue:`41984`: The garbage collector now tracks all user-defined classes. " +"Patch by Brandt Bucher." +msgstr "" + +#: build/NEWS:17997 +msgid "" +":issue:`41993`: Fixed potential issues with removing not completely " +"initialized module from ``sys.modules`` when import fails." +msgstr "" + +#: build/NEWS:18000 +msgid "" +":issue:`41979`: Star-unpacking is now allowed for with item's targets in the " +"PEG parser." +msgstr "" + +#: build/NEWS:18003 +msgid "" +":issue:`41974`: Removed special methods ``__int__``, ``__float__``, " +"``__floordiv__``, ``__mod__``, ``__divmod__``, ``__rfloordiv__``, " +"``__rmod__`` and ``__rdivmod__`` of the :class:`complex` class. They always " +"raised a :exc:`TypeError`." +msgstr "" + +#: build/NEWS:18008 +msgid "" +":issue:`41902`: Micro optimization when compute :c:member:" +"`~PySequenceMethods.sq_item` and :c:member:`~PyMappingMethods.mp_subscript` " +"of :class:`range`. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:18013 +msgid "" +":issue:`41894`: When loading a native module and a load failure occurs, " +"prevent a possible UnicodeDecodeError when not running in a UTF-8 locale by " +"decoding the load error message using the current locale's encoding." +msgstr "" + +#: build/NEWS:18017 +msgid "" +":issue:`41902`: Micro optimization for range.index if step is 1. Patch by " +"Donghee Na." +msgstr "" + +#: build/NEWS:18020 +msgid "" +":issue:`41435`: Add ``sys._current_exceptions()`` function to retrieve a " +"dictionary mapping each thread's identifier to the topmost exception " +"currently active in that thread at the time the function is called." +msgstr "" + +#: build/NEWS:18024 +msgid "" +":issue:`38605`: Enable ``from __future__ import annotations`` (:pep:`563`) " +"by default. The values found in :attr:`~object.__annotations__` dicts are " +"now strings, for example ``{\"x\": \"int\"}`` instead of ``{\"x\": int}``." +msgstr "" + +#: build/NEWS:18031 +msgid "" +":issue:`35455`: On Solaris, :func:`~time.thread_time` is now implemented " +"with ``gethrvtime()`` because ``clock_gettime(CLOCK_THREAD_CPUTIME_ID)`` is " +"not always available. Patch by Jakub Kulik." +msgstr "" + +#: build/NEWS:18035 +msgid "" +":issue:`42233`: The :func:`repr` of :mod:`typing` types containing :ref:" +"`Generic Alias Types <types-genericalias>` previously did not show the " +"parameterized types in the ``GenericAlias``. They have now been changed to " +"do so." +msgstr "" + +#: build/NEWS:18040 +msgid "" +":issue:`29566`: ``binhex.binhex()`` consistently writes macOS 9 line endings." +msgstr "" + +#: build/NEWS:18042 +msgid "" +":issue:`26789`: The :class:`logging.FileHandler` class now keeps a reference " +"to the builtin :func:`open` function to be able to open or reopen the file " +"during Python finalization. Fix errors like: ``NameError: name 'open' is not " +"defined``. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:18047 +msgid "" +":issue:`42157`: Removed the ``unicodedata.ucnhash_CAPI`` attribute which was " +"an internal PyCapsule object. The related private ``_PyUnicode_Name_CAPI`` " +"structure was moved to the internal C API. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:18051 +msgid "" +":issue:`42157`: Convert the :mod:`unicodedata` extension module to the " +"multiphase initialization API (:pep:`489`) and convert the ``unicodedata." +"UCD`` static type to a heap type. Patch by Mohamed Koubaa and Victor Stinner." +msgstr "" + +#: build/NEWS:18056 +msgid "" +":issue:`42146`: Fix memory leak in :func:`subprocess.Popen` in case an uid " +"(gid) specified in ``user`` (``group``, ``extra_groups``) overflows " +"``uid_t`` (``gid_t``)." +msgstr "" + +#: build/NEWS:18060 +msgid "" +":issue:`42103`: :exc:`~plistlib.InvalidFileException` and :exc:" +"`RecursionError` are now the only errors caused by loading malformed binary " +"Plist file (previously ValueError and TypeError could be raised in some " +"specific cases)." +msgstr "" + +#: build/NEWS:18065 +msgid "" +":issue:`41490`: In ``importlib.resources``, ``.path`` method is more " +"aggressive about releasing handles to zipfile objects early, enabling use-" +"cases like certifi to leave the context open but delete the underlying zip " +"file." +msgstr "" + +#: build/NEWS:18069 +msgid "" +":issue:`41052`: Pickling heap types implemented in C with protocols 0 and 1 " +"raises now an error instead of producing incorrect data." +msgstr "" + +#: build/NEWS:18072 +msgid "" +":issue:`42089`: In ``importlib.metadata.PackageNotFoundError``, make " +"reference to the package metadata being missing to improve the user " +"experience." +msgstr "" + +#: build/NEWS:18075 +msgid "" +":issue:`41491`: plistlib: fix parsing XML plists with hexadecimal integer " +"values" +msgstr "" + +#: build/NEWS:18078 +msgid "" +":issue:`42065`: Fix an incorrectly formatted error from :meth:`!_codecs." +"charmap_decode` when called with a mapped value outside the range of valid " +"Unicode code points. PR by Max Bernstein." +msgstr "" + +#: build/NEWS:18082 +msgid "" +":issue:`41966`: Fix pickling pure Python :class:`datetime.time` subclasses. " +"Patch by Dean Inwood." +msgstr "" + +#: build/NEWS:18085 +msgid "" +":issue:`19270`: :meth:`sched.scheduler.cancel` will now cancel the correct " +"event, if two events with same priority are scheduled for the same time. " +"Patch by Bar Harel." +msgstr "" + +#: build/NEWS:18089 +msgid "" +":issue:`28660`: :func:`textwrap.wrap` now attempts to break long words after " +"hyphens when ``break_long_words=True`` and ``break_on_hyphens=True``." +msgstr "" + +#: build/NEWS:18092 +msgid "" +":issue:`35823`: Use ``vfork()`` instead of ``fork()`` for :func:`subprocess." +"Popen` on Linux to improve performance in cases where it is deemed safe." +msgstr "" + +#: build/NEWS:18096 +msgid "" +":issue:`42043`: Add support for ``zipfile.Path`` inheritance. ``zipfile.Path." +"is_file()`` now returns False for non-existent names. ``zipfile.Path`` " +"objects now expose a ``.filename`` attribute and rely on that to resolve ``." +"name`` and ``.parent`` when the ``Path`` object is at the root of the " +"zipfile." +msgstr "" + +#: build/NEWS:18102 +msgid ":issue:`42021`: Fix possible ref leaks in :mod:`sqlite3` module init." +msgstr "" + +#: build/NEWS:18104 +msgid "" +":issue:`39101`: Fixed tests using IsolatedAsyncioTestCase from hanging on " +"BaseExceptions." +msgstr "" + +#: build/NEWS:18107 +msgid "" +":issue:`41976`: Fixed a bug that was causing :func:`ctypes.util." +"find_library` to return ``None`` when triying to locate a library in an " +"environment when gcc>=9 is available and ``ldconfig`` is not. Patch by Pablo " +"Galindo" +msgstr "" + +#: build/NEWS:18111 +msgid "" +":issue:`41943`: Fix bug where TestCase.assertLogs doesn't correctly filter " +"messages by level." +msgstr "" + +#: build/NEWS:18114 +msgid "" +":issue:`41923`: Implement :pep:`613`, introducing :data:`typing.TypeAlias` " +"annotation." +msgstr "" + +#: build/NEWS:18117 +msgid "" +":issue:`41905`: A new function in abc: *update_abstractmethods* to re-" +"calculate an abstract class's abstract status. In addition, *dataclass* has " +"been changed to call this function." +msgstr "" + +#: build/NEWS:18121 +msgid "" +":issue:`23706`: Added *newline* parameter to ``pathlib.Path.write_text()``." +msgstr "" + +#: build/NEWS:18123 +msgid ":issue:`41876`: Tkinter font class repr uses font name" +msgstr "" + +#: build/NEWS:18125 +msgid "" +":issue:`41831`: ``str()`` for the ``type`` attribute of the ``tkinter." +"Event`` object always returns now the numeric code returned by Tk instead of " +"the name of the event type." +msgstr "" + +#: build/NEWS:18129 +msgid "" +":issue:`39337`: :func:`encodings.normalize_encoding` now ignores non-ASCII " +"characters." +msgstr "" + +#: build/NEWS:18132 +msgid "" +":issue:`41747`: Ensure all methods that generated from :func:`dataclasses." +"dataclass` objects now have the proper ``__qualname__`` attribute referring " +"to the class they belong to. Patch by Batuhan Taskaya." +msgstr "" + +#: build/NEWS:18136 +msgid "" +":issue:`30681`: Handle exceptions caused by unparsable date headers when " +"using email \"default\" policy. Patch by Tim Bell, Georges Toth" +msgstr "" + +#: build/NEWS:18139 +msgid "" +":issue:`41586`: Add F_SETPIPE_SZ and F_GETPIPE_SZ to fcntl module. Allow " +"setting pipesize on subprocess.Popen." +msgstr "" + +#: build/NEWS:18142 +msgid "" +":issue:`41229`: Add ``contextlib.aclosing`` for deterministic cleanup of " +"async generators which is analogous to ``contextlib.closing`` for non-async " +"generators. Patch by Joongi Kim and John Belmonte." +msgstr "" + +#: build/NEWS:18146 +msgid "" +":issue:`16396`: Allow ``ctypes.wintypes`` to be imported on non-Windows " +"systems." +msgstr "" + +#: build/NEWS:18149 +msgid ":issue:`4356`: Add a key function to the bisect module." +msgstr "" + +#: build/NEWS:18151 +msgid "" +":issue:`40592`: :func:`shutil.which` now ignores empty entries in :envvar:" +"`PATHEXT` instead of treating them as a match." +msgstr "" + +#: build/NEWS:18154 +msgid "" +":issue:`40492`: Fix ``--outfile`` for :mod:`cProfile` / :mod:`profile` not " +"writing the output file in the original directory when the program being " +"profiled changes the working directory. PR by Anthony Sottile." +msgstr "" + +#: build/NEWS:18158 +msgid "" +":issue:`34204`: The :mod:`shelve` module now uses :const:`pickle." +"DEFAULT_PROTOCOL` by default instead of :mod:`pickle` protocol ``3``." +msgstr "" + +#: build/NEWS:18162 +msgid "" +":issue:`27321`: Fixed KeyError exception when flattening an email to a " +"string attempts to replace a non-existent Content-Transfer-Encoding header." +msgstr "" + +#: build/NEWS:18165 +msgid "" +":issue:`38976`: The :mod:`http.cookiejar` module now supports the parsing of " +"cookies in CURL-style cookiejar files through MozillaCookieJar on all " +"platforms. Previously, such cookie entries would be silently ignored when " +"loading a cookiejar with such entries." +msgstr "" + +#: build/NEWS:18170 +msgid "" +"Additionally, the HTTP Only attribute is persisted in the object, and will " +"be correctly written to file if the MozillaCookieJar object is subsequently " +"dumped." +msgstr "" + +#: build/NEWS:18177 +msgid ":issue:`42061`: Document __format__ functionality for IP addresses." +msgstr "" + +#: build/NEWS:18179 +msgid "" +":issue:`41910`: Document the default implementation of ``object.__eq__``." +msgstr "" + +#: build/NEWS:18181 +msgid "" +":issue:`42010`: Clarify that subscription expressions are also valid for " +"certain :term:`classes <class>` and :term:`types <type>` in the standard " +"library, and for user-defined classes and types if the classmethod :meth:" +"`__class_getitem__` is provided." +msgstr "" + +#: build/NEWS:18186 +msgid "" +":issue:`41805`: Documented :ref:`generic alias type <types-genericalias>` " +"and :data:`types.GenericAlias`. Also added an entry in glossary for :term:" +"`generic types <generic type>`." +msgstr "" + +#: build/NEWS:18190 +msgid ":issue:`39693`: Fix tarfile's extractfile documentation" +msgstr "" + +#: build/NEWS:18192 +msgid "" +":issue:`39416`: Document some restrictions on the default string " +"representations of numeric classes." +msgstr "" + +#: build/NEWS:18198 +msgid "" +":issue:`41739`: Fix test_logging.test_race_between_set_target_and_flush(): " +"the test now waits until all threads complete to avoid leaking running " +"threads." +msgstr "" + +#: build/NEWS:18202 +msgid "" +":issue:`41970`: Avoid a test failure in ``test_lib2to3`` if the module has " +"already imported at the time the test executes. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:18205 +msgid "" +":issue:`41944`: Tests for CJK codecs no longer call ``eval()`` on content " +"received via HTTP." +msgstr "" + +#: build/NEWS:18208 +msgid "" +":issue:`41306`: Fixed a failure in ``test_tk.test_widgets.ScaleTest`` " +"happening when executing the test with Tk 8.6.10." +msgstr "" + +#: build/NEWS:18214 +msgid "" +":issue:`38980`: Add ``-fno-semantic-interposition`` to both the compile and " +"link line when building with ``--enable-optimizations``. Patch by Victor " +"Stinner and Pablo Galindo." +msgstr "" + +#: build/NEWS:18221 +msgid "" +":issue:`38439`: Updates the icons for IDLE in the Windows Store package." +msgstr "" + +#: build/NEWS:18223 +msgid "" +":issue:`38252`: Use 8-byte step to detect ASCII sequence in 64-bit Windows " +"build." +msgstr "" + +#: build/NEWS:18226 +msgid ":issue:`39107`: Update Tcl and Tk to 8.6.10 in Windows installer." +msgstr "" + +#: build/NEWS:18228 +msgid ":issue:`41557`: Update Windows installer to use SQLite 3.33.0." +msgstr "" + +#: build/NEWS:18230 +msgid "" +":issue:`38324`: Avoid Unicode errors when accessing certain locale data on " +"Windows." +msgstr "" + +#: build/NEWS:18236 +msgid ":issue:`41471`: Ignore invalid prefix lengths in system proxy excludes." +msgstr "" + +#: build/NEWS:18241 +msgid "" +":issue:`33987`: Mostly finish using ttk widgets, mainly for editor, " +"settings, and searches. Some patches by Mark Roseman." +msgstr "" + +#: build/NEWS:18244 +msgid "" +":issue:`40511`: Typing opening and closing parentheses inside the " +"parentheses of a function call will no longer cause unnecessary \"flashing\" " +"off and on of an existing open call-tip, e.g. when typed in a string literal." +msgstr "" + +#: build/NEWS:18248 +msgid "" +":issue:`38439`: Add a 256×256 pixel IDLE icon to the Windows .ico file. " +"Created by Andrew Clover. Remove the low-color gif variations from the .ico " +"file." +msgstr "" + +#: build/NEWS:18254 +msgid "" +":issue:`42157`: The private ``_PyUnicode_Name_CAPI`` structure of the " +"PyCapsule API ``unicodedata.ucnhash_CAPI`` has been moved to the internal C " +"API. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:18258 +msgid "" +":issue:`42015`: Fix potential crash in deallocating method objects when " +"dynamically allocated :c:type:`PyMethodDef`'s lifetime is managed through " +"the ``self`` argument of a :c:type:`PyCFunction`." +msgstr "" + +#: build/NEWS:18262 +msgid "" +":issue:`40423`: The :mod:`subprocess` module and ``os.closerange`` will now " +"use the ``close_range(low, high, flags)`` syscall when it is available for " +"more efficient closing of ranges of descriptors." +msgstr "" + +#: build/NEWS:18266 +msgid "" +":issue:`41845`: :c:func:`PyObject_GenericGetDict` is available again in the " +"limited API when targeting 3.10 or later." +msgstr "" + +#: build/NEWS:18269 +msgid "" +":issue:`40422`: Add ``_Py_closerange`` function to provide performant " +"closing of a range of file descriptors." +msgstr "" + +#: build/NEWS:18272 +msgid "" +":issue:`41986`: :c:data:`!Py_FileSystemDefaultEncodeErrors` and :c:data:`!" +"Py_UTF8Mode` are available again in limited API." +msgstr "" + +#: build/NEWS:18275 +msgid "" +":issue:`41756`: Add ``PyIter_Send`` function to allow sending value into " +"generator/coroutine/iterator without raising StopIteration exception to " +"signal return." +msgstr "" + +#: build/NEWS:18279 +msgid ":issue:`41784`: Added ``PyUnicode_AsUTF8AndSize`` to the limited C API." +msgstr "" + +#: build/NEWS:18283 +msgid "Python 3.10.0 alpha 1" +msgstr "" + +#: build/NEWS:18285 +msgid "*Release date: 2020-10-05*" +msgstr "" + +#: build/NEWS:18290 +msgid "" +":issue:`41304`: Fixes ``python3x._pth`` being ignored on Windows, caused by " +"the fix for :issue:`29778` (:cve:`2020-15801`)." +msgstr "" + +#: build/NEWS:18293 +msgid "" +":issue:`41162`: Audit hooks are now cleared later during finalization to " +"avoid missing events." +msgstr "" + +#: build/NEWS:18296 +msgid "" +":issue:`29778`: Ensure :file:`python3.dll` is loaded from correct locations " +"when Python is embedded (:cve:`2020-15523`)." +msgstr "" + +#: build/NEWS:18299 +msgid "" +":issue:`41004`: The __hash__() methods of ipaddress.IPv4Interface and " +"ipaddress.IPv6Interface incorrectly generated constant hash values of 32 and " +"128 respectively. This resulted in always causing hash collisions. The fix " +"uses hash() to generate hash values for the tuple of (address, mask length, " +"network address)." +msgstr "" + +#: build/NEWS:18305 +msgid "" +":issue:`39603`: Prevent http header injection by rejecting control " +"characters in http.client.putrequest(...)." +msgstr "" + +#: build/NEWS:18311 +msgid "" +":issue:`41909`: Fixed stack overflow in :func:`issubclass` and :func:" +"`isinstance` when getting the ``__bases__`` attribute leads to infinite " +"recursion." +msgstr "" + +#: build/NEWS:18315 +msgid "" +":issue:`41922`: Speed up calls to ``reversed()`` by using the :pep:`590` " +"``vectorcall`` calling convention. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:18318 +msgid "" +":issue:`41873`: Calls to ``float()`` are now faster due to the " +"``vectorcall`` calling convention. Patch by Dennis Sweeney." +msgstr "" + +#: build/NEWS:18321 +msgid "" +":issue:`41870`: Speed up calls to ``bool()`` by using the :pep:`590` " +"``vectorcall`` calling convention. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:18324 +msgid "" +":issue:`1635741`: Port the :mod:`!_bisect` module to the multi-phase " +"initialization API (:pep:`489`)." +msgstr "" + +#: build/NEWS:18327 +msgid "" +":issue:`39934`: Correctly count control blocks in 'except' in compiler. " +"Ensures that a syntax error, rather a fatal error, occurs for deeply nested, " +"named exception handlers." +msgstr "" + +#: build/NEWS:18331 +msgid "" +":issue:`41780`: Fix :meth:`__dir__` of :class:`types.GenericAlias`. Patch by " +"Batuhan Taskaya." +msgstr "" + +#: build/NEWS:18334 +msgid "" +":issue:`1635741`: Port the :mod:`!_lsprof` extension module to multi-phase " +"initialization (:pep:`489`)." +msgstr "" + +#: build/NEWS:18337 +msgid "" +":issue:`1635741`: Port the :mod:`cmath` extension module to multi-phase " +"initialization (:pep:`489`)." +msgstr "" + +#: build/NEWS:18340 +msgid "" +":issue:`1635741`: Port the :mod:`!_scproxy` extension module to multi-phase " +"initialization (:pep:`489`)." +msgstr "" + +#: build/NEWS:18343 +msgid "" +":issue:`1635741`: Port the :mod:`termios` extension module to multi-phase " +"initialization (:pep:`489`)." +msgstr "" + +#: build/NEWS:18346 +msgid "" +":issue:`1635741`: Convert the :mod:`!_sha256` extension module types to heap " +"types." +msgstr "" + +#: build/NEWS:18349 +msgid "" +":issue:`41690`: Fix a possible stack overflow in the parser when parsing " +"functions and classes with a huge amount of arguments. Patch by Pablo " +"Galindo." +msgstr "" + +#: build/NEWS:18353 +msgid "" +":issue:`1635741`: Port the :mod:`!_overlapped` extension module to multi-" +"phase initialization (:pep:`489`)." +msgstr "" + +#: build/NEWS:18356 +msgid "" +":issue:`1635741`: Port the :mod:`!_curses_panel` extension module to multi-" +"phase initialization (:pep:`489`)." +msgstr "" + +#: build/NEWS:18359 +msgid "" +":issue:`1635741`: Port the :mod:`!_opcode` extension module to multi-phase " +"initialization (:pep:`489`)." +msgstr "" + +#: build/NEWS:18362 +msgid "" +":issue:`41681`: Fixes the wrong error description in the error raised by " +"using 2 ``,`` in format string in f-string and :meth:`str.format`." +msgstr "" + +#: build/NEWS:18365 +msgid "" +":issue:`41675`: The implementation of :func:`signal.siginterrupt` now uses :" +"c:func:`!sigaction` (if it is available in the system) instead of the " +"deprecated :c:func:`!siginterrupt`. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:18369 +msgid "" +":issue:`41670`: Prevent line trace being skipped on platforms not compiled " +"with ``USE_COMPUTED_GOTOS``. Fixes issue where some lines nested within a " +"try-except block were not being traced on Windows." +msgstr "" + +#: build/NEWS:18373 +msgid "" +":issue:`41654`: Fix a crash that occurred when destroying subclasses of :" +"class:`MemoryError`. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:18376 +msgid "" +":issue:`1635741`: Port the :mod:`zlib` extension module to multi-phase " +"initialization (:pep:`489`)." +msgstr "" + +#: build/NEWS:18379 +msgid "" +":issue:`41631`: The ``_ast`` module uses again a global state. Using a " +"module state per module instance is causing subtle practical problems. For " +"example, the Mercurial project replaces the ``__import__()`` function to " +"implement lazy import, whereas Python expected that ``import _ast`` always " +"return a fully initialized ``_ast`` module." +msgstr "" + +#: build/NEWS:18385 +msgid "" +":issue:`40077`: Convert :mod:`!_operator` to use :c:func:`PyType_FromSpec`." +msgstr "" + +#: build/NEWS:18387 +msgid "" +":issue:`1653741`: Port :mod:`!_sha3` to multi-phase init. Convert static " +"types to heap types." +msgstr "" + +#: build/NEWS:18390 +msgid "" +":issue:`1635741`: Port the :mod:`!_blake2` extension module to the multi-" +"phase initialization API (:pep:`489`)." +msgstr "" + +#: build/NEWS:18393 +msgid "" +":issue:`41533`: Free the stack allocated in ``va_build_stack`` if " +"``do_mkstack`` fails and the stack is not a ``small_stack``." +msgstr "" + +#: build/NEWS:18396 +msgid "" +":issue:`41531`: Fix a bug that was dropping keys when compiling dict " +"literals with more than 0xFFFF elements. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:18399 +msgid "" +":issue:`41525`: The output of ``python --help`` contains now only ASCII " +"characters." +msgstr "" + +#: build/NEWS:18402 +msgid "" +":issue:`1635741`: Port the :mod:`!_sha1`, :mod:`!_sha512`, and :mod:`!_md5` " +"extension modules to multi-phase initialization API (:pep:`489`)." +msgstr "" + +#: build/NEWS:18405 +msgid "" +":issue:`41431`: Optimize ``dict_merge()`` for copying dict (e.g. ``dict(d)`` " +"and ``{}.update(d)``)." +msgstr "" + +#: build/NEWS:18408 +msgid "" +":issue:`41428`: Implement PEP 604. This supports (int | str) etc. in place " +"of Union[str, int]." +msgstr "" + +#: build/NEWS:18411 +msgid ":issue:`41340`: Removed fallback implementation for ``strdup``." +msgstr "" + +#: build/NEWS:18413 +msgid "" +":issue:`38156`: Handle interrupts that come after EOF correctly in " +"``PyOS_StdioReadline``." +msgstr "" + +#: build/NEWS:18416 +msgid "" +":issue:`41342`: :func:`round` with integer argument is now faster (9--60%)." +msgstr "" + +#: build/NEWS:18418 +msgid "" +":issue:`41334`: Constructors :func:`str`, :func:`bytes` and :func:" +"`bytearray` are now faster (around 30--40% for small objects)." +msgstr "" + +#: build/NEWS:18421 +msgid "" +":issue:`41295`: Resolve a regression in CPython 3.8.4 where defining " +"\"__setattr__\" in a multi-inheritance setup and calling up the hierarchy " +"chain could fail if builtins/extension types were involved in the base types." +msgstr "" + +#: build/NEWS:18426 +msgid "" +":issue:`41323`: Bytecode optimizations are performed directly on the control " +"flow graph. This will result in slightly more compact code objects in some " +"circumstances." +msgstr "" + +#: build/NEWS:18430 +msgid "" +":issue:`41247`: Always cache the running loop holder when running ``asyncio." +"set_running_loop``." +msgstr "" + +#: build/NEWS:18433 +msgid "" +":issue:`41252`: Fix incorrect refcounting in _ssl.c's " +"``_servername_callback()``." +msgstr "" + +#: build/NEWS:18436 +msgid "" +":issue:`1635741`: Port :mod:`multiprocessing` to multi-phase initialization" +msgstr "" + +#: build/NEWS:18438 +msgid ":issue:`1635741`: Port :mod:`winapi` to multiphase initialization" +msgstr "" + +#: build/NEWS:18440 +msgid "" +":issue:`41215`: Use non-NULL default values in the PEG parser keyword list " +"to overcome a bug that was preventing Python from being properly compiled " +"when using the XLC compiler. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:18444 +msgid "" +":issue:`41218`: Python 3.8.3 had a regression where compiling with ast." +"PyCF_ALLOW_TOP_LEVEL_AWAIT would aggressively mark list comprehension with " +"CO_COROUTINE. Now only list comprehension making use of async/await will " +"tagged as so." +msgstr "" + +#: build/NEWS:18449 +msgid "" +":issue:`1635741`: Port :mod:`faulthandler` to multiphase initialization." +msgstr "" + +#: build/NEWS:18451 +msgid ":issue:`1635741`: Port :mod:`sha256` to multiphase initialization" +msgstr "" + +#: build/NEWS:18453 +msgid "" +":issue:`41175`: Guard against a NULL pointer dereference within " +"bytearrayobject triggered by the ``bytearray() + bytearray()`` operation." +msgstr "" + +#: build/NEWS:18456 +msgid ":issue:`41100`: add arm64 to the allowable Mac OS arches in mpdecimal.h" +msgstr "" + +#: build/NEWS:18458 +msgid "" +":issue:`41094`: Fix decoding errors with audit when open files with non-" +"ASCII names on non-UTF-8 locale." +msgstr "" + +#: build/NEWS:18461 +msgid "" +":issue:`39960`: The \"hackcheck\" that prevents sneaking around a type's " +"__setattr__() by calling the superclass method was rewritten to allow C " +"implemented heap types." +msgstr "" + +#: build/NEWS:18465 +msgid "" +":issue:`41084`: Prefix the error message with 'f-string: ', when parsing an " +"f-string expression which throws a :exc:`SyntaxError`." +msgstr "" + +#: build/NEWS:18468 +msgid ":issue:`40521`: Empty frozensets are no longer singletons." +msgstr "" + +#: build/NEWS:18470 +msgid "" +":issue:`41076`: Pre-feed the parser with the location of the f-string " +"expression, not the f-string itself, which allows us to skip the shifting of " +"the AST node locations after the parsing is completed." +msgstr "" + +#: build/NEWS:18474 +msgid "" +":issue:`41056`: Fixes a reference to deallocated stack space during startup " +"when constructing sys.path involving a relative symlink when code was " +"supplied via -c. (discovered via Coverity)" +msgstr "" + +#: build/NEWS:18478 +msgid "" +":issue:`41061`: Fix incorrect expressions and asserts in hashtable code and " +"tests." +msgstr "" + +#: build/NEWS:18481 +msgid "" +":issue:`41052`: Opt out serialization/deserialization for _random.Random" +msgstr "" + +#: build/NEWS:18483 +msgid "" +":issue:`40939`: Rename ``PyPegen*`` functions to ``PyParser*``, so that we " +"can remove the old set of ``PyParser*`` functions that were using the old " +"parser, but keep everything backwards-compatible." +msgstr "" + +#: build/NEWS:18487 +msgid "" +":issue:`35975`: Stefan Behnel reported that cf_feature_version is used even " +"when PyCF_ONLY_AST is not set. This is against the intention and against the " +"documented behavior, so it's been fixed." +msgstr "" + +#: build/NEWS:18491 +msgid "" +":issue:`40939`: Remove the remaining files from the old parser and the :mod:" +"`symbol` module." +msgstr "" + +#: build/NEWS:18494 +msgid ":issue:`40077`: Convert :mod:`!_bz2` to use :c:func:`PyType_FromSpec`." +msgstr "" + +#: build/NEWS:18496 +msgid "" +":issue:`41006`: The ``encodings.latin_1`` module is no longer imported at " +"startup. Now it is only imported when it is the filesystem encoding or the " +"stdio encoding." +msgstr "" + +#: build/NEWS:18500 +msgid "" +":issue:`40636`: :func:`zip` now supports :pep:`618`'s ``strict`` parameter, " +"which raises a :exc:`ValueError` if the arguments are exhausted at different " +"lengths. Patch by Brandt Bucher." +msgstr "" + +#: build/NEWS:18504 +msgid ":issue:`1635741`: Port :mod:`!_gdbm` to multiphase initialization." +msgstr "" + +#: build/NEWS:18506 +msgid "" +":issue:`40985`: Fix a bug that caused the :exc:`SyntaxError` text to be " +"empty when a file ends with a line ending in a line continuation character " +"(i.e. backslash). The error text should contain the text of the last line." +msgstr "" + +#: build/NEWS:18510 +msgid "" +":issue:`40958`: Fix a possible buffer overflow in the PEG parser when " +"gathering information for emitting syntax errors. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:18513 +msgid ":issue:`1635741`: Port :mod:`!_dbm` to multiphase initialization." +msgstr "" + +#: build/NEWS:18515 +msgid ":issue:`40957`: Fix refleak in _Py_fopen_obj() when PySys_Audit() fails" +msgstr "" + +#: build/NEWS:18517 +msgid "" +":issue:`40950`: Add a state to the :mod:`nis` module (:pep:`3121`) and apply " +"the multiphase initialization. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:18520 +msgid "" +":issue:`40947`: The Python :ref:`Path Configuration <init-path-config>` now " +"takes :c:member:`PyConfig.platlibdir` in account." +msgstr "" + +#: build/NEWS:18523 +msgid "" +":issue:`40939`: Remove the old parser, the :mod:`parser` module and all " +"associated support code, command-line options and environment variables. " +"Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:18527 +msgid "" +":issue:`40847`: Fix a bug where a line with only a line continuation " +"character is not considered a blank line at tokenizer level. In such cases, " +"more than a single ``NEWLINE`` token was emitted. The old parser was working " +"around the issue, but the new parser threw a :exc:`SyntaxError` for valid " +"input due to this. For example, an empty line following a line continuation " +"character was interpreted as a :exc:`SyntaxError`." +msgstr "" + +#: build/NEWS:18534 +msgid "" +":issue:`40890`: Each dictionary view now has a ``mapping`` attribute that " +"provides a :class:`types.MappingProxyType` wrapping the original " +"dictionary. Patch contributed by Dennis Sweeney." +msgstr "" + +#: build/NEWS:18538 +msgid "" +":issue:`40889`: Improved the performance of symmetric difference operations " +"on dictionary item views. Patch by Dennis Sweeney." +msgstr "" + +#: build/NEWS:18541 +msgid "" +":issue:`40904`: Fix possible segfault in the new PEG parser when parsing f-" +"string containing yield statements with no value (:code:`f\"{yield}\"`). " +"Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:18545 +msgid "" +":issue:`40903`: Fixed a possible segfault in the new PEG parser when " +"producing error messages for invalid assignments of the form :code:`p=p=`. " +"Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:18549 +msgid "" +":issue:`40880`: Fix invalid memory read in the new parser when checking " +"newlines in string literals. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:18552 +msgid "" +":issue:`40883`: Fix memory leak in when parsing f-strings in the new parser. " +"Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:18555 +msgid "" +":issue:`40870`: Raise :exc:`ValueError` when validating custom AST's where " +"the constants ``True``, ``False`` and ``None`` are used within a :class:`ast." +"Name` node." +msgstr "" + +#: build/NEWS:18559 +msgid "" +":issue:`40854`: Allow overriding :data:`sys.platlibdir` via a new :envvar:" +"`PYTHONPLATLIBDIR` environment variable." +msgstr "" + +#: build/NEWS:18562 +msgid "" +":issue:`40826`: Fix GIL usage in :c:func:`PyOS_Readline`: lock the GIL to " +"set an exception and pass the Python thread state when checking if there is " +"a pending signal." +msgstr "" + +#: build/NEWS:18566 +msgid ":issue:`1635741`: Port :mod:`fcntl` to multiphase initialization." +msgstr "" + +#: build/NEWS:18568 +msgid "" +":issue:`19468`: Delete unnecessary instance check in importlib.reload(). " +"Patch by Furkan Önder." +msgstr "" + +#: build/NEWS:18571 +msgid "" +":issue:`40824`: Unexpected errors in calling the ``__iter__`` method are no " +"longer masked by ``TypeError`` in the :keyword:`in` operator and functions :" +"func:`~operator.contains`, :func:`~operator.indexOf` and :func:`~operator." +"countOf` of the :mod:`operator` module." +msgstr "" + +#: build/NEWS:18576 +msgid "" +":issue:`40792`: Attributes ``start``, ``stop`` and ``step`` of the :class:" +"`range` object now always has exact type :class:`int`. Previously, they " +"could have been an instance of a subclass of ``int``." +msgstr "" + +#: build/NEWS:18580 +msgid "" +":issue:`40780`: Fix a corner case where g-style string formatting of a float " +"failed to remove trailing zeros." +msgstr "" + +#: build/NEWS:18583 +msgid "" +":issue:`38964`: When there's a :exc:`SyntaxError` in the expression part of " +"an fstring, the filename attribute of the :exc:`SyntaxError` gets correctly " +"set to the name of the file the fstring resides in." +msgstr "" + +#: build/NEWS:18587 +msgid "" +":issue:`40750`: Support the \"-d\" debug flag in the new PEG parser. Patch " +"by Pablo Galindo" +msgstr "" + +#: build/NEWS:18590 +msgid "" +":issue:`40217`: Instances of types created with :c:func:" +"`PyType_FromSpecWithBases` will no longer automatically visit their class " +"object when traversing references in the garbage collector. The user is " +"expected to manually visit the object's class. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:18596 +msgid "" +":issue:`39573`: :c:func:`Py_TYPE()` is changed to the inline static " +"function. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:18599 +msgid "" +":issue:`40696`: Fix a hang that can arise after :meth:`generator.throw` due " +"to a cycle in the exception context chain." +msgstr "" + +#: build/NEWS:18602 +msgid "" +":issue:`40521`: Each interpreter now its has own free lists, singletons and " +"caches:" +msgstr "" + +#: build/NEWS:18605 +msgid "" +"Free lists: float, tuple, list, dict, frame, context, asynchronous " +"generator, MemoryError." +msgstr "" + +#: build/NEWS:18607 +msgid "" +"Singletons: empty tuple, empty bytes string, empty Unicode string, single " +"byte character, single Unicode (latin1) character." +msgstr "" + +#: build/NEWS:18609 +msgid "Slice cache." +msgstr "" + +#: build/NEWS:18611 +msgid "They are no longer shared by all interpreters." +msgstr "" + +#: build/NEWS:18613 +msgid "" +":issue:`40679`: Certain :exc:`TypeError` messages about missing or extra " +"arguments now include the function's :term:`qualified name`. Patch by " +"Dennis Sweeney." +msgstr "" + +#: build/NEWS:18617 +msgid "" +":issue:`29590`: Make the stack trace correct after calling :meth:`generator." +"throw` on a generator that has yielded from a ``yield from``." +msgstr "" + +#: build/NEWS:18621 +msgid "" +":issue:`4022`: Improve performance of generators by not raising internal " +"StopIteration." +msgstr "" + +#: build/NEWS:18624 +msgid ":issue:`1635741`: Port :mod:`mmap` to multiphase initialization." +msgstr "" + +#: build/NEWS:18626 +msgid ":issue:`1635741`: Port :mod:`!_lzma` to multiphase initialization." +msgstr "" + +#: build/NEWS:18628 +msgid "" +":issue:`37999`: Builtin and extension functions that take integer arguments " +"no longer accept :class:`~decimal.Decimal`\\ s, :class:`~fractions." +"Fraction`\\ s and other objects that can be converted to integers only with " +"a loss (e.g. that have the :meth:`~object.__int__` method but do not have " +"the :meth:`~object.__index__` method)." +msgstr "" + +#: build/NEWS:18634 +msgid "" +":issue:`29882`: Add :meth:`int.bit_count`, counting the number of ones in " +"the binary representation of an integer. Patch by Niklas Fiekas." +msgstr "" + +#: build/NEWS:18637 +msgid "" +":issue:`36982`: Use ncurses extended color functions when available to " +"support terminals with 256 colors, and add the new function :func:`curses." +"has_extended_color_support` to indicate whether extended color support is " +"provided by the underlying ncurses library." +msgstr "" + +#: build/NEWS:18642 +msgid "" +":issue:`19569`: Add the private macros ``_Py_COMP_DIAG_PUSH``, " +"``_Py_COMP_DIAG_IGNORE_DEPR_DECLS``, and ``_Py_COMP_DIAG_POP``." +msgstr "" + +#: build/NEWS:18645 +msgid "" +":issue:`26680`: The int type now supports the x.is_integer() method for " +"compatibility with float." +msgstr "" + +#: build/NEWS:18651 +msgid "" +":issue:`41900`: C14N 2.0 serialisation in xml.etree.ElementTree failed for " +"unprefixed attributes when a default namespace was defined." +msgstr "" + +#: build/NEWS:18654 +msgid "" +":issue:`41887`: Strip leading spaces and tabs on :func:`ast.literal_eval`. " +"Also document stripping of spaces and tabs for :func:`eval`." +msgstr "" + +#: build/NEWS:18657 +msgid "" +":issue:`41773`: Note in documentation that :func:`random.choices` doesn't " +"support non-finite weights, raise :exc:`ValueError` when given non-finite " +"weights." +msgstr "" + +#: build/NEWS:18661 +msgid "" +":issue:`41840`: Fix a bug in the :mod:`symtable` module that was causing " +"module-scope global variables to not be reported as both local and global. " +"Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:18665 +msgid "" +":issue:`41842`: Add :func:`codecs.unregister` function to unregister a codec " +"search function." +msgstr "" + +#: build/NEWS:18668 +msgid "" +":issue:`40564`: In ``zipfile.Path``, mutate the passed ZipFile object type " +"instead of making a copy. Prevents issues when both the local copy and the " +"caller’s copy attempt to close the same file handle." +msgstr "" + +#: build/NEWS:18672 +msgid "" +":issue:`40670`: More reliable validation of statements in :class:`timeit." +"Timer`. It now accepts \"empty\" statements (only whitespaces and comments) " +"and rejects misindentent statements." +msgstr "" + +#: build/NEWS:18676 +msgid "" +":issue:`41833`: The :class:`threading.Thread` constructor now uses the " +"target name if the *target* argument is specified but the *name* argument is " +"omitted." +msgstr "" + +#: build/NEWS:18680 +msgid "" +":issue:`41817`: fix ``tkinter.EventType`` Enum so all members are strings, " +"and none are tuples" +msgstr "" + +#: build/NEWS:18683 +msgid "" +":issue:`41810`: :data:`types.EllipsisType`, :data:`types.NotImplementedType` " +"and :data:`types.NoneType` have been reintroduced, providing a new set of " +"types readily interpretable by static type checkers." +msgstr "" + +#: build/NEWS:18687 +msgid "" +":issue:`41815`: Fix SQLite3 segfault when backing up closed database. Patch " +"contributed by Peter David McCormick." +msgstr "" + +#: build/NEWS:18690 +msgid "" +":issue:`41816`: StrEnum added: it ensures that all members are already " +"strings or string candidates" +msgstr "" + +#: build/NEWS:18693 +msgid "" +":issue:`41517`: fix bug allowing Enums to be extended via multiple " +"inheritance" +msgstr "" + +#: build/NEWS:18695 +msgid "" +":issue:`39587`: use the correct mix-in data type when constructing Enums" +msgstr "" + +#: build/NEWS:18697 +msgid "" +":issue:`41792`: Add is_typeddict function to typing.py to check if a type is " +"a TypedDict class" +msgstr "" + +#: build/NEWS:18700 +msgid "" +"Previously there was no way to check that without using private API. See the " +"`relevant issue in python/typing <https://github.com/python/typing/" +"issues/751>`_." +msgstr "" + +#: build/NEWS:18704 +msgid "" +":issue:`41789`: Honor ``object`` overrides in ``Enum`` class creation " +"(specifically, ``__str__``, ``__repr__``, ``__format__``, and " +"``__reduce_ex__``)." +msgstr "" + +#: build/NEWS:18708 +msgid "" +":issue:`32218`: ``enum.Flag`` and ``enum.IntFlag`` members are now iterable." +msgstr "" + +#: build/NEWS:18710 +msgid "" +":issue:`39651`: Fix a race condition in the ``call_soon_threadsafe()`` " +"method of ``asyncio.ProactorEventLoop``: do nothing if the self-pipe socket " +"has been closed." +msgstr "" + +#: build/NEWS:18714 +msgid "" +":issue:`1635741`: Port the ``mashal`` extension module to the multi-phase " +"initialization API (:pep:`489`)." +msgstr "" + +#: build/NEWS:18717 +msgid "" +":issue:`1635741`: Port the ``_string`` extension module to the multi-phase " +"initialization API (:pep:`489`)." +msgstr "" + +#: build/NEWS:18720 +msgid ":issue:`41732`: Added an :term:`iterator` to :class:`memoryview`." +msgstr "" + +#: build/NEWS:18722 +msgid "" +":issue:`41720`: Fixed :meth:`turtle.Vec2D.__rmul__` for arguments which are " +"not int or float." +msgstr "" + +#: build/NEWS:18725 +msgid "" +":issue:`41696`: Fix handling of debug mode in :func:`asyncio.run`. This " +"allows setting ``PYTHONASYNCIODEBUG`` or ``-X dev`` to enable asyncio debug " +"mode when using :func:`asyncio.run`." +msgstr "" + +#: build/NEWS:18729 +msgid "" +":issue:`41687`: Fix implementation of sendfile to be compatible with Solaris." +msgstr "" + +#: build/NEWS:18731 +msgid "" +":issue:`41662`: No longer override exceptions raised in ``__len__()`` of a " +"sequence of parameters in :mod:`sqlite3` with :exc:`~sqlite3." +"ProgrammingError`." +msgstr "" + +#: build/NEWS:18735 +msgid "" +":issue:`39010`: Restarting a ``ProactorEventLoop`` on Windows no longer logs " +"spurious ``ConnectionResetErrors``." +msgstr "" + +#: build/NEWS:18738 +msgid "" +":issue:`41638`: :exc:`~sqlite3.ProgrammingError` message for absent " +"parameter in :mod:`sqlite3` contains now the name of the parameter instead " +"of its index when parameters are supplied as a dict." +msgstr "" + +#: build/NEWS:18742 +msgid "" +":issue:`41662`: Fixed crash when mutate list of parameters during iteration " +"in :mod:`sqlite3`." +msgstr "" + +#: build/NEWS:18745 +msgid "" +":issue:`41513`: Improved the accuracy of math.hypot(). Internally, each " +"step is computed with extra precision so that the result is now almost " +"always correctly rounded." +msgstr "" + +#: build/NEWS:18749 +msgid "" +":issue:`41609`: The pdb whatis command correctly reports instance methods as " +"'Method' rather than 'Function'." +msgstr "" + +#: build/NEWS:18752 +msgid "" +":issue:`39994`: Fixed pprint's handling of dict subclasses that override " +"__repr__." +msgstr "" + +#: build/NEWS:18755 +msgid "" +":issue:`32751`: When cancelling the task due to a timeout, :meth:`asyncio." +"wait_for` will now wait until the cancellation is complete also in the case " +"when *timeout* is <= 0, like it does with positive timeouts." +msgstr "" + +#: build/NEWS:18760 +msgid "" +":issue:`37658`: :meth:`asyncio.wait_for` now properly handles races between " +"cancellation of itself and the completion of the wrapped awaitable." +msgstr "" + +#: build/NEWS:18763 +msgid "" +":issue:`40782`: Change the method asyncio.AbstractEventLoop.run_in_executor " +"to not be a coroutine." +msgstr "" + +#: build/NEWS:18766 +msgid "" +":issue:`41520`: Fix :mod:`codeop` regression that prevented turning compile " +"warnings into errors." +msgstr "" + +#: build/NEWS:18769 +msgid "" +":issue:`41528`: turtle uses math module functions to convert degrees to " +"radians and vice versa and to calculate vector norm" +msgstr "" + +#: build/NEWS:18772 +msgid "" +":issue:`41513`: Minor algorithmic improvement to math.hypot() and math." +"dist() giving small gains in speed and accuracy." +msgstr "" + +#: build/NEWS:18775 +msgid "" +":issue:`41503`: Fixed a race between setTarget and flush in logging.handlers." +"MemoryHandler." +msgstr "" + +#: build/NEWS:18778 +msgid ":issue:`41497`: Fix potential UnicodeDecodeError in dis module." +msgstr "" + +#: build/NEWS:18780 +msgid "" +":issue:`41467`: On Windows, fix asyncio ``recv_into()`` return value when " +"the socket/pipe is closed (:exc:`BrokenPipeError`): return ``0`` rather than " +"an empty byte string (``b''``)." +msgstr "" + +#: build/NEWS:18784 +msgid ":issue:`41425`: Make tkinter doc example runnable." +msgstr "" + +#: build/NEWS:18786 +msgid "" +":issue:`41421`: Make an algebraic simplification to random.paretovariate(). " +"It now is slightly less subject to round-off error and is slightly faster. " +"Inputs that used to cause ZeroDivisionError now cause an OverflowError " +"instead." +msgstr "" + +#: build/NEWS:18791 +msgid ":issue:`41440`: Add :func:`os.cpu_count` support for VxWorks RTOS." +msgstr "" + +#: build/NEWS:18793 +msgid "" +":issue:`41316`: Fix the :mod:`tarfile` module to write only basename of TAR " +"file to GZIP compression header." +msgstr "" + +#: build/NEWS:18796 +msgid "" +":issue:`41384`: Raise TclError instead of TypeError when an unknown option " +"is passed to tkinter.OptionMenu." +msgstr "" + +#: build/NEWS:18799 +msgid "" +":issue:`41317`: Use add_done_callback() in asyncio.loop.sock_accept() to " +"unsubscribe reader early on cancellation." +msgstr "" + +#: build/NEWS:18802 +msgid ":issue:`41364`: Reduce import overhead of :mod:`uuid`." +msgstr "" + +#: build/NEWS:18804 +msgid "" +":issue:`35328`: Set the environment variable ``VIRTUAL_ENV_PROMPT`` at :mod:" +"`venv` activation." +msgstr "" + +#: build/NEWS:18807 +msgid "" +":issue:`41341`: Recursive evaluation of ``typing.ForwardRef`` in " +"``get_type_hints``." +msgstr "" + +#: build/NEWS:18810 +msgid "" +":issue:`41344`: Prevent creating :class:`shared_memory.SharedMemory` objects " +"with :code:`size=0`." +msgstr "" + +#: build/NEWS:18813 +msgid "" +":issue:`41333`: :meth:`collections.OrderedDict.pop` is now 2 times faster." +msgstr "" + +#: build/NEWS:18815 +msgid "" +":issue:`41288`: Unpickling invalid NEWOBJ_EX opcode with the C " +"implementation raises now UnpicklingError instead of crashing." +msgstr "" + +#: build/NEWS:18818 +msgid "" +":issue:`39017`: Avoid infinite loop when reading specially crafted TAR files " +"using the tarfile module (:cve:`2019-20907`)." +msgstr "" + +#: build/NEWS:18821 +msgid "" +":issue:`41273`: Speed up any transport using ``_ProactorReadPipeTransport`` " +"by calling ``recv_into`` instead of ``recv``, thus not creating a new buffer " +"for each ``recv`` call in the transport's read loop." +msgstr "" + +#: build/NEWS:18825 +msgid "" +":issue:`41235`: Fix the error handling in :meth:`ssl.SSLContext." +"load_dh_params`." +msgstr "" + +#: build/NEWS:18828 +msgid "" +":issue:`41207`: In distutils.spawn, restore expectation that " +"DistutilsExecError is raised when the command is not found." +msgstr "" + +#: build/NEWS:18831 +msgid "" +":issue:`29727`: Register :class:`array.array` as a :class:`~collections.abc." +"MutableSequence`. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:18834 +msgid "" +":issue:`39168`: Remove the ``__new__`` method of :class:`typing.Generic`." +msgstr "" + +#: build/NEWS:18836 +msgid "" +":issue:`41194`: Fix a crash in the ``_ast`` module: it can no longer be " +"loaded more than once. It now uses a global state rather than a module state." +msgstr "" + +#: build/NEWS:18839 +msgid "" +":issue:`41195`: Add read-only ssl.SSLContext.security_level attribute to " +"retrieve the context's security level." +msgstr "" + +#: build/NEWS:18842 +msgid "" +":issue:`41193`: The ``write_history()`` atexit function of the readline " +"completer now ignores any :exc:`OSError` to ignore error if the filesystem " +"is read-only, instead of only ignoring :exc:`FileNotFoundError` and :exc:" +"`PermissionError`." +msgstr "" + +#: build/NEWS:18847 +msgid ":issue:`41182`: selector: use DefaultSelector based upon implementation" +msgstr "" + +#: build/NEWS:18849 +msgid "" +":issue:`41161`: The decimal module now requires libmpdec-2.5.0. Users of --" +"with-system-libmpdec should update their system library." +msgstr "" + +#: build/NEWS:18852 +msgid ":issue:`40874`: The decimal module now requires libmpdec-2.5.0." +msgstr "" + +#: build/NEWS:18854 +msgid "" +":issue:`41138`: Fixed the :mod:`trace` module CLI for Python source files " +"with non-UTF-8 encoding." +msgstr "" + +#: build/NEWS:18857 +msgid "" +":issue:`31082`: Use the term \"iterable\" in the docstring for :func:" +"`functools.reduce`." +msgstr "" + +#: build/NEWS:18860 +msgid ":issue:`40521`: Remove freelist from collections.deque()." +msgstr "" + +#: build/NEWS:18862 +msgid "" +":issue:`31938`: Fix default-value signatures of several functions in the :" +"mod:`select` module - by Anthony Sottile." +msgstr "" + +#: build/NEWS:18865 +msgid "" +":issue:`41068`: Fixed reading files with non-ASCII names from ZIP archive " +"directly after writing them." +msgstr "" + +#: build/NEWS:18868 +msgid "" +":issue:`41058`: :func:`pdb.find_function` now correctly determines the " +"source file encoding." +msgstr "" + +#: build/NEWS:18871 +msgid "" +":issue:`41056`: Invalid file descriptor values are now prevented from being " +"passed to os.fpathconf. (discovered by Coverity)" +msgstr "" + +#: build/NEWS:18874 +msgid "" +":issue:`41056`: Fix a NULL pointer dereference within the ssl module during " +"a MemoryError in the keylog callback. (discovered by Coverity)" +msgstr "" + +#: build/NEWS:18877 +msgid "" +":issue:`41056`: Fixed an instance where a MemoryError within the zoneinfo " +"module might not be reported or not reported at its source. (found by " +"Coverity)" +msgstr "" + +#: build/NEWS:18881 +msgid "" +":issue:`41048`: :func:`mimetypes.read_mime_types` function reads the rule " +"file using UTF-8 encoding, not the locale encoding. Patch by Srinivas Reddy " +"Thatiparthy." +msgstr "" + +#: build/NEWS:18885 +msgid "" +":issue:`41043`: Fixed the use of :func:`~glob.glob` in the stdlib: literal " +"part of the path is now always correctly escaped." +msgstr "" + +#: build/NEWS:18888 +msgid "" +":issue:`41025`: Fixed an issue preventing the C implementation of :class:" +"`zoneinfo.ZoneInfo` from being subclassed." +msgstr "" + +#: build/NEWS:18891 +msgid "" +":issue:`35018`: Add the :class:`xml.sax.handler.LexicalHandler` class that " +"is present in other SAX XML implementations." +msgstr "" + +#: build/NEWS:18894 +msgid "" +":issue:`41002`: Improve performance of HTTPResponse.read with a given " +"amount. Patch by Bruce Merry." +msgstr "" + +#: build/NEWS:18897 +msgid "" +":issue:`40448`: :mod:`ensurepip` now disables the use of ``pip`` cache when " +"installing the bundled versions of ``pip`` and ``setuptools``. Patch by " +"Krzysztof Konopko." +msgstr "" + +#: build/NEWS:18901 +msgid "" +":issue:`40967`: Removed :meth:`!asyncio.Task.current_task` and :meth:`!" +"asyncio.Task.all_tasks`. Patch contributed by Rémi Lapeyre." +msgstr "" + +#: build/NEWS:18904 +msgid "" +":issue:`40924`: Ensure ``importlib.resources.path`` returns an extant path " +"for the SourceFileLoader's resource reader. Avoids the regression identified " +"in master while a long-term solution is devised." +msgstr "" + +#: build/NEWS:18908 +msgid "" +":issue:`40955`: Fix a minor memory leak in :mod:`subprocess` module when " +"extra_groups was specified." +msgstr "" + +#: build/NEWS:18911 +msgid "" +":issue:`40855`: The standard deviation and variance functions in the " +"statistics module were ignoring their mu and xbar arguments." +msgstr "" + +#: build/NEWS:18914 +msgid "" +":issue:`40939`: Use the new PEG parser when generating the stdlib :mod:" +"`keyword` module." +msgstr "" + +#: build/NEWS:18917 +msgid "" +":issue:`23427`: Add :data:`sys.orig_argv` attribute: the list of the " +"original command line arguments passed to the Python executable." +msgstr "" + +#: build/NEWS:18920 +msgid "" +":issue:`33689`: Ignore empty or whitespace-only lines in .pth files. This " +"matches the documentated behavior. Before, empty lines caused the site-" +"packages dir to appear multiple times in sys.path. By Ido Michael, " +"contributors Malcolm Smith and Tal Einat." +msgstr "" + +#: build/NEWS:18925 +msgid "" +":issue:`40884`: Added a ``defaults`` parameter to :class:`logging." +"Formatter`, to allow specifying default values for custom fields. Patch by " +"Asaf Alon and Bar Harel." +msgstr "" + +#: build/NEWS:18929 +msgid ":issue:`40876`: Clarify error message in the :mod:`csv` module." +msgstr "" + +#: build/NEWS:18931 +msgid "" +":issue:`39791`: Refresh importlib.metadata from importlib_metadata 1.6.1." +msgstr "" + +#: build/NEWS:18933 +msgid "" +":issue:`40807`: Stop codeop._maybe_compile, used by code." +"InteractiveInterpreter (and IDLE). from emitting each warning three times." +msgstr "" + +#: build/NEWS:18936 +msgid "" +":issue:`32604`: Fix reference leak in the :mod:`select` module when the " +"module is imported in a subinterpreter." +msgstr "" + +#: build/NEWS:18939 +msgid "" +":issue:`39791`: Built-in loaders (SourceFileLoader and ZipImporter) now " +"supply ``TraversableResources`` implementations for ``ResourceReader``, and " +"the fallback function has been removed." +msgstr "" + +#: build/NEWS:18943 +msgid "" +":issue:`39314`: :class:`rlcompleter.Completer` and the standard Python shell " +"now close the parenthesis for functions that take no arguments. Patch " +"contributed by Rémi Lapeyre." +msgstr "" + +#: build/NEWS:18947 +msgid "" +":issue:`17005`: The topological sort functionality that was introduced " +"initially in the :mod:`functools` module has been moved to a new :mod:" +"`graphlib` module to better accommodate the new tools and keep the original " +"scope of the :mod:`functools` module. Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:18952 +msgid "" +":issue:`40834`: Fix truncate when sending str object with_xxsubinterpreters." +"channel_send." +msgstr "" + +#: build/NEWS:18955 +msgid ":issue:`40755`: Add rich comparisons to collections.Counter()." +msgstr "" + +#: build/NEWS:18957 +msgid "" +":issue:`26407`: Unexpected errors in calling the ``__iter__`` method are no " +"longer masked by ``TypeError`` in :func:`csv.reader`, :func:`csv.writer." +"writerow` and :meth:`csv.writer.writerows`." +msgstr "" + +#: build/NEWS:18961 +msgid "" +":issue:`39384`: Fixed email.contentmanager to allow set_content() to set a " +"null string." +msgstr "" + +#: build/NEWS:18964 +msgid "" +":issue:`40744`: The :mod:`sqlite3` module uses SQLite API functions that " +"require SQLite v3.7.3 or higher. This patch removes support for older " +"SQLite versions, and explicitly requires SQLite 3.7.3 both at build, compile " +"and runtime. Patch by Sergey Fedoseev and Erlend E. Aasland." +msgstr "" + +#: build/NEWS:18969 +msgid "" +":issue:`40777`: Initialize PyDateTime_IsoCalendarDateType.tp_base at run-" +"time to avoid errors on some compilers." +msgstr "" + +#: build/NEWS:18972 +msgid "" +":issue:`38488`: Update ensurepip to install pip 20.1.1 and setuptools 47.1.0." +msgstr "" + +#: build/NEWS:18974 +msgid "" +":issue:`40792`: The result of :func:`operator.index` now always has exact " +"type :class:`int`. Previously, the result could have been an instance of a " +"subclass of ``int``." +msgstr "" + +#: build/NEWS:18978 +msgid "" +":issue:`40767`: :mod:`webbrowser` now properly finds the default browser in " +"pure Wayland systems by checking the WAYLAND_DISPLAY environment variable. " +"Patch contributed by Jérémy Attali." +msgstr "" + +#: build/NEWS:18982 +msgid "" +":issue:`40791`: :func:`hashlib.compare_digest` uses OpenSSL's " +"``CRYPTO_memcmp()`` function when OpenSSL is available." +msgstr "" + +#: build/NEWS:18985 +msgid "" +":issue:`40795`: :mod:`ctypes` module: If ctypes fails to convert the result " +"of a callback or if a ctypes callback function raises an exception, sys." +"unraisablehook is now called with an exception set. Previously, the error " +"was logged into stderr by :c:func:`PyErr_Print`." +msgstr "" + +#: build/NEWS:18990 +msgid "" +":issue:`16995`: Add :func:`base64.b32hexencode` and :func:`base64." +"b32hexdecode` to support the Base32 Encoding with Extended Hex Alphabet." +msgstr "" + +#: build/NEWS:18993 +msgid "" +":issue:`30008`: Fix :mod:`ssl` code to be compatible with OpenSSL 1.1.x " +"builds that use ``no-deprecated`` and ``--api=1.1.0``." +msgstr "" + +#: build/NEWS:18996 +msgid ":issue:`30064`: Fix asyncio ``loop.sock_*`` race condition issue" +msgstr "" + +#: build/NEWS:18998 +msgid ":issue:`40759`: Deprecate the :mod:`symbol` module." +msgstr "" + +#: build/NEWS:19000 +msgid "" +":issue:`40756`: The second argument (extra) of ``LoggerAdapter.__init__`` " +"now defaults to None." +msgstr "" + +#: build/NEWS:19003 +msgid "" +":issue:`37129`: Add a new :const:`os.RWF_APPEND` flag for :func:`os.pwritev`." +msgstr "" + +#: build/NEWS:19005 +msgid "" +":issue:`40737`: Fix possible reference leak for :mod:`sqlite3` " +"initialization." +msgstr "" + +#: build/NEWS:19007 +msgid "" +":issue:`40726`: Handle cases where the ``end_lineno`` is ``None`` on :func:" +"`ast.increment_lineno`." +msgstr "" + +#: build/NEWS:19010 +msgid "" +":issue:`40698`: ``distutils`` upload creates SHA2-256 and Blake2b-256 " +"digests. MD5 digests is skipped if platform blocks MD5." +msgstr "" + +#: build/NEWS:19013 +msgid "" +":issue:`40695`: :mod:`hashlib` no longer falls back to builtin hash " +"implementations when OpenSSL provides a hash digest and the algorithm is " +"blocked by security policy." +msgstr "" + +#: build/NEWS:19017 +msgid "" +":issue:`9216`: :func:`hashlib.new` passed ``usedforsecurity`` to OpenSSL EVP " +"constructor ``_hashlib.new()``. test_hashlib and test_smtplib handle strict " +"security policy better." +msgstr "" + +#: build/NEWS:19021 +msgid "" +":issue:`40614`: :func:`ast.parse` will not parse self documenting " +"expressions in f-strings when passed ``feature_version`` is less than ``(3, " +"8)``." +msgstr "" + +#: build/NEWS:19024 +msgid "" +":issue:`40626`: Add h5 file extension as MIME Type application/x-hdf5, as " +"per HDF Group recommendation for HDF5 formatted data files. Patch " +"contributed by Mark Schwab." +msgstr "" + +#: build/NEWS:19028 +msgid "" +":issue:`25920`: On macOS, when building Python for macOS 10.4 and older, " +"which wasn't the case for python.org macOS installer, :func:`socket." +"getaddrinfo` no longer uses an internal lock to prevent race conditions when " +"calling ``getaddrinfo()`` which is thread-safe since macOS 10.5. Python 3.9 " +"requires macOS 10.6 or newer. The internal lock caused random hang on fork " +"when another thread was calling :func:`socket.getaddrinfo`. The lock was " +"also used on FreeBSD older than 5.3, OpenBSD older than 201311 and NetBSD " +"older than 4." +msgstr "" + +#: build/NEWS:19037 +msgid "" +":issue:`40671`: Prepare ``_hashlib`` for :pep:`489` and use :c:func:" +"`PyModule_AddType`." +msgstr "" + +#: build/NEWS:19040 +msgid "" +":issue:`32309`: Added a new :term:`coroutine` :func:`asyncio.to_thread`. It " +"is mainly used for running IO-bound functions in a separate thread to avoid " +"blocking the event loop, and essentially works as a high-level version of :" +"meth:`~asyncio.loop.run_in_executor` that can directly take keyword " +"arguments." +msgstr "" + +#: build/NEWS:19046 +msgid "" +":issue:`36543`: Restored the deprecated :mod:`xml.etree.cElementTree` module." +msgstr "" + +#: build/NEWS:19048 +msgid "" +":issue:`40611`: :const:`~mmap.MAP_POPULATE` constant has now been added to " +"the list of exported :mod:`mmap` module flags." +msgstr "" + +#: build/NEWS:19051 +msgid "" +":issue:`39881`: PEP 554 for use in the test suite. (Patch By Joannah " +"Nanjekye)" +msgstr "" + +#: build/NEWS:19053 +msgid "" +":issue:`13097`: ``ctypes`` now raises an ``ArgumentError`` when a callback " +"is invoked with more than 1024 arguments." +msgstr "" + +#: build/NEWS:19056 +msgid "" +":issue:`39385`: A new test assertion context-manager, :func:`unittest." +"assertNoLogs` will ensure a given block of code emits no log messages using " +"the logging module. Contributed by Kit Yan Choi." +msgstr "" + +#: build/NEWS:19060 +msgid "" +":issue:`23082`: Updated the error message and docs of PurePath.relative_to() " +"to better reflect the function behaviour." +msgstr "" + +#: build/NEWS:19063 +msgid ":issue:`40318`: Use SQLite3 trace v2 API, if it is available." +msgstr "" + +#: build/NEWS:19065 +msgid "" +":issue:`40105`: ZipFile truncates files to avoid corruption when a shorter " +"comment is provided in append (\"a\") mode. Patch by Jan Mazur." +msgstr "" + +#: build/NEWS:19068 +msgid "" +":issue:`40084`: Fix ``Enum.__dir__``: dir(Enum.member) now includes " +"attributes as well as methods." +msgstr "" + +#: build/NEWS:19071 +msgid "" +":issue:`31122`: ssl.wrap_socket() now raises ssl.SSLEOFError rather than " +"OSError when peer closes connection during TLS negotiation" +msgstr "" + +#: build/NEWS:19074 +msgid "" +":issue:`39728`: fix default ``_missing_`` so a duplicate ``ValueError`` is " +"not set as the ``__context__`` of the original ``ValueError``." +msgstr "" + +#: build/NEWS:19077 +msgid "" +":issue:`39244`: Fixed :class:`multiprocessing.context.get_all_start_methods` " +"to properly return the default method first on macOS." +msgstr "" + +#: build/NEWS:19080 +msgid "" +":issue:`39040`: Fix parsing of invalid mime headers parameters by collapsing " +"whitespace between encoded words in a bare-quote-string." +msgstr "" + +#: build/NEWS:19083 +msgid "" +":issue:`38731`: Add ``--quiet`` option to command-line interface of :mod:" +"`py_compile`. Patch by Gregory Schevchenko." +msgstr "" + +#: build/NEWS:19086 +msgid "" +":issue:`35714`: :exc:`struct.error` is now raised if there is a null " +"character in a :mod:`struct` format string." +msgstr "" + +#: build/NEWS:19089 +msgid "" +":issue:`38144`: Added the *root_dir* and *dir_fd* parameters in :func:`glob." +"glob`." +msgstr "" + +#: build/NEWS:19092 +msgid "" +":issue:`26543`: Fix :meth:`IMAP4.noop` when debug mode is enabled (ex: " +"``imaplib.Debug = 3``)." +msgstr "" + +#: build/NEWS:19095 +msgid "" +":issue:`12178`: :func:`csv.writer` now correctly escapes *escapechar* when " +"input contains *escapechar*. Patch by Catalin Iacob, Berker Peksag, and " +"Itay Elbirt." +msgstr "" + +#: build/NEWS:19099 +msgid "" +":issue:`36290`: AST nodes are now raising :exc:`TypeError` on conflicting " +"keyword arguments. Patch contributed by Rémi Lapeyre." +msgstr "" + +#: build/NEWS:19102 +msgid ":issue:`33944`: Added site.py site-packages tracing in verbose mode." +msgstr "" + +#: build/NEWS:19104 +msgid "" +":issue:`35078`: Refactor formatweekday, formatmonthname methods in " +"LocaleHTMLCalendar and LocaleTextCalendar classes in calendar module to call " +"the base class methods.This enables customizable CSS classes for " +"LocaleHTMLCalendar. Patch by Srinivas Reddy Thatiparthy" +msgstr "" + +#: build/NEWS:19109 +msgid "" +":issue:`29620`: :func:`~unittest.TestCase.assertWarns` no longer raises a " +"``RuntimeException`` when accessing a module's ``__warningregistry__`` " +"causes importation of a new module, or when a new module is imported in " +"another thread. Patch by Kernc." +msgstr "" + +#: build/NEWS:19114 +msgid "" +":issue:`31844`: Remove ``ParserBase.error()`` method from the private and " +"undocumented ``_markupbase`` module. :class:`html.parser.HTMLParser` is the " +"only subclass of ``ParserBase`` and its ``error()`` implementation was " +"deprecated in Python 3.4 and removed in Python 3.5." +msgstr "" + +#: build/NEWS:19119 +msgid "" +":issue:`34226`: Fix ``cgi.parse_multipart`` without content_length. Patch by " +"Roger Duran" +msgstr "" + +#: build/NEWS:19122 +msgid "" +":issue:`33660`: Fix pathlib.PosixPath to resolve a relative path located on " +"the root directory properly." +msgstr "" + +#: build/NEWS:19125 +msgid "" +":issue:`28557`: Improve the error message for a misbehaving ``rawio." +"readinto``" +msgstr "" + +#: build/NEWS:19127 +msgid "" +":issue:`26680`: The d.is_integer() method is added to the Decimal type, for " +"compatibility with other number types." +msgstr "" + +#: build/NEWS:19130 +msgid "" +":issue:`26680`: The x.is_integer() method is incorporated into the abstract " +"types of the numeric tower, Real, Rational and Integral, with appropriate " +"default implementations." +msgstr "" + +#: build/NEWS:19137 +msgid "" +":issue:`41428`: Add documentation for :pep:`604` (Allow writing union types " +"as ``X | Y``)." +msgstr "" + +#: build/NEWS:19140 +msgid "" +":issue:`41774`: In Programming FAQ \"Sequences (Tuples/Lists)\" section, add " +"\"How do you remove multiple items from a list\"." +msgstr "" + +#: build/NEWS:19143 +msgid "" +":issue:`35293`: Fix RemovedInSphinx40Warning when building the " +"documentation. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:19146 +msgid "" +":issue:`37149`: Change Shipman tkinter doc link from archive.org to TkDocs. " +"(The doc has been removed from the NMT server.) The new link responds much " +"faster and includes a short explanatory note." +msgstr "" + +#: build/NEWS:19150 +msgid "" +":issue:`41726`: Update the refcounts info of ``PyType_FromModuleAndSpec``." +msgstr "" + +#: build/NEWS:19152 +msgid ":issue:`41624`: Fix the signature of :class:`typing.Coroutine`." +msgstr "" + +#: build/NEWS:19154 +msgid "" +":issue:`40204`: Enable Sphinx 3.2 ``c_allow_pre_v3`` option and disable " +"``c_warn_on_allowed_pre_v3`` option to make the documentation compatible " +"with Sphinx 2 and Sphinx 3." +msgstr "" + +#: build/NEWS:19158 +msgid ":issue:`41045`: Add documentation for debug feature of f-strings." +msgstr "" + +#: build/NEWS:19160 +msgid "" +":issue:`41314`: Changed the release when ``from __future__ import " +"annotations`` becomes the default from ``4.0`` to ``3.10`` (following a " +"change in PEP 563)." +msgstr "" + +#: build/NEWS:19164 +msgid "" +":issue:`40979`: Refactored typing.rst, arranging more than 70 classes, " +"functions, and decorators into new sub-sections." +msgstr "" + +#: build/NEWS:19167 +msgid "" +":issue:`40552`: Fix in tutorial section 4.2. Code snippet is now correct." +msgstr "" + +#: build/NEWS:19169 +msgid "" +":issue:`39883`: Make code, examples, and recipes in the Python documentation " +"be licensed under the more permissive BSD0 license in addition to the " +"existing Python 2.0 license." +msgstr "" + +#: build/NEWS:19173 +msgid "" +":issue:`37703`: Updated Documentation to comprehensively elaborate on the " +"behaviour of gather.cancel()" +msgstr "" + +#: build/NEWS:19179 +msgid "" +":issue:`41939`: Fix test_site.test_license_exists_at_url(): call ``urllib." +"request.urlcleanup()`` to reset the global ``urllib.request._opener``. Patch " +"by Victor Stinner." +msgstr "" + +#: build/NEWS:19183 +msgid ":issue:`41731`: Make test_cmd_line_script pass with option '-vv'." +msgstr "" + +#: build/NEWS:19185 +msgid ":issue:`41602`: Add tests for SIGINT handling in the runpy module." +msgstr "" + +#: build/NEWS:19187 +msgid "" +":issue:`41521`: :mod:`test.support`: Rename ``blacklist`` parameter of :func:" +"`~test.support.check__all__` to ``not_exported``." +msgstr "" + +#: build/NEWS:19190 +msgid ":issue:`41477`: Make ctypes optional in test_genericalias." +msgstr "" + +#: build/NEWS:19192 +msgid "" +":issue:`41085`: Fix integer overflow in the :meth:`array.array.index` method " +"on 64-bit Windows for index larger than ``2**31``." +msgstr "" + +#: build/NEWS:19195 +msgid "" +":issue:`41069`: :data:`test.support.TESTFN` and the current directory for " +"tests when run via ``test.regrtest`` contain now non-ascii characters if " +"possible." +msgstr "" + +#: build/NEWS:19199 +msgid "" +":issue:`38377`: On Linux, skip tests using multiprocessing if the current " +"user cannot create a file in ``/dev/shm/`` directory. Add the :func:`~test." +"support.skip_if_broken_multiprocessing_synchronize` function to the :mod:" +"`test.support` module." +msgstr "" + +#: build/NEWS:19204 +msgid "" +":issue:`41009`: Fix use of ``support.require_{linux|mac|freebsd}_version()`` " +"decorators as class decorator." +msgstr "" + +#: build/NEWS:19207 +msgid "" +":issue:`41003`: Fix ``test_copyreg`` when ``numpy`` is installed: ``test." +"pickletester`` now saves/restores warnings filters when importing ``numpy``, " +"to ignore filters installed by ``numpy``." +msgstr "" + +#: build/NEWS:19211 +msgid "" +":issue:`40964`: Disable remote :mod:`imaplib` tests, host cyrus.andrew.cmu." +"edu is blocking incoming connections." +msgstr "" + +#: build/NEWS:19214 +msgid "" +":issue:`40927`: Fix test_binhex when run twice: it now uses " +"import_fresh_module() to ensure that it raises DeprecationWarning each time." +msgstr "" + +#: build/NEWS:19218 +msgid "" +":issue:`17258`: Skip some :mod:`multiprocessing` tests when MD5 hash digest " +"is blocked." +msgstr "" + +#: build/NEWS:19221 +msgid ":issue:`31904`: Increase LOOPBACK_TIMEOUT to 10 for VxWorks RTOS." +msgstr "" + +#: build/NEWS:19223 +msgid "" +":issue:`38169`: Increase code coverage for SharedMemory and ShareableList" +msgstr "" + +#: build/NEWS:19225 +msgid "" +":issue:`34401`: Make test_gdb properly run on HP-UX. Patch by Michael Osipov." +msgstr "" + +#: build/NEWS:19230 +msgid "" +":issue:`38249`: Update :c:macro:`Py_UNREACHABLE` to use " +"__builtin_unreachable() if only the compiler is able to use it. Patch by " +"Donghee Na." +msgstr "" + +#: build/NEWS:19233 +msgid "" +":issue:`41617`: Fix ``pycore_bitutils.h`` header file to support old clang " +"versions: ``__builtin_bswap16()`` is not available in LLVM clang 3.0." +msgstr "" + +#: build/NEWS:19236 +msgid ":issue:`40204`: Pin Sphinx version to 2.3.1 in ``Doc/Makefile``." +msgstr "" + +#: build/NEWS:19238 +msgid "" +":issue:`36020`: The C99 functions :c:func:`snprintf` and :c:func:`vsnprintf` " +"are now required to build Python." +msgstr "" + +#: build/NEWS:19241 +msgid "" +":issue:`40684`: ``make install`` now uses the ``PLATLIBDIR`` variable for " +"the destination ``lib-dynload/`` directory when ``./configure --with-" +"platlibdir`` is used." +msgstr "" + +#: build/NEWS:19245 +msgid "" +":issue:`40683`: Fixed an issue where the :mod:`zoneinfo` module and its " +"tests were not included when Python is installed with ``make``." +msgstr "" + +#: build/NEWS:19251 +msgid "" +":issue:`41744`: Fixes automatic import of props file when using the Nuget " +"package." +msgstr "" + +#: build/NEWS:19254 +msgid "" +":issue:`41627`: The user site directory for 32-bit now includes a ``-32`` " +"suffix to distinguish it from the 64-bit interpreter's directory." +msgstr "" + +#: build/NEWS:19257 +msgid "" +":issue:`41526`: Fixed layout of final page of the installer by removing the " +"special thanks to Mark Hammond (with his permission)." +msgstr "" + +#: build/NEWS:19260 +msgid ":issue:`41492`: Fixes the description that appears in UAC prompts." +msgstr "" + +#: build/NEWS:19262 +msgid "" +":issue:`40948`: Improve post-install message to direct people to the \"py\" " +"command." +msgstr "" + +#: build/NEWS:19265 +msgid "" +":issue:`41412`: The installer will now fail to install on Windows 7 and " +"Windows 8. Further, the UCRT dependency is now always downloaded on demand." +msgstr "" + +#: build/NEWS:19268 +msgid ":issue:`40741`: Update Windows release to include SQLite 3.32.3." +msgstr "" + +#: build/NEWS:19270 +msgid "" +":issue:`41142`: :mod:`msilib` now supports creating CAB files with non-ASCII " +"file path and adding files with non-ASCII file path to them." +msgstr "" + +#: build/NEWS:19273 +msgid "" +":issue:`41074`: Fixed support of non-ASCII names in functions :func:`msilib." +"OpenDatabase` and :func:`msilib.init_database` and non-ASCII SQL in method :" +"meth:`msilib.Database.OpenView`." +msgstr "" + +#: build/NEWS:19277 +msgid "" +":issue:`41039`: Stable ABI redirection DLL (python3.dll) now uses ``#pragma " +"comment(linker)`` for re-exporting." +msgstr "" + +#: build/NEWS:19280 +msgid ":issue:`40164`: Updates Windows OpenSSL to 1.1.1g" +msgstr "" + +#: build/NEWS:19282 +msgid "" +":issue:`39631`: Changes the registered MIME type for ``.py`` files on " +"Windows to ``text/x-python`` instead of ``text/plain``." +msgstr "" + +#: build/NEWS:19285 +msgid "" +":issue:`40677`: Manually define IO_REPARSE_TAG_APPEXECLINK in case some old " +"Windows SDK doesn't have it." +msgstr "" + +#: build/NEWS:19288 +msgid "" +":issue:`37556`: Extend py.exe help to mention overrides via venv, shebang, " +"environmental variables & ini files." +msgstr "" + +#: build/NEWS:19294 +msgid ":issue:`41557`: Update macOS installer to use SQLite 3.33.0." +msgstr "" + +#: build/NEWS:19296 +msgid "" +":issue:`39580`: Avoid opening Finder window if running installer from the " +"command line. Patch contributed by Rick Heil." +msgstr "" + +#: build/NEWS:19299 +msgid "" +":issue:`41100`: Fix configure error when building on macOS 11. Note that the " +"current Python release was released shortly after the first developer " +"preview of macOS 11 (Big Sur); there are other known issues with building " +"and running on the developer preview. Big Sur is expected to be fully " +"supported in a future bugfix release of Python 3.8.x and with 3.9.0." +msgstr "" + +#: build/NEWS:19305 +msgid ":issue:`40741`: Update macOS installer to use SQLite 3.32.3." +msgstr "" + +#: build/NEWS:19307 +msgid "" +":issue:`41005`: fixed an XDG settings issue not allowing macos to open " +"browser in webbrowser.py" +msgstr "" + +#: build/NEWS:19310 +msgid ":issue:`40741`: Update macOS installer to use SQLite 3.32.2." +msgstr "" + +#: build/NEWS:19315 +msgid ":issue:`41775`: Use 'IDLE Shell' as shell title" +msgstr "" + +#: build/NEWS:19317 +msgid ":issue:`35764`: Rewrite the Calltips doc section." +msgstr "" + +#: build/NEWS:19319 +msgid "" +":issue:`40181`: In calltips, stop reminding that '/' marks the end of " +"positional-only arguments." +msgstr "" + +#: build/NEWS:19322 +msgid "" +":issue:`41468`: Improve IDLE run crash error message (which users should " +"never see)." +msgstr "" + +#: build/NEWS:19325 +msgid "" +":issue:`41373`: Save files loaded with no line ending, as when blank, or " +"different line endings, by setting its line ending to the system default. " +"Fix regression in 3.8.4 and 3.9.0b4." +msgstr "" + +#: build/NEWS:19329 +msgid "" +":issue:`41300`: Save files with non-ascii chars. Fix regression released in " +"3.9.0b4 and 3.8.4." +msgstr "" + +#: build/NEWS:19332 +msgid "" +":issue:`37765`: Add keywords to module name completion list. Rewrite " +"Completions section of IDLE doc." +msgstr "" + +#: build/NEWS:19335 +msgid "" +":issue:`41152`: The encoding of ``stdin``, ``stdout`` and ``stderr`` in IDLE " +"is now always UTF-8." +msgstr "" + +#: build/NEWS:19338 +msgid ":issue:`41144`: Make Open Module open a special module such as os.path." +msgstr "" + +#: build/NEWS:19340 +msgid "" +":issue:`39885`: Make context menu Cut and Copy work again when right-" +"clicking within a selection." +msgstr "" + +#: build/NEWS:19343 +msgid ":issue:`40723`: Make test_idle pass when run after import." +msgstr "" + +#: build/NEWS:19348 +msgid "" +":issue:`41936`: Removed undocumented macros ``Py_ALLOW_RECURSION`` and " +"``Py_END_ALLOW_RECURSION`` and the ``recursion_critical`` field of the :c:" +"type:`PyInterpreterState` structure." +msgstr "" + +#: build/NEWS:19352 +msgid "" +":issue:`41692`: The ``PyUnicode_InternImmortal()`` function is now " +"deprecated and will be removed in Python 3.12: use :c:func:" +"`PyUnicode_InternInPlace` instead. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:19356 +msgid "" +":issue:`41842`: Add :c:func:`PyCodec_Unregister` function to unregister a " +"codec search function." +msgstr "" + +#: build/NEWS:19359 +msgid "" +":issue:`41834`: Remove the ``_Py_CheckRecursionLimit`` variable: it has been " +"replaced by ``ceval.recursion_limit`` of the :c:type:`PyInterpreterState` " +"structure. Patch by Victor Stinner." +msgstr "" + +#: build/NEWS:19363 +msgid "" +":issue:`41689`: Types created with :c:func:`PyType_FromSpec` now make any " +"signature in their ``tp_doc`` slot accessible from ``__text_signature__``." +msgstr "" + +#: build/NEWS:19366 +msgid "" +":issue:`41524`: Fix bug in PyOS_mystrnicmp and PyOS_mystricmp that " +"incremented pointers beyond the end of a string." +msgstr "" + +#: build/NEWS:19369 +msgid "" +":issue:`41324`: Add a minimal decimal capsule API. The API supports fast " +"conversions between Decimals up to 38 digits and their triple representation " +"as a C struct." +msgstr "" + +#: build/NEWS:19373 +msgid "" +":issue:`30155`: Add :c:func:`PyDateTime_DATE_GET_TZINFO` and :c:func:" +"`PyDateTime_TIME_GET_TZINFO` macros for accessing the ``tzinfo`` attributes " +"of :class:`datetime.datetime` and :class:`datetime.time` objects." +msgstr "" + +#: build/NEWS:19378 +msgid "" +":issue:`40170`: Revert :c:func:`PyType_HasFeature` change: it reads again " +"directly the :c:member:`PyTypeObject.tp_flags` member when the limited C API " +"is not used, rather than always calling :c:func:`PyType_GetFlags` which " +"hides implementation details." +msgstr "" + +#: build/NEWS:19383 +msgid ":issue:`41123`: Remove ``PyUnicode_AsUnicodeCopy``." +msgstr "" + +#: build/NEWS:19385 +msgid ":issue:`41123`: Removed ``PyLong_FromUnicode()``." +msgstr "" + +#: build/NEWS:19387 +msgid ":issue:`41123`: Removed ``PyUnicode_GetMax()``." +msgstr "" + +#: build/NEWS:19389 +msgid "" +":issue:`41123`: Removed ``Py_UNICODE_str*`` functions manipulating " +"``Py_UNICODE*`` strings." +msgstr "" + +#: build/NEWS:19392 +msgid "" +":issue:`41103`: ``PyObject_AsCharBuffer()``, ``PyObject_AsReadBuffer()``, " +"``PyObject_CheckReadBuffer()``, and ``PyObject_AsWriteBuffer()`` are " +"removed. Please migrate to new buffer protocol; :c:func:`PyObject_GetBuffer` " +"and :c:func:`PyBuffer_Release`." +msgstr "" + +#: build/NEWS:19397 +msgid "" +":issue:`36346`: Raises DeprecationWarning for ``PyUnicode_FromUnicode(NULL, " +"size)`` and ``PyUnicode_FromStringAndSize(NULL, size)`` with ``size > 0``." +msgstr "" + +#: build/NEWS:19400 +msgid "" +":issue:`36346`: Mark ``Py_UNICODE_COPY``, ``Py_UNICODE_FILL``, " +"``PyUnicode_WSTR_LENGTH``, ``PyUnicode_FromUnicode``, " +"``PyUnicode_AsUnicode``, and ``PyUnicode_AsUnicodeAndSize`` as deprecated in " +"C. Remove ``Py_UNICODE_MATCH`` which was deprecated and broken since Python " +"3.3." +msgstr "" + +#: build/NEWS:19406 +msgid "" +":issue:`40989`: The :c:func:`PyObject_INIT` and :c:func:`PyObject_INIT_VAR` " +"macros become aliases to, respectively, :c:func:`PyObject_Init` and :c:func:" +"`PyObject_InitVar` functions." +msgstr "" + +#: build/NEWS:19410 +msgid "" +":issue:`36020`: On Windows, ``#include \"pyerrors.h\"`` no longer defines " +"``snprintf`` and ``vsnprintf`` macros." +msgstr "" + +#: build/NEWS:19413 +msgid "" +":issue:`40943`: The ``PY_SSIZE_T_CLEAN`` macro must now be defined to use :c:" +"func:`PyArg_ParseTuple` and :c:func:`Py_BuildValue` formats which use ``#``: " +"``es#``, ``et#``, ``s#``, ``u#``, ``y#``, ``z#``, ``U#`` and ``Z#``. See :" +"ref:`Parsing arguments and building values <arg-parsing>` and the :pep:`353`." +msgstr "" + +#: build/NEWS:19419 +msgid "" +":issue:`40910`: Export explicitly the :c:func:`Py_GetArgcArgv` function to " +"the C API and document the function. Previously, it was exported implicitly " +"which no longer works since Python is built with ``-fvisibility=hidden``." +msgstr "" + +#: build/NEWS:19423 +msgid ":issue:`40724`: Allow defining buffer slots in type specs." +msgstr "" + +#: build/NEWS:19425 +msgid "" +":issue:`40679`: Fix a ``_PyEval_EvalCode()`` crash if *qualname* argument is " +"NULL." +msgstr "" + +#: build/NEWS:19428 +msgid "" +":issue:`40839`: Calling :c:func:`PyDict_GetItem` without :term:`GIL` held " +"had been allowed for historical reason. It is no longer allowed." +msgstr "" + +#: build/NEWS:19431 +msgid "" +":issue:`40826`: :c:func:`PyOS_InterruptOccurred` now fails with a fatal " +"error if it is called with the GIL released." +msgstr "" + +#: build/NEWS:19434 +msgid "" +":issue:`40792`: The result of :c:func:`PyNumber_Index` now always has exact " +"type :class:`int`. Previously, the result could have been an instance of a " +"subclass of ``int``." +msgstr "" + +#: build/NEWS:19438 +msgid "" +":issue:`39573`: Convert :c:func:`Py_REFCNT` and :c:func:`Py_SIZE` macros to " +"static inline functions. They cannot be used as l-value anymore: use :c:func:" +"`Py_SET_REFCNT` and :c:func:`Py_SET_SIZE` to set an object reference count " +"and size. This change is backward incompatible on purpose, to prepare the C " +"API for an opaque :c:type:`PyObject` structure." +msgstr "" + +#: build/NEWS:19444 +msgid "" +":issue:`40703`: The PyType_FromSpec*() functions no longer overwrite the " +"type's \"__module__\" attribute if it is set via \"Py_tp_members\" or " +"\"Py_tp_getset\"." +msgstr "" + +#: build/NEWS:19447 +msgid "" +":issue:`39583`: Remove superfluous \"extern C\" declarations from ``Include/" +"cpython/*.h``." +msgstr "" + +#: build/NEWS:19452 +msgid "Python 3.9.0 beta 1" +msgstr "" + +#: build/NEWS:19454 +msgid "*Release date: 2020-05-19*" +msgstr "" + +#: build/NEWS:19459 +msgid "" +":issue:`40501`: :mod:`uuid` no longer uses :mod:`ctypes` to load :file:" +"`libuuid` or :file:`rpcrt4.dll` at runtime." +msgstr "" + +#: build/NEWS:19465 +msgid "" +":issue:`40663`: Correctly generate annotations where parentheses are omitted " +"but required (e.g: ``Type[(str, int, *other))]``." +msgstr "" + +#: build/NEWS:19468 +msgid "" +":issue:`40596`: Fixed :meth:`str.isidentifier` for non-canonicalized strings " +"containing non-BMP characters on Windows." +msgstr "" + +#: build/NEWS:19471 +msgid "" +":issue:`40593`: Improved syntax errors for invalid characters in source code." +msgstr "" + +#: build/NEWS:19473 +msgid "" +":issue:`40585`: Fixed a bug when using :func:`codeop.compile_command` that " +"was causing exceptions to be swallowed with the new parser. Patch by Pablo " +"Galindo" +msgstr "" + +#: build/NEWS:19477 +msgid ":issue:`40566`: Apply :pep:`573` to :mod:`abc`." +msgstr "" + +#: build/NEWS:19479 +msgid "" +":issue:`40502`: Initialize ``n->n_col_offset``. (Patch by Joannah Nanjekye)" +msgstr "" + +#: build/NEWS:19481 +msgid "" +":issue:`40527`: Fix command line argument parsing: no longer write errors " +"multiple times into stderr." +msgstr "" + +#: build/NEWS:19484 +msgid "" +":issue:`1635741`: Port :mod:`errno` to multiphase initialization (:pep:" +"`489`)." +msgstr "" + +#: build/NEWS:19486 +msgid "" +":issue:`40523`: Add pass-throughs for :func:`hash` and :func:`reversed` to :" +"class:`weakref.proxy` objects. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:19489 +msgid "" +":issue:`1635741`: Port :mod:`syslog` to multiphase initialization (:pep:" +"`489`)." +msgstr "" + +#: build/NEWS:19491 +msgid "" +":issue:`40246`: Reporting a specialised error message for invalid string " +"prefixes, which was introduced in :issue:`40246`, is being reverted due to " +"backwards compatibility concerns for strings that immediately follow a " +"reserved keyword without whitespace between them. Constructs like " +"``bg=\"#d00\" if clear else\"#fca\"`` were failing to parse, which is not an " +"acceptable breakage on such short notice." +msgstr "" + +#: build/NEWS:19498 +msgid "" +":issue:`40417`: Fix imp module deprecation warning when " +"PyImport_ReloadModule is called. Patch by Robert Rouhani." +msgstr "" + +#: build/NEWS:19501 +msgid "" +":issue:`40408`: Fixed support of nested type variables in GenericAlias (e.g. " +"``list[list[T]]``)." +msgstr "" + +#: build/NEWS:19504 +msgid "" +":issue:`1635741`: Port _stat module to multiphase initialization (:pep:" +"`489`)." +msgstr "" + +#: build/NEWS:19506 +msgid "" +":issue:`29587`: Enable implicit exception chaining when calling :meth:" +"`generator.throw`." +msgstr "" + +#: build/NEWS:19509 +msgid "" +":issue:`40328`: Add tools for generating mappings headers for CJKCodecs." +msgstr "" + +#: build/NEWS:19511 +msgid "" +":issue:`40228`: Setting frame.f_lineno is now robust w.r.t. changes in the " +"source-to-bytecode compiler" +msgstr "" + +#: build/NEWS:19514 +msgid "" +":issue:`38880`: Added the ability to list interpreters associated with " +"channel ends in the internal subinterpreters module." +msgstr "" + +#: build/NEWS:19517 +msgid "" +":issue:`37986`: Improve performance of :c:func:`PyLong_FromDouble` for " +"values that fit into :c:expr:`long`." +msgstr "" + +#: build/NEWS:19523 +msgid "" +":issue:`40662`: Fixed :func:`ast.get_source_segment` for ast nodes that have " +"incomplete location information. Patch by Irit Katriel." +msgstr "" + +#: build/NEWS:19526 +msgid ":issue:`40665`: Convert :mod:`bisect` to use Argument Clinic." +msgstr "" + +#: build/NEWS:19528 +msgid "" +":issue:`40536`: Added the :func:`~zoneinfo.available_timezones` function to " +"the :mod:`zoneinfo` module. Patch by Paul Ganssle." +msgstr "" + +#: build/NEWS:19531 +msgid "" +":issue:`40645`: The :class:`hmac.HMAC` exposes internal implementation " +"details. The attributes ``digest_cons``, ``inner``, and ``outer`` are " +"deprecated and will be removed in the future." +msgstr "" + +#: build/NEWS:19535 +msgid "" +":issue:`40645`: The internal module ``_hashlib`` wraps and exposes OpenSSL's " +"HMAC API. The new code will be used in Python 3.10 after the internal " +"implementation details of the pure Python HMAC module are no longer part of " +"the public API." +msgstr "" + +#: build/NEWS:19540 +msgid "" +":issue:`40637`: Builtin hash modules can now be disabled or selectively " +"enabled with ``configure --with-builtin-hashlib-hashes=sha3,blake1`` or ``--" +"without-builtin-hashlib-hashes``." +msgstr "" + +#: build/NEWS:19544 +msgid "" +":issue:`37630`: The :mod:`hashlib` module can now use SHA3 hashes and SHAKE " +"XOF from OpenSSL when available." +msgstr "" + +#: build/NEWS:19547 +msgid "" +":issue:`40479`: The :mod:`hashlib` now compiles with OpenSSL 3.0.0-alpha2." +msgstr "" + +#: build/NEWS:19549 +msgid ":issue:`40257`: Revert changes to :func:`inspect.getdoc`." +msgstr "" + +#: build/NEWS:19551 +msgid "" +":issue:`40607`: When cancelling a task due to timeout, :meth:`asyncio." +"wait_for` will now propagate the exception if an error happens during " +"cancellation. Patch by Roman Skurikhin." +msgstr "" + +#: build/NEWS:19555 +msgid "" +":issue:`40612`: Fix edge cases in SyntaxError formatting. If the offset is " +"<= 0, no caret is printed. If the offset is > line length, the caret is " +"printed pointing just after the last character." +msgstr "" + +#: build/NEWS:19559 +msgid "" +":issue:`40597`: If text content lines are longer than policy." +"max_line_length, always use a content-encoding to make sure they are wrapped." +msgstr "" + +#: build/NEWS:19562 +msgid "" +":issue:`40571`: Added functools.cache() as a simpler, more discoverable way " +"to access the unbounded cache variant of lru_cache(maxsize=None)." +msgstr "" + +#: build/NEWS:19565 +msgid "" +":issue:`40503`: :pep:`615`, the :mod:`zoneinfo` module. Adds support for the " +"IANA time zone database." +msgstr "" + +#: build/NEWS:19568 +msgid "" +":issue:`40397`: Removed attributes ``__args__`` and ``__parameters__`` from " +"special generic aliases like ``typing.List`` (not subscripted)." +msgstr "" + +#: build/NEWS:19571 +msgid "" +":issue:`40549`: Convert posixmodule.c (\"posix\" or \"nt\" module) to the " +"multiphase initialization (PEP 489)." +msgstr "" + +#: build/NEWS:19574 +msgid "" +":issue:`31033`: Add a ``msg`` argument to :meth:`Future.cancel` and :meth:" +"`Task.cancel`." +msgstr "" + +#: build/NEWS:19577 +msgid "" +":issue:`40541`: Added an optional *counts* parameter to random.sample()." +msgstr "" + +#: build/NEWS:19579 +msgid "" +":issue:`40515`: The :mod:`ssl` and :mod:`hashlib` modules now actively check " +"that OpenSSL is build with thread support. Python 3.7.0 made thread support " +"mandatory and no longer works safely with a no-thread builds." +msgstr "" + +#: build/NEWS:19583 +msgid "" +":issue:`31033`: When a :class:`asyncio.Task` is cancelled, the exception " +"traceback now chains all the way back to where the task was first " +"interrupted." +msgstr "" + +#: build/NEWS:19587 +msgid "" +":issue:`40504`: :func:`functools.lru_cache` objects can now be the targets " +"of weakrefs." +msgstr "" + +#: build/NEWS:19590 +msgid "" +":issue:`40559`: Fix possible memory leak in the C implementation of :class:" +"`asyncio.Task`." +msgstr "" + +#: build/NEWS:19593 +msgid "" +":issue:`40480`: ``fnmatch.fnmatch()`` could take exponential time in the " +"presence of multiple ``*`` pattern characters. This was repaired by " +"generating more elaborate regular expressions to avoid futile backtracking." +msgstr "" + +#: build/NEWS:19598 +msgid "" +":issue:`40495`: :mod:`compileall` is now able to use hardlinks to prevent " +"duplicates in a case when ``.pyc`` files for different optimization levels " +"have the same content." +msgstr "" + +#: build/NEWS:19602 +msgid "" +":issue:`40457`: The ssl module now support OpenSSL builds without TLS 1.0 " +"and 1.1 methods." +msgstr "" + +#: build/NEWS:19605 +msgid "" +":issue:`40355`: Improve error reporting in :func:`ast.literal_eval` in the " +"presence of malformed :class:`ast.Dict` nodes instead of silently ignoring " +"any non-conforming elements. Patch by Curtis Bucher." +msgstr "" + +#: build/NEWS:19609 +msgid "" +":issue:`40465`: Deprecated the optional *random* argument to *random." +"shuffle()*." +msgstr "" + +#: build/NEWS:19612 +msgid "" +":issue:`40459`: :func:`platform.win32_ver` now produces correct *ptype* " +"strings instead of empty strings." +msgstr "" + +#: build/NEWS:19615 +msgid "" +":issue:`39435`: The first argument of :func:`pickle.loads` is now positional-" +"only." +msgstr "" + +#: build/NEWS:19618 +msgid "" +":issue:`39305`: Update :mod:`nntplib` to merge :class:`nntplib.NNTP` and :" +"class:`nntplib._NNTPBase`. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:19621 +msgid "" +":issue:`32494`: Update :mod:`dbm.gnu` to use gdbm_count if possible when " +"calling :func:`len`. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:19624 +msgid "" +":issue:`40453`: Add ``isolated=True`` keyword-only parameter to " +"``_xxsubinterpreters.create()``. An isolated subinterpreter cannot spawn " +"threads, spawn a child process or call ``os.fork()``." +msgstr "" + +#: build/NEWS:19628 +msgid "" +":issue:`40286`: Remove ``_random.Random.randbytes()``: the C implementation " +"of ``randbytes()``. Implement the method in Python to ease subclassing: " +"``randbytes()`` now directly reuses ``getrandbits()``." +msgstr "" + +#: build/NEWS:19632 +msgid "" +":issue:`40394`: Added default arguments to :meth:`difflib.SequenceMatcher." +"find_longest_match`." +msgstr "" + +#: build/NEWS:19635 +msgid "" +":issue:`39995`: Fix a race condition in concurrent.futures._ThreadWakeup: " +"access to _ThreadWakeup is now protected with the shutdown lock." +msgstr "" + +#: build/NEWS:19638 +msgid "" +":issue:`30966`: ``Process.shutdown(wait=True)`` of :mod:`concurrent.futures` " +"now closes explicitly the result queue." +msgstr "" + +#: build/NEWS:19641 +msgid "" +":issue:`30966`: Add a new :meth:`~multiprocessing.SimpleQueue.close` method " +"to the :class:`~multiprocessing.SimpleQueue` class to explicitly close the " +"queue." +msgstr "" + +#: build/NEWS:19645 +msgid "" +":issue:`39966`: Revert :issue:`25597`. :class:`unittest.mock.MagicMock` with " +"wraps' set uses default return values for magic methods." +msgstr "" + +#: build/NEWS:19648 +msgid "" +":issue:`39791`: Added ``files()`` function to importlib.resources with " +"support for subdirectories in package data, matching backport in " +"importlib_resources 1.5." +msgstr "" + +#: build/NEWS:19652 +msgid "" +":issue:`40375`: :meth:`imaplib.IMAP4.unselect` is added. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:19654 +msgid "" +":issue:`40389`: ``repr()`` now returns ``typing.Optional[T]`` when called " +"for ``typing.Union`` of two types, one of which is ``NoneType``." +msgstr "" + +#: build/NEWS:19657 +msgid "" +":issue:`40291`: Add support for CAN_J1939 sockets (available on Linux 5.4+)" +msgstr "" + +#: build/NEWS:19659 +msgid ":issue:`40273`: :class:`types.MappingProxyType` is now reversible." +msgstr "" + +#: build/NEWS:19661 +msgid "" +":issue:`39075`: The repr for :class:`types.SimpleNamespace` is now insertion " +"ordered rather than alphabetical." +msgstr "" + +#: build/NEWS:19664 +msgid "" +":issue:`40192`: On AIX, :func:`~time.thread_time` is now implemented with " +"``thread_cputime()`` which has nanosecond resolution, rather than " +"``clock_gettime(CLOCK_THREAD_CPUTIME_ID)`` which has a resolution of 10 " +"milliseconds. Patch by Batuhan Taskaya." +msgstr "" + +#: build/NEWS:19669 +msgid "" +":issue:`40025`: Raise TypeError when _generate_next_value_ is defined after " +"members. Patch by Ethan Onstott." +msgstr "" + +#: build/NEWS:19672 +msgid "" +":issue:`39058`: In the argparse module, the repr for Namespace() and other " +"argument holders now displayed in the order attributes were added. Formerly, " +"it displayed in alphabetical order even though argument order is preserved " +"the user visible parts of the module." +msgstr "" + +#: build/NEWS:19677 +msgid "" +":issue:`24416`: The ``isocalendar()`` methods of :class:`datetime.date` and :" +"class:`datetime.datetime` now return a :term:`named tuple` instead of a :" +"class:`tuple`." +msgstr "" + +#: build/NEWS:19684 +msgid "" +":issue:`34790`: Add version of removal for explicit passing of coros to " +"``asyncio.wait()``'s documentation" +msgstr "" + +#: build/NEWS:19687 +msgid ":issue:`40561`: Provide docstrings for webbrowser open functions." +msgstr "" + +#: build/NEWS:19689 +msgid "" +":issue:`40499`: Mention that :func:`asyncio.wait` requires a non-empty set " +"of awaitables." +msgstr "" + +#: build/NEWS:19692 +msgid "" +":issue:`39705`: Tutorial example for sorted() in the Loop Techniques section " +"is given a better explanation. Also a new example is included to explain " +"sorted()'s basic behavior." +msgstr "" + +#: build/NEWS:19696 +msgid "" +":issue:`39435`: Fix an incorrect signature for :func:`pickle.loads` in the " +"docs" +msgstr "" + +#: build/NEWS:19701 +msgid "" +":issue:`40055`: distutils.tests now saves/restores warnings filters to leave " +"them unchanged. Importing tests imports docutils which imports pkg_resources " +"which adds a warnings filter." +msgstr "" + +#: build/NEWS:19705 +msgid "" +":issue:`40436`: test_gdb and test.pythoninfo now check gdb command exit code." +msgstr "" + +#: build/NEWS:19710 +msgid "" +":issue:`40653`: Move _dirnameW out of HAVE_SYMLINK to fix a potential " +"compiling issue." +msgstr "" + +#: build/NEWS:19713 +msgid "" +":issue:`40514`: Add ``--with-experimental-isolated-subinterpreters`` build " +"option to ``configure``: better isolate subinterpreters, experimental build " +"mode." +msgstr "" + +#: build/NEWS:19720 +msgid ":issue:`40650`: Include winsock2.h in pytime.c for timeval." +msgstr "" + +#: build/NEWS:19722 +msgid "" +":issue:`40458`: Increase reserved stack space to prevent overflow crash on " +"Windows." +msgstr "" + +#: build/NEWS:19725 +msgid "" +":issue:`39148`: Add IPv6 support to :mod:`asyncio` datagram endpoints in " +"ProactorEventLoop. Change the raised exception for unknown address families " +"to ValueError as it's not coming from Windows API." +msgstr "" + +#: build/NEWS:19732 +msgid "" +":issue:`34956`: When building Python on macOS from source, ``_tkinter`` now " +"links with non-system Tcl and Tk frameworks if they are installed in ``/" +"Library/Frameworks``, as had been the case on older releases of macOS. If a " +"macOS SDK is explicitly configured, by using ``--enable-universalsdk=`` or " +"``-isysroot``, only the SDK itself is searched. The default behavior can " +"still be overridden with ``--with-tcltk-includes`` and ``--with-tcltk-libs``." +msgstr "" + +#: build/NEWS:19740 +msgid ":issue:`35569`: Expose RFC 3542 IPv6 socket options." +msgstr "" + +#: build/NEWS:19745 +msgid "" +":issue:`40479`: Update multissltest helper to test with latest OpenSSL " +"1.0.2, 1.1.0, 1.1.1, and 3.0.0-alpha." +msgstr "" + +#: build/NEWS:19748 +msgid "" +":issue:`40431`: Fix a syntax typo in ``turtledemo`` that now raises a " +"``SyntaxError``." +msgstr "" + +#: build/NEWS:19751 +msgid "" +":issue:`40163`: Fix multissltest tool. OpenSSL has changed download URL for " +"old releases. The multissltest tool now tries to download from current and " +"old download URLs." +msgstr "" + +#: build/NEWS:19758 +msgid "" +":issue:`39465`: Remove the ``_PyUnicode_ClearStaticStrings()`` function from " +"the C API." +msgstr "" + +#: build/NEWS:19761 +msgid "" +":issue:`38787`: Add PyCFunction_CheckExact() macro for exact type checks now " +"that we allow subtypes of PyCFunction, as well as PyCMethod_CheckExact() and " +"PyCMethod_Check() for the new PyCMethod subtype." +msgstr "" + +#: build/NEWS:19765 +msgid "" +":issue:`40545`: Declare ``_PyErr_GetTopmostException()`` with " +"``PyAPI_FUNC()`` to properly export the function in the C API. The function " +"remains private (``_Py``) prefix." +msgstr "" + +#: build/NEWS:19769 +msgid "" +":issue:`40412`: Nullify inittab_copy during finalization, preventing future " +"interpreter initializations in an embedded situation from crashing. Patch by " +"Gregory Szorc." +msgstr "" + +#: build/NEWS:19773 +msgid "" +":issue:`40429`: The :c:func:`PyThreadState_GetFrame` function now returns a " +"strong reference to the frame." +msgstr "" + +#: build/NEWS:19776 +msgid "" +":issue:`40428`: Remove the following functions from the C API. Call :c:func:" +"`PyGC_Collect` explicitly to free all free lists." +msgstr "" + +#: build/NEWS:19779 +msgid "``PyAsyncGen_ClearFreeLists()``" +msgstr "" + +#: build/NEWS:19780 +msgid "``PyContext_ClearFreeList()``" +msgstr "" + +#: build/NEWS:19781 +msgid "``PyDict_ClearFreeList()``" +msgstr "" + +#: build/NEWS:19782 +msgid "``PyFloat_ClearFreeList()``" +msgstr "" + +#: build/NEWS:19783 +msgid "``PyFrame_ClearFreeList()``" +msgstr "" + +#: build/NEWS:19784 +msgid "``PyList_ClearFreeList()``" +msgstr "" + +#: build/NEWS:19785 +msgid "``PySet_ClearFreeList()``" +msgstr "" + +#: build/NEWS:19786 +msgid "``PyTuple_ClearFreeList()``" +msgstr "" + +#: build/NEWS:19788 +msgid "" +":issue:`40421`: New :c:func:`PyFrame_GetBack` function: get the frame next " +"outer frame." +msgstr "" + +#: build/NEWS:19791 +msgid "" +":issue:`40421`: New :c:func:`PyFrame_GetCode` function: return a borrowed " +"reference to the frame code." +msgstr "" + +#: build/NEWS:19794 +msgid "" +":issue:`40217`: Ensure that instances of types created with :c:func:" +"`PyType_FromSpecWithBases` will visit its class object when traversing " +"references in the garbage collector (implemented as an extension of the " +"provided :c:member:`~PyTypeObject.tp_traverse`). Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:19800 +msgid "" +":issue:`38787`: Module C state is now accessible from C-defined heap type " +"methods (:pep:`573`). Patch by Marcel Plch and Petr Viktorin." +msgstr "" + +#: build/NEWS:19805 +msgid "Python 3.9.0 alpha 6" +msgstr "" + +#: build/NEWS:19807 +msgid "*Release date: 2020-04-27*" +msgstr "" + +#: build/NEWS:19812 +msgid ":issue:`40121`: Fixes audit events raised on creating a new socket." +msgstr "" + +#: build/NEWS:19814 +msgid "" +":issue:`39073`: Disallow CR or LF in email.headerregistry.Address arguments " +"to guard against header injection attacks." +msgstr "" + +#: build/NEWS:19817 +msgid "" +":issue:`39503`: :cve:`2020-8492`: The :class:`~urllib.request." +"AbstractBasicAuthHandler` class of the :mod:`urllib.request` module uses an " +"inefficient regular expression which can be exploited by an attacker to " +"cause a denial of service. Fix the regex to prevent the catastrophic " +"backtracking. Vulnerability reported by Ben Caller and Matt Schwager." +msgstr "" + +#: build/NEWS:19827 +msgid ":issue:`40313`: Improve the performance of bytes.hex()." +msgstr "" + +#: build/NEWS:19829 +msgid "" +":issue:`40334`: Switch to a new parser, based on PEG. For more details see " +"PEP 617. To temporarily switch back to the old parser, use ``-X oldparser`` " +"or ``PYTHONOLDPARSER=1``. In Python 3.10 we will remove the old parser " +"completely, including the ``parser`` module (already deprecated) and " +"anything that depends on it." +msgstr "" + +#: build/NEWS:19835 +msgid "" +":issue:`40267`: Fix the tokenizer to display the correct error message, when " +"there is a ``SyntaxError`` on the last input character and no newline " +"follows. It used to be ``unexpected EOF while parsing``, while it should be " +"``invalid syntax``." +msgstr "" + +#: build/NEWS:19840 +msgid "" +":issue:`39522`: Correctly unparse explicit ``u`` prefix for strings when " +"postponed evaluation for annotations activated. Patch by Batuhan Taskaya." +msgstr "" + +#: build/NEWS:19843 +msgid "" +":issue:`40246`: Report a specialized error message, ``invalid string " +"prefix``, when the tokenizer encounters a string with an invalid prefix." +msgstr "" + +#: build/NEWS:19846 +msgid "" +":issue:`40082`: Fix the signal handler: it now always uses the main " +"interpreter, rather than trying to get the current Python thread state." +msgstr "" + +#: build/NEWS:19849 +msgid "" +":issue:`37388`: str.encode() and str.decode() no longer check the encoding " +"and errors in development mode or in debug mode during Python finalization. " +"The codecs machinery can no longer work on very late calls to str.encode() " +"and str.decode()." +msgstr "" + +#: build/NEWS:19854 +msgid "" +":issue:`40077`: Fix possible refleaks in :mod:`!_json`, memo of " +"PyScannerObject should be traversed." +msgstr "" + +#: build/NEWS:19857 +msgid "" +":issue:`37207`: Speed up calls to ``dict()`` by using the :pep:`590` " +"``vectorcall`` calling convention." +msgstr "" + +#: build/NEWS:19860 +msgid "" +":issue:`40141`: Add column and line information to ``ast.keyword`` nodes. " +"Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:19863 +msgid "" +":issue:`1635741`: Port :mod:`resource` to multiphase initialization (:pep:" +"`489`)." +msgstr "" + +#: build/NEWS:19866 +msgid "" +":issue:`1635741`: Port :mod:`math` to multiphase initialization (:pep:`489`)." +msgstr "" + +#: build/NEWS:19868 +msgid "" +":issue:`1635741`: Port _uuid module to multiphase initialization (:pep:" +"`489`)." +msgstr "" + +#: build/NEWS:19870 +msgid ":issue:`40077`: Convert json module to use :c:func:`PyType_FromSpec`." +msgstr "" + +#: build/NEWS:19872 +msgid "" +":issue:`40067`: Improve the error message for multiple star expressions in " +"an assignment. Patch by Furkan Onder" +msgstr "" + +#: build/NEWS:19875 +msgid "" +":issue:`1635741`: Port _functools module to multiphase initialization (PEP " +"489). Patch by Paulo Henrique Silva." +msgstr "" + +#: build/NEWS:19878 +msgid "" +":issue:`1635741`: Port operator module to multiphase initialization (PEP " +"489). Patch by Paulo Henrique Silva." +msgstr "" + +#: build/NEWS:19881 +msgid "" +":issue:`20526`: Fix :c:func:`PyThreadState_Clear()`. ``PyThreadState.frame`` " +"is a borrowed reference, not a strong reference: ``PyThreadState_Clear()`` " +"must not call ``Py_CLEAR(tstate->frame)``." +msgstr "" + +#: build/NEWS:19885 +msgid "" +":issue:`1635741`: Port time module to multiphase initialization (:pep:" +"`489`). Patch by Paulo Henrique Silva." +msgstr "" + +#: build/NEWS:20280 +msgid "" +":issue:`1635741`: Port _weakref extension module to multiphase " +"initialization (:pep:`489`)." +msgstr "" + +#: build/NEWS:19891 +msgid "" +":issue:`40020`: Fix a leak and subsequent crash in parsetok.c caused by " +"realloc misuse on a rare codepath." +msgstr "" + +#: build/NEWS:19894 +msgid "" +":issue:`39939`: Added str.removeprefix and str.removesuffix methods and " +"corresponding bytes, bytearray, and collections.UserString methods to remove " +"affixes from a string if present. See :pep:`616` for a full description. " +"Patch by Dennis Sweeney." +msgstr "" + +#: build/NEWS:19899 +msgid "" +":issue:`39481`: Implement PEP 585. This supports list[int], tuple[str, ...] " +"etc." +msgstr "" + +#: build/NEWS:19902 +msgid "" +":issue:`32894`: Support unparsing of infinity numbers in postponed " +"annotations. Patch by Batuhan Taşkaya." +msgstr "" + +#: build/NEWS:19905 +msgid "" +":issue:`37207`: Speed up calls to ``list()`` by using the :pep:`590` " +"``vectorcall`` calling convention. Patch by Mark Shannon." +msgstr "" + +#: build/NEWS:19911 +msgid "" +":issue:`40398`: :func:`typing.get_args` now always returns an empty tuple " +"for special generic aliases." +msgstr "" + +#: build/NEWS:19914 +msgid "" +":issue:`40396`: Functions :func:`typing.get_origin`, :func:`typing.get_args` " +"and :func:`typing.get_type_hints` support now generic aliases like " +"``list[int]``." +msgstr "" + +#: build/NEWS:19918 +msgid "" +":issue:`38061`: Optimize the :mod:`subprocess` module on FreeBSD using " +"``closefrom()``. A single ``close(fd)`` syscall is cheap, but when " +"``sysconf(_SC_OPEN_MAX)`` is high, the loop calling ``close(fd)`` on each " +"file descriptor can take several milliseconds." +msgstr "" + +#: build/NEWS:19923 +msgid "" +"The workaround on FreeBSD to improve performance was to load and mount the " +"fdescfs kernel module, but this is not enabled by default." +msgstr "" + +#: build/NEWS:19934 +msgid "" +"Initial patch by Ed Maste (emaste), Conrad Meyer (cem), Kyle Evans (kevans) " +"and Kubilay Kocak (koobs): https://bugs.freebsd.org/bugzilla/show_bug.cgi?" +"id=242274" +msgstr "" + +#: build/NEWS:19930 +msgid "" +":issue:`38061`: On FreeBSD, ``os.closerange(fd_low, fd_high)`` now calls " +"``closefrom(fd_low)`` if *fd_high* is greater than or equal to " +"``sysconf(_SC_OPEN_MAX)``." +msgstr "" + +#: build/NEWS:19938 +msgid "" +":issue:`40360`: The :mod:`lib2to3` module is pending deprecation due to :pep:" +"`617`." +msgstr "" + +#: build/NEWS:19941 +msgid "" +":issue:`40138`: Fix the Windows implementation of :func:`os.waitpid` for " +"exit code larger than ``INT_MAX >> 8``. The exit status is now interpreted " +"as an unsigned number." +msgstr "" + +#: build/NEWS:19945 +msgid "" +":issue:`39942`: Set \"__main__\" as the default module name when " +"\"__name__\" is missing in :class:`typing.TypeVar`. Patch by Weipeng Hong." +msgstr "" + +#: build/NEWS:19948 +msgid "" +":issue:`40275`: The :mod:`logging` package is now imported lazily in :mod:" +"`unittest` only when the :meth:`~unittest.TestCase.assertLogs` assertion is " +"used." +msgstr "" + +#: build/NEWS:19952 +msgid "" +":issue:`40275`: The :mod:`asyncio` package is now imported lazily in :mod:" +"`unittest` only when the :class:`~unittest.IsolatedAsyncioTestCase` class is " +"used." +msgstr "" + +#: build/NEWS:19956 +msgid "" +":issue:`40330`: In :meth:`ShareableList.__setitem__`, check the size of a " +"new string item after encoding it to utf-8, not before." +msgstr "" + +#: build/NEWS:19959 +msgid "" +":issue:`40148`: Added :meth:`pathlib.Path.with_stem` to create a new Path " +"with the stem replaced." +msgstr "" + +#: build/NEWS:19962 +msgid ":issue:`40325`: Deprecated support for set objects in random.sample()." +msgstr "" + +#: build/NEWS:19964 +msgid "" +":issue:`40257`: Improved help for the :mod:`typing` module. Docstrings are " +"now shown for all special forms and special generic aliases (like ``Union`` " +"and ``List``). Using ``help()`` with generic alias like ``List[int]`` will " +"show the help for the correspondent concrete type (``list`` in this case)." +msgstr "" + +#: build/NEWS:19969 +msgid "" +":issue:`40257`: :func:`inspect.getdoc` no longer returns docstring inherited " +"from the type of the object or from parent class if it is a class if it is " +"not defined in the object itself. In :mod:`pydoc` the documentation string " +"is now shown not only for class, function, method etc, but for any object " +"that has its own ``__doc__`` attribute." +msgstr "" + +#: build/NEWS:19975 +msgid "" +":issue:`40287`: Fixed ``SpooledTemporaryFile.seek()`` to return the position." +msgstr "" + +#: build/NEWS:19977 +msgid ":issue:`40290`: Added zscore() to statistics.NormalDist()." +msgstr "" + +#: build/NEWS:19979 +msgid "" +":issue:`40282`: Allow ``random.getrandbits(0)`` to succeed and to return 0." +msgstr "" + +#: build/NEWS:19981 +msgid "" +":issue:`40286`: Add :func:`random.randbytes` function and :meth:`random." +"Random.randbytes` method to generate random bytes." +msgstr "" + +#: build/NEWS:19984 +msgid "" +":issue:`40277`: :func:`collections.namedtuple` now provides a human-readable " +"repr for its field accessors." +msgstr "" + +#: build/NEWS:19987 +msgid "" +":issue:`40270`: The included copy of sqlite3 on Windows is now compiled with " +"the json extension. This allows the use of functions such as ``json_object``." +msgstr "" + +#: build/NEWS:19991 +msgid "" +":issue:`29255`: Wait in ``KqueueSelector.select`` when no fds are registered" +msgstr "" + +#: build/NEWS:19993 +msgid "" +":issue:`40260`: Ensure :mod:`modulefinder` uses :func:`io.open_code` and " +"respects coding comments." +msgstr "" + +#: build/NEWS:19996 +msgid "" +":issue:`40234`: Allow again to spawn daemon threads in subinterpreters " +"(revert change which denied them)." +msgstr "" + +#: build/NEWS:19999 +msgid "" +":issue:`39207`: Workers in :class:`~concurrent.futures.ProcessPoolExecutor` " +"are now spawned on demand, only when there are no available idle workers to " +"reuse. This optimizes startup overhead and reduces the amount of lost CPU " +"time to idle workers. Patch by Kyle Stanley." +msgstr "" + +#: build/NEWS:20004 +msgid "" +":issue:`40091`: Fix a hang at fork in the logging module: the new private " +"_at_fork_reinit() method is now used to reinitialize locks at fork in the " +"child process." +msgstr "" + +#: build/NEWS:20008 +msgid "" +":issue:`40149`: Implement traverse and clear slots in _abc._abc_data type." +msgstr "" + +#: build/NEWS:20010 +msgid "" +":issue:`40208`: Remove deprecated :meth:`!symtable.SymbolTable.has_exec`." +msgstr "" + +#: build/NEWS:20012 +msgid "" +":issue:`40196`: Fix a bug in the :mod:`symtable` module that was causing " +"incorrectly report global variables as local. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:20015 +msgid "" +":issue:`40190`: Add support for ``_SC_AIX_REALMEM`` to :func:`posix.sysconf`." +msgstr "" + +#: build/NEWS:20017 +msgid "" +":issue:`40182`: Removed the ``_field_types`` attribute of the :class:`typing." +"NamedTuple` class." +msgstr "" + +#: build/NEWS:20020 +msgid "" +":issue:`36517`: Multiple inheritance with :class:`typing.NamedTuple` now " +"raises an error instead of silently ignoring other types." +msgstr "" + +#: build/NEWS:20023 +msgid "" +":issue:`40126`: Fixed reverting multiple patches in unittest.mock. Patcher's " +"``__exit__()`` is now never called if its ``__enter__()`` is failed. " +"Returning true from ``__exit__()`` silences now the exception." +msgstr "" + +#: build/NEWS:20027 +msgid "" +":issue:`40094`: CGIHTTPRequestHandler of http.server now logs the CGI script " +"exit code, rather than the CGI script exit status of os.waitpid(). For " +"example, if the script is killed by signal 11, it now logs: \"CGI script " +"exit code -11.\"" +msgstr "" + +#: build/NEWS:20032 +msgid "" +":issue:`40108`: Improve the error message when triying to import a module " +"using :mod:`runpy` and incorrectly using the \".py\" extension at the end of " +"the module name. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:20036 +msgid "" +":issue:`40094`: Add :func:`os.waitstatus_to_exitcode` function: convert a " +"wait status to an exit code." +msgstr "" + +#: build/NEWS:20039 +msgid "" +":issue:`40089`: Fix threading._after_fork(): if fork was not called by a " +"thread spawned by threading.Thread, threading._after_fork() now creates a " +"_MainThread instance for _main_thread, instead of a _DummyThread instance." +msgstr "" + +#: build/NEWS:20043 +msgid "" +":issue:`40089`: Add a private ``_at_fork_reinit()`` method to :class:`!" +"_thread.Lock`, :class:`!_thread.RLock`, :class:`threading.RLock` and :class:" +"`threading.Condition` classes: reinitialize the lock at fork in the child " +"process, reset the lock to the unlocked state. Rename also the private " +"``_reset_internal_locks()`` method of :class:`threading.Event` to " +"``_at_fork_reinit()``." +msgstr "" + +#: build/NEWS:20050 +msgid "" +":issue:`25780`: Expose :const:`~socket.CAN_RAW_JOIN_FILTERS` in the :mod:" +"`socket` module." +msgstr "" + +#: build/NEWS:20053 +msgid "" +":issue:`39503`: :class:`~urllib.request.AbstractBasicAuthHandler` of :mod:" +"`urllib.request` now parses all WWW-Authenticate HTTP headers and accepts " +"multiple challenges per header: use the realm of the first Basic challenge." +msgstr "" + +#: build/NEWS:20058 +msgid "" +":issue:`39812`: Removed daemon threads from :mod:`concurrent.futures` by " +"adding an internal ``threading._register_atexit()``, which calls registered " +"functions prior to joining all non-daemon threads. This allows for " +"compatibility with subinterpreters, which don't support daemon threads." +msgstr "" + +#: build/NEWS:20063 +msgid "" +":issue:`40050`: Fix ``importlib._bootstrap_external``: avoid creating a new " +"``winreg`` builtin module if it's already available in :data:`sys.modules`, " +"and remove redundant imports." +msgstr "" + +#: build/NEWS:20067 +msgid "" +":issue:`40014`: Fix ``os.getgrouplist()``: if ``getgrouplist()`` function " +"fails because the group list is too small, retry with a larger group list. " +"On failure, the glibc implementation of ``getgrouplist()`` sets ``ngroups`` " +"to the total number of groups. For other implementations, double the group " +"list size." +msgstr "" + +#: build/NEWS:20073 +msgid "" +":issue:`40017`: Add :const:`time.CLOCK_TAI` constant if the operating system " +"support it." +msgstr "" + +#: build/NEWS:20076 +msgid "" +":issue:`40016`: In re docstring, clarify the relationship between inline and " +"argument compile flags." +msgstr "" + +#: build/NEWS:20079 +msgid "" +":issue:`39953`: Update internal table of OpenSSL error codes in the ``ssl`` " +"module." +msgstr "" + +#: build/NEWS:20082 +msgid "" +":issue:`36144`: Added :pep:`584` operators to :class:`weakref." +"WeakValueDictionary`." +msgstr "" + +#: build/NEWS:20085 +msgid "" +":issue:`36144`: Added :pep:`584` operators to :class:`weakref." +"WeakKeyDictionary`." +msgstr "" + +#: build/NEWS:20088 +msgid "" +":issue:`38891`: Fix linear runtime behaviour of the ``__getitem__`` and " +"``__setitem__`` methods in :class:`multiprocessing.shared_memory." +"ShareableList`. This avoids quadratic performance when iterating a " +"``ShareableList``. Patch by Thomas Krennwallner." +msgstr "" + +#: build/NEWS:20094 +msgid "" +":issue:`39682`: Remove undocumented support for *closing* a ``pathlib.Path`` " +"object via its context manager. The context manager magic methods remain, " +"but they are now a no-op, making ``Path`` objects immutable." +msgstr "" + +#: build/NEWS:20098 +msgid "" +":issue:`36144`: Added :pep:`584` operators (``|`` and ``|=``) to :class:" +"`collections.ChainMap`." +msgstr "" + +#: build/NEWS:20101 +msgid "" +":issue:`39011`: Normalization of line endings in ElementTree attributes was " +"removed, as line endings which were replaced by entity numbers should be " +"preserved in original form." +msgstr "" + +#: build/NEWS:20105 +msgid "" +":issue:`38410`: Properly handle :func:`sys.audit` failures in :func:`sys." +"set_asyncgen_hooks`." +msgstr "" + +#: build/NEWS:20108 +msgid "" +":issue:`36541`: lib2to3 now recognizes named assignment expressions (the " +"walrus operator, ``:=``)" +msgstr "" + +#: build/NEWS:20111 +msgid "" +":issue:`35967`: In platform, delay the invocation of 'uname -p' until the " +"processor attribute is requested." +msgstr "" + +#: build/NEWS:20114 +msgid "" +":issue:`35113`: :meth:`inspect.getsource` now returns correct source code " +"for inner class with same name as module level class. Decorators are also " +"returned as part of source of the class. Patch by Karthikeyan Singaravelan." +msgstr "" + +#: build/NEWS:20119 +msgid "" +":issue:`33262`: Deprecate passing None as an argument for :func:`shlex." +"split`'s ``s`` parameter. Patch by Zackery Spytz." +msgstr "" + +#: build/NEWS:20122 +msgid "" +":issue:`31758`: Prevent crashes when using an uninitialized ``_elementtree." +"XMLParser`` object. Patch by Oren Milman." +msgstr "" + +#: build/NEWS:20128 +msgid "" +":issue:`27635`: The pickle documentation incorrectly claimed that " +"``__new__`` isn't called by default when unpickling." +msgstr "" + +#: build/NEWS:20131 +msgid "" +":issue:`39879`: Updated :ref:`datamodel` docs to include :func:`dict` " +"insertion order preservation. Patch by Furkan Onder and Samy Lahfa." +msgstr "" + +#: build/NEWS:20134 +msgid "" +":issue:`38387`: Document :c:macro:`PyDoc_STRVAR` macro in the C-API " +"reference." +msgstr "" + +#: build/NEWS:20136 +msgid "" +":issue:`13743`: Some methods within xml.dom.minidom.Element class are now " +"better documented." +msgstr "" + +#: build/NEWS:20142 +msgid "" +":issue:`31904`: Set expected default encoding in test_c_locale_coercion.py " +"for VxWorks RTOS." +msgstr "" + +#: build/NEWS:20145 +msgid ":issue:`40162`: Update Travis CI configuration to OpenSSL 1.1.1f." +msgstr "" + +#: build/NEWS:20147 +msgid ":issue:`40146`: Update OpenSSL to 1.1.1f in Azure Pipelines." +msgstr "" + +#: build/NEWS:20149 +msgid ":issue:`40094`: Add :func:`test.support.wait_process` function." +msgstr "" + +#: build/NEWS:20151 +msgid "" +":issue:`40003`: ``test.bisect_cmd`` now copies Python command line options " +"like ``-O`` or ``-W``. Moreover, emit a warning if ``test.bisect_cmd`` is " +"used with ``-w``/``--verbose2`` option." +msgstr "" + +#: build/NEWS:20155 +msgid "" +":issue:`39380`: Add the encoding in :class:`ftplib.FTP` and :class:`ftplib." +"FTP_TLS` to the constructor as keyword-only and change the default from " +"``latin-1`` to ``utf-8`` to follow :rfc:`2640`." +msgstr "" + +#: build/NEWS:20159 +msgid "" +":issue:`39793`: Use the same domain when testing ``make_msgid``. Patch by " +"Batuhan Taskaya." +msgstr "" + +#: build/NEWS:20162 +msgid "" +":issue:`1812`: Fix newline handling in doctest.testfile when loading from a " +"package whose loader has a get_data method. Patch by Peter Donis." +msgstr "" + +#: build/NEWS:20168 +msgid ":issue:`38360`: Support single-argument form of macOS -isysroot flag." +msgstr "" + +#: build/NEWS:20170 +msgid "" +":issue:`40158`: Fix CPython MSBuild Properties in NuGet Package (build/" +"native/python.props)" +msgstr "" + +#: build/NEWS:20173 +msgid "" +":issue:`38527`: Fix configure check on Solaris for \"float word ordering\": " +"sometimes, the correct \"grep\" command was not being used. Patch by Arnon " +"Yaari." +msgstr "" + +#: build/NEWS:20180 +msgid ":issue:`40164`: Updates Windows to OpenSSL 1.1.1f" +msgstr "" + +#: build/NEWS:20182 +msgid "" +":issue:`8901`: Ignore the Windows registry when the ``-E`` option is used." +msgstr "" + +#: build/NEWS:20187 +msgid "" +":issue:`38329`: python.org macOS installers now update the Current version " +"symlink of /Library/Frameworks/Python.framework/Versions for 3.9 installs. " +"Previously, Current was only updated for Python 2.x installs. This should " +"make it easier to embed Python 3 into other macOS applications." +msgstr "" + +#: build/NEWS:20192 +msgid ":issue:`40164`: Update macOS installer builds to use OpenSSL 1.1.1g." +msgstr "" + +#: build/NEWS:20197 +msgid "" +":issue:`38439`: Add a 256×256 pixel IDLE icon to support more modern " +"environments. Created by Andrew Clover. Delete the unused macOS idle.icns " +"icon file." +msgstr "" + +#: build/NEWS:20201 +msgid "" +":issue:`38689`: IDLE will no longer freeze when inspect.signature fails when " +"fetching a calltip." +msgstr "" + +#: build/NEWS:20207 +msgid "" +":issue:`40385`: Removed the checkpyc.py tool. Please see compileall without " +"force mode as a potential alternative." +msgstr "" + +#: build/NEWS:20210 +msgid ":issue:`40179`: Fixed translation of ``#elif`` in Argument Clinic." +msgstr "" + +#: build/NEWS:20212 +msgid "" +":issue:`40094`: Fix ``which.py`` script exit code: it now uses :func:`os." +"waitstatus_to_exitcode` to convert :func:`os.system` exit status into an " +"exit code." +msgstr "" + +#: build/NEWS:20219 +msgid "" +":issue:`40241`: Move the :c:type:`!PyGC_Head` structure to the internal C " +"API." +msgstr "" + +#: build/NEWS:20221 +msgid "" +":issue:`40170`: Convert :c:func:`PyObject_IS_GC` macro to a function to hide " +"implementation details." +msgstr "" + +#: build/NEWS:20224 +msgid "" +":issue:`40241`: Add the functions :c:func:`PyObject_GC_IsTracked` and :c:" +"func:`PyObject_GC_IsFinalized` to the public API to allow to query if Python " +"objects are being currently tracked or have been already finalized by the " +"garbage collector respectively. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:20229 +msgid "" +":issue:`40170`: The :c:func:`!PyObject_NEW` macro becomes an alias to the :c:" +"func:`PyObject_New` macro, and the :c:func:`!PyObject_NEW_VAR` macro becomes " +"an alias to the :c:func:`PyObject_NewVar` macro, to hide implementation " +"details. They no longer access directly the :c:member:`PyTypeObject." +"tp_basicsize` member." +msgstr "" + +#: build/NEWS:20235 +msgid "" +":issue:`40170`: :c:func:`PyType_HasFeature` now always calls :c:func:" +"`PyType_GetFlags` to hide implementation details. Previously, it accessed " +"directly the :c:member:`PyTypeObject.tp_flags` member when the limited C API " +"was not used." +msgstr "" + +#: build/NEWS:20240 +msgid "" +":issue:`40170`: Convert the :c:func:`!PyObject_GET_WEAKREFS_LISTPTR` macro " +"to a function to hide implementation details: the macro accessed directly to " +"the :c:member:`PyTypeObject.tp_weaklistoffset` member." +msgstr "" + +#: build/NEWS:20244 +msgid "" +":issue:`40170`: Convert :c:func:`PyObject_CheckBuffer` macro to a function " +"to hide implementation details: the macro accessed directly the :c:member:" +"`PyTypeObject.tp_as_buffer` member." +msgstr "" + +#: build/NEWS:20248 +msgid "" +":issue:`40170`: Always declare :c:func:`PyIndex_Check` as an opaque function " +"to hide implementation details: remove ``PyIndex_Check()`` macro. The macro " +"accessed directly the :c:member:`PyTypeObject.tp_as_number` member." +msgstr "" + +#: build/NEWS:20252 +msgid "" +":issue:`39947`: Add :c:func:`PyThreadState_GetID` function: get the unique " +"identifier of a Python thread state." +msgstr "" + +#: build/NEWS:20257 +msgid "Python 3.9.0 alpha 5" +msgstr "" + +#: build/NEWS:20259 +msgid "*Release date: 2020-03-23*" +msgstr "" + +#: build/NEWS:20264 +msgid "" +":issue:`38576`: Disallow control characters in hostnames in http.client, " +"addressing :cve:`2019-18348`. Such potentially malicious header injection " +"URLs now cause a InvalidURL to be raised." +msgstr "" + +#: build/NEWS:20271 +msgid "" +":issue:`40010`: Optimize pending calls in multithreaded applications. If a " +"thread different than the main thread schedules a pending call (:c:func:" +"`Py_AddPendingCall`), the bytecode evaluation loop is no longer interrupted " +"at each bytecode instruction to check for pending calls which cannot be " +"executed. Only the main thread can execute pending calls." +msgstr "" + +#: build/NEWS:20277 +msgid "" +"Previously, the bytecode evaluation loop was interrupted at each instruction " +"until the main thread executes pending calls." +msgstr "" + +#: build/NEWS:20283 +msgid "" +":issue:`1635741`: Port _collections module to multiphase initialization (:" +"pep:`489`)." +msgstr "" + +#: build/NEWS:20286 +msgid "" +":issue:`40010`: Optimize signal handling in multithreaded applications. If a " +"thread different than the main thread gets a signal, the bytecode evaluation " +"loop is no longer interrupted at each bytecode instruction to check for " +"pending signals which cannot be handled. Only the main thread of the main " +"interpreter can handle signals." +msgstr "" + +#: build/NEWS:20292 +msgid "" +"Previously, the bytecode evaluation loop was interrupted at each instruction " +"until the main thread handles signals." +msgstr "" + +#: build/NEWS:20295 +msgid "" +":issue:`39984`: If :c:func:`Py_AddPendingCall` is called in a " +"subinterpreter, the function is now scheduled to be called from the " +"subinterpreter, rather than being called from the main interpreter. Each " +"subinterpreter now has its own list of scheduled calls." +msgstr "" + +#: build/NEWS:20300 +msgid ":issue:`1635741`: Port _heapq module to multiphase initialization." +msgstr "" + +#: build/NEWS:20302 +msgid "" +":issue:`1635741`: Port itertools module to multiphase initialization (:pep:" +"`489`)." +msgstr "" + +#: build/NEWS:20305 +msgid "" +":issue:`37207`: Speed up calls to ``frozenset()`` by using the :pep:`590` " +"``vectorcall`` calling convention. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:20308 +msgid "" +":issue:`39984`: subinterpreters: Move ``_PyRuntimeState.ceval." +"tracing_possible`` to ``PyInterpreterState.ceval.tracing_possible``: each " +"interpreter now has its own variable." +msgstr "" + +#: build/NEWS:20313 +msgid "" +":issue:`37207`: Speed up calls to ``set()`` by using the :pep:`590` " +"``vectorcall`` calling convention. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:20316 +msgid "" +":issue:`1635741`: Port _statistics module to multiphase initialization (:pep:" +"`489`)." +msgstr "" + +#: build/NEWS:20319 +msgid "" +":issue:`39968`: Use inline function to replace extension modules' " +"get_module_state macros." +msgstr "" + +#: build/NEWS:20322 +msgid "" +":issue:`39965`: Correctly raise ``SyntaxError`` if *await* is used inside " +"non-async functions and ``PyCF_ALLOW_TOP_LEVEL_AWAIT`` is set (like in the " +"asyncio REPL). Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:20326 +msgid "" +":issue:`39562`: Allow executing asynchronous comprehensions on the top level " +"when the ``PyCF_ALLOW_TOP_LEVEL_AWAIT`` flag is given. Patch by Batuhan " +"Taskaya." +msgstr "" + +#: build/NEWS:20330 +msgid "" +":issue:`37207`: Speed up calls to ``tuple()`` by using the :pep:`590` " +"``vectorcall`` calling convention. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:20333 +msgid "" +":issue:`38373`: Changed list overallocation strategy. It no longer " +"overallocates if the new size is closer to overallocated size than to the " +"old size and adds padding." +msgstr "" + +#: build/NEWS:20337 +msgid ":issue:`39926`: Update Unicode database to Unicode version 13.0.0." +msgstr "" + +#: build/NEWS:20339 +msgid "" +":issue:`19466`: Clear the frames of daemon threads earlier during the Python " +"shutdown to call objects destructors. So \"unclosed file\" resource warnings " +"are now emitted for daemon threads in a more reliable way." +msgstr "" + +#: build/NEWS:20343 +msgid "" +":issue:`38894`: Fix a bug that was causing incomplete results when calling " +"``pathlib.Path.glob`` in the presence of symlinks that point to files where " +"the user does not have read access. Patch by Pablo Galindo and Matt Wozniski." +msgstr "" + +#: build/NEWS:20348 +msgid "" +":issue:`39877`: Fix :c:func:`PyEval_RestoreThread` random crash at exit with " +"daemon threads. It now accesses the ``_PyRuntime`` variable directly instead " +"of using ``tstate->interp->runtime``, since ``tstate`` can be a dangling " +"pointer after :c:func:`Py_Finalize` has been called. Moreover, the daemon " +"thread now exits before trying to take the GIL." +msgstr "" + +#: build/NEWS:20354 +msgid "" +":issue:`39871`: Fix a possible :exc:`SystemError` in ``math.{atan2,copysign," +"remainder}()`` when the first argument cannot be converted to a :class:" +"`float`. Patch by Zackery Spytz." +msgstr "" + +#: build/NEWS:20358 +msgid "" +":issue:`39776`: Fix race condition where threads created by " +"PyGILState_Ensure() could get a duplicate id." +msgstr "" + +#: build/NEWS:20361 +msgid "" +"This affects consumers of tstate->id like the contextvar caching machinery, " +"which could return invalid cached objects under heavy thread load (observed " +"in embedded scenarios)." +msgstr "" + +#: build/NEWS:20365 +msgid "" +":issue:`39778`: Fixed a crash due to incorrect handling of weak references " +"in ``collections.OrderedDict`` classes. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:20368 +msgid "" +":issue:`1635741`: Port audioop extension module to multiphase initialization " +"(:pep:`489`)." +msgstr "" + +#: build/NEWS:20371 +msgid "" +":issue:`39702`: Relax :term:`decorator` grammar restrictions to allow any " +"valid expression (:pep:`614`)." +msgstr "" + +#: build/NEWS:20374 +msgid "" +":issue:`38091`: Tweak import deadlock detection code to not deadlock itself." +msgstr "" + +#: build/NEWS:20376 +msgid "" +":issue:`1635741`: Port _locale extension module to multiphase initialization " +"(:pep:`489`)." +msgstr "" + +#: build/NEWS:20379 +msgid "" +":issue:`39087`: Optimize :c:func:`PyUnicode_AsUTF8` and :c:func:" +"`PyUnicode_AsUTF8AndSize` slightly when they need to create internal UTF-8 " +"cache." +msgstr "" + +#: build/NEWS:20383 +msgid "" +":issue:`39520`: Fix unparsing of ext slices with no items (``foo[:,]``). " +"Patch by Batuhan Taskaya." +msgstr "" + +#: build/NEWS:20386 +msgid "" +":issue:`39220`: Do not optimize annotations if 'from __future__ import " +"annotations' is used. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:20389 +msgid "" +":issue:`35712`: Using :data:`NotImplemented` in a boolean context has been " +"deprecated. Patch contributed by Josh Rosenberg." +msgstr "" + +#: build/NEWS:20392 +msgid "" +":issue:`22490`: Don't leak environment variable ``__PYVENV_LAUNCHER__`` into " +"the interpreter session on macOS." +msgstr "" + +#: build/NEWS:20398 +msgid "" +":issue:`39830`: Add :class:`zipfile.Path` to ``__all__`` in the :mod:" +"`zipfile` module." +msgstr "" + +#: build/NEWS:20401 +msgid "" +":issue:`40000`: Improved error messages for validation of ``ast.Constant`` " +"nodes. Patch by Batuhan Taskaya." +msgstr "" + +#: build/NEWS:20404 +msgid "" +":issue:`39999`: ``__module__`` of the AST node classes is now set to \"ast\" " +"instead of \"_ast\". Added docstrings for dummy AST node classes and " +"deprecated attributes." +msgstr "" + +#: build/NEWS:20408 +msgid "" +":issue:`39991`: :func:`uuid.getnode` now skips IPv6 addresses with the same " +"string length than a MAC address (17 characters): only use MAC addresses." +msgstr "" + +#: build/NEWS:20411 +msgid "" +":issue:`39988`: Deprecated ``ast.AugLoad`` and ``ast.AugStore`` node classes " +"because they are no longer used." +msgstr "" + +#: build/NEWS:20414 +msgid "" +":issue:`39656`: Ensure ``bin/python3.#`` is always present in virtual " +"environments on POSIX platforms - by Anthony Sottile." +msgstr "" + +#: build/NEWS:20417 +msgid "" +":issue:`39969`: Deprecated ``ast.Param`` node class because it's no longer " +"used. Patch by Batuhan Taskaya." +msgstr "" + +#: build/NEWS:20420 +msgid "" +":issue:`39360`: Ensure all workers exit when finalizing a :class:" +"`multiprocessing.Pool` implicitly via the module finalization handlers of " +"multiprocessing. This fixes a deadlock situation that can be experienced " +"when the Pool is not properly finalized via the context manager or a call to " +"``multiprocessing.Pool.terminate``. Patch by Batuhan Taskaya and Pablo " +"Galindo." +msgstr "" + +#: build/NEWS:20427 +msgid "" +":issue:`35370`: sys.settrace(), sys.setprofile() and _lsprof.Profiler." +"enable() now properly report :c:func:`PySys_Audit` error if \"sys." +"setprofile\" or \"sys.settrace\" audit event is denied." +msgstr "" + +#: build/NEWS:20431 +msgid "" +":issue:`39936`: AIX: Fix _aix_support module when the subprocess is not " +"available, when building Python from scratch. It now uses new private " +"_bootsubprocess module, rather than having two implementations depending if " +"subprocess is available or not. So _aix_support.aix_platform() result is now " +"the same if subprocess is available or not." +msgstr "" + +#: build/NEWS:20437 +msgid "" +":issue:`36144`: :class:`collections.OrderedDict` now implements ``|`` and ``|" +"=`` (:pep:`584`)." +msgstr "" + +#: build/NEWS:20440 +msgid "" +":issue:`39652`: The column name found in ``sqlite3.Cursor.description`` is " +"now truncated on the first '[' only if the PARSE_COLNAMES option is set." +msgstr "" + +#: build/NEWS:20443 +msgid "" +":issue:`39915`: Ensure :attr:`unittest.mock.AsyncMock.await_args_list` has " +"call objects in the order of awaited arguments instead of using :attr:" +"`unittest.mock.Mock.call_args` which has the last value of the call. Patch " +"by Karthikeyan Singaravelan." +msgstr "" + +#: build/NEWS:20448 +msgid "" +":issue:`36144`: Updated :data:`os.environ` and :data:`os.environb` to " +"support :pep:`584`'s merge (``|``) and update (``|=``) operators." +msgstr "" + +#: build/NEWS:20451 +msgid "" +":issue:`38662`: The ``ensurepip`` module now invokes ``pip`` via the " +"``runpy`` module. Hence it is no longer tightly coupled with the internal " +"API of the bundled ``pip`` version, allowing easier updates to a newer " +"``pip`` version both internally and for distributors." +msgstr "" + +#: build/NEWS:20456 +msgid "" +":issue:`38075`: Fix the :meth:`random.Random.seed` method when a :class:" +"`bool` is passed as the seed." +msgstr "" + +#: build/NEWS:20459 +msgid "" +":issue:`39916`: More reliable use of ``os.scandir()`` in ``Path.glob()``. It " +"no longer emits a ResourceWarning when interrupted." +msgstr "" + +#: build/NEWS:20462 +msgid "" +":issue:`39850`: :mod:`multiprocessing` now supports abstract socket " +"addresses (if abstract sockets are supported in the running platform). When " +"creating arbitrary addresses (like when default-constructing :class:" +"`multiprocessing.connection.Listener` objects) abstract sockets are " +"preferred to avoid the case when the temporary-file-generated address is too " +"large for an AF_UNIX socket address. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:20469 +msgid "" +":issue:`36287`: :func:`ast.dump` no longer outputs optional fields and " +"attributes with default values. The default values for optional fields and " +"attributes of AST nodes are now set as class attributes (e.g. ``Constant." +"kind`` is set to ``None``)." +msgstr "" + +#: build/NEWS:20474 +msgid "" +":issue:`39889`: Fixed :func:`ast.unparse` for extended slices containing a " +"single element (e.g. ``a[i:j,]``). Remove redundant tuples when index with a " +"tuple (e.g. ``a[i, j]``)." +msgstr "" + +#: build/NEWS:20478 +msgid "" +":issue:`39828`: Fix :mod:`json.tool` to catch :exc:`BrokenPipeError`. Patch " +"by Donghee Na." +msgstr "" + +#: build/NEWS:20481 +msgid "" +":issue:`13487`: Avoid a possible *\"RuntimeError: dictionary changed size " +"during iteration\"* from :func:`inspect.getmodule` when it tried to loop " +"through :data:`sys.modules`." +msgstr "" + +#: build/NEWS:20485 +msgid "" +":issue:`39674`: Revert \":issue:`37330`: open() no longer accept 'U' in file " +"mode\". The \"U\" mode of open() is kept in Python 3.9 to ease transition " +"from Python 2.7, but will be removed in Python 3.10." +msgstr "" + +#: build/NEWS:20489 +msgid "" +":issue:`28577`: The hosts method on 32-bit prefix length IPv4Networks and " +"128-bit prefix IPv6Networks now returns a list containing the single Address " +"instead of an empty list." +msgstr "" + +#: build/NEWS:20493 +msgid "" +":issue:`39826`: Add getConnection method to logging HTTPHandler to enable " +"custom connections." +msgstr "" + +#: build/NEWS:20496 +msgid "" +":issue:`39763`: Reimplement ``distutils.spawn.spawn`` function with the :mod:" +"`subprocess` module." +msgstr "" + +#: build/NEWS:20499 +msgid "" +":issue:`39794`: Add --without-decimal-contextvar build option. This enables " +"a thread-local rather than a coroutine local context." +msgstr "" + +#: build/NEWS:20502 +msgid "" +":issue:`36144`: :class:`collections.defaultdict` now implements ``|`` (:pep:" +"`584`)." +msgstr "" + +#: build/NEWS:20505 +msgid ":issue:`39517`: Fix runpy.run_path() when using pathlike objects" +msgstr "" + +#: build/NEWS:20507 +msgid "" +":issue:`39775`: Change ``inspect.Signature.parameters`` back to " +"``collections.OrderedDict``. This was changed to ``dict`` in Python 3.9.0a4." +msgstr "" + +#: build/NEWS:20511 +msgid "" +":issue:`39678`: Refactor queue_manager in :class:`concurrent.futures." +"ProcessPoolExecutor` to make it easier to maintain." +msgstr "" + +#: build/NEWS:20515 +msgid "" +":issue:`39764`: Fix AttributeError when calling get_stack on a " +"PyAsyncGenObject Task" +msgstr "" + +#: build/NEWS:20518 +msgid "" +":issue:`39769`: The :func:`compileall.compile_dir` function's *ddir* " +"parameter and the compileall command line flag ``-d`` no longer write the " +"wrong pathname to the generated pyc file for submodules beneath the root of " +"the directory tree being compiled. This fixes a regression introduced with " +"Python 3.5." +msgstr "" + +#: build/NEWS:20524 +msgid "" +":issue:`36144`: :class:`types.MappingProxyType` objects now support the " +"merge (``|``) operator from :pep:`584`." +msgstr "" + +#: build/NEWS:20527 +msgid "" +":issue:`38691`: The :mod:`importlib` module now ignores the :envvar:" +"`PYTHONCASEOK` environment variable when the :option:`-E` or :option:`-I` " +"command line options are being used." +msgstr "" + +#: build/NEWS:20531 +msgid "" +":issue:`39719`: Remove :meth:`tempfile.SpooledTemporaryFile.softspace` as " +"files no longer have the ``softspace`` attribute in Python 3. Patch by " +"Shantanu." +msgstr "" + +#: build/NEWS:20534 +msgid "" +":issue:`39667`: Improve pathlib.Path compatibility on zipfile.Path and " +"correct performance degradation as found in zipp 3.0." +msgstr "" + +#: build/NEWS:20537 +msgid "" +":issue:`39638`: Keep ASDL signatures in the docstrings for ``AST`` nodes. " +"Patch by Batuhan Taskaya" +msgstr "" + +#: build/NEWS:20540 +msgid "" +":issue:`39639`: Deprecated ``ast.Suite`` node class because it's no longer " +"used. Patch by Batuhan Taskaya." +msgstr "" + +#: build/NEWS:20543 +msgid ":issue:`39609`: Add thread_name_prefix to default asyncio executor" +msgstr "" + +#: build/NEWS:20545 +msgid "" +":issue:`39548`: Fix handling of header in :class:`urllib.request." +"AbstractDigestAuthHandler` when the optional ``qop`` parameter is not " +"present." +msgstr "" + +#: build/NEWS:20549 +msgid "" +":issue:`39509`: HTTP status codes ``103 EARLY_HINTS`` and ``425 TOO_EARLY`` " +"are added to :class:`http.HTTPStatus`. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:20552 +msgid "" +":issue:`39507`: Adding HTTP status 418 \"I'm a Teapot\" to HTTPStatus in " +"http library. Patch by Ross Rhodes." +msgstr "" + +#: build/NEWS:20555 +msgid "" +":issue:`39495`: Remove default value from *attrs* parameter of :meth:`xml." +"etree.ElementTree.TreeBuilder.start` for consistency between Python and C " +"implementations." +msgstr "" + +#: build/NEWS:20559 +msgid "" +":issue:`38971`: Open issue in the BPO indicated a desire to make the " +"implementation of codecs.open() at parity with io.open(), which implements a " +"try/except to assure file stream gets closed before an exception is raised." +msgstr "" + +#: build/NEWS:20564 +msgid "" +":issue:`38641`: Added starred expressions support to ``return`` and " +"``yield`` statements for ``lib2to3``. Patch by Vlad Emelianov." +msgstr "" + +#: build/NEWS:20567 +msgid "" +":issue:`37534`: When using minidom module to generate XML documents the " +"ability to add Standalone Document Declaration is added. All the changes are " +"made to generate a document in compliance with Extensible Markup Language " +"(XML) 1.0 (Fifth Edition) W3C Recommendation (available here: https://www.w3." +"org/TR/xml/#sec-prolog-dtd)." +msgstr "" + +#: build/NEWS:20573 +msgid "" +":issue:`34788`: Add support for scoped IPv6 addresses to :mod:`ipaddress`. " +"Patch by Oleksandr Pavliuk." +msgstr "" + +#: build/NEWS:20576 +msgid "" +":issue:`34822`: Simplified AST for subscription. Simple indices are now " +"represented by their value, extended slices are represented as tuples. :mod:" +"`ast` classes ``Index`` and ``ExtSlice`` are considered deprecated and will " +"be removed in future Python versions. In the meantime, ``Index(value)`` now " +"returns a ``value`` itself, ``ExtSlice(slices)`` returns ``Tuple(slices, " +"Load())``." +msgstr "" + +#: build/NEWS:20586 +msgid ":issue:`39868`: Updated the Language Reference for :pep:`572`." +msgstr "" + +#: build/NEWS:20588 +msgid ":issue:`13790`: Change 'string' to 'specification' in format doc." +msgstr "" + +#: build/NEWS:20590 +msgid "" +":issue:`17422`: The language reference no longer restricts default class " +"namespaces to dicts only." +msgstr "" + +#: build/NEWS:20593 +msgid "" +":issue:`39530`: Fix misleading documentation about mixed-type numeric " +"comparisons." +msgstr "" + +#: build/NEWS:20596 +msgid "" +":issue:`39718`: Update :mod:`token` documentation to reflect additions in " +"Python 3.8" +msgstr "" + +#: build/NEWS:20599 +msgid "" +":issue:`39677`: Changed operand name of **MAKE_FUNCTION** from *argc* to " +"*flags* for module :mod:`dis`" +msgstr "" + +#: build/NEWS:20605 +msgid "" +":issue:`40019`: test_gdb now skips tests if it detects that gdb failed to " +"read debug information because the Python binary is optimized." +msgstr "" + +#: build/NEWS:20608 +msgid "" +":issue:`27807`: ``test_site.test_startup_imports()`` is now skipped if a " +"path of :data:`sys.path` contains a ``.pth`` file." +msgstr "" + +#: build/NEWS:20611 +msgid "" +":issue:`26067`: Do not fail test_shutil test_chown test when uid or gid of " +"user cannot be resolved to a name." +msgstr "" + +#: build/NEWS:20614 +msgid "" +":issue:`39855`: test_subprocess.test_user() now skips the test on an user " +"name if the user name doesn't exist. For example, skip the test if the user " +"\"nobody\" doesn't exist on Linux." +msgstr "" + +#: build/NEWS:20621 +msgid ":issue:`39761`: Fix build with DTrace but without additional DFLAGS." +msgstr "" + +#: build/NEWS:20623 +msgid "" +":issue:`39763`: setup.py now uses a basic implementation of the :mod:" +"`subprocess` module if the :mod:`subprocess` module is not available: before " +"required C extension modules are built." +msgstr "" + +#: build/NEWS:20627 +msgid "" +":issue:`1294959`: Add ``--with-platlibdir`` option to the configure script: " +"name of the platform-specific library directory, stored in the new :data:" +"`sys.platlibdir` attribute. It is used to build the path of platform-" +"specific extension modules and the path of the standard library. It is equal " +"to ``\"lib\"`` on most platforms. On Fedora and SuSE, it is equal to " +"``\"lib64\"`` on 64-bit platforms. Patch by Jan Matějek, Matěj Cepl, " +"Charalampos Stratakis and Victor Stinner." +msgstr "" + +#: build/NEWS:20638 +msgid "" +":issue:`39930`: Ensures the required :file:`vcruntime140.dll` is included in " +"install packages." +msgstr "" + +#: build/NEWS:20641 +msgid "" +":issue:`39847`: Avoid hang when computer is hibernated whilst waiting for a " +"mutex (for lock-related objects from :mod:`threading`) around 49-day uptime." +msgstr "" + +#: build/NEWS:20645 +msgid "" +":issue:`38597`: ``distutils`` will no longer statically link :file:" +"`vcruntime140.dll` when a redistributable version is unavailable. All future " +"releases of CPython will include a copy of this DLL to ensure distributed " +"extensions can continue to load." +msgstr "" + +#: build/NEWS:20650 +msgid ":issue:`38380`: Update Windows builds to use SQLite 3.31.1" +msgstr "" + +#: build/NEWS:20652 +msgid "" +":issue:`39789`: Update Windows release build machines to Visual Studio 2019 " +"(MSVC 14.2)." +msgstr "" + +#: build/NEWS:20655 +msgid "" +":issue:`34803`: Package for nuget.org now includes repository reference and " +"bundled icon image." +msgstr "" + +#: build/NEWS:20661 +msgid ":issue:`38380`: Update macOS builds to use SQLite 3.31.1" +msgstr "" + +#: build/NEWS:20666 +msgid "" +":issue:`27115`: For 'Go to Line', use a Query box subclass with IDLE " +"standard behavior and improved error checking." +msgstr "" + +#: build/NEWS:20669 +msgid "" +":issue:`39885`: Since clicking to get an IDLE context menu moves the cursor, " +"any text selection should be and now is cleared." +msgstr "" + +#: build/NEWS:20672 +msgid "" +":issue:`39852`: Edit \"Go to line\" now clears any selection, preventing " +"accidental deletion. It also updates Ln and Col on the status bar." +msgstr "" + +#: build/NEWS:20675 +msgid ":issue:`39781`: Selecting code context lines no longer causes a jump." +msgstr "" + +#: build/NEWS:20680 +msgid "" +":issue:`36184`: Port python-gdb.py to FreeBSD. python-gdb.py now checks for " +"\"take_gil\" function name to check if a frame tries to acquire the GIL, " +"instead of checking for \"pthread_cond_timedwait\" which is specific to " +"Linux and can be a different condition than the GIL." +msgstr "" + +#: build/NEWS:20685 +msgid "" +":issue:`38080`: Added support to fix ``getproxies`` in the :mod:`!lib2to3." +"fixes.fix_urllib` module. Patch by José Roberto Meza Cabrera." +msgstr "" + +#: build/NEWS:20692 +msgid "" +":issue:`40024`: Add :c:func:`PyModule_AddType` helper function: add a type " +"to a module. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:20695 +msgid "" +":issue:`39946`: Remove ``_PyRuntime.getframe`` hook and remove " +"``_PyThreadState_GetFrame`` macro which was an alias to ``_PyRuntime." +"getframe``. They were only exposed by the internal C API. Remove also " +"``PyThreadFrameGetter`` type." +msgstr "" + +#: build/NEWS:20700 +msgid "" +":issue:`39947`: Add :c:func:`PyThreadState_GetFrame` function: get the " +"current frame of a Python thread state." +msgstr "" + +#: build/NEWS:20703 +msgid "" +":issue:`37207`: Add _PyArg_NoKwnames helper function. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:20705 +msgid "" +":issue:`39947`: Add :c:func:`PyThreadState_GetInterpreter`: get the " +"interpreter of a Python thread state." +msgstr "" + +#: build/NEWS:20708 +msgid "" +":issue:`39947`: Add :c:func:`PyInterpreterState_Get` function to the limited " +"C API." +msgstr "" + +#: build/NEWS:20711 +msgid "" +":issue:`35370`: If :c:func:`PySys_Audit` fails in :c:func:" +"`PyEval_SetProfile` or :c:func:`PyEval_SetTrace`, log the error as an " +"unraisable exception." +msgstr "" + +#: build/NEWS:20714 +msgid "" +":issue:`39947`: Move the static inline function flavor of " +"Py_EnterRecursiveCall() and Py_LeaveRecursiveCall() to the internal C API: " +"they access PyThreadState attributes. The limited C API provides regular " +"functions which hide implementation details." +msgstr "" + +#: build/NEWS:20719 +msgid "" +":issue:`39947`: Py_TRASHCAN_BEGIN_CONDITION and Py_TRASHCAN_END macro no " +"longer access PyThreadState attributes, but call new private " +"_PyTrash_begin() and _PyTrash_end() functions which hide implementation " +"details." +msgstr "" + +#: build/NEWS:20723 +msgid "" +":issue:`39884`: :c:func:`PyDescr_NewMethod` and :c:func:`PyCFunction_NewEx` " +"now include the method name in the SystemError \"bad call flags\" error " +"message to ease debug." +msgstr "" + +#: build/NEWS:20727 +msgid "" +":issue:`39877`: Deprecated :c:func:`!PyEval_InitThreads` and :c:func:`!" +"PyEval_ThreadsInitialized`. Calling :c:func:`!PyEval_InitThreads` now does " +"nothing." +msgstr "" + +#: build/NEWS:20731 +msgid "" +":issue:`38249`: :c:macro:`Py_UNREACHABLE` is now implemented with " +"``__builtin_unreachable()`` and analogs in release mode." +msgstr "" + +#: build/NEWS:20734 +msgid "" +":issue:`38643`: :c:func:`PyNumber_ToBase` now raises a :exc:`SystemError` " +"instead of crashing when called with invalid base." +msgstr "" + +#: build/NEWS:20737 +msgid "" +":issue:`39882`: The :c:func:`Py_FatalError` function is replaced with a " +"macro which logs automatically the name of the current function, unless the " +"``Py_LIMITED_API`` macro is defined." +msgstr "" + +#: build/NEWS:20741 +msgid "" +":issue:`39824`: Extension modules: :c:member:`~PyModuleDef.m_traverse`, :c:" +"member:`~PyModuleDef.m_clear` and :c:member:`~PyModuleDef.m_free` functions " +"of :c:type:`PyModuleDef` are no longer called if the module state was " +"requested but is not allocated yet. This is the case immediately after the " +"module is created and before the module is executed (:c:data:`Py_mod_exec` " +"function). More precisely, these functions are not called if :c:member:" +"`~PyModuleDef.m_size` is greater than 0 and the module state (as returned " +"by :c:func:`PyModule_GetState`) is ``NULL``." +msgstr "" + +#: build/NEWS:20750 +msgid "" +"Extension modules without module state (``m_size <= 0``) are not affected." +msgstr "" + +#: build/NEWS:20752 +msgid "" +":issue:`38913`: Fixed segfault in ``Py_BuildValue()`` called with a format " +"containing \"#\" and undefined PY_SSIZE_T_CLEAN whwn an exception is set." +msgstr "" + +#: build/NEWS:20755 +msgid "" +":issue:`38500`: Add a private API to get and set the frame evaluation " +"function: add :c:func:`_PyInterpreterState_GetEvalFrameFunc` and :c:func:" +"`_PyInterpreterState_SetEvalFrameFunc` C functions. The :c:type:" +"`_PyFrameEvalFunction` function type now takes a *tstate* parameter." +msgstr "" + +#: build/NEWS:20763 +msgid "Python 3.9.0 alpha 4" +msgstr "" + +#: build/NEWS:20765 +msgid "*Release date: 2020-02-25*" +msgstr "" + +#: build/NEWS:20770 +msgid "" +":issue:`39184`: Add audit events to functions in ``fcntl``, ``msvcrt``, " +"``os``, ``resource``, ``shutil``, ``signal`` and ``syslog``." +msgstr "" + +#: build/NEWS:20773 +msgid "" +":issue:`39401`: Avoid unsafe DLL load at startup on Windows 7 and earlier." +msgstr "" + +#: build/NEWS:20775 +msgid "" +":issue:`39184`: Add audit events to command execution functions in os and " +"pty modules." +msgstr "" + +#: build/NEWS:20781 +msgid "" +":issue:`39382`: Fix a use-after-free in the single inheritance path of " +"``issubclass()``, when the ``__bases__`` of an object has a single " +"reference, and so does its first item. Patch by Yonatan Goldschmidt." +msgstr "" + +#: build/NEWS:20785 +msgid "" +":issue:`39573`: Update clinic tool to use :c:func:`Py_IS_TYPE`. Patch by " +"Donghee Na." +msgstr "" + +#: build/NEWS:20788 +msgid ":issue:`39619`: Enable use of :func:`os.chroot` on HP-UX systems." +msgstr "" + +#: build/NEWS:20790 +msgid "" +":issue:`39573`: Add :c:func:`Py_IS_TYPE` static inline function to check " +"whether the object *o* type is *type*." +msgstr "" + +#: build/NEWS:20793 +msgid "" +":issue:`39606`: Fix regression caused by fix for :issue:`39386`, that " +"prevented calling ``aclose`` on an async generator that had already been " +"closed or exhausted." +msgstr "" + +#: build/NEWS:20797 +msgid "" +":issue:`39579`: Change the ending column offset of ``Attribute`` nodes " +"constructed in ``ast_for_dotted_name`` to point at the end of the current " +"node and not at the end of the last ``NAME`` node." +msgstr "" + +#: build/NEWS:20801 +msgid "" +":issue:`1635741`: Port _crypt extension module to multiphase initialization " +"(:pep:`489`)." +msgstr "" + +#: build/NEWS:20804 +msgid "" +":issue:`1635741`: Port _contextvars extension module to multiphase " +"initialization (:pep:`489`)." +msgstr "" + +#: build/NEWS:20807 +msgid "" +":issue:`39510`: Fix segfault in ``readinto()`` method on closed " +"BufferedReader." +msgstr "" + +#: build/NEWS:20809 +msgid "" +":issue:`39502`: Fix :func:`time.localtime` on 64-bit AIX to support years " +"before 1902 and after 2038. Patch by M Felt." +msgstr "" + +#: build/NEWS:20812 +msgid "" +":issue:`39492`: Fix a reference cycle in the C Pickler that was preventing " +"the garbage collection of deleted, pickled objects." +msgstr "" + +#: build/NEWS:20815 +msgid "" +":issue:`39453`: Fixed a possible crash in :meth:`list.__contains__` when a " +"list is changed during comparing items. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:20818 +msgid "" +":issue:`39434`: :term:`floor division` of float operation now has a better " +"performance. Also the message of :exc:`ZeroDivisionError` for this operation " +"is updated. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:20822 +msgid "" +":issue:`1635741`: Port _codecs extension module to multiphase initialization " +"(:pep:`489`)." +msgstr "" + +#: build/NEWS:20825 +msgid "" +":issue:`1635741`: Port _bz2 extension module to multiphase initialization (:" +"pep:`489`)." +msgstr "" + +#: build/NEWS:20828 +msgid "" +":issue:`1635741`: Port _abc extension module to multiphase initialization (:" +"pep:`489`)." +msgstr "" + +#: build/NEWS:20831 +msgid "" +":issue:`39320`: Replace two complex bytecodes for building dicts with two " +"simpler ones. The new bytecodes ``DICT_MERGE`` and ``DICT_UPDATE`` have been " +"added The old bytecodes ``BUILD_MAP_UNPACK`` and " +"``BUILD_MAP_UNPACK_WITH_CALL`` have been removed." +msgstr "" + +#: build/NEWS:20836 +msgid "" +":issue:`39219`: Syntax errors raised in the tokenizer now always set correct " +"\"text\" and \"offset\" attributes." +msgstr "" + +#: build/NEWS:20839 +msgid "" +":issue:`36051`: Drop the GIL during large ``bytes.join`` operations. Patch " +"by Bruce Merry." +msgstr "" + +#: build/NEWS:20842 +msgid "" +":issue:`38960`: Fix DTrace build issues on FreeBSD. Patch by David Carlier." +msgstr "" + +#: build/NEWS:20844 +msgid "" +":issue:`37207`: Speed up calls to ``range()`` by about 30%, by using the PEP " +"590 ``vectorcall`` calling convention. Patch by Mark Shannon." +msgstr "" + +#: build/NEWS:20847 +msgid "" +":issue:`36144`: :class:`dict` (and :class:`collections.UserDict`) objects " +"now support PEP 584's merge (``|``) and update (``|=``) operators. Patch by " +"Brandt Bucher." +msgstr "" + +#: build/NEWS:20851 +msgid "" +":issue:`32856`: Optimized the idiom for assignment a temporary variable in " +"comprehensions. Now ``for y in [expr]`` in comprehensions is as fast as a " +"simple assignment ``y = expr``." +msgstr "" + +#: build/NEWS:20858 +msgid "" +":issue:`30566`: Fix :exc:`IndexError` when trying to decode an invalid " +"string with punycode codec." +msgstr "" + +#: build/NEWS:20861 +msgid "" +":issue:`39649`: Remove obsolete check for ``__args__`` in ``bdb.Bdb." +"format_stack_entry``." +msgstr "" + +#: build/NEWS:20864 +msgid "" +":issue:`39648`: Expanded :func:`math.gcd` and :func:`math.lcm` to handle " +"multiple arguments." +msgstr "" + +#: build/NEWS:20867 +msgid "" +":issue:`39681`: Fix a regression where the C pickle module wouldn't allow " +"unpickling from a file-like object that doesn't expose a readinto() method." +msgstr "" + +#: build/NEWS:20871 +msgid "" +":issue:`35950`: Raise :exc:`io.UnsupportedOperation` in :meth:`io." +"BufferedReader.truncate` when it is called on a read-only :class:`io." +"BufferedReader` instance." +msgstr "" + +#: build/NEWS:20875 +msgid ":issue:`39479`: Add :func:`math.lcm` function: least common multiple." +msgstr "" + +#: build/NEWS:20877 +msgid "" +":issue:`39674`: Revert \"Do not expose abstract collection classes in the " +"collections module\" change (:issue:`25988`). Aliases to ABC like " +"collections.Mapping are kept in Python 3.9 to ease transition from Python " +"2.7, but will be removed in Python 3.10." +msgstr "" + +#: build/NEWS:20882 +msgid "" +":issue:`39104`: Fix hanging ProcessPoolExcutor on ``shutdown(wait=False)`` " +"when a task has failed pickling." +msgstr "" + +#: build/NEWS:20885 +msgid ":issue:`39627`: Fixed TypedDict totality check for inherited keys." +msgstr "" + +#: build/NEWS:20887 +msgid "" +":issue:`39474`: Fixed starting position of AST for expressions like ``(a)" +"(b)``, ``(a)[b]`` and ``(a).b``." +msgstr "" + +#: build/NEWS:20890 +msgid "" +":issue:`21016`: The :mod:`pydoc` and :mod:`trace` modules now use the :mod:" +"`sysconfig` module to get the path to the Python standard library, to " +"support uncommon installation path like ``/usr/lib64/python3.9/`` on Fedora. " +"Patch by Jan Matějek." +msgstr "" + +#: build/NEWS:20895 +msgid "" +":issue:`39590`: Collections.deque now holds strong references during deque." +"__contains__ and deque.count, fixing crashes." +msgstr "" + +#: build/NEWS:20898 +msgid "" +":issue:`39586`: The distutils ``bdist_msi`` command is deprecated in Python " +"3.9, use ``bdist_wheel`` (wheel packages) instead." +msgstr "" + +#: build/NEWS:20901 +msgid "" +":issue:`39595`: Improved performance of zipfile.Path for files with a large " +"number of entries. Also improved performance and fixed minor issue as " +"published with `importlib_metadata 1.5 <https://importlib-metadata." +"readthedocs.io/en/latest/history.html#v1-5-0>`_." +msgstr "" + +#: build/NEWS:20906 +msgid "" +":issue:`39350`: Fix regression in :class:`fractions.Fraction` if the " +"numerator and/or the denominator is an :class:`int` subclass. The :func:" +"`math.gcd` function is now used to normalize the *numerator* and " +"*denominator*. :func:`math.gcd` always return a :class:`int` type. " +"Previously, the GCD type depended on *numerator* and *denominator*." +msgstr "" + +#: build/NEWS:20912 +msgid "" +":issue:`39567`: Added audit for :func:`os.walk`, :func:`os.fwalk`, :meth:" +"`pathlib.Path.glob` and :meth:`pathlib.Path.rglob`." +msgstr "" + +#: build/NEWS:20915 +msgid "" +":issue:`39559`: Remove unused, undocumented argument ``getters`` from :func:" +"`uuid.getnode`" +msgstr "" + +#: build/NEWS:20918 +msgid "" +":issue:`38149`: :func:`sys.audit` is now called only once per call of :func:" +"`glob.glob` and :func:`glob.iglob`." +msgstr "" + +#: build/NEWS:20921 +msgid "" +":issue:`39546`: Fix a regression in :class:`~argparse.ArgumentParser` where " +"``allow_abbrev=False`` was ignored for long options that used a prefix " +"character other than \"-\"." +msgstr "" + +#: build/NEWS:20925 +msgid "" +":issue:`39450`: Striped whitespace from docstring before returning it from :" +"func:`unittest.case.shortDescription`." +msgstr "" + +#: build/NEWS:20928 +msgid "" +":issue:`12915`: A new function ``resolve_name`` has been added to the " +"``pkgutil`` module. This resolves a string of the form ``'a.b.c.d'`` or ``'a." +"b:c.d'`` to an object. In the example, ``a.b`` is a package/module and ``c." +"d`` is an object within that package/module reached via recursive attribute " +"access." +msgstr "" + +#: build/NEWS:20934 +msgid "" +":issue:`39353`: The :func:`binascii.crc_hqx` function is no longer " +"deprecated." +msgstr "" + +#: build/NEWS:20936 +msgid ":issue:`39493`: Mark ``typing.IO.closed`` as a property" +msgstr "" + +#: build/NEWS:20938 +msgid "" +":issue:`39491`: Add :data:`typing.Annotated` and ``include_extras`` " +"parameter to :func:`typing.get_type_hints` as part of :pep:`593`. Patch by " +"Till Varoquaux, documentation by Till Varoquaux and Konstantin Kashin." +msgstr "" + +#: build/NEWS:20942 +msgid "" +":issue:`39485`: Fix a bug in :func:`unittest.mock.create_autospec` that " +"would complain about the wrong number of arguments for custom descriptors " +"defined in an extension module returning functions." +msgstr "" + +#: build/NEWS:20946 +msgid "" +":issue:`38932`: Mock fully resets child objects on reset_mock(). Patch by " +"Vegard Stikbakke" +msgstr "" + +#: build/NEWS:20949 +msgid ":issue:`39082`: Allow AsyncMock to correctly patch static/class methods" +msgstr "" + +#: build/NEWS:20951 +msgid "" +":issue:`39432`: Implement PEP-489 algorithm for non-ascii \"PyInit\\_...\" " +"symbol names in distutils to make it export the correct init symbol also on " +"Windows." +msgstr "" + +#: build/NEWS:20955 +msgid "" +":issue:`18819`: Omit ``devmajor`` and ``devminor`` fields for non-device " +"files in :mod:`tarfile` archives, enabling bit-for-bit compatibility with " +"GNU ``tar(1)``." +msgstr "" + +#: build/NEWS:20959 +msgid "" +":issue:`39349`: Added a new *cancel_futures* parameter to :meth:`concurrent." +"futures.Executor.shutdown` that cancels all pending futures which have not " +"started running, instead of waiting for them to complete before shutting " +"down the executor." +msgstr "" + +#: build/NEWS:20964 +msgid "" +":issue:`39274`: ``bool(fraction.Fraction)`` now returns a boolean even if " +"(numerator != 0) does not return a boolean (ex: numpy number)." +msgstr "" + +#: build/NEWS:20967 +msgid "" +":issue:`34793`: Remove support for ``with (await asyncio.lock):`` and ``with " +"(yield from asyncio.lock):``. The same is correct for ``asyncio.Condition`` " +"and ``asyncio.Semaphore``." +msgstr "" + +#: build/NEWS:20971 +msgid "" +":issue:`25597`: Ensure, if ``wraps`` is supplied to :class:`unittest.mock." +"MagicMock`, it is used to calculate return values for the magic methods " +"instead of using the default return values. Patch by Karthikeyan " +"Singaravelan." +msgstr "" + +#: build/NEWS:20976 +msgid "" +":issue:`36350`: ``inspect.Signature.parameters`` and ``inspect." +"BoundArguments.arguments`` are now dicts instead of OrderedDicts. Patch " +"contributed by Rémi Lapeyre." +msgstr "" + +#: build/NEWS:20980 +msgid "" +":issue:`35727`: Fix sys.exit() and sys.exit(None) exit code propagation when " +"used in multiprocessing.Process." +msgstr "" + +#: build/NEWS:20983 +msgid "" +":issue:`32173`: * Add ``lazycache`` function to ``__all__``. * Use ``dict." +"clear`` to clear the cache. * Refactoring ``getline`` function and " +"``checkcache`` function." +msgstr "" + +#: build/NEWS:20990 +msgid "" +":issue:`17422`: The language reference now specifies restrictions on class " +"namespaces. Adapted from a patch by Ethan Furman." +msgstr "" + +#: build/NEWS:20993 +msgid "" +":issue:`39572`: Updated documentation of ``total`` flag of ``TypedDict``." +msgstr "" + +#: build/NEWS:20995 +msgid "" +":issue:`39654`: In pyclbr doc, update 'class' to 'module' where appropriate " +"and add readmodule comment. Patch by Hakan Çelik." +msgstr "" + +#: build/NEWS:20998 +msgid "" +":issue:`39153`: Clarify refcounting semantics for the following functions: - " +"PyObject_SetItem - PyMapping_SetItemString - PyDict_SetItem - " +"PyDict_SetItemString" +msgstr "" + +#: build/NEWS:21002 +msgid "" +":issue:`39392`: Explain that when filling with turtle, overlap regions may " +"be left unfilled." +msgstr "" + +#: build/NEWS:21005 +msgid "" +":issue:`39369`: Update mmap readline method description. The fact that the " +"readline method does update the file position should not be ignored since " +"this might give the impression for the programmer that it doesn't update it." +msgstr "" + +#: build/NEWS:21010 +msgid ":issue:`9056`: Include subsection in TOC for PDF version of docs." +msgstr "" + +#: build/NEWS:21015 +msgid ":issue:`38325`: Skip tests on non-BMP characters of test_winconsoleio." +msgstr "" + +#: build/NEWS:21017 +msgid "" +":issue:`39502`: Skip test_zipfile.test_add_file_after_2107() if :func:`time." +"localtime` fails with :exc:`OverflowError`. It is the case on AIX 6.1 for " +"example." +msgstr "" + +#: build/NEWS:21024 +msgid ":issue:`39489`: Remove ``COUNT_ALLOCS`` special build." +msgstr "" + +#: build/NEWS:21029 +msgid ":issue:`39553`: Delete unused code related to SxS manifests." +msgstr "" + +#: build/NEWS:21031 +msgid "" +":issue:`39439`: Honor the Python path when a virtualenv is active on Windows." +msgstr "" + +#: build/NEWS:21033 +msgid "" +":issue:`39393`: Improve the error message when attempting to load a DLL with " +"unresolved dependencies." +msgstr "" + +#: build/NEWS:21036 +msgid "" +":issue:`38883`: :meth:`~pathlib.Path.home` and :meth:`~pathlib.Path." +"expanduser` on Windows now prefer :envvar:`USERPROFILE` and no longer use :" +"envvar:`HOME`, which is not normally set for regular user accounts. This " +"makes them again behave like :func:`os.path.expanduser`, which was changed " +"to ignore :envvar:`HOME` in 3.8, see :issue:`36264`." +msgstr "" + +#: build/NEWS:21042 +msgid "" +":issue:`39185`: The build.bat script has additional options for very-quiet " +"output (-q) and very-verbose output (-vv)" +msgstr "" + +#: build/NEWS:21048 +msgid ":issue:`39663`: Add tests for pyparse find_good_parse_start()." +msgstr "" + +#: build/NEWS:21050 +msgid "" +":issue:`39600`: In the font configuration window, remove duplicated font " +"names." +msgstr "" + +#: build/NEWS:21052 +msgid "" +":issue:`30780`: Add remaining configdialog tests for buttons and highlights " +"and keys tabs." +msgstr "" + +#: build/NEWS:21055 +msgid ":issue:`39388`: IDLE Settings Cancel button now cancels pending changes" +msgstr "" + +#: build/NEWS:21057 +msgid "" +":issue:`38792`: Close an IDLE shell calltip if a :exc:`KeyboardInterrupt` or " +"shell restart occurs. Patch by Zackery Spytz." +msgstr "" + +#: build/NEWS:21063 +msgid "" +":issue:`35081`: Move the ``bytes_methods.h`` header file to the internal C " +"API as ``pycore_bytes_methods.h``: it only contains private symbols " +"(prefixed by ``_Py``), except of the ``PyDoc_STRVAR_shared()`` macro." +msgstr "" + +#: build/NEWS:21067 +msgid "" +":issue:`35081`: Move the ``dtoa.h`` header file to the internal C API as " +"``pycore_dtoa.h``: it only contains private functions (prefixed by ``_Py``). " +"The :mod:`math` and :mod:`cmath` modules must now be compiled with the " +"``Py_BUILD_CORE`` macro defined." +msgstr "" + +#: build/NEWS:21072 +msgid "" +":issue:`39573`: Add :c:func:`Py_SET_SIZE` function to set the size of an " +"object." +msgstr "" + +#: build/NEWS:21075 +msgid "" +":issue:`39500`: :c:func:`PyUnicode_IsIdentifier` does not call :c:func:" +"`Py_FatalError` anymore if the string is not ready." +msgstr "" + +#: build/NEWS:21078 +msgid "" +":issue:`39573`: Add :c:func:`Py_SET_TYPE` function to set the type of an " +"object." +msgstr "" + +#: build/NEWS:21081 +msgid "" +":issue:`39573`: Add a :c:func:`Py_SET_REFCNT` function to set the reference " +"counter of an object." +msgstr "" + +#: build/NEWS:21084 +msgid "" +":issue:`39542`: Convert :c:func:`PyType_HasFeature`, :c:func:`PyType_Check` " +"and :c:func:`PyType_CheckExact` macros to static inline functions." +msgstr "" + +#: build/NEWS:21087 +msgid "" +":issue:`39542`: In the limited C API, ``PyObject_INIT()`` and " +"``PyObject_INIT_VAR()`` are now defined as aliases to :c:func:" +"`PyObject_Init` and :c:func:`PyObject_InitVar` to make their implementation " +"opaque. It avoids to leak implementation details in the limited C API. " +"Exclude the following functions from the limited C API: " +"``_Py_NewReference()``, ``_Py_ForgetReference()``, " +"``_PyTraceMalloc_NewReference()`` and ``_Py_GetRefTotal()``." +msgstr "" + +#: build/NEWS:21095 +msgid "" +":issue:`39542`: Exclude trashcan mechanism from the limited C API: it " +"requires access to PyTypeObject and PyThreadState structure fields, whereas " +"these structures are opaque in the limited C API." +msgstr "" + +#: build/NEWS:21099 +msgid "" +":issue:`39511`: The :c:func:`PyThreadState_Clear` function now calls the :c:" +"member:`PyThreadState.on_delete` callback. Previously, that happened in :c:" +"func:`PyThreadState_Delete`." +msgstr "" + +#: build/NEWS:21103 +msgid "" +":issue:`38076`: Fix to clear the interpreter state only after clearing " +"module globals to guarantee module state access from C Extensions during " +"runtime destruction" +msgstr "" + +#: build/NEWS:21107 +msgid "" +":issue:`39245`: The Vectorcall API (PEP 590) was made public, adding the " +"functions ``PyObject_Vectorcall``, ``PyObject_VectorcallMethod``, " +"``PyVectorcall_Function``, ``PyObject_CallOneArg``, " +"``PyObject_CallMethodNoArgs``, ``PyObject_CallMethodOneArg``, " +"``PyObject_FastCallDict``, and the flag ``Py_TPFLAGS_HAVE_VECTORCALL``." +msgstr "" + +#: build/NEWS:21115 +msgid "Python 3.9.0 alpha 3" +msgstr "" + +#: build/NEWS:21117 +msgid "*Release date: 2020-01-24*" +msgstr "" + +#: build/NEWS:21122 +msgid "" +":issue:`39427`: Document all possibilities for the ``-X`` options in the " +"command line help section. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:21125 +msgid "" +":issue:`39421`: Fix possible crashes when operating with the functions in " +"the :mod:`heapq` module and custom comparison operators." +msgstr "" + +#: build/NEWS:21128 +msgid ":issue:`39386`: Prevent double awaiting of async iterator." +msgstr "" + +#: build/NEWS:21130 +msgid "" +":issue:`17005`: Add :class:`functools.TopologicalSorter` to the :mod:" +"`functools` module to offers functionality to perform topological sorting of " +"graphs. Patch by Pablo Galindo, Tim Peters and Larry Hastings." +msgstr "" + +#: build/NEWS:21134 +msgid "" +":issue:`39320`: Replace four complex bytecodes for building sequences with " +"three simpler ones." +msgstr "" + +#: build/NEWS:21137 +msgid "The following four bytecodes have been removed:" +msgstr "" + +#: build/NEWS:21139 +msgid "BUILD_LIST_UNPACK" +msgstr "" + +#: build/NEWS:21140 +msgid "BUILD_TUPLE_UNPACK" +msgstr "" + +#: build/NEWS:21141 +msgid "BUILD_SET_UNPACK" +msgstr "" + +#: build/NEWS:21142 +msgid "BUILD_TUPLE_UNPACK_WITH_CALL" +msgstr "" + +#: build/NEWS:21144 +msgid "The following three bytecodes have been added:" +msgstr "" + +#: build/NEWS:21146 +msgid "LIST_TO_TUPLE" +msgstr "" + +#: build/NEWS:21147 +msgid "LIST_EXTEND" +msgstr "" + +#: build/NEWS:21148 +msgid "SET_UPDATE" +msgstr "" + +#: build/NEWS:21150 +msgid "" +":issue:`39336`: Import loaders which publish immutable module objects can " +"now publish immutable packages in addition to individual modules." +msgstr "" + +#: build/NEWS:21153 +msgid "" +":issue:`39322`: Added a new function :func:`gc.is_finalized` to check if an " +"object has been finalized by the garbage collector. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:21157 +msgid "" +":issue:`39048`: Improve the displayed error message when incorrect types are " +"passed to ``async with`` statements by looking up the :meth:`__aenter__` " +"special method before the :meth:`__aexit__` special method when entering an " +"asynchronous context manager. Patch by Géry Ogam." +msgstr "" + +#: build/NEWS:21162 +msgid "" +":issue:`39235`: Fix AST end location for lone generator expression in " +"function call, e.g. f(i for i in a)." +msgstr "" + +#: build/NEWS:21165 +msgid "" +":issue:`39209`: Correctly handle multi-line tokens in interactive mode. " +"Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:21168 +msgid "" +":issue:`1635741`: Port _json extension module to multiphase initialization (:" +"pep:`489`)." +msgstr "" + +#: build/NEWS:21171 +msgid "" +":issue:`39216`: Fix constant folding optimization for positional only " +"arguments - by Anthony Sottile." +msgstr "" + +#: build/NEWS:21174 +msgid "" +":issue:`39215`: Fix ``SystemError`` when nested function has annotation on " +"positional-only argument - by Anthony Sottile." +msgstr "" + +#: build/NEWS:21177 +msgid "" +":issue:`39200`: Correct the error message when calling the :func:`min` or :" +"func:`max` with no arguments. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:21180 +msgid "" +":issue:`39200`: Correct the error message when trying to construct :class:" +"`range` objects with no arguments. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:21183 +msgid "" +":issue:`39166`: Fix incorrect line execution reporting in trace functions " +"when tracing the last iteration of asynchronous for loops. Patch by Pablo " +"Galindo." +msgstr "" + +#: build/NEWS:21187 +msgid "" +":issue:`39114`: Fix incorrect line execution reporting in trace functions " +"when tracing exception handlers with name binding. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:21190 +msgid "" +":issue:`39156`: Split the COMPARE_OP bytecode instruction into four distinct " +"instructions." +msgstr "" + +#: build/NEWS:21193 +msgid "COMPARE_OP for rich comparisons" +msgstr "" + +#: build/NEWS:21194 +msgid "IS_OP for 'is' and 'is not' tests" +msgstr "" + +#: build/NEWS:21195 +msgid "CONTAINS_OP for 'in' and 'is not' tests" +msgstr "" + +#: build/NEWS:21196 +msgid "" +"JUMP_IF_NOT_EXC_MATCH for checking exceptions in 'try-except' statements." +msgstr "" + +#: build/NEWS:21198 +msgid "" +"This improves the clarity of the interpreter and should provide a modest " +"speedup." +msgstr "" + +#: build/NEWS:21201 +msgid "" +":issue:`38588`: Fix possible crashes in dict and list when calling :c:func:" +"`PyObject_RichCompareBool`." +msgstr "" + +#: build/NEWS:21204 +msgid "" +":issue:`13601`: By default, ``sys.stderr`` is line-buffered now, even if " +"``stderr`` is redirected to a file. You can still make ``sys.stderr`` " +"unbuffered by passing the :option:`-u` command-line option or setting the :" +"envvar:`PYTHONUNBUFFERED` environment variable." +msgstr "" + +#: build/NEWS:21209 +msgid "(Contributed by Jendrik Seipp in :issue:`13601`.)" +msgstr "" + +#: build/NEWS:21211 +msgid "" +":issue:`38610`: Fix possible crashes in several list methods by holding " +"strong references to list elements when calling :c:func:" +"`PyObject_RichCompareBool`." +msgstr "" + +#: build/NEWS:21215 +msgid ":issue:`32021`: Include brotli .br encoding in mimetypes encodings_map" +msgstr "" + +#: build/NEWS:21220 +msgid ":issue:`39430`: Fixed race condition in lazy imports in :mod:`tarfile`." +msgstr "" + +#: build/NEWS:21222 +msgid "" +":issue:`39413`: The :func:`os.unsetenv` function is now also available on " +"Windows." +msgstr "" + +#: build/NEWS:21225 +msgid "" +":issue:`39390`: Fixed a regression with the ``ignore`` callback of :func:" +"`shutil.copytree`. The argument types are now ``str`` and ``List[str]`` " +"again." +msgstr "" + +#: build/NEWS:21229 +msgid "" +":issue:`39395`: The :func:`os.putenv` and :func:`os.unsetenv` functions are " +"now always available." +msgstr "" + +#: build/NEWS:21232 +msgid "" +":issue:`39406`: If ``setenv()`` C function is available, :func:`os.putenv` " +"is now implemented with ``setenv()`` instead of ``putenv()``, so Python " +"doesn't have to handle the environment variable memory." +msgstr "" + +#: build/NEWS:21236 +msgid ":issue:`39396`: Fix ``math.nextafter(-0.0, +0.0)`` on AIX 7.1." +msgstr "" + +#: build/NEWS:21238 +msgid "" +":issue:`29435`: Allow :func:`tarfile.is_tarfile` to be used with file and " +"file-like objects, like :func:`zipfile.is_zipfile`. Patch by William " +"Woodruff." +msgstr "" + +#: build/NEWS:21242 +msgid "" +":issue:`39377`: Removed ``encoding`` option from :func:`json.loads`. It has " +"been deprecated since Python 3.1." +msgstr "" + +#: build/NEWS:21245 +msgid "" +":issue:`39389`: Write accurate compression level metadata in :mod:`gzip` " +"archives, rather than always signaling maximum compression." +msgstr "" + +#: build/NEWS:21248 +msgid "" +":issue:`39366`: The previously deprecated ``xpath()`` and ``xgtitle()`` " +"methods of :class:`nntplib.NNTP` have been removed." +msgstr "" + +#: build/NEWS:21251 +msgid "" +":issue:`39357`: Remove the *buffering* parameter of :class:`bz2.BZ2File`. " +"Since Python 3.0, it was ignored and using it was emitting :exc:" +"`DeprecationWarning`. Pass an open file object, to control how the file is " +"opened. The *compresslevel* parameter becomes keyword-only." +msgstr "" + +#: build/NEWS:21256 +msgid "" +":issue:`39353`: Deprecate binhex4 and hexbin4 standards. Deprecate the :mod:" +"`binhex` module and the following :mod:`binascii` functions: :func:" +"`~binascii.b2a_hqx`, :func:`~binascii.a2b_hqx`, :func:`~binascii." +"rlecode_hqx`, :func:`~binascii.rledecode_hqx`, :func:`~binascii.crc_hqx`." +msgstr "" + +#: build/NEWS:21262 +msgid "" +":issue:`39351`: Remove ``base64.encodestring()`` and ``base64." +"decodestring()``, aliases deprecated since Python 3.1: use :func:`base64." +"encodebytes` and :func:`base64.decodebytes` instead." +msgstr "" + +#: build/NEWS:21266 +msgid "" +":issue:`39350`: Remove ``fractions.gcd()`` function, deprecated since Python " +"3.5 (:issue:`22486`): use :func:`math.gcd` instead." +msgstr "" + +#: build/NEWS:21269 +msgid "" +":issue:`39329`: :class:`~smtplib.LMTP` constructor now has an optional " +"*timeout* parameter. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:21272 +msgid "" +":issue:`39313`: Add a new ``exec_function`` option (*--exec-function* in the " +"CLI) to ``RefactoringTool`` for making ``exec`` a function. Patch by Batuhan " +"Taskaya." +msgstr "" + +#: build/NEWS:21276 +msgid "" +":issue:`39259`: :class:`~ftplib.FTP_TLS` and :class:`~ftplib.FTP_TLS` now " +"raise a :class:`ValueError` if the given timeout for their constructor is " +"zero to prevent the creation of a non-blocking socket. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:21280 +msgid "" +":issue:`39259`: :class:`~smtplib.SMTP` and :class:`~smtplib.SMTP_SSL` now " +"raise a :class:`ValueError` if the given timeout for their constructor is " +"zero to prevent the creation of a non-blocking socket. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:21284 +msgid "" +":issue:`39310`: Add :func:`math.ulp`: return the value of the least " +"significant bit of a float." +msgstr "" + +#: build/NEWS:21287 +msgid "" +":issue:`39297`: Improved performance of importlib.metadata distribution " +"discovery and resilients to inaccessible sys.path entries " +"(importlib_metadata v1.4.0)." +msgstr "" + +#: build/NEWS:21291 +msgid "" +":issue:`39259`: :class:`~nntplib.NNTP` and :class:`~nntplib.NNTP_SSL` now " +"raise a :class:`ValueError` if the given timeout for their constructor is " +"zero to prevent the creation of a non-blocking socket. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:21295 +msgid "" +":issue:`38901`: When you specify prompt='.' or equivalently python -m venv --" +"prompt . ... the basename of the current directory is used to set the " +"created venv's prompt when it's activated." +msgstr "" + +#: build/NEWS:21299 +msgid "" +":issue:`39288`: Add :func:`math.nextafter`: return the next floating-point " +"value after *x* towards *y*." +msgstr "" + +#: build/NEWS:21302 +msgid "" +":issue:`39259`: :class:`~poplib.POP3` and :class:`~poplib.POP3_SSL` now " +"raise a :class:`ValueError` if the given timeout for their constructor is " +"zero to prevent the creation of a non-blocking socket. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:21306 +msgid "" +":issue:`39242`: Updated the Gmane domain from news.gmane.org to news.gmane." +"io which is used for examples of :class:`~nntplib.NNTP` news reader server " +"and nntplib tests." +msgstr "" + +#: build/NEWS:21310 +msgid "" +":issue:`35292`: Proxy the ``SimpleHTTPRequestHandler.guess_type`` to " +"``mimetypes.guess_type`` so the ``mimetypes.init`` is called lazily to avoid " +"unnecessary costs when :mod:`http.server` module is imported." +msgstr "" + +#: build/NEWS:21314 +msgid "" +":issue:`39239`: The :meth:`select.epoll.unregister` method no longer ignores " +"the :data:`~errno.EBADF` error." +msgstr "" + +#: build/NEWS:21317 +msgid "" +":issue:`38907`: In http.server script, restore binding to IPv4 on Windows." +msgstr "" + +#: build/NEWS:21319 +msgid "" +":issue:`39152`: Fix ttk.Scale.configure([name]) to return configuration " +"tuple for name or all options. Giovanni Lombardo contributed part of the " +"patch." +msgstr "" + +#: build/NEWS:21322 +msgid "" +":issue:`39198`: If an exception were to be thrown in ``Logger.isEnabledFor`` " +"(say, by asyncio timeouts or stopit) , the ``logging`` global lock may not " +"be released appropriately, resulting in deadlock. This change wraps that " +"block of code with ``try...finally`` to ensure the lock is released." +msgstr "" + +#: build/NEWS:21327 +msgid "" +":issue:`39191`: Perform a check for running loop before starting a new task " +"in ``loop.run_until_complete()`` to fail fast; it prevents the side effect " +"of new task spawning before exception raising." +msgstr "" + +#: build/NEWS:21331 +msgid "" +":issue:`38871`: Correctly parenthesize filter-based statements that contain " +"lambda expressions in :mod:`lib2to3`. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:21334 +msgid "" +":issue:`39142`: A change was made to logging.config.dictConfig to avoid " +"converting instances of named tuples to ConvertingTuple. It's assumed that " +"named tuples are too specialised to be treated like ordinary tuples; if a " +"user of named tuples requires ConvertingTuple functionality, they will have " +"to implement that themselves in their named tuple class." +msgstr "" + +#: build/NEWS:21340 +msgid ":issue:`39158`: ast.literal_eval() now supports empty sets." +msgstr "" + +#: build/NEWS:21342 +msgid ":issue:`39129`: Fix import path for ``asyncio.TimeoutError``" +msgstr "" + +#: build/NEWS:21344 +msgid "" +":issue:`39057`: :func:`urllib.request.proxy_bypass_environment` now ignores " +"leading dots and no longer ignores a trailing newline." +msgstr "" + +#: build/NEWS:21347 +msgid "" +":issue:`39056`: Fixed handling invalid warning category in the -W option. " +"No longer import the re module if it is not needed." +msgstr "" + +#: build/NEWS:21350 +msgid "" +":issue:`39055`: :func:`base64.b64decode` with ``validate=True`` raises now a " +"binascii.Error if the input ends with a single ``\\n``." +msgstr "" + +#: build/NEWS:21353 +msgid "" +":issue:`21600`: Fix :func:`mock.patch.stopall` to stop active patches that " +"were created with :func:`mock.patch.dict`." +msgstr "" + +#: build/NEWS:21356 +msgid "" +":issue:`39019`: Implement dummy ``__class_getitem__`` for :class:`tempfile." +"SpooledTemporaryFile`." +msgstr "" + +#: build/NEWS:21359 +msgid "" +":issue:`39019`: Implement dummy ``__class_getitem__`` for ``subprocess." +"Popen``, ``subprocess.CompletedProcess``" +msgstr "" + +#: build/NEWS:21362 +msgid "" +":issue:`38914`: Adjusted the wording of the warning issued by distutils' " +"``check`` command when the ``author`` and ``maintainer`` fields are supplied " +"but no corresponding e-mail field (``author_email`` or ``maintainer_email``) " +"is found. The wording now reflects the fact that these fields are suggested, " +"but not required. Patch by Juergen Gmach." +msgstr "" + +#: build/NEWS:21368 +msgid "" +":issue:`38878`: Fixed __subclasshook__ of :class:`os.PathLike` to return a " +"correct result upon inheritance. Patch by Bar Harel." +msgstr "" + +#: build/NEWS:21371 +msgid "" +":issue:`38615`: :class:`~imaplib.IMAP4` and :class:`~imaplib.IMAP4_SSL` now " +"have an optional *timeout* parameter for their constructors. Also, the :meth:" +"`~imaplib.IMAP4.open` method now has an optional *timeout* parameter with " +"this change. The overridden methods of :class:`~imaplib.IMAP4_SSL` and :" +"class:`~imaplib.IMAP4_stream` were applied to this change. Patch by Donghee " +"Na." +msgstr "" + +#: build/NEWS:21378 +msgid "" +":issue:`35182`: Fixed :func:`Popen.communicate` subsequent call crash when " +"the child process has already closed any piped standard stream, but still " +"continues to be running. Patch by Andriy Maletsky." +msgstr "" + +#: build/NEWS:21382 +msgid "" +":issue:`38630`: On Unix, :meth:`subprocess.Popen.send_signal` now polls the " +"process status. Polling reduces the risk of sending a signal to the wrong " +"process if the process completed, the :attr:`subprocess.Popen.returncode` " +"attribute is still ``None``, and the pid has been reassigned (recycled) to a " +"new different process." +msgstr "" + +#: build/NEWS:21388 +msgid "" +":issue:`38536`: Removes trailing space in formatted currency with " +"``international=True`` and a locale with symbol following value. E.g. " +"``locale.currency(12.34, international=True)`` returned ``'12,34 EUR '`` " +"instead of ``'12,34 EUR'``." +msgstr "" + +#: build/NEWS:21393 +msgid "" +":issue:`38473`: Use signature from inner mock for autospecced methods " +"attached with :func:`unittest.mock.attach_mock`. Patch by Karthikeyan " +"Singaravelan." +msgstr "" + +#: build/NEWS:21396 +msgid "" +":issue:`38361`: Fixed an issue where ``ident`` could include a leading path " +"separator when :func:`syslog.openlog` was called without arguments." +msgstr "" + +#: build/NEWS:21399 +msgid "" +":issue:`38293`: Add :func:`copy.copy` and :func:`copy.deepcopy` support to :" +"func:`property` objects." +msgstr "" + +#: build/NEWS:21402 +msgid "" +":issue:`37958`: Added the pstats.Stats.get_profile_dict() method to return " +"the profile data as a StatsProfile instance." +msgstr "" + +#: build/NEWS:21405 +msgid "" +":issue:`28367`: Termios magic constants for the following baud rates: - " +"B500000 - B576000 - B921600 - B1000000 - B1152000 - B1500000 - " +"B2000000 - B2500000 - B3000000 - B3500000 - B4000000 Patch by Andrey " +"Smirnov" +msgstr "" + +#: build/NEWS:21413 +msgid "" +":issue:`39381`: Mention in docs that :func:`asyncio.get_event_loop` " +"implicitly creates new event loop only if called from the main thread." +msgstr "" + +#: build/NEWS:21416 +msgid "" +":issue:`38918`: Add an entry for ``__module__`` in the \"function\" & " +"\"method\" sections of the :mod:`inspect` docs' :ref:`inspect-types` table." +msgstr "" + +#: build/NEWS:21419 +msgid "" +":issue:`3530`: In the :mod:`ast` module documentation, fix a misleading " +"``NodeTransformer`` example and add advice on when to use the " +"``fix_missing_locations`` function." +msgstr "" + +#: build/NEWS:21426 +msgid "" +":issue:`39395`: On non-Windows platforms, the :c:func:`setenv` and :c:func:" +"`unsetenv` functions are now required to build Python." +msgstr "" + +#: build/NEWS:21429 +msgid "" +":issue:`39160`: Updated the documentation in ``./configure --help`` to show " +"default values, reference documentation where required and add additional " +"explanation where needed." +msgstr "" + +#: build/NEWS:21433 +msgid "" +":issue:`39144`: The ctags and etags build targets both include Modules/" +"_ctypes and Python standard library source files." +msgstr "" + +#: build/NEWS:21439 +msgid ":issue:`39050`: Make IDLE Settings dialog Help button work again." +msgstr "" + +#: build/NEWS:21441 +msgid "" +":issue:`34118`: Tag memoryview, range, and tuple as classes, the same as " +"list, etcetera, in the library manual built-in functions list." +msgstr "" + +#: build/NEWS:21444 +msgid "" +":issue:`32989`: Add tests for editor newline_and_indent_event method. Remove " +"dead code from pyparse find_good_parse_start method." +msgstr "" + +#: build/NEWS:21450 +msgid "" +":issue:`39372`: Clean header files of interfaces defined but with no " +"implementation. The public API symbols being removed are: " +"``_PyBytes_InsertThousandsGroupingLocale``, " +"``_PyBytes_InsertThousandsGrouping``, ``_Py_InitializeFromArgs``, " +"``_Py_InitializeFromWideArgs``, ``_PyFloat_Repr``, ``_PyFloat_Digits``, " +"``_PyFloat_DigitsInit``, ``PyFrame_ExtendStack``, ``_PyAIterWrapper_Type``, " +"``PyNullImporter_Type``, ``PyCmpWrapper_Type``, ``PySortWrapper_Type``, " +"``PyNoArgsFunction``." +msgstr "" + +#: build/NEWS:21459 +msgid "" +":issue:`39164`: Add a private ``_PyErr_GetExcInfo()`` function to retrieve " +"exception information of the specified Python thread state." +msgstr "" + +#: build/NEWS:21464 +msgid "Python 3.9.0 alpha 2" +msgstr "" + +#: build/NEWS:21466 +msgid "*Release date: 2019-12-18*" +msgstr "" + +#: build/NEWS:21471 +msgid "" +":issue:`38945`: Newline characters have been escaped when performing uu " +"encoding to prevent them from overflowing into to content section of the " +"encoded file. This prevents malicious or accidental modification of data " +"during the decoding process." +msgstr "" + +#: build/NEWS:21476 +msgid "" +":issue:`37228`: Due to significant security concerns, the *reuse_address* " +"parameter of :meth:`asyncio.loop.create_datagram_endpoint` is no longer " +"supported. This is because of the behavior of ``SO_REUSEADDR`` in UDP. For " +"more details, see the documentation for ``loop.create_datagram_endpoint()``. " +"(Contributed by Kyle Stanley, Antoine Pitrou, and Yury Selivanov in :issue:" +"`37228`.)" +msgstr "" + +#: build/NEWS:21483 +msgid "" +":issue:`38804`: Fixes a ReDoS vulnerability in :mod:`http.cookiejar`. Patch " +"by Ben Caller." +msgstr "" + +#: build/NEWS:21489 +msgid "" +":issue:`39028`: Slightly improve the speed of keyword argument parsing with " +"many kwargs by strengthening the assumption that kwargs are interned strings." +msgstr "" + +#: build/NEWS:21493 +msgid "" +":issue:`39080`: Fix the value of *end_col_offset* for Starred Expression AST " +"nodes when they are among the elements in the *args* attribute of Call AST " +"nodes." +msgstr "" + +#: build/NEWS:21497 +msgid "" +":issue:`39031`: When parsing an \"elif\" node, lineno and col_offset of the " +"node now point to the \"elif\" keyword and not to its condition, making it " +"consistent with the \"if\" node. Patch by Lysandros Nikolaou." +msgstr "" + +#: build/NEWS:21501 +msgid "" +":issue:`20443`: In Python 3.9.0a1, sys.argv[0] was made an absolute path if " +"a filename was specified on the command line. Revert this change, since most " +"users expect sys.argv to be unmodified." +msgstr "" + +#: build/NEWS:21505 +msgid "" +":issue:`39008`: :c:func:`PySys_Audit` now requires ``Py_ssize_t`` to be used " +"for size arguments in the format string, regardless of whether " +"``PY_SSIZE_T_CLEAN`` was defined at include time." +msgstr "" + +#: build/NEWS:21509 +msgid "" +":issue:`38673`: In REPL mode, don't switch to PS2 if the line starts with " +"comment or whitespace. Based on work by Batuhan Taşkaya." +msgstr "" + +#: build/NEWS:21512 +msgid "" +":issue:`38922`: Calling ``replace`` on a code object now raises the ``code." +"__new__`` audit event." +msgstr "" + +#: build/NEWS:21515 +msgid "" +":issue:`38920`: Add audit hooks for when :func:`sys.excepthook` and :func:" +"`sys.unraisablehook` are invoked." +msgstr "" + +#: build/NEWS:21518 +msgid "" +":issue:`38892`: Improve documentation for audit events table and functions." +msgstr "" + +#: build/NEWS:21520 +msgid "" +":issue:`38852`: Set the thread stack size to 8 Mb for debug builds on " +"android platforms." +msgstr "" + +#: build/NEWS:21523 +msgid "" +":issue:`38858`: Each Python subinterpreter now has its own \"small integer " +"singletons\": numbers in [-5; 257] range. It is no longer possible to change " +"the number of small integers at build time by overriding ``NSMALLNEGINTS`` " +"and ``NSMALLPOSINTS`` macros: macros should now be modified manually in " +"``pycore_pystate.h`` header file." +msgstr "" + +#: build/NEWS:21529 +msgid "" +":issue:`36854`: The garbage collector state becomes per interpreter " +"(``PyInterpreterState.gc``), rather than being global (``_PyRuntimeState." +"gc``)." +msgstr "" + +#: build/NEWS:21533 +msgid "" +":issue:`38835`: The ``PyFPE_START_PROTECT()`` and ``PyFPE_END_PROTECT()`` " +"macros are empty: they have been doing nothing for the last year, so stop " +"using them." +msgstr "" + +#: build/NEWS:21537 +msgid "" +":issue:`38328`: Sped up the creation time of constant :class:`list` and :" +"class:`set` displays. Patch by Brandt Bucher." +msgstr "" + +#: build/NEWS:21540 +msgid "" +":issue:`38707`: ``MainThread.native_id`` is now correctly reset in child " +"processes spawned using :class:`multiprocessing.Process`, instead of " +"retaining the parent's value." +msgstr "" + +#: build/NEWS:21544 +msgid "" +":issue:`38629`: Added ``__floor__`` and ``__ceil__`` methods to float " +"object. Patch by Batuhan Taşkaya." +msgstr "" + +#: build/NEWS:21547 +msgid "" +":issue:`27145`: int + int and int - int operators can now return small " +"integer singletons. Patch by hongweipeng." +msgstr "" + +#: build/NEWS:21550 +msgid "" +":issue:`38021`: Provide a platform tag for AIX that is sufficient for PEP425 " +"binary distribution identification. Patch by Michael Felt." +msgstr "" + +#: build/NEWS:21553 +msgid "" +":issue:`35409`: Ignore GeneratorExit exceptions when throwing an exception " +"into the aclose coroutine of an asynchronous generator." +msgstr "" + +#: build/NEWS:21556 +msgid "" +":issue:`33387`: Removed WITH_CLEANUP_START, WITH_CLEANUP_FINISH, " +"BEGIN_FINALLY, END_FINALLY, CALL_FINALLY and POP_FINALLY bytecodes. Replaced " +"with RERAISE and WITH_EXCEPT_START bytecodes. The compiler now generates " +"different code for exceptional and non-exceptional branches for 'with' and " +"'try-except' statements. For 'try-finally' statements the 'finally' block is " +"replicated for each exit from the 'try' body." +msgstr "" + +#: build/NEWS:21566 +msgid "" +":issue:`39033`: Fix :exc:`NameError` in :mod:`zipimport`. Patch by " +"Karthikeyan Singaravelan." +msgstr "" + +#: build/NEWS:21569 +msgid "" +":issue:`39022`: Update importlib.metadata to include improvements from " +"importlib_metadata 1.3 including better serialization of EntryPoints and " +"improved documentation for custom finders." +msgstr "" + +#: build/NEWS:21573 +msgid "" +":issue:`39006`: Fix asyncio when the ssl module is missing: only check for " +"ssl.SSLSocket instance if the ssl module is available." +msgstr "" + +#: build/NEWS:21576 +msgid "" +":issue:`38708`: Fix a potential IndexError in email parser when parsing an " +"empty msg-id." +msgstr "" + +#: build/NEWS:21579 +msgid "" +":issue:`38698`: Add a new ``InvalidMessageID`` token to email parser to " +"represent invalid Message-ID headers. Also, add defects when there is " +"remaining value after parsing the header." +msgstr "" + +#: build/NEWS:21583 +msgid "" +":issue:`38994`: Implement ``__class_getitem__`` for ``os.PathLike``, " +"``pathlib.Path``." +msgstr "" + +#: build/NEWS:21586 +msgid "" +":issue:`38979`: Return class from ``ContextVar.__class_getitem__`` to " +"simplify subclassing." +msgstr "" + +#: build/NEWS:21589 +msgid "" +":issue:`38978`: Implement ``__class_getitem__`` on asyncio objects (Future, " +"Task, Queue). Patch by Batuhan Taskaya." +msgstr "" + +#: build/NEWS:21592 +msgid "" +":issue:`38916`: :class:`array.array`: Remove ``tostring()`` and " +"``fromstring()`` methods. They were aliases to ``tobytes()`` and " +"``frombytes()``, deprecated since Python 3.2." +msgstr "" + +#: build/NEWS:21596 +msgid "" +":issue:`38986`: Make repr of C accelerated TaskWakeupMethWrapper the same as " +"of pure Python version." +msgstr "" + +#: build/NEWS:21599 +msgid "" +":issue:`38982`: Fix asyncio ``PidfdChildWatcher``: handle ``waitpid()`` " +"error. If ``waitpid()`` is called elsewhere, ``waitpid()`` call fails with :" +"exc:`ChildProcessError`: use return code 255 in this case, and log a " +"warning. It ensures that the pidfd file descriptor is closed if this error " +"occurs." +msgstr "" + +#: build/NEWS:21605 +msgid "" +":issue:`38529`: Drop too noisy asyncio warning about deletion of a stream " +"without explicit ``.close()`` call." +msgstr "" + +#: build/NEWS:21608 +msgid "" +":issue:`27413`: Added ability to pass through ``ensure_ascii`` options to " +"json.dumps in the ``json.tool`` command-line interface." +msgstr "" + +#: build/NEWS:21611 +msgid "" +":issue:`38634`: The :mod:`readline` module now detects if Python is linked " +"to libedit at runtime on all platforms. Previously, the check was only done " +"on macOS." +msgstr "" + +#: build/NEWS:21615 +msgid "" +":issue:`33684`: Fix ``json.tool`` failed to read a JSON file with non-ASCII " +"characters when locale encoding is not UTF-8." +msgstr "" + +#: build/NEWS:21618 +msgid "" +":issue:`38698`: Prevent UnboundLocalError to pop up in parse_message_id." +msgstr "" + +#: build/NEWS:21620 +msgid "" +"parse_message_id() was improperly using a token defined inside an exception " +"handler, which was raising ``UnboundLocalError`` on parsing an invalid " +"value. Patch by Claudiu Popa." +msgstr "" + +#: build/NEWS:21624 +msgid "" +":issue:`38927`: Use ``python -m pip`` instead of ``pip`` to upgrade " +"dependencies in venv." +msgstr "" + +#: build/NEWS:21627 +msgid "" +":issue:`26730`: Fix ``SpooledTemporaryFile.rollover()`` might corrupt the " +"file when it is in text mode. Patch by Serhiy Storchaka." +msgstr "" + +#: build/NEWS:21630 +msgid "" +":issue:`38881`: random.choices() now raises a ValueError when all the " +"weights are zero." +msgstr "" + +#: build/NEWS:21633 +msgid "" +":issue:`38876`: Raise pickle.UnpicklingError when loading an item from memo " +"for invalid input." +msgstr "" + +#: build/NEWS:21636 +msgid "" +"The previous code was raising a ``KeyError`` for both the Python and C " +"implementation. This was caused by the specified index of an invalid input " +"which did not exist in the memo structure, where the pickle stores what " +"objects it has seen. The malformed input would have caused either a " +"``BINGET`` or ``LONG_BINGET`` load from the memo, leading to a ``KeyError`` " +"as the determined index was bogus. Patch by Claudiu Popa." +msgstr "" + +#: build/NEWS:21643 +msgid "" +":issue:`38688`: Calling func:``shutil.copytree`` to copy a directory tree " +"from one directory to another subdirectory resulted in an endless loop and a " +"RecursionError. A fix was added to consume an iterator and create the list " +"of the entries to be copied, avoiding the recursion for newly created " +"directories. Patch by Bruno P. Kinoshita." +msgstr "" + +#: build/NEWS:21649 +msgid "" +":issue:`38863`: Improve :func:`is_cgi` function in :mod:`http.server`, which " +"enables processing the case that cgi directory is a child of another " +"directory other than root." +msgstr "" + +#: build/NEWS:21653 +msgid "" +":issue:`37838`: :meth:`typing.get_type_hints` properly handles functions " +"decorated with :meth:`functools.wraps`." +msgstr "" + +#: build/NEWS:21656 +msgid "" +":issue:`38870`: Expose :func:`ast.unparse` as a function of the :mod:`ast` " +"module that can be used to unparse an :class:`ast.AST` object and produce a " +"string with code that would produce an equivalent :class:`ast.AST` object " +"when parsed. Patch by Pablo Galindo and Batuhan Taskaya." +msgstr "" + +#: build/NEWS:21661 +msgid "" +":issue:`38859`: AsyncMock now returns StopAsyncIteration on the exhaustion " +"of a side_effects iterable. Since PEP-479 its Impossible to raise a " +"StopIteration exception from a coroutine." +msgstr "" + +#: build/NEWS:21665 +msgid "" +":issue:`38857`: AsyncMock fix for return values that are awaitable types. " +"This also covers side_effect iterable values that happened to be awaitable, " +"and wraps callables that return an awaitable type. Before these awaitables " +"were being awaited instead of being returned as is." +msgstr "" + +#: build/NEWS:21670 +msgid "" +":issue:`38834`: :class:`typing.TypedDict` subclasses now track which keys " +"are optional using the ``__required_keys__`` and ``__optional_keys__`` " +"attributes, to enable runtime validation by downstream projects. Patch by " +"Zac Hatfield-Dodds." +msgstr "" + +#: build/NEWS:21675 +msgid "" +":issue:`38821`: Fix unhandled exceptions in :mod:`argparse` when " +"internationalizing error messages for arguments with ``nargs`` set to " +"special (non-integer) values. Patch by Federico Bond." +msgstr "" + +#: build/NEWS:21679 +msgid "" +":issue:`38820`: Make Python compatible with OpenSSL 3.0.0. :func:`ssl." +"SSLSocket.getpeercert` no longer returns IPv6 addresses with a trailing new " +"line." +msgstr "" + +#: build/NEWS:21683 +msgid "" +":issue:`38811`: Fix an unhandled exception in :mod:`pathlib` when :meth:`os." +"link` is missing. Patch by Toke Høiland-Jørgensen." +msgstr "" + +#: build/NEWS:21686 +msgid "" +":issue:`38686`: Added support for multiple ``qop`` values in :class:`urllib." +"request.AbstractDigestAuthHandler`." +msgstr "" + +#: build/NEWS:21689 +msgid "" +":issue:`38712`: Add the Linux-specific :func:`signal.pidfd_send_signal` " +"function, which allows sending a signal to a process identified by a file " +"descriptor rather than a pid." +msgstr "" + +#: build/NEWS:21693 +msgid "" +":issue:`38348`: Add ``-i`` and ``--indent`` (indentation level), and ``--no-" +"type-comments`` (type comments) command line options to ast parsing tool." +msgstr "" + +#: build/NEWS:21697 +msgid "" +":issue:`37523`: Change :class:`zipfile.ZipExtFile` to raise ``ValueError`` " +"when trying to access the underlying file object after it has been closed. " +"This new behavior is consistent with how accessing closed files is handled " +"in other parts of Python." +msgstr "" + +#: build/NEWS:21702 +msgid "" +":issue:`38045`: Improve the performance of :func:`enum._decompose` in :mod:" +"`enum`. Patch by hongweipeng." +msgstr "" + +#: build/NEWS:21705 +msgid "" +":issue:`36820`: Break cycle generated when saving an exception in socket.py, " +"codeop.py and dyld.py as they keep alive not only the exception but user " +"objects through the ``__traceback__`` attribute. Patch by Mario Corchero." +msgstr "" + +#: build/NEWS:21709 +msgid "" +":issue:`36406`: Handle namespace packages in :mod:`doctest`. Patch by " +"Karthikeyan Singaravelan." +msgstr "" + +#: build/NEWS:21712 +msgid "" +":issue:`34776`: Fix dataclasses to support forward references in type " +"annotations" +msgstr "" + +#: build/NEWS:21715 +msgid "" +":issue:`20928`: ElementTree supports recursive XInclude processing. Patch " +"by Stefan Behnel." +msgstr "" + +#: build/NEWS:21718 +msgid "" +":issue:`29636`: Add whitespace options for formatting JSON with the ``json." +"tool`` CLI. The following mutually exclusive options are now supported: ``--" +"indent`` for setting the indent level in spaces; ``--tab`` for indenting " +"with tabs; ``--no-indent`` for suppressing newlines; and ``--compact`` for " +"suppressing all whitespace. The default behavior remains the same as ``--" +"indent=4``." +msgstr "" + +#: build/NEWS:21728 +msgid "" +":issue:`38928`: Correct when venv's ``upgrade_dependencies()`` and ``--" +"upgrade-deps`` are added." +msgstr "" + +#: build/NEWS:21731 +msgid "" +":issue:`38899`: Update documentation to state that to activate virtual " +"environments under fish one should use ``source``, not ``.`` as documented " +"at https://fishshell.com/docs/current/cmds/source.html." +msgstr "" + +#: build/NEWS:21735 +msgid "" +":issue:`22377`: Improves documentation of the values that :meth:`datetime." +"datetime.strptime` accepts for ``%Z``. Patch by Karl Dubost." +msgstr "" + +#: build/NEWS:21742 +msgid "" +":issue:`38546`: Fix test_ressources_gced_in_workers() of " +"test_concurrent_futures: explicitly stop the manager to prevent leaking a " +"child process running in the background after the test completes." +msgstr "" + +#: build/NEWS:21746 +msgid "" +":issue:`38546`: Multiprocessing and concurrent.futures tests now stop the " +"resource tracker process when tests complete." +msgstr "" + +#: build/NEWS:21749 +msgid "" +":issue:`38614`: Replace hardcoded timeout constants in tests with new :mod:" +"`test.support` constants: :data:`~test.support.LOOPBACK_TIMEOUT`, :data:" +"`~test.support.INTERNET_TIMEOUT`, :data:`~test.support.SHORT_TIMEOUT` and :" +"data:`~test.support.LONG_TIMEOUT`. It becomes easier to adjust these four " +"timeout constants for all tests at once, rather than having to adjust every " +"single test file." +msgstr "" + +#: build/NEWS:21757 +msgid "" +":issue:`38547`: Fix test_pty: if the process is the session leader, closing " +"the master file descriptor raises a SIGHUP signal: simply ignore SIGHUP when " +"running the tests." +msgstr "" + +#: build/NEWS:21761 +msgid "" +":issue:`38992`: Fix a test for :func:`math.fsum` that was failing due to " +"constant folding." +msgstr "" + +#: build/NEWS:21764 +msgid "" +":issue:`38991`: :mod:`test.support`: :func:`~test.support." +"run_python_until_end`, :func:`~test.support.assert_python_ok` and :func:" +"`~test.support.assert_python_failure` functions no longer strip whitespaces " +"from stderr. Remove ``test.support.strip_python_stderr()`` function." +msgstr "" + +#: build/NEWS:21771 +msgid "" +":issue:`38965`: Fix test_faulthandler on GCC 10. Use the \"volatile\" " +"keyword in ``faulthandler._stack_overflow()`` to prevent tail call " +"optimization on any compiler, rather than relying on compiler specific " +"pragma." +msgstr "" + +#: build/NEWS:21775 +msgid "" +":issue:`38875`: test_capi: trashcan tests now require the test \"cpu\" " +"resource." +msgstr "" + +#: build/NEWS:21777 +msgid "" +":issue:`38841`: Skip asyncio " +"test_create_datagram_endpoint_existing_sock_unix on platforms lacking a " +"functional bind() for named unix domain sockets." +msgstr "" + +#: build/NEWS:21780 +msgid "" +":issue:`38692`: Skip the test_posix.test_pidfd_open() test if ``os." +"pidfd_open()`` fails with a :exc:`PermissionError`. This situation can " +"happen in a Linux sandbox using a syscall whitelist which doesn't allow the " +"``pidfd_open()`` syscall yet." +msgstr "" + +#: build/NEWS:21785 +msgid "" +":issue:`38839`: Fix some unused functions in tests. Patch by Adam Johnson." +msgstr "" + +#: build/NEWS:21787 +msgid "" +":issue:`38669`: Raise :exc:`TypeError` when passing target as a string with :" +"meth:`unittest.mock.patch.object`." +msgstr "" + +#: build/NEWS:21790 +msgid "" +":issue:`37957`: test.regrtest now can receive a list of test patterns to " +"ignore (using the -i/--ignore argument) or a file with a list of patterns to " +"ignore (using the --ignore-file argument). Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:21797 +msgid "" +":issue:`37404`: :mod:`asyncio` now raises :exc:`TypeError` when calling " +"incompatible methods with an :class:`ssl.SSLSocket` socket. Patch by Ido " +"Michael." +msgstr "" + +#: build/NEWS:21801 +msgid "" +":issue:`36500`: Added an optional \"regen\" project to the Visual Studio " +"solution that will regenerate all grammar, tokens, and opcodes." +msgstr "" + +#: build/NEWS:21807 +msgid ":issue:`39007`: Add auditing events to functions in :mod:`winreg`." +msgstr "" + +#: build/NEWS:21809 +msgid "" +":issue:`33125`: Add support for building and releasing Windows ARM64 " +"packages." +msgstr "" + +#: build/NEWS:21814 +msgid "" +":issue:`37931`: Fixed a crash on OSX dynamic builds that occurred when re-" +"initializing the posix module after a Py_Finalize if the environment had " +"changed since the previous ``import posix``. Patch by Benoît Hudson." +msgstr "" + +#: build/NEWS:21821 +msgid "" +":issue:`38944`: Escape key now closes IDLE completion windows. Patch by " +"Johnny Najera." +msgstr "" + +#: build/NEWS:21824 +msgid "" +":issue:`38943`: Fix IDLE autocomplete windows not always appearing on some " +"systems. Patch by Johnny Najera." +msgstr "" + +#: build/NEWS:21827 +msgid "" +":issue:`38862`: 'Strip Trailing Whitespace' on the Format menu removes extra " +"newlines at the end of non-shell files." +msgstr "" + +#: build/NEWS:21830 +msgid "" +":issue:`38636`: Fix IDLE Format menu tab toggle and file indent width. These " +"functions (default shortcuts Alt-T and Alt-U) were mistakenly disabled in " +"3.7.5 and 3.8.0." +msgstr "" + +#: build/NEWS:21837 +msgid "" +":issue:`38896`: Remove ``PyUnicode_ClearFreeList()`` function: the Unicode " +"free list has been removed in Python 3.3." +msgstr "" + +#: build/NEWS:21840 +msgid "" +":issue:`37340`: Remove ``PyMethod_ClearFreeList()`` and " +"``PyCFunction_ClearFreeList()`` functions: the free lists of bound method " +"objects have been removed." +msgstr "" + +#: build/NEWS:21844 +msgid "" +":issue:`38835`: Exclude ``PyFPE_START_PROTECT()`` and " +"``PyFPE_END_PROTECT()`` macros of ``pyfpe.h`` from ``Py_LIMITED_API`` " +"(stable API)." +msgstr "" + +#: build/NEWS:21849 +msgid "Python 3.9.0 alpha 1" +msgstr "" + +#: build/NEWS:21851 +msgid "*Release date: 2019-11-19*" +msgstr "" + +#: build/NEWS:21856 +msgid "" +":issue:`38722`: :mod:`runpy` now uses :meth:`io.open_code` to open code " +"files. Patch by Jason Killen." +msgstr "" + +#: build/NEWS:21859 +msgid "" +":issue:`38622`: Add additional audit events for the :mod:`ctypes` module." +msgstr "" + +#: build/NEWS:21861 +msgid "" +":issue:`38418`: Fixes audit event for :func:`os.system` to be named ``os." +"system``." +msgstr "" + +#: build/NEWS:21864 +msgid "" +":issue:`38243`: Escape the server title of :class:`xmlrpc.server." +"DocXMLRPCServer` when rendering the document page as HTML. (Contributed by " +"Donghee Na in :issue:`38243`.)" +msgstr "" + +#: build/NEWS:21868 +msgid "" +":issue:`38174`: Update vendorized expat library version to 2.2.8, which " +"resolves :cve:`2019-15903`." +msgstr "" + +#: build/NEWS:21871 +msgid "" +":issue:`37764`: Fixes email._header_value_parser.get_unstructured going into " +"an infinite loop for a specific case in which the email header does not have " +"trailing whitespace, and the case in which it contains an invalid encoded " +"word. Patch by Ashwin Ramaswami." +msgstr "" + +#: build/NEWS:21876 +msgid "" +":issue:`37461`: Fix an infinite loop when parsing specially crafted email " +"headers. Patch by Abhilash Raj." +msgstr "" + +#: build/NEWS:21879 +msgid "" +":issue:`37363`: Adds audit events for the range of supported run commands " +"(see :ref:`using-on-general`)." +msgstr "" + +#: build/NEWS:21882 +msgid "" +":issue:`37463`: ssl.match_hostname() no longer accepts IPv4 addresses with " +"additional text after the address and only quad-dotted notation without " +"trailing whitespaces. Some inet_aton() implementations ignore whitespace and " +"all data after whitespace, e.g. '127.0.0.1 whatever'." +msgstr "" + +#: build/NEWS:21887 +msgid "" +":issue:`37363`: Adds audit events for :mod:`ensurepip`, :mod:`ftplib`, :mod:" +"`glob`, :mod:`imaplib`, :mod:`nntplib`, :mod:`pdb`, :mod:`poplib`, :mod:" +"`shutil`, :mod:`smtplib`, :mod:`sqlite3`, :mod:`subprocess`, :mod:" +"`telnetlib`, :mod:`tempfile` and :mod:`webbrowser`, as well as :func:`os." +"listdir`, :func:`os.scandir` and :func:`breakpoint`." +msgstr "" + +#: build/NEWS:21893 +msgid "" +":issue:`37364`: :func:`io.open_code` is now used when reading :file:`.pth` " +"files." +msgstr "" + +#: build/NEWS:21896 +msgid ":issue:`34631`: Updated OpenSSL to 1.1.1c in Windows installer" +msgstr "" + +#: build/NEWS:21898 +msgid "" +":issue:`34155`: Fix parsing of invalid email addresses with more than one " +"``@`` (e.g. a@b@c.com.) to not return the part before 2nd ``@`` as valid " +"email address. Patch by maxking & jpic." +msgstr "" + +#: build/NEWS:21905 +msgid "" +":issue:`38631`: Replace ``Py_FatalError()`` call with a regular :exc:" +"`RuntimeError` exception in :meth:`float.__getformat__`." +msgstr "" + +#: build/NEWS:21908 +msgid "" +":issue:`38639`: Optimized :func:`math.floor`, :func:`math.ceil` and :func:" +"`math.trunc` for floats." +msgstr "" + +#: build/NEWS:21911 +msgid "" +":issue:`38640`: Fixed a bug in the compiler that was causing to raise in the " +"presence of break statements and continue statements inside always false " +"while loops. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:21915 +msgid "" +":issue:`38613`: Optimized some set operations (e.g. ``|``, ``^``, and ``-``) " +"of ``dict_keys``. ``d.keys() | other`` was slower than ``set(d) | other`` " +"but they are almost same performance for now." +msgstr "" + +#: build/NEWS:21919 +msgid "" +":issue:`28029`: ``\"\".replace(\"\", s, n)`` now returns ``s`` instead of an " +"empty string for all non-zero ``n``. There are similar changes for :class:" +"`bytes` and :class:`bytearray` objects." +msgstr "" + +#: build/NEWS:21923 +msgid "" +":issue:`38535`: Fixed line numbers and column offsets for AST nodes for " +"calls without arguments in decorators." +msgstr "" + +#: build/NEWS:21926 +msgid "" +":issue:`38525`: Fix a segmentation fault when using reverse iterators of " +"empty ``dict`` objects. Patch by Donghee Na and Inada Naoki." +msgstr "" + +#: build/NEWS:21929 +msgid "" +":issue:`38465`: :class:`bytearray`, :class:`~array.array` and :class:`~mmap." +"mmap` objects allow now to export more than ``2**31`` buffers at a time." +msgstr "" + +#: build/NEWS:21933 +msgid "" +":issue:`38469`: Fixed a bug where the scope of named expressions was not " +"being resolved correctly in the presence of the *global* keyword. Patch by " +"Pablo Galindo." +msgstr "" + +#: build/NEWS:21937 +msgid "" +":issue:`38437`: Activate the ``GC_DEBUG`` macro for debug builds of the " +"interpreter (when ``Py_DEBUG`` is set). Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:21940 +msgid "" +":issue:`38379`: When the garbage collector makes a collection in which some " +"objects resurrect (they are reachable from outside the isolated cycles after " +"the finalizers have been executed), do not block the collection of all " +"objects that are still unreachable. Patch by Pablo Galindo and Tim Peters." +msgstr "" + +#: build/NEWS:21946 +msgid "" +":issue:`38379`: When cyclic garbage collection (gc) runs finalizers that " +"resurrect unreachable objects, the current gc run ends, without collecting " +"any cyclic trash. However, the statistics reported by ``collect()`` and " +"``get_stats()`` claimed that all cyclic trash found was collected, and that " +"the resurrected objects were collected. Changed the stats to report that " +"none were collected." +msgstr "" + +#: build/NEWS:21953 +msgid "" +":issue:`38392`: In debug mode, :c:func:`PyObject_GC_Track` now calls " +"``tp_traverse()`` of the object type to ensure that the object is valid: " +"test that objects visited by ``tp_traverse()`` are valid." +msgstr "" + +#: build/NEWS:21957 +msgid "" +":issue:`38210`: Remove unnecessary intersection and update set operation in " +"dictview with empty set. (Contributed by Donghee Na in :issue:`38210`.)" +msgstr "" + +#: build/NEWS:21960 +msgid "" +":issue:`38402`: Check the error from the system's underlying ``crypt`` or " +"``crypt_r``." +msgstr "" + +#: build/NEWS:21963 +msgid "" +":issue:`37474`: On FreeBSD, Python no longer calls ``fedisableexcept()`` at " +"startup to control the floating-point control mode. The call became useless " +"since FreeBSD 6: it became the default mode." +msgstr "" + +#: build/NEWS:21967 +msgid "" +":issue:`38006`: Fix a bug due to the interaction of weakrefs and the cyclic " +"garbage collector. We must clear any weakrefs in garbage in order to prevent " +"their callbacks from executing and causing a crash." +msgstr "" + +#: build/NEWS:21971 +msgid "" +":issue:`38317`: Fix warnings options priority: ``PyConfig.warnoptions`` has " +"the highest priority, as stated in the :pep:`587`." +msgstr "" + +#: build/NEWS:21974 +msgid "" +":issue:`38310`: Predict ``BUILD_MAP_UNPACK_WITH_CALL`` -> " +"``CALL_FUNCTION_EX`` opcode pairs in the main interpreter loop. Patch by " +"Brandt Bucher." +msgstr "" + +#: build/NEWS:21977 +msgid "" +":issue:`36871`: Improve error handling for the assert_has_calls and " +"assert_has_awaits methods of mocks. Fixed a bug where any errors encountered " +"while binding the expected calls to the mock's spec were silently swallowed, " +"leading to misleading error output." +msgstr "" + +#: build/NEWS:21982 +msgid "" +":issue:`11410`: Better control over symbol visibility is provided through " +"use of the visibility attributes available in gcc >= 4.0, provided in a " +"uniform way across POSIX and Windows. The POSIX build files have been " +"updated to compile with -fvisibility=hidden, minimising exported symbols." +msgstr "" + +#: build/NEWS:21987 +msgid "" +":issue:`38219`: Optimized the :class:`dict` constructor and the :meth:`~dict." +"update` method for the case when the argument is a dict." +msgstr "" + +#: build/NEWS:21990 +msgid "" +":issue:`38236`: Python now dumps path configuration if it fails to import " +"the Python codecs of the filesystem and stdio encodings." +msgstr "" + +#: build/NEWS:21993 +msgid "" +":issue:`38013`: Allow to call ``async_generator_athrow().throw(...)`` even " +"for non-started async generator helper. It fixes annoying warning at the end " +"of :func:`asyncio.run` call." +msgstr "" + +#: build/NEWS:21997 +msgid "" +":issue:`38124`: Fix an off-by-one error in PyState_AddModule that could " +"cause out-of-bounds memory access." +msgstr "" + +#: build/NEWS:22000 +msgid "" +":issue:`38116`: The select module is now PEP-384 compliant and no longer has " +"static state" +msgstr "" + +#: build/NEWS:22003 +msgid ":issue:`38113`: ast module updated to PEP-384 and all statics removed" +msgstr "" + +#: build/NEWS:22005 +msgid ":issue:`38076`: The struct module is now PEP-384 compatible" +msgstr "" + +#: build/NEWS:22007 +msgid ":issue:`38075`: The random module is now PEP-384 compatible" +msgstr "" + +#: build/NEWS:22009 +msgid ":issue:`38074`: zlib module made PEP-384 compatible" +msgstr "" + +#: build/NEWS:22011 +msgid ":issue:`38073`: Make pwd extension module PEP-384 compatible" +msgstr "" + +#: build/NEWS:22013 +msgid ":issue:`38072`: grp module made PEP-384 compatible" +msgstr "" + +#: build/NEWS:22015 +msgid ":issue:`38069`: Make _posixsubprocess PEP-384 compatible" +msgstr "" + +#: build/NEWS:22017 +msgid ":issue:`38071`: Make termios extension module PEP-384 compatible" +msgstr "" + +#: build/NEWS:22019 +msgid "" +":issue:`38005`: Fixed comparing and creating of InterpreterID and ChannelID." +msgstr "" + +#: build/NEWS:22021 +msgid "" +":issue:`36946`: Fix possible signed integer overflow when handling slices. " +"Patch by hongweipeng." +msgstr "" + +#: build/NEWS:22024 +msgid "" +":issue:`37994`: Fixed silencing arbitrary errors if an attribute lookup " +"fails in several sites. Only AttributeError should be silenced." +msgstr "" + +#: build/NEWS:22027 +msgid "" +":issue:`8425`: Optimize set difference_update for the case when the other " +"set is much larger than the base set. (Suggested by Evgeny Kapun with code " +"contributed by Michele Orrù)." +msgstr "" + +#: build/NEWS:22031 +msgid "" +":issue:`37966`: The implementation of :func:`~unicodedata.is_normalized` has " +"been greatly sped up on strings that aren't normalized, by implementing the " +"full normalization-quick-check algorithm from the Unicode standard." +msgstr "" + +#: build/NEWS:22035 +msgid "" +":issue:`37947`: Adjust correctly the recursion level in the symtable " +"generation for named expressions. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:22038 +msgid "" +":issue:`37812`: The ``CHECK_SMALL_INT`` macro used inside :file:`Object/" +"longobject.c` has been replaced with an explicit ``return`` at each call " +"site." +msgstr "" + +#: build/NEWS:22042 +msgid "" +":issue:`37751`: Fix :func:`codecs.lookup` to normalize the encoding name the " +"same way than :func:`encodings.normalize_encoding`, except that :func:" +"`codecs.lookup` also converts the name to lower case." +msgstr "" + +#: build/NEWS:22046 +msgid "" +":issue:`37830`: Fixed compilation of :keyword:`break` and :keyword:" +"`continue` in the :keyword:`finally` block when the corresponding :keyword:" +"`try` block contains :keyword:`return` with a non-constant value." +msgstr "" + +#: build/NEWS:22050 +msgid "" +":issue:`20490`: Improve import error message for partially initialized " +"module on circular ``from`` imports - by Anthony Sottile." +msgstr "" + +#: build/NEWS:22053 +msgid "" +":issue:`37840`: Fix handling of negative indices in :c:member:" +"`~PySequenceMethods.sq_item` of :class:`bytearray`. Patch by Sergey Fedoseev." +msgstr "" + +#: build/NEWS:22057 +msgid "" +":issue:`37802`: Slightly improve performance of :c:func:" +"`PyLong_FromUnsignedLong`, :c:func:`PyLong_FromUnsignedLongLong` and :c:func:" +"`PyLong_FromSize_t`. Patch by Sergey Fedoseev." +msgstr "" + +#: build/NEWS:22061 +msgid "" +":issue:`37409`: Ensure explicit relative imports from interactive sessions " +"and scripts (having no parent package) always raise ImportError, rather than " +"treating the current module as the package. Patch by Ben Lewis." +msgstr "" + +#: build/NEWS:22065 +msgid "" +":issue:`32912`: Reverted :issue:`32912`: emitting :exc:`SyntaxWarning` " +"instead of :exc:`DeprecationWarning` for invalid escape sequences in string " +"and bytes literals." +msgstr "" + +#: build/NEWS:22069 +msgid "" +":issue:`37757`: :pep:`572`: As described in the PEP, assignment expressions " +"now raise :exc:`SyntaxError` when their interaction with comprehension " +"scoping results in an ambiguous target scope." +msgstr "" + +#: build/NEWS:22073 +msgid "" +"The ``TargetScopeError`` subclass originally proposed by the PEP has been " +"removed in favour of just raising regular syntax errors for the disallowed " +"cases." +msgstr "" + +#: build/NEWS:22077 +msgid "" +":issue:`36279`: Fix potential use of uninitialized memory in :func:`os." +"wait3`." +msgstr "" + +#: build/NEWS:22079 +msgid "" +":issue:`36311`: Decoding bytes objects larger than 2GiB is faster and no " +"longer fails when a multibyte characters spans a chunk boundary." +msgstr "" + +#: build/NEWS:22082 +msgid "" +":issue:`34880`: The :keyword:`assert` statement now works properly if the :" +"exc:`AssertionError` exception is being shadowed. Patch by Zackery Spytz." +msgstr "" + +#: build/NEWS:22085 +msgid "" +":issue:`37340`: Removed object cache (``free_list``) for bound method " +"objects. Temporary bound method objects are less used than before thanks to " +"the ``LOAD_METHOD`` opcode and the ``_PyObject_VectorcallMethod`` C API." +msgstr "" + +#: build/NEWS:22089 +msgid "" +":issue:`37648`: Fixed minor inconsistency in :meth:`list.__contains__`, :" +"meth:`tuple.__contains__` and a few other places. The collection's item is " +"now always at the left and the needle is on the right of ``==``." +msgstr "" + +#: build/NEWS:22093 +msgid "" +":issue:`37444`: Update differing exception between :meth:`builtins." +"__import__` and :meth:`importlib.__import__`." +msgstr "" + +#: build/NEWS:22096 +msgid "" +":issue:`37619`: When adding a wrapper descriptor from one class to a " +"different class (for example, setting ``__add__ = str.__add__`` on an " +"``int`` subclass), an exception is correctly raised when the operator is " +"called." +msgstr "" + +#: build/NEWS:22100 +msgid "" +":issue:`37593`: Swap the positions of the *posonlyargs* and *args* " +"parameters in the constructor of :class:`ast.parameters` nodes." +msgstr "" + +#: build/NEWS:22103 +msgid ":issue:`37543`: Optimized pymalloc for non PGO build." +msgstr "" + +#: build/NEWS:22105 +msgid "" +":issue:`37537`: Compute allocated pymalloc blocks inside " +"_Py_GetAllocatedBlocks(). This slows down _Py_GetAllocatedBlocks() but " +"gives a small speedup to _PyObject_Malloc() and _PyObject_Free()." +msgstr "" + +#: build/NEWS:22109 +msgid "" +":issue:`37467`: Fix :func:`sys.excepthook` and :c:func:`PyErr_Display` if a " +"filename is a bytes string. For example, for a SyntaxError exception where " +"the filename attribute is a bytes string." +msgstr "" + +#: build/NEWS:22113 +msgid "" +":issue:`37433`: Fix ``SyntaxError`` indicator printing too many spaces for " +"multi-line strings - by Anthony Sottile." +msgstr "" + +#: build/NEWS:22116 +msgid "" +":issue:`37417`: :meth:`bytearray.extend` now correctly handles errors that " +"arise during iteration. Patch by Brandt Bucher." +msgstr "" + +#: build/NEWS:22119 +msgid "" +":issue:`37414`: The undocumented ``sys.callstats()`` function has been " +"removed. Since Python 3.7, it was deprecated and always returned ``None``. " +"It required a special build option ``CALL_PROFILE`` which was already " +"removed in Python 3.7." +msgstr "" + +#: build/NEWS:22124 +msgid "" +":issue:`37392`: Remove ``sys.getcheckinterval()`` and ``sys." +"setcheckinterval()`` functions. They were deprecated since Python 3.2. Use :" +"func:`sys.getswitchinterval` and :func:`sys.setswitchinterval` instead. " +"Remove also ``check_interval`` field of the ``PyInterpreterState`` structure." +msgstr "" + +#: build/NEWS:22130 +msgid "" +":issue:`37388`: In development mode and in debug build, *encoding* and " +"*errors* arguments are now checked on string encoding and decoding " +"operations. Examples: :func:`open`, :meth:`str.encode` and :meth:`bytes." +"decode`." +msgstr "" + +#: build/NEWS:22134 +msgid "" +"By default, for best performances, the *errors* argument is only checked at " +"the first encoding/decoding error, and the *encoding* argument is sometimes " +"ignored for empty strings." +msgstr "" + +#: build/NEWS:22138 +msgid "" +":issue:`37348`: Optimized decoding short ASCII string with UTF-8 and ascii " +"codecs. ``b\"foo\".decode()`` is about 15% faster. Patch by Inada Naoki." +msgstr "" + +#: build/NEWS:22141 +msgid "" +":issue:`24214`: Improved support of the surrogatepass error handler in the " +"UTF-8 and UTF-16 incremental decoders." +msgstr "" + +#: build/NEWS:22144 +msgid "" +":issue:`37330`: :func:`open`, :func:`io.open`, :func:`codecs.open` and :" +"class:`fileinput.FileInput` no longer accept ``'U'`` (\"universal newline\") " +"in the file mode. This flag was deprecated since Python 3.3." +msgstr "" + +#: build/NEWS:22148 +msgid "" +":issue:`35224`: Reverse evaluation order of key: value in dict " +"comprehensions as proposed in PEP 572. I.e. in ``{k: v for ...}``, ``k`` " +"will be evaluated before ``v``." +msgstr "" + +#: build/NEWS:22152 +msgid "" +":issue:`37316`: Fix the :c:func:`PySys_Audit` call in :class:`mmap.mmap`." +msgstr "" + +#: build/NEWS:22154 +msgid ":issue:`37300`: Remove an unnecessary Py_XINCREF in classobject.c." +msgstr "" + +#: build/NEWS:22156 +msgid "" +":issue:`37269`: Fix a bug in the peephole optimizer that was not treating " +"correctly constant conditions with binary operators. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:22160 +msgid "" +":issue:`20443`: Python now gets the absolute path of the script filename " +"specified on the command line (ex: \"python3 script.py\"): the __file__ " +"attribute of the __main__ module and sys.path[0] become an absolute path, " +"rather than a relative path." +msgstr "" + +#: build/NEWS:22165 +msgid "" +":issue:`37257`: Python's small object allocator (``obmalloc.c``) now allows " +"(no more than) one empty arena to remain available for immediate reuse, " +"without returning it to the OS. This prevents thrashing in simple loops " +"where an arena could be created and destroyed anew on each iteration." +msgstr "" + +#: build/NEWS:22170 +msgid "" +":issue:`37231`: The dispatching of type slots to special methods (for " +"example calling ``__mul__`` when doing ``x * y``) has been made faster." +msgstr "" + +#: build/NEWS:22173 +msgid "" +":issue:`36974`: Implemented separate vectorcall functions for every calling " +"convention of builtin functions and methods. This improves performance for " +"calls." +msgstr "" + +#: build/NEWS:22177 +msgid "" +":issue:`37213`: Handle correctly negative line offsets in the peephole " +"optimizer. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:22180 +msgid "" +":issue:`37219`: Remove erroneous optimization for empty set differences." +msgstr "" + +#: build/NEWS:22182 +msgid "" +":issue:`15913`: Implement :c:func:`PyBuffer_SizeFromFormat()` function " +"(previously documented but not implemented): call :func:`struct.calcsize`. " +"Patch by Joannah Nanjekye." +msgstr "" + +#: build/NEWS:22186 +msgid "" +":issue:`36922`: Slot functions optimize any callable with " +"``Py_TPFLAGS_METHOD_DESCRIPTOR`` instead of only instances of ``function``." +msgstr "" + +#: build/NEWS:22190 +msgid "" +":issue:`36974`: The slot ``tp_vectorcall_offset`` is inherited " +"unconditionally to support ``super().__call__()`` when the base class uses " +"vectorcall." +msgstr "" + +#: build/NEWS:22193 +msgid "" +":issue:`37160`: :func:`threading.get_native_id` now also supports NetBSD." +msgstr "" + +#: build/NEWS:22195 +msgid "" +":issue:`37077`: Add :func:`threading.get_native_id` support for AIX. Patch " +"by M. Felt" +msgstr "" + +#: build/NEWS:22198 +msgid ":issue:`36781`: :func:`sum` has been optimized for boolean values." +msgstr "" + +#: build/NEWS:22200 +msgid "" +":issue:`34556`: Add ``--upgrade-deps`` to venv module. Patch by Cooper Ry " +"Lees" +msgstr "" + +#: build/NEWS:22202 +msgid "" +":issue:`20523`: ``pdb.Pdb`` supports ~/.pdbrc in Windows 7. Patch by Tim " +"Hopper and Dan Lidral-Porter." +msgstr "" + +#: build/NEWS:22205 +msgid "" +":issue:`35551`: Updated encodings: - Removed the \"tis260\" encoding, which " +"was an alias for the nonexistent \"tactis\" codec. - Added \"mac_centeuro\" " +"as an alias for the mac_latin2 encoding." +msgstr "" + +#: build/NEWS:22209 +msgid "" +":issue:`19072`: The :class:`classmethod` decorator can now wrap other " +"descriptors such as property objects. Adapted from a patch written by " +"Graham Dumpleton." +msgstr "" + +#: build/NEWS:22213 +msgid "" +":issue:`27575`: Improve speed of dictview intersection by directly using set " +"intersection logic. Patch by David Su." +msgstr "" + +#: build/NEWS:22216 +msgid "" +":issue:`30773`: Prohibit parallel running of aclose() / asend() / athrow(). " +"Fix ag_running to reflect the actual running status of the AG." +msgstr "" + +#: build/NEWS:22222 +msgid "" +":issue:`36589`: The :func:`curses.update_lines_cols` function now returns " +"``None`` instead of ``1`` on success." +msgstr "" + +#: build/NEWS:22225 +msgid "" +":issue:`38807`: Update :exc:`TypeError` messages for :meth:`os.path.join` to " +"include :class:`os.PathLike` objects as acceptable input types." +msgstr "" + +#: build/NEWS:22228 +msgid "" +":issue:`38724`: Add a repr for ``subprocess.Popen`` objects. Patch by Andrey " +"Doroschenko." +msgstr "" + +#: build/NEWS:22231 +msgid "" +":issue:`38786`: pydoc now recognizes and parses HTTPS URLs. Patch by " +"python273." +msgstr "" + +#: build/NEWS:22233 +msgid "" +":issue:`38785`: Prevent asyncio from crashing if parent ``__init__`` is not " +"called from a constructor of object derived from ``asyncio.Future``." +msgstr "" + +#: build/NEWS:22236 +msgid "" +":issue:`38723`: :mod:`pdb` now uses :meth:`io.open_code` to trigger auditing " +"events." +msgstr "" + +#: build/NEWS:22239 +msgid "" +":issue:`27805`: Allow opening pipes and other non-seekable files in append " +"mode with :func:`open`." +msgstr "" + +#: build/NEWS:22242 +msgid "" +":issue:`38438`: Simplify the :mod:`argparse` usage message for " +"``nargs=\"*\"``." +msgstr "" + +#: build/NEWS:22244 +msgid "" +":issue:`38761`: WeakSet is now registered as a collections.abc.MutableSet." +msgstr "" + +#: build/NEWS:22246 +msgid "" +":issue:`38716`: logging: change RotatingHandler namer and rotator to class-" +"level attributes. This stops __init__ from setting them to None in the case " +"where a subclass defines them with eponymous methods." +msgstr "" + +#: build/NEWS:22250 +msgid "" +":issue:`38713`: Add :const:`os.P_PIDFD` constant, which may be passed to :" +"func:`os.waitid` to wait on a Linux process file descriptor." +msgstr "" + +#: build/NEWS:22253 +msgid "" +":issue:`38692`: Add :class:`asyncio.PidfdChildWatcher`, a Linux-specific " +"child watcher implementation that polls process file descriptors." +msgstr "" + +#: build/NEWS:22256 +msgid "" +":issue:`38692`: Expose the Linux ``pidfd_open`` syscall as :func:`os." +"pidfd_open`." +msgstr "" + +#: build/NEWS:22259 +msgid "" +":issue:`38602`: Added constants :const:`~fcntl.F_OFD_GETLK`, :const:`~fcntl." +"F_OFD_SETLK` and :const:`~fcntl.F_OFD_SETLKW` to the :mod:`fcntl` module. " +"Patch by Donghee Na." +msgstr "" + +#: build/NEWS:22263 +msgid "" +":issue:`38334`: Fixed seeking backward on an encrypted :class:`zipfile." +"ZipExtFile`." +msgstr "" + +#: build/NEWS:22266 +msgid "" +":issue:`38312`: Add :func:`curses.get_escdelay`, :func:`curses." +"set_escdelay`, :func:`curses.get_tabsize`, and :func:`curses.set_tabsize` " +"functions - by Anthony Sottile." +msgstr "" + +#: build/NEWS:22270 +msgid "" +":issue:`38586`: Now :func:`~logging.config.fileConfig` correctly sets the ." +"name of handlers loaded." +msgstr "" + +#: build/NEWS:22273 +msgid "" +":issue:`38565`: Add new cache_parameters() method for functools.lru_cache() " +"to better support pickling." +msgstr "" + +#: build/NEWS:22276 +msgid "" +":issue:`34679`: asynci.ProactorEventLoop.close() now only calls signal." +"set_wakeup_fd() in the main thread." +msgstr "" + +#: build/NEWS:22279 +msgid "" +":issue:`31202`: The case the result of :func:`pathlib.WindowsPath.glob` " +"matches now the case of the pattern for literal parts." +msgstr "" + +#: build/NEWS:22282 +msgid "" +":issue:`36321`: Remove misspelled attribute. The 3.8 changelog noted that " +"this would be removed in 3.9." +msgstr "" + +#: build/NEWS:22285 +msgid "" +":issue:`38521`: Fixed erroneous equality comparison in statistics." +"NormalDist()." +msgstr "" + +#: build/NEWS:22287 +msgid "" +":issue:`38493`: Added :const:`~os.CLD_KILLED` and :const:`~os.CLD_STOPPED` " +"for :attr:`si_code`. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:22290 +msgid "" +":issue:`38478`: Fixed a bug in :meth:`inspect.signature.bind` that was " +"causing it to fail when handling a keyword argument with same name as " +"positional-only parameter. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:22294 +msgid "" +":issue:`33604`: Fixed ``hmac.new`` and ``hmac.HMAC`` to raise TypeError " +"instead of ValueError when the digestmod parameter, now required in 3.8, is " +"omitted. Also clarified the hmac module documentation and docstrings." +msgstr "" + +#: build/NEWS:22298 +msgid "" +":issue:`38378`: Parameters *out* and *in* of :func:`os.sendfile` was renamed " +"to *out_fd* and *in_fd*." +msgstr "" + +#: build/NEWS:22301 +msgid "" +":issue:`38417`: Added support for setting the umask in the child process to " +"the subprocess module on POSIX systems." +msgstr "" + +#: build/NEWS:22304 +msgid "" +":issue:`38449`: Revert PR 15522, which introduces a regression in :meth:" +"`mimetypes.guess_type` due to improper handling of filenames as urls." +msgstr "" + +#: build/NEWS:22308 +msgid "" +":issue:`38431`: Fix ``__repr__`` method for :class:`dataclasses.InitVar` to " +"support typing objects, patch by Samuel Colvin." +msgstr "" + +#: build/NEWS:22311 +msgid "" +":issue:`38109`: Add missing :const:`stat.S_IFDOOR`, :const:`stat.S_IFPORT`, :" +"const:`stat.S_IFWHT`, :func:`stat.S_ISDOOR`, :func:`stat.S_ISPORT`, and :" +"func:`stat.S_ISWHT` values to the Python implementation of :mod:`stat`." +msgstr "" + +#: build/NEWS:22315 +msgid ":issue:`38422`: Clarify docstrings of pathlib suffix(es)" +msgstr "" + +#: build/NEWS:22317 +msgid "" +":issue:`38405`: Nested subclasses of :class:`typing.NamedTuple` are now " +"pickleable." +msgstr "" + +#: build/NEWS:22320 +msgid "" +":issue:`38332`: Prevent :exc:`KeyError` thrown by :func:`!_encoded_words." +"decode` when given an encoded-word with invalid content-type encoding from " +"propagating all the way to :func:`email.message.get`." +msgstr "" + +#: build/NEWS:22325 +msgid "" +":issue:`38371`: Deprecated the ``split()`` method in :class:`!_tkinter." +"TkappType` in favour of the ``splitlist()`` method which has more consistent " +"and predictable behavior." +msgstr "" + +#: build/NEWS:22329 +msgid "" +":issue:`38341`: Add :exc:`smtplib.SMTPNotSupportedError` to the :mod:" +"`smtplib` exported names." +msgstr "" + +#: build/NEWS:22332 +msgid "" +":issue:`38319`: sendfile() used in socket and shutil modules was raising " +"OverflowError for files >= 2GiB on 32-bit architectures. (patch by " +"Giampaolo Rodola)" +msgstr "" + +#: build/NEWS:22336 +msgid ":issue:`38242`: Revert the new asyncio Streams API" +msgstr "" + +#: build/NEWS:22338 +msgid "" +":issue:`13153`: OS native encoding is now used for converting between Python " +"strings and Tcl objects. This allows to display, copy and paste to " +"clipboard emoji and other non-BMP characters. Converting strings from Tcl " +"to Python and back now never fails (except MemoryError)." +msgstr "" + +#: build/NEWS:22343 +msgid "" +":issue:`38019`: Correctly handle pause/resume reading of closed asyncio unix " +"pipe." +msgstr "" + +#: build/NEWS:22346 +msgid "" +":issue:`38163`: Child mocks will now detect their type as either synchronous " +"or asynchronous, asynchronous child mocks will be AsyncMocks and synchronous " +"child mocks will be either MagicMock or Mock (depending on their parent " +"type)." +msgstr "" + +#: build/NEWS:22351 +msgid ":issue:`38161`: Removes _AwaitEvent from AsyncMock." +msgstr "" + +#: build/NEWS:22353 +msgid "" +":issue:`38216`: Allow the rare code that wants to send invalid http requests " +"from the ``http.client`` library a way to do so. The fixes for :issue:" +"`30458` led to breakage for some projects that were relying on this ability " +"to test their own behavior in the face of bad requests." +msgstr "" + +#: build/NEWS:22358 +msgid "" +":issue:`28286`: Deprecate opening :class:`~gzip.GzipFile` for writing " +"implicitly. Always specify the *mode* argument for writing." +msgstr "" + +#: build/NEWS:22361 +msgid "" +":issue:`38108`: Any synchronous magic methods on an AsyncMock now return a " +"MagicMock. Any asynchronous magic methods on a MagicMock now return an " +"AsyncMock." +msgstr "" + +#: build/NEWS:22365 +msgid "" +":issue:`38265`: Update the *length* parameter of :func:`os.pread` to accept :" +"c:type:`Py_ssize_t` instead of :c:expr:`int`." +msgstr "" + +#: build/NEWS:22368 +msgid "" +":issue:`38112`: :mod:`compileall` has a higher default recursion limit and " +"new command-line arguments for path manipulation, symlinks handling, and " +"multiple optimization levels." +msgstr "" + +#: build/NEWS:22372 +msgid ":issue:`38248`: asyncio: Fix inconsistent immediate Task cancellation" +msgstr "" + +#: build/NEWS:22374 +msgid "" +":issue:`38237`: The arguments for the builtin pow function are more " +"descriptive. They can now also be passed in as keywords." +msgstr "" + +#: build/NEWS:22377 +msgid "" +":issue:`34002`: Improve efficiency in parts of email package by changing " +"while-pop to a for loop, using isdisjoint instead of set intersections." +msgstr "" + +#: build/NEWS:22380 +msgid "" +":issue:`38191`: Constructors of :class:`~typing.NamedTuple` and :class:" +"`~typing.TypedDict` types now accept arbitrary keyword argument names, " +"including \"cls\", \"self\", \"typename\", \"_typename\", \"fields\" and " +"\"_fields\"." +msgstr "" + +#: build/NEWS:22385 +msgid "" +":issue:`38155`: Add ``__all__`` to :mod:`datetime`. Patch by Tahia Khan." +msgstr "" + +#: build/NEWS:22387 +msgid "" +":issue:`38185`: Fixed case-insensitive string comparison in :class:`sqlite3." +"Row` indexing." +msgstr "" + +#: build/NEWS:22390 +msgid "" +":issue:`38136`: Changes AsyncMock call count and await count to be two " +"different counters. Now await count only counts when a coroutine has been " +"awaited, not when it has been called, and vice-versa. Update the " +"documentation around this." +msgstr "" + +#: build/NEWS:22395 +msgid "" +":issue:`37828`: Fix default mock name in :meth:`unittest.mock.Mock." +"assert_called` exceptions. Patch by Abraham Toriz Cruz." +msgstr "" + +#: build/NEWS:22399 +msgid "" +":issue:`38175`: Fix a memory leak in comparison of :class:`sqlite3.Row` " +"objects." +msgstr "" + +#: build/NEWS:22402 +msgid "" +":issue:`33936`: _hashlib no longer calls obsolete OpenSSL initialization " +"function with OpenSSL 1.1.0+." +msgstr "" + +#: build/NEWS:22405 +msgid "" +":issue:`34706`: Preserve subclassing in inspect.Signature.from_callable." +msgstr "" + +#: build/NEWS:22407 +msgid "" +":issue:`38153`: Names of hashing algorithms from OpenSSL are now normalized " +"to follow Python's naming conventions. For example OpenSSL uses sha3-512 " +"instead of sha3_512 or blake2b512 instead of blake2b." +msgstr "" + +#: build/NEWS:22411 +msgid "" +":issue:`38115`: Fix a bug in dis.findlinestarts() where it would return " +"invalid bytecode offsets. Document that a code object's co_lnotab can " +"contain invalid bytecode offsets." +msgstr "" + +#: build/NEWS:22415 +msgid "" +":issue:`38148`: Add slots to :mod:`asyncio` transport classes, which can " +"reduce memory usage." +msgstr "" + +#: build/NEWS:22418 +msgid "" +":issue:`38142`: The _hashlib OpenSSL wrapper extension module is now PEP-384 " +"compliant." +msgstr "" + +#: build/NEWS:22421 +msgid "" +":issue:`9216`: hashlib constructors now support usedforsecurity flag to " +"signal that a hashing algorithm is not used in a security context." +msgstr "" + +#: build/NEWS:22424 +msgid "" +":issue:`36991`: Fixes a potential incorrect AttributeError exception " +"escaping ZipFile.extract() in some unsupported input error situations." +msgstr "" + +#: build/NEWS:22427 +msgid "" +":issue:`38134`: Remove obsolete copy of PBKDF2_HMAC_fast. All supported " +"OpenSSL versions contain a fast implementation." +msgstr "" + +#: build/NEWS:22430 +msgid "" +":issue:`38132`: The OpenSSL hashlib wrapper uses a simpler implementation. " +"Several Macros and pointless caches are gone. The hash name now comes from " +"OpenSSL's EVP. The algorithm name stays the same, except it is now always " +"lower case." +msgstr "" + +#: build/NEWS:22435 +msgid "" +":issue:`38008`: Fix parent class check in protocols to correctly identify " +"the module that provides a builtin protocol, instead of assuming they all " +"come from the :mod:`collections.abc` module" +msgstr "" + +#: build/NEWS:22439 +msgid "" +":issue:`34037`: For :mod:`asyncio`, add a new coroutine :meth:`loop." +"shutdown_default_executor`. The new coroutine provides an API to schedule an " +"executor shutdown that waits on the threadpool to finish closing. Also, :" +"func:`asyncio.run` has been updated to utilize the new coroutine. Patch by " +"Kyle Stanley." +msgstr "" + +#: build/NEWS:22445 +msgid "" +":issue:`37405`: Fixed regression bug for socket.getsockname() for non-" +"CAN_ISOTP AF_CAN address family sockets by returning a 1-tuple instead of " +"string." +msgstr "" + +#: build/NEWS:22448 +msgid "" +":issue:`38121`: Update parameter names on functions in importlib.metadata " +"matching the changes in the 0.22 release of importlib_metadata." +msgstr "" + +#: build/NEWS:22451 +msgid "" +":issue:`38110`: The os.closewalk() implementation now uses the libc fdwalk() " +"API on platforms where it is available." +msgstr "" + +#: build/NEWS:22454 +msgid "" +":issue:`38093`: Fixes AsyncMock so it doesn't crash when used with " +"AsyncContextManagers or AsyncIterators." +msgstr "" + +#: build/NEWS:22457 +msgid "" +":issue:`37488`: Add warning to :meth:`datetime.utctimetuple`, :meth:" +"`datetime.utcnow` and :meth:`datetime.utcfromtimestamp` ." +msgstr "" + +#: build/NEWS:22460 +msgid "" +":issue:`35640`: Allow passing a :term:`path-like object` as ``directory`` " +"argument to the :class:`http.server.SimpleHTTPRequestHandler` class. Patch " +"by Géry Ogam." +msgstr "" + +#: build/NEWS:22464 +msgid "" +":issue:`38086`: Update importlib.metadata with changes from " +"`importlib_metadata 0.21 <https://gitlab.com/python-devs/importlib_metadata/" +"blob/0.21/importlib_metadata/docs/changelog.rst>`_." +msgstr "" + +#: build/NEWS:22468 +msgid "" +":issue:`37251`: Remove ``__code__`` check in AsyncMock that incorrectly " +"evaluated function specs as async objects but failed to evaluate classes " +"with ``__await__`` but no ``__code__`` attribute defined as async objects." +msgstr "" + +#: build/NEWS:22472 +msgid ":issue:`38037`: Fix reference counters in the :mod:`signal` module." +msgstr "" + +#: build/NEWS:22474 +msgid "" +":issue:`38066`: Hide internal asyncio.Stream methods: feed_eof(), " +"feed_data(), set_exception() and set_transport()." +msgstr "" + +#: build/NEWS:22477 +msgid ":issue:`38059`: inspect.py now uses sys.exit() instead of exit()" +msgstr "" + +#: build/NEWS:22479 +msgid ":issue:`38049`: Added command-line interface for the :mod:`ast` module." +msgstr "" + +#: build/NEWS:22481 +msgid "" +":issue:`37953`: In :mod:`typing`, improved the ``__hash__`` and ``__eq__`` " +"methods for :class:`ForwardReferences`." +msgstr "" + +#: build/NEWS:22484 +msgid "" +":issue:`38026`: Fixed :func:`inspect.getattr_static` used ``isinstance`` " +"while it should avoid dynamic lookup." +msgstr "" + +#: build/NEWS:22487 +msgid "" +":issue:`35923`: Update :class:`importlib.machinery.BuiltinImporter` to use " +"``loader._ORIGIN`` instead of a hardcoded value. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:22490 +msgid "" +":issue:`38010`: In ``importlib.metadata`` sync with ``importlib_metadata`` " +"0.20, clarifying behavior of ``files()`` and fixing issue where only one " +"requirement was returned for ``requires()`` on ``dist-info`` packages." +msgstr "" + +#: build/NEWS:22494 +msgid "" +":issue:`38006`: weakref.WeakValueDictionary defines a local remove() " +"function used as callback for weak references. This function was created " +"with a closure. Modify the implementation to avoid the closure." +msgstr "" + +#: build/NEWS:22498 +msgid "" +":issue:`37995`: Added the *indent* option to :func:`ast.dump` which allows " +"it to produce a multiline indented output." +msgstr "" + +#: build/NEWS:22501 +msgid "" +":issue:`34410`: Fixed a crash in the :func:`tee` iterator when re-enter it. " +"RuntimeError is now raised in this case." +msgstr "" + +#: build/NEWS:22504 +msgid "" +":issue:`37140`: Fix a ctypes regression of Python 3.8. When a ctypes." +"Structure is passed by copy to a function, ctypes internals created a " +"temporary object which had the side effect of calling the structure " +"finalizer (__del__) twice. The Python semantics requires a finalizer to be " +"called exactly once. Fix ctypes internals to no longer call the finalizer " +"twice." +msgstr "" + +#: build/NEWS:22510 +msgid "" +":issue:`37587`: ``_json.scanstring`` is now up to 3x faster when there are " +"many backslash escaped characters in the JSON string." +msgstr "" + +#: build/NEWS:22513 +msgid "" +":issue:`37834`: Prevent shutil.rmtree exception when built on non-Windows " +"system without fd system call support, like older versions of macOS." +msgstr "" + +#: build/NEWS:22516 +msgid "" +":issue:`10978`: Semaphores and BoundedSemaphores can now release more than " +"one waiting thread at a time." +msgstr "" + +#: build/NEWS:22519 +msgid "" +":issue:`37972`: Subscripts to the ``unittest.mock.call`` objects now receive " +"the same chaining mechanism as any other custom attributes, so that the " +"following usage no longer raises a ``TypeError``:" +msgstr "" + +#: build/NEWS:22523 +msgid "``call().foo().__getitem__('bar')``" +msgstr "" + +#: build/NEWS:22525 +msgid "Patch by blhsing" +msgstr "" + +#: build/NEWS:22527 +msgid "" +":issue:`37965`: Fix C compiler warning caused by distutils.ccompiler." +"CCompiler.has_function." +msgstr "" + +#: build/NEWS:22530 +msgid ":issue:`37964`: Add ``F_GETPATH`` command to :mod:`fcntl`." +msgstr "" + +#: build/NEWS:22532 +msgid "" +":issue:`37960`: ``repr()`` of buffered and text streams now silences only " +"expected exceptions when get the value of \"name\" and \"mode\" attributes." +msgstr "" + +#: build/NEWS:22535 +msgid "" +":issue:`37961`: Add a ``total_nframe`` field to the traces collected by the " +"tracemalloc module. This field indicates the original number of frames " +"before it was truncated." +msgstr "" + +#: build/NEWS:22539 +msgid "" +":issue:`37951`: Most features of the subprocess module now work again in " +"subinterpreters. Only *preexec_fn* is restricted in subinterpreters." +msgstr "" + +#: build/NEWS:22542 +msgid "" +":issue:`36205`: Fix the rusage implementation of time.process_time() to " +"correctly report the sum of the system and user CPU time." +msgstr "" + +#: build/NEWS:22545 +msgid "" +":issue:`37950`: Fix :func:`ast.dump` when call with incompletely initialized " +"node." +msgstr "" + +#: build/NEWS:22548 +msgid "" +":issue:`34679`: Restores instantiation of Windows IOCP event loops from the " +"non-main thread." +msgstr "" + +#: build/NEWS:22551 +msgid "" +":issue:`36917`: Add default implementation of the :meth:`ast.NodeVisitor." +"visit_Constant` method which emits a deprecation warning and calls " +"corresponding methods ``visit_Num()``, ``visit_Str()``, etc." +msgstr "" + +#: build/NEWS:22556 +msgid "" +":issue:`37798`: Update test_statistics.py to verify that the statistics " +"module works well for both C and Python implementations. Patch by Donghee Na" +msgstr "" + +#: build/NEWS:22559 +msgid "" +":issue:`26589`: Added a new status code to the http module: 451 " +"UNAVAILABLE_FOR_LEGAL_REASONS" +msgstr "" + +#: build/NEWS:22562 +msgid "" +":issue:`37915`: Fix a segmentation fault that appeared when comparing " +"instances of ``datetime.timezone`` and ``datetime.tzinfo`` objects. Patch by " +"Pablo Galindo." +msgstr "" + +#: build/NEWS:22566 +msgid "" +":issue:`32554`: Deprecate having random.seed() call hash on arbitrary types." +msgstr "" + +#: build/NEWS:22568 +msgid "" +":issue:`9938`: Add optional keyword argument ``exit_on_error`` for :class:" +"`ArgumentParser`." +msgstr "" + +#: build/NEWS:22571 +msgid "" +":issue:`37851`: The :mod:`faulthandler` module no longer allocates its " +"alternative stack at Python startup. Now the stack is only allocated at the " +"first faulthandler usage." +msgstr "" + +#: build/NEWS:22575 +msgid "" +":issue:`32793`: Fix a duplicated debug message when :meth:`smtplib.SMTP." +"connect` is called." +msgstr "" + +#: build/NEWS:22578 +msgid "" +":issue:`37885`: venv: Don't generate unset variable warning on deactivate." +msgstr "" + +#: build/NEWS:22580 +msgid "" +":issue:`37868`: Fix dataclasses.is_dataclass when given an instance that " +"never raises AttributeError in __getattr__. That is, an object that returns " +"something for __dataclass_fields__ even if it's not a dataclass." +msgstr "" + +#: build/NEWS:22584 +msgid "" +":issue:`37811`: Fix ``socket`` module's ``socket.connect(address)`` function " +"being unable to establish connection in case of interrupted system call. The " +"problem was observed on all OSes which ``poll(2)`` system call can take only " +"non-negative integers and -1 as a timeout value." +msgstr "" + +#: build/NEWS:22589 +msgid "" +":issue:`37863`: Optimizations for Fraction.__hash__ suggested by Tim Peters." +msgstr "" + +#: build/NEWS:22591 +msgid "" +":issue:`21131`: Fix ``faulthandler.register(chain=True)`` stack. " +"faulthandler now allocates a dedicated stack of ``SIGSTKSZ*2`` bytes, " +"instead of just ``SIGSTKSZ`` bytes. Calling the previous signal handler in " +"faulthandler signal handler uses more than ``SIGSTKSZ`` bytes of stack " +"memory on some platforms." +msgstr "" + +#: build/NEWS:22597 +msgid "" +":issue:`37798`: Add C fastpath for statistics.NormalDist.inv_cdf() Patch by " +"Donghee Na" +msgstr "" + +#: build/NEWS:22600 +msgid "" +":issue:`37804`: Remove the deprecated method ``threading.Thread.isAlive()``. " +"Patch by Donghee Na." +msgstr "" + +#: build/NEWS:22603 +msgid "" +":issue:`37819`: Add Fraction.as_integer_ratio() to match the corresponding " +"methods in bool, int, float, and decimal." +msgstr "" + +#: build/NEWS:22606 +msgid "" +":issue:`14465`: Add an xml.etree.ElementTree.indent() function for pretty-" +"printing XML trees. Contributed by Stefan Behnel." +msgstr "" + +#: build/NEWS:22609 +msgid "" +":issue:`37810`: Fix :mod:`difflib` ``?`` hint in diff output when dealing " +"with tabs. Patch by Anthony Sottile." +msgstr "" + +#: build/NEWS:22612 +msgid "" +":issue:`37772`: In ``zipfile.Path``, when adding implicit dirs, ensure that " +"ancestral directories are added and that duplicates are excluded." +msgstr "" + +#: build/NEWS:22615 +msgid "" +":issue:`18578`: Renamed and documented ``test.bytecode_helper`` as ``test." +"support.bytecode_helper``. Patch by Joannah Nanjekye." +msgstr "" + +#: build/NEWS:22618 +msgid ":issue:`37785`: Fix xgettext warnings in :mod:`argparse`." +msgstr "" + +#: build/NEWS:22620 +msgid "" +":issue:`34488`: :meth:`writelines` method of :class:`io.BytesIO` is now " +"slightly faster when many small lines are passed. Patch by Sergey Fedoseev." +msgstr "" + +#: build/NEWS:22624 +msgid "" +":issue:`37449`: ``ensurepip`` now uses ``importlib.resources.read_binary()`` " +"to read data instead of ``pkgutil.get_data()``. Patch by Joannah Nanjekye." +msgstr "" + +#: build/NEWS:22627 +msgid "" +":issue:`28292`: Mark calendar.py helper functions as being private. The " +"follows PEP 8 guidance to maintain the style conventions in the module and " +"it addresses a known case of user confusion." +msgstr "" + +#: build/NEWS:22631 +msgid "" +":issue:`18049`: Add definition of THREAD_STACK_SIZE for AIX in Python/" +"thread_pthread.h The default thread stacksize caused crashes with the " +"default recursion limit Patch by M Felt" +msgstr "" + +#: build/NEWS:22635 +msgid "" +":issue:`37742`: The logging.getLogger() API now returns the root logger when " +"passed the name 'root', whereas previously it returned a non-root logger " +"named 'root'. This could affect cases where user code explicitly wants a non-" +"root logger named 'root', or instantiates a logger using logging." +"getLogger(__name__) in some top-level module called 'root.py'." +msgstr "" + +#: build/NEWS:22641 +msgid "" +":issue:`37738`: Fix the implementation of curses ``addch(str, color_pair)``: " +"pass the color pair to ``setcchar()``, instead of always passing 0 as the " +"color pair." +msgstr "" + +#: build/NEWS:22645 +msgid "" +":issue:`37723`: Fix performance regression on regular expression parsing " +"with huge character sets. Patch by Yann Vaginay." +msgstr "" + +#: build/NEWS:22648 +msgid "" +":issue:`35943`: The function :c:func:`PyImport_GetModule` now ensures any " +"module it returns is fully initialized. Patch by Joannah Nanjekye." +msgstr "" + +#: build/NEWS:22651 +msgid "" +":issue:`32178`: Fix IndexError in :mod:`email` package when trying to parse " +"invalid address fields starting with ``:``." +msgstr "" + +#: build/NEWS:22654 +msgid "" +":issue:`37268`: The :mod:`parser` module is deprecated and will be removed " +"in future versions of Python." +msgstr "" + +#: build/NEWS:22657 +msgid ":issue:`11953`: Completing WSA* error codes in :mod:`socket`." +msgstr "" + +#: build/NEWS:22659 +msgid "" +":issue:`37685`: Fixed comparisons of :class:`datetime.timedelta` and :class:" +"`datetime.timezone`." +msgstr "" + +#: build/NEWS:22662 +msgid "" +":issue:`37697`: Synchronize ``importlib.metadata`` with `importlib_metadata " +"0.19 <https://gitlab.com/python-devs/importlib_metadata/-/milestones/20>`_, " +"improving handling of EGG-INFO files and fixing a crash when entry point " +"names contained colons." +msgstr "" + +#: build/NEWS:22668 +msgid "" +":issue:`37695`: Correct :func:`curses.unget_wch` error message. Patch by " +"Anthony Sottile." +msgstr "" + +#: build/NEWS:22671 +msgid "" +":issue:`37689`: Add :meth:`is_relative_to` in :class:`PurePath` to determine " +"whether or not one path is relative to another." +msgstr "" + +#: build/NEWS:22674 +msgid "" +":issue:`29553`: Fixed :meth:`argparse.ArgumentParser.format_usage` for " +"mutually exclusive groups. Patch by Andrew Nester." +msgstr "" + +#: build/NEWS:22677 +msgid "" +":issue:`37691`: Let math.dist() accept coordinates as sequences (or " +"iterables) rather than just tuples." +msgstr "" + +#: build/NEWS:22680 +msgid "" +":issue:`37685`: Fixed ``__eq__``, ``__lt__`` etc implementations in some " +"classes. They now return :data:`NotImplemented` for unsupported type of the " +"other operand. This allows the other operand to play role (for example the " +"equality comparison with :data:`~unittest.mock.ANY` will return ``True``)." +msgstr "" + +#: build/NEWS:22686 +msgid "" +":issue:`37354`: Make Activate.ps1 Powershell script static to allow for " +"signing it." +msgstr "" + +#: build/NEWS:22689 +msgid "" +":issue:`37664`: Update wheels bundled with ensurepip (pip 19.2.3 and " +"setuptools 41.2.0)" +msgstr "" + +#: build/NEWS:22692 +msgid "" +":issue:`37663`: Bring consistency to venv shell activation scripts by always " +"using __VENV_PROMPT__." +msgstr "" + +#: build/NEWS:22695 +msgid "" +":issue:`37642`: Allowed the pure Python implementation of :class:`datetime." +"timezone` to represent sub-minute offsets close to minimum and maximum " +"boundaries, specifically in the ranges (23:59, 24:00) and (-23:59, 24:00). " +"Patch by Ngalim Siregar" +msgstr "" + +#: build/NEWS:22700 +msgid "" +":issue:`36161`: In :mod:`posix`, use ``ttyname_r`` instead of ``ttyname`` " +"for thread safety." +msgstr "" + +#: build/NEWS:22703 +msgid "" +":issue:`36324`: Make internal attributes for statistics.NormalDist() private." +msgstr "" + +#: build/NEWS:22705 +msgid "" +":issue:`37555`: Fix ``NonCallableMock._call_matcher`` returning tuple " +"instead of ``_Call`` object when ``self._spec_signature`` exists. Patch by " +"Elizabeth Uselton" +msgstr "" + +#: build/NEWS:22709 +msgid "" +":issue:`29446`: Make ``from tkinter import *`` import only the expected " +"objects." +msgstr "" + +#: build/NEWS:22712 +msgid "" +":issue:`16970`: Adding a value error when an invalid value in passed to " +"nargs Patch by Robert Leenders" +msgstr "" + +#: build/NEWS:22715 +msgid "" +":issue:`34443`: Exceptions from :mod:`enum` now use the ``__qualname`` of " +"the enum class in the exception message instead of the ``__name__``." +msgstr "" + +#: build/NEWS:22718 +msgid "" +":issue:`37491`: Fix ``IndexError`` when parsing email headers with " +"unexpectedly ending bare-quoted string value. Patch by Abhilash Raj." +msgstr "" + +#: build/NEWS:22721 +msgid "" +":issue:`37587`: Make json.loads faster for long strings. (Patch by Marco " +"Paolini)" +msgstr "" + +#: build/NEWS:22724 +msgid "" +":issue:`18378`: Recognize \"UTF-8\" as a valid value for LC_CTYPE in locale." +"_parse_localename." +msgstr "" + +#: build/NEWS:22727 +msgid "" +":issue:`37579`: Return :exc:`NotImplemented` in Python implementation of " +"``__eq__`` for :class:`~datetime.timedelta` and :class:`~datetime.time` when " +"the other object being compared is not of the same type to match C " +"implementation. Patch by Karthikeyan Singaravelan." +msgstr "" + +#: build/NEWS:22732 +msgid "" +":issue:`21478`: Record calls to parent when autospecced object is attached " +"to a mock using :func:`unittest.mock.attach_mock`. Patch by Karthikeyan " +"Singaravelan." +msgstr "" + +#: build/NEWS:22736 +msgid "" +":issue:`37531`: \"python3 -m test -jN --timeout=TIMEOUT\" now kills a worker " +"process if it runs longer than *TIMEOUT* seconds." +msgstr "" + +#: build/NEWS:22739 +msgid "" +":issue:`37482`: Fix serialization of display name in originator or " +"destination address fields with both encoded words and special chars." +msgstr "" + +#: build/NEWS:22742 +msgid "" +":issue:`36993`: Improve error reporting for corrupt zip files with bad zip64 " +"extra data. Patch by Daniel Hillier." +msgstr "" + +#: build/NEWS:22745 +msgid "" +":issue:`37502`: pickle.loads() no longer raises TypeError when the buffers " +"argument is set to None" +msgstr "" + +#: build/NEWS:22748 +msgid "" +":issue:`37520`: Correct behavior for zipfile.Path.parent when the path " +"object identifies a subdirectory." +msgstr "" + +#: build/NEWS:22751 +msgid "" +":issue:`18374`: Fix the ``.col_offset`` attribute of nested :class:`ast." +"BinOp` instances which had a too large value in some situations." +msgstr "" + +#: build/NEWS:22754 +msgid "" +":issue:`37424`: Fixes a possible hang when using a timeout on ``subprocess." +"run()`` while capturing output. If the child process spawned its own " +"children or otherwise connected its stdout or stderr handles with another " +"process, we could hang after the timeout was reached and our child was " +"killed when attempting to read final output from the pipes." +msgstr "" + +#: build/NEWS:22760 +msgid "" +":issue:`37421`: Fix :func:`multiprocessing.util.get_temp_dir` finalizer: " +"clear also the 'tempdir' configuration of the current process, so next call " +"to ``get_temp_dir()`` will create a new temporary directory, rather than " +"reusing the removed temporary directory." +msgstr "" + +#: build/NEWS:22765 +msgid "" +":issue:`37481`: The distutils ``bdist_wininst`` command is deprecated in " +"Python 3.8, use ``bdist_wheel`` (wheel packages) instead." +msgstr "" + +#: build/NEWS:22768 +msgid "" +":issue:`37479`: When ``Enum.__str__`` is overridden in a derived class, the " +"override will be used by ``Enum.__format__`` regardless of whether mixin " +"classes are present." +msgstr "" + +#: build/NEWS:22772 +msgid "" +":issue:`37440`: http.client now enables TLS 1.3 post-handshake " +"authentication for default context or if a cert_file is passed to " +"HTTPSConnection." +msgstr "" + +#: build/NEWS:22775 +msgid ":issue:`37437`: Update vendorized expat version to 2.2.7." +msgstr "" + +#: build/NEWS:22777 +msgid "" +":issue:`37428`: SSLContext.post_handshake_auth = True no longer sets " +"SSL_VERIFY_POST_HANDSHAKE verify flag for client connections. Although the " +"option is documented as ignored for clients, OpenSSL implicitly enables cert " +"chain validation when the flag is set." +msgstr "" + +#: build/NEWS:22782 +msgid "" +":issue:`37420`: :func:`os.sched_setaffinity` now correctly handles errors " +"that arise during iteration over its ``mask`` argument. Patch by Brandt " +"Bucher." +msgstr "" + +#: build/NEWS:22785 +msgid "" +":issue:`37412`: The :func:`os.getcwdb` function now uses the UTF-8 encoding " +"on Windows, rather than the ANSI code page: see :pep:`529` for the " +"rationale. The function is no longer deprecated on Windows." +msgstr "" + +#: build/NEWS:22789 +msgid "" +":issue:`37406`: The sqlite3 module now raises TypeError, rather than " +"ValueError, if operation argument type is not str: execute(), executemany() " +"and calling a connection." +msgstr "" + +#: build/NEWS:22793 +msgid "" +":issue:`29412`: Fix IndexError in parsing a header value ending " +"unexpectedly. Patch by Abhilash Raj." +msgstr "" + +#: build/NEWS:22796 +msgid "" +":issue:`36546`: The *dist* argument for statistics.quantiles() is now " +"positional only. The current name doesn't reflect that the argument can be " +"either a dataset or a distribution. Marking the parameter as positional " +"avoids confusion and makes it possible to change the name later." +msgstr "" + +#: build/NEWS:22801 +msgid "" +":issue:`37394`: Fix a bug that was causing the :mod:`queue` module to fail " +"if the accelerator module was not available. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:22804 +msgid "" +":issue:`37376`: :mod:`pprint` now has support for :class:`types." +"SimpleNamespace`. Patch by Carl Bordum Hansen." +msgstr "" + +#: build/NEWS:22807 +msgid "" +":issue:`26967`: An :class:`~argparse.ArgumentParser` with " +"``allow_abbrev=False`` no longer disables grouping of short flags, such as " +"``-vv``, but only disables abbreviation of long flags as documented. Patch " +"by Zac Hatfield-Dodds." +msgstr "" + +#: build/NEWS:22812 +msgid "" +":issue:`37212`: :func:`unittest.mock.call` now preserves the order of " +"keyword arguments in repr output. Patch by Karthikeyan Singaravelan." +msgstr "" + +#: build/NEWS:22815 +msgid "" +":issue:`37372`: Fix error unpickling datetime.time objects from Python 2 " +"with seconds>=24. Patch by Justin Blanchard." +msgstr "" + +#: build/NEWS:22818 +msgid "" +":issue:`37345`: Add formal support for UDPLITE sockets. Support was present " +"before, but it is now easier to detect support with ``hasattr(socket, " +"'IPPROTO_UDPLITE')`` and there are constants defined for each of the values " +"needed: ``socket.IPPROTO_UDPLITE``, ``UDPLITE_SEND_CSCOV``, and " +"``UDPLITE_RECV_CSCOV``. Patch by Gabe Appleton." +msgstr "" + +#: build/NEWS:22824 +msgid ":issue:`37358`: Optimized ``functools.partial`` by using vectorcall." +msgstr "" + +#: build/NEWS:22826 +msgid "" +":issue:`37347`: :meth:`sqlite3.Connection.create_aggregate`, :meth:`sqlite3." +"Connection.create_function`, :meth:`sqlite3.Connection.set_authorizer`, :" +"meth:`sqlite3.Connection.set_progress_handler` :meth:`sqlite3.Connection." +"set_trace_callback` methods lead to segfaults if some of these methods are " +"called twice with an equal object but not the same. Now callbacks are stored " +"more carefully. Patch by Aleksandr Balezin." +msgstr "" + +#: build/NEWS:22834 +msgid "" +":issue:`37163`: The *obj* argument of :func:`dataclasses.replace` is " +"positional-only now." +msgstr "" + +#: build/NEWS:22837 +msgid "" +":issue:`37085`: Add the optional Linux SocketCAN Broadcast Manager " +"constants, used as flags to configure the BCM behaviour, in the socket " +"module. Patch by Karl Ding." +msgstr "" + +#: build/NEWS:22841 +msgid "" +":issue:`37328`: ``HTMLParser.unescape`` is removed. It was undocumented and " +"deprecated since Python 3.4." +msgstr "" + +#: build/NEWS:22844 +msgid "" +":issue:`37305`: Add .webmanifest -> application/manifest+json to list of " +"recognized file types and content type headers" +msgstr "" + +#: build/NEWS:22847 +msgid "" +":issue:`37320`: ``aifc.openfp()`` alias to ``aifc.open()``, ``sunau." +"openfp()`` alias to ``sunau.open()``, and ``wave.openfp()`` alias to ``wave." +"open()`` have been removed. They were deprecated since Python 3.7." +msgstr "" + +#: build/NEWS:22851 +msgid "" +":issue:`37315`: Deprecated accepting floats with integral value (like " +"``5.0``) in :func:`math.factorial`." +msgstr "" + +#: build/NEWS:22854 +msgid "" +":issue:`37312`: ``_dummy_thread`` and ``dummy_threading`` modules have been " +"removed. These modules were deprecated since Python 3.7 which requires " +"threading support." +msgstr "" + +#: build/NEWS:22858 +msgid "" +":issue:`33972`: Email with single part but content-type set to ``multipart/" +"*`` doesn't raise AttributeError anymore." +msgstr "" + +#: build/NEWS:22861 +msgid "" +":issue:`37280`: Use threadpool for reading from file for sendfile fallback " +"mode." +msgstr "" + +#: build/NEWS:22864 +msgid "" +":issue:`37279`: Fix asyncio sendfile support when sendfile sends extra data " +"in fallback mode." +msgstr "" + +#: build/NEWS:22867 +msgid "" +":issue:`19865`: :func:`ctypes.create_unicode_buffer` now also supports non-" +"BMP characters on platforms with 16-bit :c:type:`wchar_t` (for example, " +"Windows and AIX)." +msgstr "" + +#: build/NEWS:22871 +msgid "" +":issue:`37266`: In a subinterpreter, spawning a daemon thread now raises an " +"exception. Daemon threads were never supported in subinterpreters. " +"Previously, the subinterpreter finalization crashed with a Python fatal " +"error if a daemon thread was still running." +msgstr "" + +#: build/NEWS:22876 +msgid "" +":issue:`37210`: Allow pure Python implementation of :mod:`pickle` to work " +"even when the C :mod:`!_pickle` module is unavailable." +msgstr "" + +#: build/NEWS:22879 +msgid "" +":issue:`21872`: Fix :mod:`lzma`: module decompresses data incompletely. When " +"decompressing a FORMAT_ALONE format file, and it doesn't have the end " +"marker, sometimes the last one to dozens bytes can't be output. Patch by Ma " +"Lin." +msgstr "" + +#: build/NEWS:22884 +msgid "" +":issue:`35922`: Fix :meth:`RobotFileParser.crawl_delay` and :meth:" +"`RobotFileParser.request_rate` to return ``None`` rather than raise :exc:" +"`AttributeError` when no relevant rule is defined in the robots.txt file. " +"Patch by Rémi Lapeyre." +msgstr "" + +#: build/NEWS:22889 +msgid "" +":issue:`35766`: Change the format of feature_version to be a (major, minor) " +"tuple." +msgstr "" + +#: build/NEWS:22892 +msgid "" +":issue:`36607`: Eliminate :exc:`RuntimeError` raised by :func:`asyncio." +"all_tasks` if internal tasks weak set is changed by another thread during " +"iteration." +msgstr "" + +#: build/NEWS:22896 +msgid "" +":issue:`18748`: :class:`!_pyio.IOBase` destructor now does nothing if " +"getting the ``closed`` attribute fails to better mimic :class:`!_io.IOBase` " +"finalizer." +msgstr "" + +#: build/NEWS:22900 +msgid "" +":issue:`36402`: Fix a race condition at Python shutdown when waiting for " +"threads. Wait until the Python thread state of all non-daemon threads get " +"deleted (join all non-daemon threads), rather than just wait until non-" +"daemon Python threads complete." +msgstr "" + +#: build/NEWS:22905 +msgid "" +":issue:`37206`: Default values which cannot be represented as Python objects " +"no longer improperly represented as ``None`` in function signatures." +msgstr "" + +#: build/NEWS:22908 +msgid "" +":issue:`37111`: Added ``encoding`` and ``errors`` keyword parameters to " +"``logging.basicConfig``." +msgstr "" + +#: build/NEWS:22911 +msgid "" +":issue:`12144`: Ensure cookies with ``expires`` attribute are handled in :" +"meth:`CookieJar.make_cookies`." +msgstr "" + +#: build/NEWS:22914 +msgid "" +":issue:`34886`: Fix an unintended ValueError from :func:`subprocess.run` " +"when checking for conflicting *input* and *stdin* or *capture_output* and " +"*stdout* or *stderr* args when they were explicitly provided but with " +"``None`` values within a passed in ``**kwargs`` dict rather than as passed " +"directly by name. Patch contributed by Rémi Lapeyre." +msgstr "" + +#: build/NEWS:22920 +msgid "" +":issue:`37173`: The exception message for ``inspect.getfile()`` now " +"correctly reports the passed class rather than the builtins module." +msgstr "" + +#: build/NEWS:22923 +msgid "" +":issue:`37178`: Give math.perm() a one argument form that means the same as " +"math.factorial()." +msgstr "" + +#: build/NEWS:22926 +msgid "" +":issue:`37178`: For math.perm(n, k), let k default to n, giving the same " +"result as factorial." +msgstr "" + +#: build/NEWS:22929 +msgid "" +":issue:`37165`: Converted _collections._count_elements to use the Argument " +"Clinic." +msgstr "" + +#: build/NEWS:22932 +msgid "" +":issue:`34767`: Do not always create a :class:`collections.deque` in :class:" +"`asyncio.Lock`." +msgstr "" + +#: build/NEWS:22935 +msgid "" +":issue:`37158`: Speed-up statistics.fmean() by switching from a function to " +"a generator." +msgstr "" + +#: build/NEWS:22938 +msgid ":issue:`34282`: Remove ``Enum._convert`` method, deprecated in 3.8." +msgstr "" + +#: build/NEWS:22940 +msgid "" +":issue:`37150`: ``argparse._ActionsContainer.add_argument`` now throws " +"error, if someone accidentally pass FileType class object instead of " +"instance of FileType as ``type`` argument." +msgstr "" + +#: build/NEWS:22944 +msgid "" +":issue:`28724`: The socket module now has the :func:`socket.send_fds` and :" +"func:`socket.recv.fds` methods. Contributed by Joannah Nanjekye, Shinya " +"Okano and Victor Stinner." +msgstr "" + +#: build/NEWS:22948 +msgid "" +":issue:`35621`: Support running asyncio subprocesses when execution event " +"loop in a thread on UNIX." +msgstr "" + +#: build/NEWS:22951 +msgid "" +":issue:`36520`: Lengthy email headers with UTF-8 characters are now properly " +"encoded when they are folded. Patch by Jeffrey Kintscher." +msgstr "" + +#: build/NEWS:22954 +msgid "" +":issue:`30835`: Fixed a bug in email parsing where a message with invalid " +"bytes in content-transfer-encoding of a multipart message can cause an " +"AttributeError. Patch by Andrew Donnellan." +msgstr "" + +#: build/NEWS:22958 +msgid "" +":issue:`31163`: pathlib.Path instance's rename and replace methods now " +"return the new Path instance." +msgstr "" + +#: build/NEWS:22961 +msgid "" +":issue:`25068`: :class:`urllib.request.ProxyHandler` now lowercases the keys " +"of the passed dictionary." +msgstr "" + +#: build/NEWS:22964 +msgid "" +":issue:`26185`: Fix :func:`repr` on empty :class:`ZipInfo` object. Patch by " +"Mickaël Schoentgen." +msgstr "" + +#: build/NEWS:22967 +msgid "" +":issue:`21315`: Email headers containing RFC2047 encoded words are parsed " +"despite the missing whitespace, and a defect registered. Also missing " +"trailing whitespace after encoded words is now registered as a defect." +msgstr "" + +#: build/NEWS:22971 +msgid "" +":issue:`31904`: Port test_datetime to VxWorks: skip zoneinfo tests on VxWorks" +msgstr "" + +#: build/NEWS:22973 +msgid "" +":issue:`35805`: Add parser for Message-ID header and add it to default " +"HeaderRegistry. This should prevent folding of Message-ID using RFC 2048 " +"encoded words." +msgstr "" + +#: build/NEWS:22977 +msgid "" +":issue:`36871`: Ensure method signature is used instead of constructor " +"signature of a class while asserting mock object against method calls. Patch " +"by Karthikeyan Singaravelan." +msgstr "" + +#: build/NEWS:22981 +msgid "" +":issue:`35070`: posix.getgrouplist() now works correctly when the user " +"belongs to NGROUPS_MAX supplemental groups. Patch by Jeffrey Kintscher." +msgstr "" + +#: build/NEWS:22984 +msgid "" +":issue:`31783`: Fix race condition in ThreadPoolExecutor when worker threads " +"are created during interpreter shutdown." +msgstr "" + +#: build/NEWS:22987 +msgid "" +":issue:`36582`: Fix ``UserString.encode()`` to correctly return ``bytes`` " +"rather than a ``UserString`` instance." +msgstr "" + +#: build/NEWS:22990 +msgid "" +":issue:`32424`: Deprecate xml.etree.ElementTree.Element.copy() in favor of " +"copy.copy()." +msgstr "" + +#: build/NEWS:22993 +msgid "Patch by Gordon P. Hemsley" +msgstr "" + +#: build/NEWS:22995 +msgid "" +":issue:`36564`: Fix infinite loop in email header folding logic that would " +"be triggered when an email policy's max_line_length is not long enough to " +"include the required markup and any values in the message. Patch by Paul " +"Ganssle" +msgstr "" + +#: build/NEWS:23000 +msgid "" +":issue:`36543`: Removed methods Element.getchildren(), Element.getiterator() " +"and ElementTree.getiterator() and the xml.etree.cElementTree module." +msgstr "" + +#: build/NEWS:23003 +msgid ":issue:`36409`: Remove the old plistlib API deprecated in Python 3.4" +msgstr "" + +#: build/NEWS:23005 +msgid "" +":issue:`36302`: distutils sorts source file lists so that Extension .so " +"files build more reproducibly by default" +msgstr "" + +#: build/NEWS:23008 +msgid "" +":issue:`36250`: Ignore ``ValueError`` from ``signal`` with ``interaction`` " +"in non-main thread." +msgstr "" + +#: build/NEWS:23011 +msgid "" +":issue:`36046`: Added ``user``, ``group`` and ``extra_groups`` parameters to " +"the subprocess.Popen constructor. Patch by Patrick McLean." +msgstr "" + +#: build/NEWS:23014 +msgid "" +":issue:`32627`: Fix compile error when ``_uuid`` headers conflicting " +"included." +msgstr "" + +#: build/NEWS:23016 +msgid "" +":issue:`35800`: Deprecate ``smtpd.MailmanProxy`` ready for future removal." +msgstr "" + +#: build/NEWS:23018 +msgid "" +":issue:`35168`: :attr:`shlex.shlex.punctuation_chars` is now a read-only " +"property." +msgstr "" + +#: build/NEWS:23021 +msgid "" +":issue:`8538`: Add support for boolean actions like ``--foo`` and ``--no-" +"foo`` to argparse. Patch contributed by Rémi Lapeyre." +msgstr "" + +#: build/NEWS:23024 +msgid "" +":issue:`20504`: Fixes a bug in :mod:`cgi` module when a multipart/form-data " +"request has no ``Content-Length`` header." +msgstr "" + +#: build/NEWS:23027 +msgid "" +":issue:`25988`: The abstract base classes in :mod:`collections.abc` no " +"longer are exposed in the regular :mod:`collections` module." +msgstr "" + +#: build/NEWS:23030 +msgid "" +":issue:`11122`: Distutils won't check for rpmbuild in specified paths only." +msgstr "" + +#: build/NEWS:23032 +msgid "" +":issue:`34775`: Division handling of PurePath now returns NotImplemented " +"instead of raising a TypeError when passed something other than an instance " +"of str or PurePath. Patch by Roger Aiudi." +msgstr "" + +#: build/NEWS:23036 +msgid "" +":issue:`34749`: :func:`binascii.a2b_base64` is now up to 2 times faster. " +"Patch by Sergey Fedoseev." +msgstr "" + +#: build/NEWS:23039 +msgid "" +":issue:`34519`: Add additional aliases for HP Roman 8. Patch by Michael " +"Osipov." +msgstr "" + +#: build/NEWS:23041 +msgid "" +":issue:`28009`: Fix uuid.getnode() on platforms with '.' as MAC Addr " +"delimiter as well fix for MAC Addr format that omits a leading 0 in MAC Addr " +"values. Currently, AIX is the only know platform with these settings. Patch " +"by Michael Felt." +msgstr "" + +#: build/NEWS:23046 +msgid "" +":issue:`30618`: Add :meth:`~pathlib.Path.readlink`. Patch by Girts Folkmanis." +msgstr "" + +#: build/NEWS:23048 +msgid "" +":issue:`32498`: Made :func:`urllib.parse.unquote` accept bytes in addition " +"to strings. Patch by Stein Karlsen." +msgstr "" + +#: build/NEWS:23051 +msgid "" +":issue:`33348`: lib2to3 now recognizes expressions after ``*`` and ``**`` " +"like in ``f(*[] or [])``." +msgstr "" + +#: build/NEWS:23054 +msgid "" +":issue:`32689`: Update :func:`shutil.move` function to allow for Path " +"objects to be used as source argument. Patch by Emily Morehouse and Maxwell " +"\"5.13b\" McKinnon." +msgstr "" + +#: build/NEWS:23058 +msgid "" +":issue:`32820`: Added ``__format__`` to IPv4 and IPv6 classes. Always " +"outputs a fully zero-padded string. Supports b/x/n modifiers (bin/hex/native " +"format). Native format for IPv4 is bin, native format for IPv6 is hex. Also " +"supports '#' and '_' modifiers." +msgstr "" + +#: build/NEWS:23063 +msgid "" +":issue:`27657`: Fix urllib.parse.urlparse() with numeric paths. A string " +"like \"path:80\" is no longer parsed as a path but as a scheme (\"path\") " +"and a path (\"80\")." +msgstr "" + +#: build/NEWS:23067 +msgid "" +":issue:`4963`: Fixed non-deterministic behavior related to mimetypes " +"extension mapping and module reinitialization." +msgstr "" + +#: build/NEWS:23073 +msgid "" +":issue:`21767`: Explicitly mention abc support in functools.singledispatch" +msgstr "" + +#: build/NEWS:23075 +msgid "" +":issue:`38816`: Provides more details about the interaction between :c:func:" +"`fork` and CPython's runtime, focusing just on the C-API. This includes " +"cautions about where :c:func:`fork` should and shouldn't be called." +msgstr "" + +#: build/NEWS:23080 +msgid "" +":issue:`38351`: Modernize :mod:`email` examples from %-formatting to f-" +"strings." +msgstr "" + +#: build/NEWS:23082 +msgid "" +":issue:`38778`: Document the fact that :exc:`RuntimeError` is raised if :" +"meth:`os.fork` is called in a subinterpreter." +msgstr "" + +#: build/NEWS:23085 +msgid "" +":issue:`38592`: Add Brazilian Portuguese to the language switcher at Python " +"Documentation website." +msgstr "" + +#: build/NEWS:23088 +msgid "" +":issue:`38294`: Add list of no-longer-escaped chars to re.escape " +"documentation" +msgstr "" + +#: build/NEWS:23090 +msgid ":issue:`38053`: Modernized the plistlib documentation" +msgstr "" + +#: build/NEWS:23092 +msgid "" +":issue:`26868`: Fix example usage of :c:func:`PyModule_AddObject` to " +"properly handle errors." +msgstr "" + +#: build/NEWS:23095 +msgid ":issue:`36797`: Fix a dead link in the distutils API Reference." +msgstr "" + +#: build/NEWS:23097 +msgid ":issue:`37977`: Warn more strongly and clearly about pickle insecurity" +msgstr "" + +#: build/NEWS:23099 +msgid "" +":issue:`37979`: Added a link to dateutil.parser.isoparse in the datetime." +"fromisoformat documentation. Patch by Paul Ganssle" +msgstr "" + +#: build/NEWS:23102 +msgid "" +":issue:`12707`: Deprecate info(), geturl(), getcode() methods in favor of " +"the headers, url, and status properties, respectively, for HTTPResponse and " +"addinfourl. Also deprecate the code attribute of addinfourl in favor of the " +"status attribute. Patch by Ashwin Ramaswami" +msgstr "" + +#: build/NEWS:23107 +msgid ":issue:`37937`: Mention ``frame.f_trace`` in :func:`sys.settrace` docs." +msgstr "" + +#: build/NEWS:23109 +msgid ":issue:`37878`: Make :c:func:`PyThreadState_DeleteCurrent` Internal." +msgstr "" + +#: build/NEWS:23111 +msgid ":issue:`37759`: Beginning edits to Whatsnew 3.8" +msgstr "" + +#: build/NEWS:23113 +msgid "" +":issue:`37726`: Stop recommending getopt in the tutorial for command line " +"argument parsing and promote argparse." +msgstr "" + +#: build/NEWS:23116 +msgid "" +":issue:`32910`: Remove implementation-specific behaviour of how venv's " +"Deactivate works." +msgstr "" + +#: build/NEWS:23119 +msgid "" +":issue:`37256`: Fix wording of arguments for :class:`Request` in :mod:" +"`urllib.request`" +msgstr "" + +#: build/NEWS:23122 +msgid "" +":issue:`37284`: Add a brief note to indicate that any new ``sys." +"implementation`` required attributes must go through the PEP process." +msgstr "" + +#: build/NEWS:23126 +msgid "" +":issue:`30088`: Documented that :class:`mailbox.Maildir` constructor doesn't " +"attempt to verify the maildir folder layout correctness. Patch by Sviatoslav " +"Sydorenko." +msgstr "" + +#: build/NEWS:23130 +msgid "" +":issue:`37521`: Fix ``importlib`` examples to insert any newly created " +"modules via importlib.util.module_from_spec() immediately into sys.modules " +"instead of after calling loader.exec_module()." +msgstr "" + +#: build/NEWS:23134 +msgid "Thanks to Benjamin Mintz for finding the bug." +msgstr "" + +#: build/NEWS:23136 +msgid ":issue:`37456`: Slash ('/') is now part of syntax." +msgstr "" + +#: build/NEWS:23138 +msgid ":issue:`37487`: Fix PyList_GetItem index description to include 0." +msgstr "" + +#: build/NEWS:23140 +msgid "" +":issue:`37149`: Replace the dead link to the Tkinter 8.5 reference by John " +"Shipman, New Mexico Tech, with a link to the archive.org copy." +msgstr "" + +#: build/NEWS:23143 +msgid "" +":issue:`37478`: Added possible exceptions to the description of os.chdir()." +msgstr "" + +#: build/NEWS:23145 +msgid "" +":issue:`34903`: Documented that in :meth:`datetime.datetime.strptime`, the " +"leading zero in some two-digit formats is optional. Patch by Mike Gleen." +msgstr "" + +#: build/NEWS:23148 +msgid "" +":issue:`36260`: Add decompression pitfalls to zipfile module documentation." +msgstr "" + +#: build/NEWS:23150 +msgid "" +":issue:`37004`: In the documentation for difflib, a note was added " +"explicitly warning that the results of SequenceMatcher's ratio method may " +"depend on the order of the input strings." +msgstr "" + +#: build/NEWS:23154 +msgid "" +":issue:`36960`: Restructured the :mod:`datetime` docs in the interest of " +"making them more user-friendly and improving readability. Patch by Brad " +"Solomon." +msgstr "" + +#: build/NEWS:23157 +msgid "" +":issue:`36487`: Make C-API docs clear about what the \"main\" interpreter is." +msgstr "" + +#: build/NEWS:23159 +msgid "" +":issue:`23460`: The documentation for decimal string formatting using the ``:" +"g`` specifier has been updated to reflect the correct exponential notation " +"cutoff point. Original patch contributed by Tuomas Suutari." +msgstr "" + +#: build/NEWS:23163 +msgid "" +":issue:`35803`: Document and test that ``tempfile`` functions may accept a :" +"term:`path-like object` for the ``dir`` argument. Patch by Anthony Sottile." +msgstr "" + +#: build/NEWS:23167 +msgid "" +":issue:`33944`: Added a note about the intended use of code in .pth files." +msgstr "" + +#: build/NEWS:23169 +msgid "" +":issue:`34293`: Fix the Doc/Makefile regarding PAPER environment variable " +"and PDF builds" +msgstr "" + +#: build/NEWS:23172 +msgid ":issue:`25237`: Add documentation for tkinter modules" +msgstr "" + +#: build/NEWS:23177 +msgid "" +":issue:`38614`: Fix test_communicate() of test_asyncio.test_subprocess: use " +"``support.LONG_TIMEOUT`` (5 minutes), instead of just 1 minute." +msgstr "" + +#: build/NEWS:23180 +msgid "" +":issue:`38614`: Add timeout constants to :mod:`test.support`: :data:`~test." +"support.LOOPBACK_TIMEOUT`, :data:`~test.support.INTERNET_TIMEOUT`, :data:" +"`~test.support.SHORT_TIMEOUT` and :data:`~test.support.LONG_TIMEOUT`." +msgstr "" + +#: build/NEWS:23186 +msgid "" +":issue:`38502`: test.regrtest now uses process groups in the multiprocessing " +"mode (-jN command line option) if process groups are available: if :func:`os." +"setsid` and :func:`os.killpg` functions are available." +msgstr "" + +#: build/NEWS:23190 +msgid "" +":issue:`35998`: Fix a race condition in test_asyncio." +"test_start_tls_server_1(). Previously, there was a race condition between " +"the test main() function which replaces the protocol and the test " +"ServerProto protocol which sends ANSWER once it gets HELLO. Now, only the " +"test main() function is responsible to send data, ServerProto no longer " +"sends data." +msgstr "" + +#: build/NEWS:23196 +msgid "" +":issue:`38470`: Fix ``test_compileall.test_compile_dir_maxlevels()`` on " +"Windows without long path support: only create 3 subdirectories instead of " +"between 20 and 100 subdirectories." +msgstr "" + +#: build/NEWS:23200 +msgid "" +":issue:`37531`: On timeout, regrtest no longer attempts to call ``popen." +"communicate()`` again: it can hang until all child processes using stdout " +"and stderr pipes completes. Kill the worker process and ignores its output. " +"Change also the faulthandler timeout of the main process from 1 minute to 5 " +"minutes, for Python slowest buildbots." +msgstr "" + +#: build/NEWS:23206 +msgid ":issue:`38239`: Fix test_gdb for Link Time Optimization (LTO) builds." +msgstr "" + +#: build/NEWS:23208 +msgid "" +":issue:`38275`: test_ssl now handles disabled TLS/SSL versions better. " +"OpenSSL's crypto policy and run-time settings are recognized and tests for " +"disabled versions are skipped. Tests also accept more TLS minimum_versions " +"for platforms that override OpenSSL's default with strict settings." +msgstr "" + +#: build/NEWS:23213 +msgid "" +":issue:`38271`: The private keys for test_ssl were encrypted with 3DES in " +"traditional PKCS#5 format. 3DES and the digest algorithm of PKCS#5 are " +"blocked by some strict crypto policies. Use PKCS#8 format with AES256 " +"encryption instead." +msgstr "" + +#: build/NEWS:23218 +msgid "" +":issue:`38270`: test.support now has a helper function to check for " +"availability of a hash digest function. Several tests are refactored avoid " +"MD5 and use SHA256 instead. Other tests are marked to use MD5 and skipped " +"when MD5 is disabled." +msgstr "" + +#: build/NEWS:23223 +msgid "" +":issue:`37123`: Multiprocessing test test_mymanager() now also expects -" +"SIGTERM, not only exitcode 0. BaseManager._finalize_manager() sends SIGTERM " +"to the manager process if it takes longer than 1 second to stop, which " +"happens on slow buildbots." +msgstr "" + +#: build/NEWS:23228 +msgid "" +":issue:`38212`: Multiprocessing tests: increase " +"test_queue_feeder_donot_stop_onexc() timeout from 1 to 60 seconds." +msgstr "" + +#: build/NEWS:23231 +msgid ":issue:`38117`: Test with OpenSSL 1.1.1d" +msgstr "" + +#: build/NEWS:23233 +msgid "" +":issue:`38018`: Increase code coverage for multiprocessing.shared_memory." +msgstr "" + +#: build/NEWS:23235 +msgid "" +":issue:`37805`: Add tests for json.dump(..., skipkeys=True). Patch by " +"Donghee Na." +msgstr "" + +#: build/NEWS:23238 +msgid "" +":issue:`37531`: Enhance regrtest multiprocess timeout: write a message when " +"killing a worker process, catch popen.kill() and popen.wait() exceptions, " +"put a timeout on the second call to popen.communicate()." +msgstr "" + +#: build/NEWS:23242 +msgid ":issue:`37876`: Add tests for ROT-13 codec." +msgstr "" + +#: build/NEWS:23244 +msgid "" +":issue:`36833`: Added tests for :samp:`PyDateTime_{xxx}_GET_{xxx}()` macros " +"of the C API of the :mod:`datetime` module. Patch by Joannah Nanjekye." +msgstr "" + +#: build/NEWS:23247 +msgid "" +":issue:`37558`: Fix test_shared_memory_cleaned_after_process_termination " +"name handling" +msgstr "" + +#: build/NEWS:23250 +msgid "" +":issue:`37526`: Add :func:`test.support.catch_threading_exception`: context " +"manager catching :class:`threading.Thread` exception using :func:`threading." +"excepthook`." +msgstr "" + +#: build/NEWS:23254 +msgid "" +":issue:`37421`: test_concurrent_futures now explicitly stops the ForkServer " +"instance if it's running." +msgstr "" + +#: build/NEWS:23257 +msgid "" +":issue:`37421`: multiprocessing tests now stop the ForkServer instance if " +"it's running: close the \"alive\" file descriptor to ask the server to stop " +"and then remove its UNIX address." +msgstr "" + +#: build/NEWS:23261 +msgid "" +":issue:`37421`: test_distutils.test_build_ext() is now able to remove the " +"temporary directory on Windows: don't import the newly built C extension " +"(\"xx\") in the current process, but test it in a separated process." +msgstr "" + +#: build/NEWS:23265 +msgid "" +":issue:`37421`: test_concurrent_futures now cleans up multiprocessing to " +"remove immediately temporary directories created by multiprocessing.util." +"get_temp_dir()." +msgstr "" + +#: build/NEWS:23269 +msgid "" +":issue:`37421`: test_winconsoleio doesn't leak a temporary file anymore: use " +"tempfile.TemporaryFile() to remove it when the test completes." +msgstr "" + +#: build/NEWS:23272 +msgid "" +":issue:`37421`: multiprocessing tests now explicitly call " +"``_run_finalizers()`` to immediately remove temporary directories created by " +"tests." +msgstr "" + +#: build/NEWS:23275 +msgid "" +":issue:`37421`: urllib.request tests now call :func:`~urllib.request." +"urlcleanup` to remove temporary files created by ``urlretrieve()`` tests and " +"to clear the ``_opener`` global variable set by ``urlopen()`` and functions " +"calling indirectly ``urlopen()``." +msgstr "" + +#: build/NEWS:23280 +msgid ":issue:`37472`: Remove ``Lib/test/outstanding_bugs.py``." +msgstr "" + +#: build/NEWS:23282 +msgid ":issue:`37199`: Fix test failures when IPv6 is unavailable or disabled." +msgstr "" + +#: build/NEWS:23284 +msgid "" +":issue:`19696`: Replace deprecated method \"random.choose\" with \"random." +"choice\" in \"test_pkg_import.py\"." +msgstr "" + +#: build/NEWS:23287 +msgid "" +":issue:`37335`: Remove no longer necessary code from c locale coercion tests" +msgstr "" + +#: build/NEWS:23289 +msgid ":issue:`37421`: Fix test_shutil to no longer leak temporary files." +msgstr "" + +#: build/NEWS:23291 +msgid "" +":issue:`37411`: Fix test_wsgiref.testEnviron() to no longer depend on the " +"environment variables (don't fail if \"X\" variable is set)." +msgstr "" + +#: build/NEWS:23294 +msgid "" +":issue:`37400`: Fix test_os.test_chown(): use os.getgroups() rather than grp." +"getgrall() to get groups. Rename also the test to test_chown_gid()." +msgstr "" + +#: build/NEWS:23297 +msgid "" +":issue:`37359`: Add --cleanup option to python3 -m test to remove " +"``test_python_*`` directories of previous failed jobs. Add \"make " +"cleantest\" to run ``python3 -m test --cleanup``." +msgstr "" + +#: build/NEWS:23301 +msgid "" +":issue:`37362`: test_gdb no longer fails if it gets an \"unexpected\" " +"message on stderr: it now ignores stderr. The purpose of test_gdb is to test " +"that python-gdb.py commands work as expected, not to test gdb." +msgstr "" + +#: build/NEWS:23305 +msgid "" +":issue:`35998`: Avoid TimeoutError in test_asyncio: test_start_tls_server_1()" +msgstr "" + +#: build/NEWS:23307 +msgid "" +":issue:`37278`: Fix test_asyncio ProactorLoopCtrlC: join the thread to " +"prevent leaking a running thread and leaking a reference." +msgstr "" + +#: build/NEWS:23310 +msgid "" +":issue:`37261`: Fix :func:`test.support.catch_unraisable_exception`: its " +"__exit__() method now ignores unraisable exception raised when clearing its " +"``unraisable`` attribute." +msgstr "" + +#: build/NEWS:23314 +msgid "" +":issue:`37069`: regrtest now uses :func:`sys.unraisablehook` to mark a test " +"as \"environment altered\" (ENV_CHANGED) if it emits an \"unraisable " +"exception\". Moreover, regrtest logs a warning in this case." +msgstr "" + +#: build/NEWS:23318 +msgid "" +"Use ``python3 -m test --fail-env-changed`` to catch unraisable exceptions in " +"tests." +msgstr "" + +#: build/NEWS:23321 +msgid "" +":issue:`37252`: Fix assertions in ``test_close`` and " +"``test_events_mask_overflow`` devpoll tests." +msgstr "" + +#: build/NEWS:23324 +msgid ":issue:`37169`: Rewrite ``_PyObject_IsFreed()`` unit tests." +msgstr "" + +#: build/NEWS:23326 +msgid "" +":issue:`37153`: ``test_venv.test_multiprocessing()`` now explicitly calls " +"``pool.terminate()`` to wait until the pool completes." +msgstr "" + +#: build/NEWS:23329 +msgid "" +":issue:`34001`: Make test_ssl pass with LibreSSL. LibreSSL handles minimum " +"and maximum TLS version differently than OpenSSL." +msgstr "" + +#: build/NEWS:23332 +msgid "" +":issue:`36919`: Make ``test_source_encoding.test_issue2301`` implementation " +"independent. The test will work now for both CPython and IronPython." +msgstr "" + +#: build/NEWS:23335 +msgid "" +":issue:`30202`: Update ``test.test_importlib.test_abc`` to test " +"``find_spec()``." +msgstr "" + +#: build/NEWS:23338 +msgid "" +":issue:`28009`: Modify the test_uuid logic to test when a program is " +"available AND can be used to obtain a MACADDR as basis for an UUID. Patch by " +"M. Felt" +msgstr "" + +#: build/NEWS:23341 +msgid "" +":issue:`34596`: Fallback to a default reason when :func:`unittest.skip` is " +"uncalled. Patch by Naitree Zhu." +msgstr "" + +#: build/NEWS:23347 +msgid "" +":issue:`38809`: On Windows, build scripts will now recognize and use python." +"exe from an active virtual env." +msgstr "" + +#: build/NEWS:23350 +msgid "" +":issue:`38684`: Fix _hashlib build when Blake2 is disabled, but OpenSSL " +"supports it." +msgstr "" + +#: build/NEWS:23353 +msgid "" +":issue:`38468`: Misc/python-config.in now uses ``getvar()`` for all still " +"existing ``sysconfig.get_config_var()`` calls. Patch by Joannah Nanjekye." +msgstr "" + +#: build/NEWS:23356 +msgid "" +":issue:`37415`: Fix stdatomic.h header check for ICC compiler: the ICC " +"implementation lacks atomic_uintptr_t type which is needed by Python." +msgstr "" + +#: build/NEWS:23359 +msgid "" +":issue:`38301`: In Solaris family, we must be sure to use ``-D_REENTRANT``. " +"Patch by Jesús Cea Avión." +msgstr "" + +#: build/NEWS:23362 +msgid "" +":issue:`36002`: Locate ``llvm-profdata`` and ``llvm-ar`` binaries using " +"``AC_PATH_TOOL`` rather than ``AC_PATH_TARGET_TOOL``." +msgstr "" + +#: build/NEWS:23365 +msgid "" +":issue:`37936`: The :file:`.gitignore` file systematically keeps \"rooted\", " +"with a non-trailing slash, all the rules that are meant to apply to files in " +"a specific place in the repo. Previously, when the intended file to ignore " +"happened to be at the root of the repo, we'd most often accidentally also " +"ignore files and directories with the same name anywhere in the tree." +msgstr "" + +#: build/NEWS:23371 +msgid "" +":issue:`37760`: The :file:`Tools/unicode/makeunicodedata.py` script, which " +"is used for converting information from the Unicode Character Database into " +"generated code and data used by the methods of :class:`str` and by the :mod:" +"`unicodedata` module, now handles each character's data as a ``dataclass`` " +"with named attributes, rather than a length-18 list of different fields." +msgstr "" + +#: build/NEWS:23378 +msgid "" +":issue:`37936`: The :file:`.gitignore` file no longer applies to any files " +"that are in fact tracked in the Git repository. Patch by Greg Price." +msgstr "" + +#: build/NEWS:23381 +msgid "" +":issue:`37725`: Change \"clean\" makefile target to also clean the program " +"guided optimization (PGO) data. Previously you would have to use \"make " +"clean\" and \"make profile-removal\", or \"make clobber\"." +msgstr "" + +#: build/NEWS:23385 +msgid "" +":issue:`37707`: Mark some individual tests to skip when --pgo is used. The " +"tests marked increase the PGO task time significantly and likely don't help " +"improve optimization of the final executable." +msgstr "" + +#: build/NEWS:23389 +msgid "" +":issue:`36044`: Reduce the number of unit tests run for the PGO generation " +"task. This speeds up the task by a factor of about 15x. Running the full " +"unit test suite is slow. This change may result in a slightly less " +"optimized build since not as many code branches will be executed. If you " +"are willing to wait for the much slower build, the old behavior can be " +"restored using './configure [..] PROFILE_TASK=\"-m test --pgo-extended\"'. " +"We make no guarantees as to which PGO task set produces a faster build. " +"Users who care should run their own relevant benchmarks as results can " +"depend on the environment, workload, and compiler tool chain." +msgstr "" + +#: build/NEWS:23399 +msgid "" +":issue:`37468`: ``make install`` no longer installs ``wininst-*.exe`` files " +"used by distutils bdist_wininst: bdist_wininst only works on Windows." +msgstr "" + +#: build/NEWS:23402 +msgid "" +":issue:`37189`: Many :samp:`PyRun_{XXX}()` functions like :c:func:" +"`PyRun_String` were no longer exported in ``libpython38.dll`` by mistake. " +"Export them again to fix the ABI compatibility." +msgstr "" + +#: build/NEWS:23406 +msgid "" +":issue:`25361`: Enables use of SSE2 instructions in Windows 32-bit build." +msgstr "" + +#: build/NEWS:23408 +msgid "" +":issue:`36210`: Update optional extension module detection for AIX. " +"ossaudiodev and spwd are not applicable for AIX, and are no longer reported " +"as missing. 3rd-party packaging of ncurses (with ASIS support) conflicts " +"with officially supported AIX curses library, so configure AIX to use " +"libcurses.a. However, skip trying to build _curses_panel." +msgstr "" + +#: build/NEWS:23414 +msgid "patch by M Felt" +msgstr "" + +#: build/NEWS:23419 +msgid "" +":issue:`38589`: Fixes HTML Help shortcut when Windows is not installed to C " +"drive" +msgstr "" + +#: build/NEWS:23422 +msgid "" +":issue:`38453`: Ensure ntpath.realpath() correctly resolves relative paths." +msgstr "" + +#: build/NEWS:23424 +msgid "" +":issue:`38519`: Restores the internal C headers that were missing from the " +"nuget.org and Microsoft Store packages." +msgstr "" + +#: build/NEWS:23427 +msgid "" +":issue:`38492`: Remove ``pythonw.exe`` dependency on the Microsoft C++ " +"runtime." +msgstr "" + +#: build/NEWS:23429 +msgid ":issue:`38344`: Fix error message in activate.bat" +msgstr "" + +#: build/NEWS:23431 +msgid "" +":issue:`38359`: Ensures ``pyw.exe`` launcher reads correct registry key." +msgstr "" + +#: build/NEWS:23433 +msgid "" +":issue:`38355`: Fixes ``ntpath.realpath`` failing on ``sys.executable``." +msgstr "" + +#: build/NEWS:23435 +msgid ":issue:`38117`: Update bundled OpenSSL to 1.1.1d" +msgstr "" + +#: build/NEWS:23437 +msgid "" +":issue:`38092`: Reduce overhead when using multiprocessing in a Windows " +"virtual environment." +msgstr "" + +#: build/NEWS:23440 +msgid "" +":issue:`38133`: Allow py.exe launcher to locate installations from the " +"Microsoft Store and improve display of active virtual environments." +msgstr "" + +#: build/NEWS:23443 +msgid "" +":issue:`38114`: The ``pip.ini`` is no longer included in the Nuget package." +msgstr "" + +#: build/NEWS:23445 +msgid "" +":issue:`32592`: Set Windows 8 as the minimum required version for API support" +msgstr "" + +#: build/NEWS:23447 +msgid "" +":issue:`36634`: :func:`os.cpu_count` now returns active processors rather " +"than maximum processors." +msgstr "" + +#: build/NEWS:23450 +msgid "" +":issue:`36634`: venv activate.bat now works when the existing variables " +"contain double quote characters." +msgstr "" + +#: build/NEWS:23453 +msgid "" +":issue:`38081`: Prevent error calling :func:`os.path.realpath` on ``'NUL'``." +msgstr "" + +#: build/NEWS:23455 +msgid ":issue:`38087`: Fix case sensitivity in test_pathlib and test_ntpath." +msgstr "" + +#: build/NEWS:23457 +msgid "" +":issue:`38088`: Fixes distutils not finding vcruntime140.dll with only the " +"v142 toolset installed." +msgstr "" + +#: build/NEWS:23460 +msgid "" +":issue:`37283`: Ensure command-line and unattend.xml setting override " +"previously detected states in Windows installer." +msgstr "" + +#: build/NEWS:23463 +msgid "" +":issue:`38030`: Fixes :func:`os.stat` failing for block devices on Windows" +msgstr "" + +#: build/NEWS:23465 +msgid "" +":issue:`38020`: Fixes potential crash when calling :func:`os.readlink` (or " +"indirectly through :func:`~os.path.realpath`) on a file that is not a " +"supported link." +msgstr "" + +#: build/NEWS:23469 +msgid ":issue:`37705`: Improve the implementation of ``winerror_to_errno()``." +msgstr "" + +#: build/NEWS:23471 +msgid "" +":issue:`37549`: :func:`os.dup` no longer fails for standard streams on " +"Windows 7." +msgstr "" + +#: build/NEWS:23474 +msgid "" +":issue:`1311`: The ``nul`` file on Windows now returns True from :func:`~os." +"path.exists` and a valid result from :func:`os.stat` with ``S_IFCHR`` set." +msgstr "" + +#: build/NEWS:23478 +msgid "" +":issue:`9949`: Enable support for following symlinks in :func:`os.realpath`." +msgstr "" + +#: build/NEWS:23480 +msgid "" +":issue:`37834`: Treat all name surrogate reparse points on Windows in :func:" +"`os.lstat` and other reparse points as regular files in :func:`os.stat`." +msgstr "" + +#: build/NEWS:23484 +msgid "" +":issue:`36266`: Add the module name in the formatted error message when DLL " +"load fail happens during module import in " +"``_PyImport_FindSharedFuncptrWindows()``. Patch by Srinivas Nyayapati." +msgstr "" + +#: build/NEWS:23488 +msgid "" +":issue:`25172`: Trying to import the :mod:`crypt` module on Windows will " +"result in an :exc:`ImportError` with a message explaining that the module " +"isn't supported on Windows. On other platforms, if the underlying ``_crypt`` " +"module is not available, the ImportError will include a message explaining " +"the problem." +msgstr "" + +#: build/NEWS:23494 +msgid "" +":issue:`37778`: Fixes the icons used for file associations to the Microsoft " +"Store package." +msgstr "" + +#: build/NEWS:23497 +msgid "" +":issue:`37734`: Fix use of registry values to launch Python from Microsoft " +"Store app." +msgstr "" + +#: build/NEWS:23500 +msgid "" +":issue:`37702`: Fix memory leak on Windows in creating an SSLContext object " +"or running ``urllib.request.urlopen('https://...')``." +msgstr "" + +#: build/NEWS:23503 +msgid "" +":issue:`37672`: Switch Windows Store package's pip to use bundled :file:`pip." +"ini` instead of :envvar:`PIP_USER` variable." +msgstr "" + +#: build/NEWS:23506 +msgid "" +":issue:`10945`: Officially drop support for creating bdist_wininst " +"installers on non-Windows systems." +msgstr "" + +#: build/NEWS:23509 +msgid "" +":issue:`37445`: Include the ``FORMAT_MESSAGE_IGNORE_INSERTS`` flag in " +"``FormatMessageW()`` calls." +msgstr "" + +#: build/NEWS:23512 +msgid "" +":issue:`37369`: Fixes path for :data:`sys.executable` when running from the " +"Microsoft Store." +msgstr "" + +#: build/NEWS:23515 +msgid "" +":issue:`37380`: Don't collect unfinished processes with ``subprocess." +"_active`` on Windows to cleanup later. Patch by Ruslan Kuprieiev." +msgstr "" + +#: build/NEWS:23518 +msgid "" +":issue:`37351`: Removes libpython38.a from standard Windows distribution." +msgstr "" + +#: build/NEWS:23520 +msgid ":issue:`35360`: Update Windows builds to use SQLite 3.28.0." +msgstr "" + +#: build/NEWS:23522 +msgid "" +":issue:`37267`: On Windows, :func:`os.dup` no longer creates an inheritable " +"fd when handling a character file." +msgstr "" + +#: build/NEWS:23525 +msgid "" +":issue:`36779`: Ensure ``time.tzname`` is correct on Windows when the active " +"code page is set to CP_UTF7 or CP_UTF8." +msgstr "" + +#: build/NEWS:23528 +msgid "" +":issue:`32587`: Make :const:`winreg.REG_MULTI_SZ` support zero-length " +"strings." +msgstr "" + +#: build/NEWS:23530 +msgid "" +":issue:`28269`: Replace use of :c:func:`strcasecmp` for the system function :" +"c:func:`!_stricmp`. Patch by Minmin Gong." +msgstr "" + +#: build/NEWS:23533 +msgid ":issue:`36590`: Add native Bluetooth RFCOMM support to socket module." +msgstr "" + +#: build/NEWS:23538 +msgid ":issue:`38117`: Updated OpenSSL to 1.1.1d in macOS installer." +msgstr "" + +#: build/NEWS:23540 +msgid "" +":issue:`38089`: Move Azure Pipelines to latest VM versions and make macOS " +"tests optional" +msgstr "" + +#: build/NEWS:23543 +msgid "" +":issue:`18049`: Increase the default stack size of threads from 5MB to 16MB " +"on macOS, to match the stack size of the main thread. This avoids crashes on " +"deep recursion in threads." +msgstr "" + +#: build/NEWS:23547 +msgid "" +":issue:`34602`: Avoid test suite failures on macOS by no longer calling " +"resource.setrlimit to increase the process stack size limit at runtime. The " +"runtime change is no longer needed since the interpreter is being built with " +"a larger default stack size." +msgstr "" + +#: build/NEWS:23552 +msgid ":issue:`35360`: Update macOS installer to use SQLite 3.28.0." +msgstr "" + +#: build/NEWS:23554 +msgid ":issue:`34631`: Updated OpenSSL to 1.1.1c in macOS installer." +msgstr "" + +#: build/NEWS:23559 +msgid ":issue:`26353`: Stop adding newline when saving an IDLE shell window." +msgstr "" + +#: build/NEWS:23561 +msgid "" +":issue:`4630`: Add an option to toggle IDLE's cursor blink for shell, " +"editor, and output windows. See Settings, General, Window Preferences, " +"Cursor Blink. Patch by Zackery Spytz." +msgstr "" + +#: build/NEWS:23565 +msgid ":issue:`38598`: Do not try to compile IDLE shell or output windows" +msgstr "" + +#: build/NEWS:23567 +msgid "" +":issue:`36698`: IDLE no longer fails when write non-encodable characters to " +"stderr. It now escapes them with a backslash, as the regular Python " +"interpreter. Added the ``errors`` field to the standard streams." +msgstr "" + +#: build/NEWS:23571 +msgid "" +":issue:`35379`: When exiting IDLE, catch any AttributeError. One happens " +"when EditorWindow.close is called twice. Printing a traceback, when IDLE is " +"run from a terminal, is useless and annoying." +msgstr "" + +#: build/NEWS:23575 +msgid "" +":issue:`38183`: To avoid problems, test_idle ignores the user config " +"directory. It no longer tries to create or access .idlerc or any files " +"within. Users must run IDLE to discover problems with saving settings." +msgstr "" + +#: build/NEWS:23579 +msgid "" +":issue:`38077`: IDLE no longer adds 'argv' to the user namespace when " +"initializing it. This bug only affected 3.7.4 and 3.8.0b2 to 3.8.0b4." +msgstr "" + +#: build/NEWS:23582 +msgid "" +":issue:`38041`: Shell restart lines now fill the window width, always start " +"with '=', and avoid wrapping unnecessarily. The line will still wrap if the " +"included file name is long relative to the width." +msgstr "" + +#: build/NEWS:23586 +msgid "" +":issue:`35771`: To avoid occasional spurious test_idle failures on slower " +"machines, increase the ``hover_delay`` in test_tooltip." +msgstr "" + +#: build/NEWS:23589 +msgid "" +":issue:`37824`: Properly handle user input warnings in IDLE shell. Cease " +"turning SyntaxWarnings into SyntaxErrors." +msgstr "" + +#: build/NEWS:23592 +msgid "" +":issue:`37929`: IDLE Settings dialog now closes properly when there is no " +"shell window." +msgstr "" + +#: build/NEWS:23595 +msgid "" +":issue:`37902`: Add mousewheel scrolling for IDLE module, path, and stack " +"browsers. Patch by George Zhang." +msgstr "" + +#: build/NEWS:23598 +msgid "" +":issue:`37849`: Fixed completions list appearing too high or low when shown " +"above the current line." +msgstr "" + +#: build/NEWS:23601 +msgid ":issue:`36419`: Refactor IDLE autocomplete and improve testing." +msgstr "" + +#: build/NEWS:23603 +msgid "" +":issue:`37748`: Reorder the Run menu. Put the most common choice, Run " +"Module, at the top." +msgstr "" + +#: build/NEWS:23606 +msgid "" +":issue:`37692`: Improve highlight config sample with example shell " +"interaction and better labels for shell elements." +msgstr "" + +#: build/NEWS:23609 +msgid ":issue:`37628`: Settings dialog no longer expands with font size." +msgstr "" + +#: build/NEWS:23611 +msgid "" +":issue:`37627`: Initialize the Customize Run dialog with the command line " +"arguments most recently entered before. The user can optionally edit before " +"submitting them." +msgstr "" + +#: build/NEWS:23615 +msgid "" +":issue:`33610`: Fix code context not showing the correct context when first " +"toggled on." +msgstr "" + +#: build/NEWS:23618 +msgid "" +":issue:`37530`: Optimize code context to reduce unneeded background " +"activity. Font and highlight changes now occur along with text changes " +"instead of after a random delay." +msgstr "" + +#: build/NEWS:23622 +msgid "" +":issue:`27452`: Cleanup ``config.py`` by inlining ``RemoveFile`` and " +"simplifying the handling of ``file`` in ``CreateConfigHandlers``." +msgstr "" + +#: build/NEWS:23625 +msgid "" +":issue:`37325`: Fix tab focus traversal order for help source and custom run " +"dialogs." +msgstr "" + +#: build/NEWS:23628 +msgid "" +":issue:`37321`: Both subprocess connection error messages now refer to the " +"'Startup failure' section of the IDLE doc." +msgstr "" + +#: build/NEWS:23631 +msgid "" +":issue:`17535`: Add optional line numbers for IDLE editor windows. Windows " +"open without line numbers unless set otherwise in the General tab of the " +"configuration dialog." +msgstr "" + +#: build/NEWS:23635 +msgid "" +":issue:`26806`: To compensate for stack frames added by IDLE and avoid " +"possible problems with low recursion limits, add 30 to limits in the user " +"code execution process. Subtract 30 when reporting recursion limits to make " +"this addition mostly transparent." +msgstr "" + +#: build/NEWS:23640 +msgid "" +":issue:`37177`: Properly 'attach' search dialogs to their main window so " +"that they behave like other dialogs and do not get hidden behind their main " +"window." +msgstr "" + +#: build/NEWS:23644 +msgid "" +":issue:`37039`: Adjust \"Zoom Height\" to individual screens by momentarily " +"maximizing the window on first use with a particular screen. Changing " +"screen settings may invalidate the saved height. While a window is " +"maximized, \"Zoom Height\" has no effect." +msgstr "" + +#: build/NEWS:23649 +msgid "" +":issue:`35763`: Make calltip reminder about '/' meaning positional-only less " +"obtrusive by only adding it when there is room on the first line." +msgstr "" + +#: build/NEWS:23652 +msgid "" +":issue:`5680`: Add 'Run... Customized' to the Run menu to run a module with " +"customized settings. Any 'command line arguments' entered are added to sys." +"argv. One can suppress the normal Shell main module restart." +msgstr "" + +#: build/NEWS:23656 +msgid "" +":issue:`36390`: Gather Format menu functions into format.py. Combine " +"paragraph.py, rstrip.py, and format methods from editor.py." +msgstr "" + +#: build/NEWS:23662 +msgid "" +":issue:`38118`: Update Valgrind suppression file to ignore a false alarm in :" +"c:func:`PyUnicode_Decode` when using GCC builtin strcmp()." +msgstr "" + +#: build/NEWS:23665 +msgid "" +":issue:`38347`: pathfix.py: Assume all files that end on '.py' are Python " +"scripts when working recursively." +msgstr "" + +#: build/NEWS:23668 +msgid "" +":issue:`37803`: pdb's ``--help`` and ``--version`` long options now work." +msgstr "" + +#: build/NEWS:23670 +msgid ":issue:`37942`: Improve ArgumentClinic converter for floats." +msgstr "" + +#: build/NEWS:23672 +msgid "" +":issue:`37704`: Remove ``Tools/scripts/h2py.py``: use cffi to access a C API " +"in Python." +msgstr "" + +#: build/NEWS:23675 +msgid ":issue:`37675`: 2to3 now works when run from a zipped standard library." +msgstr "" + +#: build/NEWS:23677 +msgid "" +":issue:`37034`: Argument Clinic now uses the argument name on errors with " +"keyword-only argument instead of their position. Patch contributed by Rémi " +"Lapeyre." +msgstr "" + +#: build/NEWS:23681 +msgid "" +":issue:`37064`: Add option -k to pathscript.py script: preserve shebang " +"flags. Add option -a to pathscript.py script: add flags." +msgstr "" + +#: build/NEWS:23687 +msgid "" +":issue:`37633`: Re-export some function compatibility wrappers for macros in " +"``pythonrun.h``." +msgstr "" + +#: build/NEWS:23690 +msgid "" +":issue:`38644`: Provide :c:func:`Py_EnterRecursiveCall` and :c:func:" +"`Py_LeaveRecursiveCall` as regular functions for the limited API. " +"Previously, there were defined as macros, but these macros didn't work with " +"the limited API which cannot access ``PyThreadState.recursion_depth`` field. " +"Remove ``_Py_CheckRecursionLimit`` from the stable ABI." +msgstr "" + +#: build/NEWS:23696 +msgid "" +":issue:`38650`: The global variable :c:data:`PyStructSequence_UnnamedField` " +"is now a constant and refers to a constant string." +msgstr "" + +#: build/NEWS:23699 +msgid "" +":issue:`38540`: Fixed possible leak in :c:func:`PyArg_Parse` and similar " +"functions for format units ``\"es#\"`` and ``\"et#\"`` when the macro :c:" +"macro:`PY_SSIZE_T_CLEAN` is not defined." +msgstr "" + +#: build/NEWS:23703 +msgid "" +":issue:`38395`: Fix a crash in :class:`weakref.proxy` objects due to " +"incorrect lifetime management when calling some associated methods that may " +"delete the last reference to object being referenced by the proxy. Patch by " +"Pablo Galindo." +msgstr "" + +#: build/NEWS:23708 +msgid "" +":issue:`36389`: The ``_PyObject_CheckConsistency()`` function is now also " +"available in release mode. For example, it can be used to debug a crash in " +"the ``visit_decref()`` function of the GC." +msgstr "" + +#: build/NEWS:23712 +msgid "" +":issue:`38266`: Revert the removal of PyThreadState_DeleteCurrent() with " +"documentation." +msgstr "" + +#: build/NEWS:23715 +msgid "" +":issue:`38303`: Update audioop extension module to use the stable ABI " +"(PEP-384). Patch by Tyler Kieft." +msgstr "" + +#: build/NEWS:23718 +msgid "" +":issue:`38234`: :c:func:`!Py_SetPath` now sets :data:`sys.executable` to the " +"program full path (:c:func:`Py_GetProgramFullPath`) rather than to the " +"program name (:c:func:`Py_GetProgramName`)." +msgstr "" + +#: build/NEWS:23722 +msgid "" +":issue:`38234`: Python ignored arguments passed to :c:func:`!Py_SetPath`, :c:" +"func:`!Py_SetPythonHome` and :c:func:`!Py_SetProgramName`: fix Python " +"initialization to use specified arguments." +msgstr "" + +#: build/NEWS:23726 +msgid "" +":issue:`38205`: The :c:func:`Py_UNREACHABLE` macro now calls :c:func:" +"`Py_FatalError`." +msgstr "" + +#: build/NEWS:23729 +msgid "" +":issue:`38140`: Make dict and weakref offsets opaque for C heap types by " +"passing the offsets through PyMemberDef" +msgstr "" + +#: build/NEWS:23732 +msgid "" +":issue:`15088`: The C function ``PyGen_NeedsFinalizing`` has been removed. " +"It was not documented, tested or used anywhere within CPython after the " +"implementation of :pep:`442`. Patch by Joannah Nanjekye. (Patch by Joannah " +"Nanjekye)" +msgstr "" + +#: build/NEWS:23737 +msgid "" +":issue:`36763`: Options added by ``PySys_AddXOption()`` are now handled the " +"same way than ``PyConfig.xoptions`` and command line ``-X`` options." +msgstr "" + +#: build/NEWS:23740 +msgid ":issue:`37926`: Fix a crash in ``PySys_SetArgvEx(0, NULL, 0)``." +msgstr "" + +#: build/NEWS:23742 +msgid "" +":issue:`37879`: Fix subtype_dealloc to suppress the type decref when the " +"base type is a C heap type" +msgstr "" + +#: build/NEWS:23745 +msgid "" +":issue:`37645`: Add :c:func:`!_PyObject_FunctionStr` to get a user-friendly " +"string representation of a function-like object. Patch by Jeroen Demeyer." +msgstr "" + +#: build/NEWS:23748 +msgid "" +":issue:`29548`: The functions ``PyEval_CallObject``, " +"``PyEval_CallFunction``, ``PyEval_CallMethod`` and " +"``PyEval_CallObjectWithKeywords`` are deprecated. Use :c:func:" +"`PyObject_Call` and its variants instead." +msgstr "" + +#: build/NEWS:23752 +msgid "" +":issue:`37151`: ``PyCFunction_Call`` is now a deprecated alias of :c:func:" +"`PyObject_Call`." +msgstr "" + +#: build/NEWS:23755 +msgid "" +":issue:`37540`: The vectorcall protocol now requires that the caller passes " +"only strings as keyword names." +msgstr "" + +#: build/NEWS:23758 +msgid "" +":issue:`37207`: The vectorcall protocol is now enabled for ``type`` objects: " +"set ``tp_vectorcall`` to a vectorcall function to be used instead of " +"``tp_new`` and ``tp_init`` when calling the class itself." +msgstr "" + +#: build/NEWS:23762 +msgid "" +":issue:`21120`: Exclude Python-ast.h, ast.h and asdl.h from the limited API." +msgstr "" + +#: build/NEWS:23764 +msgid "" +":issue:`37483`: Add new function ``_PyObject_CallOneArg`` for calling an " +"object with one positional argument." +msgstr "" + +#: build/NEWS:23767 +msgid ":issue:`36763`: Add :c:func:`PyConfig_SetWideStringList` function." +msgstr "" + +#: build/NEWS:23769 +msgid "" +":issue:`37337`: Add fast functions for calling methods: :c:func:`!" +"_PyObject_VectorcallMethod`, :c:func:`!_PyObject_CallMethodNoArgs` and :c:" +"func:`!_PyObject_CallMethodOneArg`." +msgstr "" + +#: build/NEWS:23774 +msgid "" +":issue:`28805`: The :c:macro:`METH_FASTCALL` calling convention has been " +"documented." +msgstr "" + +#: build/NEWS:23777 +msgid "" +":issue:`37221`: The new function :c:func:`!PyCode_NewWithPosOnlyArgs` allows " +"to create code objects like :c:func:`!PyCode_New`, but with an extra " +"*posonlyargcount* parameter for indicating the number of positonal-only " +"arguments." +msgstr "" + +#: build/NEWS:23782 +msgid ":issue:`37215`: Fix dtrace issue introduce by :issue:`36842`" +msgstr "" + +#: build/NEWS:23784 +msgid "" +":issue:`37194`: Add a new public :c:func:`PyObject_CallNoArgs` function to " +"the C API: call a callable Python object without any arguments. It is the " +"most efficient way to call a callback without any argument. On x86-64, for " +"example, ``PyObject_CallFunctionObjArgs(func, NULL)`` allocates 960 bytes on " +"the stack per call, whereas ``PyObject_CallNoArgs(func)`` only allocates 624 " +"bytes per call." +msgstr "" + +#: build/NEWS:23791 +msgid "" +":issue:`37170`: Fix the cast on error in :c:func:" +"`PyLong_AsUnsignedLongLongMask()`." +msgstr "" + +#: build/NEWS:23794 +msgid "" +":issue:`35381`: Convert posixmodule.c statically allocated types " +"``DirEntryType`` and ``ScandirIteratorType`` to heap-allocated types." +msgstr "" + +#: build/NEWS:23797 +msgid "" +":issue:`34331`: Use singular/plural noun in error message when instantiating " +"an abstract class with non-overridden abstract method(s)." +msgstr "" + +#: build/NEWS:23802 +msgid "Python 3.8.0 beta 1" +msgstr "" + +#: build/NEWS:23804 +msgid "*Release date: 2019-06-04*" +msgstr "" + +#: build/NEWS:23809 +msgid "" +":issue:`35907`: :cve:`2019-9948`: Avoid file reading by disallowing ``local-" +"file://`` and ``local_file://`` URL schemes in ``URLopener().open()`` and " +"``URLopener().retrieve()`` of :mod:`urllib.request`." +msgstr "" + +#: build/NEWS:23814 +msgid "" +":issue:`33529`: Prevent fold function used in email header encoding from " +"entering infinite loop when there are too many non-ASCII characters in a " +"header." +msgstr "" + +#: build/NEWS:23818 +msgid "" +":issue:`33164`: Updated blake2 implementation which uses secure memset " +"implementation provided by platform." +msgstr "" + +#: build/NEWS:23824 +msgid "" +":issue:`35814`: Allow unpacking in the right hand side of annotated " +"assignments. In particular, ``t: Tuple[int, ...] = x, y, *z`` is now allowed." +msgstr "" + +#: build/NEWS:23828 +msgid "" +":issue:`37126`: All structseq objects are now tracked by the garbage " +"collector. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:23831 +msgid "" +":issue:`37122`: Make the *co_argcount* attribute of code objects represent " +"the total number of positional arguments (including positional-only " +"arguments). The value of *co_posonlyargcount* can be used to distinguish " +"which arguments are positional only, and the difference (*co_argcount* - " +"*co_posonlyargcount*) is the number of positional-or-keyword arguments. " +"Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:23838 +msgid "" +":issue:`20092`: Constructors of :class:`int`, :class:`float` and :class:" +"`complex` will now use the :meth:`~object.__index__` special method, if " +"available and the corresponding method :meth:`~object.__int__`, :meth:" +"`~object.__float__` or :meth:`~object.__complex__` is not available." +msgstr "" + +#: build/NEWS:23843 +msgid ":issue:`37087`: Add native thread ID (TID) support to OpenBSD." +msgstr "" + +#: build/NEWS:23845 +msgid "" +":issue:`26219`: Implemented per opcode cache mechanism and ``LOAD_GLOBAL`` " +"instruction use it. ``LOAD_GLOBAL`` is now about 40% faster. Contributed by " +"Yury Selivanov, and Inada Naoki." +msgstr "" + +#: build/NEWS:23849 +msgid ":issue:`37072`: Fix crash in PyAST_FromNodeObject() when flags is NULL." +msgstr "" + +#: build/NEWS:23851 +msgid "" +":issue:`37029`: Freeing a great many small objects could take time quadratic " +"in the number of arenas, due to using linear search to keep ``obmalloc.c``'s " +"list of usable arenas sorted by order of number of free memory pools. This " +"is accomplished without search now, leaving the worst-case time linear in " +"the number of arenas. For programs where this quite visibly matters " +"(typically with more than 100 thousand small objects alive simultaneously), " +"this can greatly reduce the time needed to release their memory." +msgstr "" + +#: build/NEWS:23860 +msgid "" +":issue:`26423`: Fix possible overflow in ``wrap_lenfunc()`` when " +"``sizeof(long) < sizeof(Py_ssize_t)`` (e.g., 64-bit Windows)." +msgstr "" + +#: build/NEWS:23863 +msgid "" +":issue:`37050`: Improve the AST for \"debug\" f-strings, which use '=' to " +"print out the source of the expression being evaluated. Delete expr_text " +"from the FormattedValue node, and instead use a Constant string node " +"(possibly merged with adjacent constant expressions inside the f-string)." +msgstr "" + +#: build/NEWS:23868 +msgid "" +":issue:`22385`: The ``bytes.hex``, ``bytearray.hex``, and ``memoryview.hex`` " +"methods as well as the ``binascii.hexlify`` and ``b2a_hex`` functions now " +"have the ability to include an optional separator between hex bytes. This " +"functionality was inspired by MicroPython's hexlify implementation." +msgstr "" + +#: build/NEWS:23873 +msgid ":issue:`26836`: Add :func:`os.memfd_create`." +msgstr "" + +#: build/NEWS:23875 +msgid "" +":issue:`37032`: Added new ``replace()`` method to the code type (:class:" +"`types.CodeType`)." +msgstr "" + +#: build/NEWS:23878 +msgid "" +":issue:`37007`: Implement :func:`socket.if_nameindex`, :func:`socket." +"if_nametoindex`, and :func:`socket.if_indextoname` on Windows." +msgstr "" + +#: build/NEWS:23882 +msgid "" +":issue:`36829`: :c:func:`PyErr_WriteUnraisable` now creates a traceback " +"object if there is no current traceback. Moreover, call :c:func:" +"`PyErr_NormalizeException` and :c:func:`PyException_SetTraceback` to " +"normalize the exception value. Ignore any error." +msgstr "" + +#: build/NEWS:23887 +msgid "" +":issue:`36878`: Only accept text after ``# type: ignore`` if the first " +"character is ASCII. This is to disallow things like ``# type: ignoreé``." +msgstr "" + +#: build/NEWS:23890 +msgid "" +":issue:`36878`: Store text appearing after a ``# type: ignore`` comment in " +"the AST. For example a type ignore like ``# type: ignore[E1000]`` will have " +"the string ``\"[E1000]\"`` stored in its AST node." +msgstr "" + +#: build/NEWS:23894 +msgid "" +":issue:`2180`: Treat line continuation at EOF as a ``SyntaxError`` by " +"Anthony Sottile." +msgstr "" + +#: build/NEWS:23897 +msgid "" +":issue:`36907`: Fix a crash when calling a C function with a keyword dict " +"(``f(**kwargs)``) and changing the dict ``kwargs`` while that function is " +"running." +msgstr "" + +#: build/NEWS:23901 +msgid "" +":issue:`36946`: Fix possible signed integer overflow when handling slices." +msgstr "" + +#: build/NEWS:23903 +msgid ":issue:`36826`: Add NamedExpression kind support to ast_unparse.c" +msgstr "" + +#: build/NEWS:23905 +msgid "" +":issue:`1875`: A :exc:`SyntaxError` is now raised if a code blocks that will " +"be optimized away (e.g. if conditions that are always false) contains syntax " +"errors. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:23909 +msgid "" +":issue:`36027`: Allow computation of modular inverses via three-argument " +"``pow``: the second argument is now permitted to be negative in the case " +"where the first and third arguments are relatively prime." +msgstr "" + +#: build/NEWS:23913 +msgid ":issue:`36861`: Update the Unicode database to version 12.1.0." +msgstr "" + +#: build/NEWS:23915 +msgid "" +":issue:`28866`: Avoid caching attributes of classes which type defines mro() " +"to avoid a hard cache invalidation problem." +msgstr "" + +#: build/NEWS:23918 +msgid "" +":issue:`36851`: The ``FrameType`` stack is now correctly cleaned up if the " +"execution ends with a return and the stack is not empty." +msgstr "" + +#: build/NEWS:23921 +msgid "" +":issue:`34616`: The ``compile()`` builtin functions now support the ``ast." +"PyCF_ALLOW_TOP_LEVEL_AWAIT`` flag, which allow to compile sources that " +"contains top-level ``await``, ``async with`` or ``async for``. This is " +"useful to evaluate async-code from with an already async functions; for " +"example in a custom REPL." +msgstr "" + +#: build/NEWS:23927 +msgid "" +":issue:`36842`: Implement PEP 578, adding sys.audit, io.open_code and " +"related APIs." +msgstr "" + +#: build/NEWS:23930 +msgid "" +":issue:`27639`: Correct return type for UserList slicing operations. Patch " +"by Michael Blahay, Erick Cervantes, and vaultah" +msgstr "" + +#: build/NEWS:23933 +msgid "" +":issue:`36737`: Move PyRuntimeState.warnings into per-interpreter state (via " +"\"module state\")." +msgstr "" + +#: build/NEWS:23936 +msgid "" +":issue:`36793`: Removed ``__str__`` implementations from builtin types :" +"class:`bool`, :class:`int`, :class:`float`, :class:`complex` and few classes " +"from the standard library. They now inherit ``__str__()`` from :class:" +"`object`." +msgstr "" + +#: build/NEWS:23941 +msgid "" +":issue:`36817`: Add a ``=`` feature f-strings for debugging. This can " +"precede ``!s``, ``!r``, or ``!a``. It produces the text of the expression, " +"followed by an equal sign, followed by the repr of the value of the " +"expression. So ``f'{3*9+15=}'`` would be equal to the string " +"``'3*9+15=42'``. If ``=`` is specified, the default conversion is set to ``!" +"r``, unless a format spec is given, in which case the formatting behavior is " +"unchanged, and __format__ will be used." +msgstr "" + +#: build/NEWS:23949 +msgid "" +":issue:`24048`: Save the live exception during import.c's " +"``remove_module()``." +msgstr "" + +#: build/NEWS:23951 +msgid "" +":issue:`27987`: pymalloc returns memory blocks aligned by 16 bytes, instead " +"of 8 bytes, on 64-bit platforms to conform x86-64 ABI. Recent compilers " +"assume this alignment more often. Patch by Inada Naoki." +msgstr "" + +#: build/NEWS:23955 +msgid "" +":issue:`36601`: A long-since-meaningless check for ``getpid() == main_pid`` " +"was removed from Python's internal C signal handler." +msgstr "" + +#: build/NEWS:23958 +msgid "" +":issue:`36594`: Fix incorrect use of ``%p`` in format strings. Patch by " +"Zackery Spytz." +msgstr "" + +#: build/NEWS:23961 +msgid "" +":issue:`36045`: ``builtins.help()`` now prefixes ``async`` for async " +"functions." +msgstr "" + +#: build/NEWS:23963 +msgid "" +":issue:`36084`: Add native thread ID (TID) to threading.Thread objects " +"(supported platforms: Windows, FreeBSD, Linux, macOS)" +msgstr "" + +#: build/NEWS:23966 +msgid "" +":issue:`36035`: Added fix for broken symlinks in combination with pathlib" +msgstr "" + +#: build/NEWS:23968 +msgid "" +":issue:`35983`: Added new trashcan macros to deal with a double deallocation " +"that could occur when the ``tp_dealloc`` of a subclass calls the " +"``tp_dealloc`` of a base class and that base class uses the trashcan " +"mechanism. Patch by Jeroen Demeyer." +msgstr "" + +#: build/NEWS:23973 +msgid "" +":issue:`20602`: Do not clear :data:`sys.flags` and :data:`sys.float_info` " +"during shutdown. Patch by Zackery Spytz." +msgstr "" + +#: build/NEWS:23976 +msgid "" +":issue:`26826`: Expose :func:`copy_file_range` as a low level API in the :" +"mod:`os` module." +msgstr "" + +#: build/NEWS:23979 +msgid "" +":issue:`32388`: Remove cross-version binary compatibility requirement in " +"tp_flags." +msgstr "" + +#: build/NEWS:23982 +msgid "" +":issue:`31862`: Port binascii to PEP 489 multiphase initialization. Patch by " +"Marcel Plch." +msgstr "" + +#: build/NEWS:23988 +msgid ":issue:`37128`: Added :func:`math.perm`." +msgstr "" + +#: build/NEWS:23990 +msgid "" +":issue:`37120`: Add SSLContext.num_tickets to control the number of TLSv1.3 " +"session tickets." +msgstr "" + +#: build/NEWS:23993 +msgid "" +":issue:`12202`: Fix the error handling in :meth:`msilib.SummaryInformation." +"GetProperty`. Patch by Zackery Spytz." +msgstr "" + +#: build/NEWS:23996 +msgid "" +":issue:`26835`: The fcntl module now contains file sealing constants for " +"sealing of memfds." +msgstr "" + +#: build/NEWS:23999 +msgid "" +":issue:`29262`: Add ``get_origin()`` and ``get_args()`` introspection " +"helpers to ``typing`` module." +msgstr "" + +#: build/NEWS:24002 +msgid "" +":issue:`12639`: :meth:`msilib.Directory.start_component` no longer fails if " +"*keyfile* is not ``None``." +msgstr "" + +#: build/NEWS:24005 +msgid "" +":issue:`36999`: Add the ``asyncio.Task.get_coro()`` method to publicly " +"expose the tasks's coroutine object." +msgstr "" + +#: build/NEWS:24008 +msgid "" +":issue:`35246`: Make :func:`asyncio.create_subprocess_exec` accept path-like " +"arguments." +msgstr "" + +#: build/NEWS:24011 +msgid "" +":issue:`35279`: Change default *max_workers* of ``ThreadPoolExecutor`` from " +"``cpu_count() * 5`` to ``min(32, cpu_count() + 4)``. Previous value was " +"unreasonably large on many cores machines." +msgstr "" + +#: build/NEWS:24015 +msgid "" +":issue:`37076`: :func:`_thread.start_new_thread` now logs uncaught exception " +"raised by the function using :func:`sys.unraisablehook`, rather than :func:" +"`sys.excepthook`, so the hook gets access to the function which raised the " +"exception." +msgstr "" + +#: build/NEWS:24020 +msgid "" +":issue:`33725`: On macOS, the :mod:`multiprocessing` module now uses *spawn* " +"start method by default." +msgstr "" + +#: build/NEWS:24023 +msgid "" +":issue:`37054`: Fix destructor :class:`!_pyio.BytesIO` and :class:`!_pyio." +"TextIOWrapper`: initialize their ``_buffer`` attribute as soon as possible " +"(in the class body), because it's used by ``__del__()`` which calls " +"``close()``." +msgstr "" + +#: build/NEWS:24028 +msgid "" +":issue:`37058`: PEP 544: Add ``Protocol`` and ``@runtime_checkable`` to the " +"``typing`` module." +msgstr "" + +#: build/NEWS:24031 +msgid "" +":issue:`36933`: The functions ``sys.set_coroutine_wrapper`` and ``sys." +"get_coroutine_wrapper`` that were deprecated and marked for removal in 3.8 " +"have been removed." +msgstr "" + +#: build/NEWS:24035 +msgid "" +":issue:`37047`: Handle late binding and attribute access in :class:`unittest." +"mock.AsyncMock` setup for autospeccing. Document newly implemented async " +"methods in :class:`unittest.mock.MagicMock`." +msgstr "" + +#: build/NEWS:24039 +msgid ":issue:`37049`: PEP 589: Add ``TypedDict`` to the ``typing`` module." +msgstr "" + +#: build/NEWS:24041 +msgid ":issue:`37046`: PEP 586: Add ``Literal`` to the ``typing`` module." +msgstr "" + +#: build/NEWS:24043 +msgid "" +":issue:`37045`: PEP 591: Add ``Final`` qualifier and ``@final`` decorator to " +"the ``typing`` module." +msgstr "" + +#: build/NEWS:24046 +msgid "" +":issue:`37035`: Don't log OSError based exceptions if a fatal error has " +"occurred in asyncio transport. Peer can generate almost any OSError, user " +"cannot avoid these exceptions by fixing own code. Errors are still " +"propagated to user code, it's just logging them is pointless and pollute " +"asyncio logs." +msgstr "" + +#: build/NEWS:24052 +msgid "" +":issue:`37001`: :func:`symtable.symtable` now accepts the same input types " +"for source code as the built-in :func:`compile` function. Patch by Dino " +"Viehland." +msgstr "" + +#: build/NEWS:24056 +msgid ":issue:`37028`: Implement asyncio REPL" +msgstr "" + +#: build/NEWS:24058 +msgid "" +":issue:`37027`: Return safe to use proxy socket object from transport." +"get_extra_info('socket')" +msgstr "" + +#: build/NEWS:24061 +msgid ":issue:`32528`: Make asyncio.CancelledError a BaseException." +msgstr "" + +#: build/NEWS:24063 +msgid "" +"This will address the common mistake many asyncio users make: an \"except " +"Exception\" clause breaking Tasks cancellation." +msgstr "" + +#: build/NEWS:24066 +msgid "" +"In addition to this change, we stop inheriting asyncio.TimeoutError and " +"asyncio.InvalidStateError from their concurrent.futures.* counterparts. " +"There's no point for these exceptions to share the inheritance chain." +msgstr "" + +#: build/NEWS:24070 +msgid "" +":issue:`1230540`: Add a new :func:`threading.excepthook` function which " +"handles uncaught :meth:`threading.Thread.run` exception. It can be " +"overridden to control how uncaught :meth:`threading.Thread.run` exceptions " +"are handled." +msgstr "" + +#: build/NEWS:24074 +msgid "" +":issue:`36996`: Handle :func:`unittest.mock.patch` used as a decorator on " +"async functions." +msgstr "" + +#: build/NEWS:24077 +msgid "" +":issue:`37008`: Add support for calling :func:`next` with the mock resulting " +"from :func:`unittest.mock.mock_open`" +msgstr "" + +#: build/NEWS:24080 +msgid "" +":issue:`27737`: Allow whitespace only header encoding in ``email.header`` - " +"by Batuhan Taskaya" +msgstr "" + +#: build/NEWS:24083 +msgid "" +":issue:`36969`: PDB command ``args`` now display positional only arguments. " +"Patch contributed by Rémi Lapeyre." +msgstr "" + +#: build/NEWS:24086 +msgid "" +":issue:`36969`: PDB command ``args`` now display keyword only arguments. " +"Patch contributed by Rémi Lapeyre." +msgstr "" + +#: build/NEWS:24089 +msgid "" +":issue:`36983`: Add missing names to ``typing.__all__``: ``ChainMap``, " +"``ForwardRef``, ``OrderedDict`` - by Anthony Sottile." +msgstr "" + +#: build/NEWS:24092 +msgid "" +":issue:`36972`: Add SupportsIndex protocol to the typing module to allow " +"type checking to detect classes that can be passed to ``hex()``, ``oct()`` " +"and ``bin()``." +msgstr "" + +#: build/NEWS:24096 +msgid "" +":issue:`32972`: Implement ``unittest.IsolatedAsyncioTestCase`` to help " +"testing asyncio-based code." +msgstr "" + +#: build/NEWS:24099 +msgid "" +":issue:`36952`: :func:`fileinput.input` and :class:`fileinput.FileInput` " +"**bufsize** argument has been removed (was deprecated and ignored since " +"Python 3.6), and as a result the **mode** and **openhook** arguments have " +"been made keyword-only." +msgstr "" + +#: build/NEWS:24104 +msgid "" +":issue:`36952`: Starting with Python 3.3, importing ABCs from :mod:" +"`collections` is deprecated, and import should be done from :mod:" +"`collections.abc`. Still being able to import from :mod:`collections` was " +"marked for removal in 3.8, but has been delayed to 3.9; documentation and " +"``DeprecationWarning`` clarified." +msgstr "" + +#: build/NEWS:24110 +msgid ":issue:`36949`: Implement __repr__ for WeakSet objects." +msgstr "" + +#: build/NEWS:24112 +msgid "" +":issue:`36948`: Fix :exc:`NameError` in :meth:`urllib.request.URLopener." +"retrieve`. Patch by Karthikeyan Singaravelan." +msgstr "" + +#: build/NEWS:24116 +msgid "" +":issue:`33524`: Fix the folding of email header when the max_line_length is " +"0 or None and the header contains non-ascii characters. Contributed by " +"Licht Takeuchi (@Licht-T)." +msgstr "" + +#: build/NEWS:24120 +msgid "" +":issue:`24564`: :func:`shutil.copystat` now ignores :const:`errno.EINVAL` " +"on :func:`os.setxattr` which may occur when copying files on filesystems " +"without extended attributes support." +msgstr "" + +#: build/NEWS:24124 +msgid "Original patch by Giampaolo Rodola, updated by Ying Wang." +msgstr "" + +#: build/NEWS:24126 +msgid "" +":issue:`36888`: Python child processes can now access the status of their " +"parent process using multiprocessing.process.parent_process" +msgstr "" + +#: build/NEWS:24129 +msgid ":issue:`36921`: Deprecate ``@coroutine`` for sake of ``async def``." +msgstr "" + +#: build/NEWS:24131 +msgid "" +":issue:`25652`: Fix bug in ``__rmod__`` of ``UserString`` - by Batuhan " +"Taskaya." +msgstr "" + +#: build/NEWS:24133 +msgid "" +":issue:`36916`: Remove a message about an unhandled exception in a task when " +"writer.write() is used without await and writer.drain() fails with an " +"exception." +msgstr "" + +#: build/NEWS:24137 +msgid "" +":issue:`36889`: Introduce :class:`asyncio.Stream` class that merges :class:" +"`asyncio.StreamReader` and :class:`asyncio.StreamWriter` functionality. :" +"class:`asyncio.Stream` can work in readonly, writeonly and readwrite modes. " +"Provide :func:`asyncio.connect`, :func:`asyncio.connect_unix`, :func:" +"`asyncio.connect_read_pipe` and :func:`asyncio.connect_write_pipe` factories " +"to open :class:`asyncio.Stream` connections. Provide :class:`asyncio." +"StreamServer` and :class:`UnixStreamServer` to serve servers with asyncio." +"Stream API. Modify :func:`asyncio.create_subprocess_shell` and :func:" +"`asyncio.create_subprocess_exec` to use :class:`asyncio.Stream` instead of " +"deprecated :class:`StreamReader` and :class:`StreamWriter`. Deprecate :class:" +"`asyncio.StreamReader` and :class:`asyncio.StreamWriter`. Deprecate usage of " +"private classes, e.g. :class:`asyncio.FlowControlMixing` and :class:`asyncio." +"StreamReaderProtocol` outside of asyncio package." +msgstr "" + +#: build/NEWS:24153 +msgid "" +":issue:`36845`: Added validation of integer prefixes to the construction of " +"IP networks and interfaces in the ipaddress module." +msgstr "" + +#: build/NEWS:24156 +msgid ":issue:`23378`: Add an extend action to argparser." +msgstr "" + +#: build/NEWS:24158 +msgid "" +":issue:`36867`: Fix a bug making a SharedMemoryManager instance and its " +"parent process use two separate resource_tracker processes." +msgstr "" + +#: build/NEWS:24161 +msgid "" +":issue:`23896`: Adds a grammar to lib2to3.pygram that contains exec as a " +"function not as statement." +msgstr "" + +#: build/NEWS:24164 +msgid "" +":issue:`36895`: The function ``time.clock()`` was deprecated in 3.3 in favor " +"of ``time.perf_counter()`` and marked for removal in 3.8, it has removed." +msgstr "" + +#: build/NEWS:24167 +msgid "" +":issue:`35545`: Fix asyncio discarding IPv6 scopes when ensuring hostname " +"resolutions internally" +msgstr "" + +#: build/NEWS:24170 +msgid "" +":issue:`36887`: Add new function :func:`math.isqrt` to compute integer " +"square roots." +msgstr "" + +#: build/NEWS:24173 +msgid "" +":issue:`34632`: Introduce the ``importlib.metadata`` module with " +"(provisional) support for reading metadata from third-party packages." +msgstr "" + +#: build/NEWS:24176 +msgid "" +":issue:`36878`: When using ``type_comments=True`` in ``ast.parse``, treat " +"``# type: ignore`` followed by a non-alphanumeric character and then " +"arbitrary text as a type ignore, instead of requiring nothing but whitespace " +"or another comment. This is to permit formations such as ``# type: " +"ignore[E1000]``." +msgstr "" + +#: build/NEWS:24182 +msgid "" +":issue:`36778`: ``cp65001`` encoding (Windows code page 65001) becomes an " +"alias to ``utf_8`` encoding." +msgstr "" + +#: build/NEWS:24185 +msgid "" +":issue:`36867`: The multiprocessing.resource_tracker replaces the " +"multiprocessing.semaphore_tracker module. Other than semaphores, " +"resource_tracker also tracks shared_memory segments." +msgstr "" + +#: build/NEWS:24189 +msgid "" +":issue:`30262`: The ``Cache`` and ``Statement`` objects of the :mod:" +"`sqlite3` module are not exposed to the user. Patch by Aviv Palivoda." +msgstr "" + +#: build/NEWS:24192 +msgid "" +":issue:`24538`: In ``shutil.copystat()``, first copy extended file " +"attributes and then file permissions, since extended attributes can only be " +"set on the destination while it is still writeable." +msgstr "" + +#: build/NEWS:24196 +msgid "" +":issue:`36829`: Add new :func:`sys.unraisablehook` function which can be " +"overridden to control how \"unraisable exceptions\" are handled. It is " +"called when an exception has occurred but there is no way for Python to " +"handle it. For example, when a destructor raises an exception or during " +"garbage collection (:func:`gc.collect`)." +msgstr "" + +#: build/NEWS:24202 +msgid "" +":issue:`36832`: Introducing ``zipfile.Path``, a pathlib-compatible wrapper " +"for traversing zip files." +msgstr "" + +#: build/NEWS:24205 +msgid "" +":issue:`36814`: Fix an issue where os.posix_spawnp() would incorrectly raise " +"a TypeError when file_actions is None." +msgstr "" + +#: build/NEWS:24208 +msgid "" +":issue:`33110`: Handle exceptions raised by functions added by concurrent." +"futures add_done_callback correctly when the Future has already completed." +msgstr "" + +#: build/NEWS:24212 +msgid "" +":issue:`26903`: Limit ``max_workers`` in ``ProcessPoolExecutor`` to 61 to " +"work around a WaitForMultipleObjects limitation." +msgstr "" + +#: build/NEWS:24215 +msgid "" +":issue:`36813`: Fix :class:`~logging.handlers.QueueListener` to call ``queue." +"task_done()`` upon stopping. Patch by Bar Harel." +msgstr "" + +#: build/NEWS:24218 +msgid "" +":issue:`36806`: Forbid creation of asyncio stream objects like StreamReader, " +"StreamWriter, Process, and their protocols outside of asyncio package." +msgstr "" + +#: build/NEWS:24221 +msgid "" +":issue:`36802`: Provide both sync and async calls for StreamWriter.write() " +"and StreamWriter.close()" +msgstr "" + +#: build/NEWS:24224 +msgid "" +":issue:`36801`: Properly handle SSL connection closing in asyncio " +"StreamWriter.drain() call." +msgstr "" + +#: build/NEWS:24227 +msgid "" +":issue:`36785`: Implement PEP 574 (pickle protocol 5 with out-of-band " +"buffers)." +msgstr "" + +#: build/NEWS:24229 +msgid "" +":issue:`36772`: functools.lru_cache() can now be used as a straight " +"decorator in addition to its existing usage as a function that returns a " +"decorator." +msgstr "" + +#: build/NEWS:24232 +msgid "" +":issue:`6584`: Add a :exc:`~gzip.BadGzipFile` exception to the :mod:`gzip` " +"module." +msgstr "" + +#: build/NEWS:24235 +msgid "" +":issue:`36748`: Optimized write buffering in C implementation of " +"``TextIOWrapper``. Writing ASCII string to ``TextIOWrapper`` with ascii, " +"latin1, or utf-8 encoding is about 20% faster. Patch by Inada Naoki." +msgstr "" + +#: build/NEWS:24239 +msgid "" +":issue:`8138`: Don't mark ``wsgiref.simple_server.SimpleServer`` as multi-" +"threaded since ``wsgiref.simple_server.WSGIServer`` is single-threaded." +msgstr "" + +#: build/NEWS:24243 +msgid "" +":issue:`22640`: :func:`py_compile.compile` now supports silent mode. Patch " +"by Joannah Nanjekye" +msgstr "" + +#: build/NEWS:24246 +msgid "" +":issue:`29183`: Fix double exceptions in :class:`wsgiref.handlers." +"BaseHandler` by calling its :meth:`~wsgiref.handlers.BaseHandler.close` " +"method only when no exception is raised." +msgstr "" + +#: build/NEWS:24250 +msgid ":issue:`36548`: Improved the repr of regular expression flags." +msgstr "" + +#: build/NEWS:24252 +msgid "" +":issue:`36542`: The signature of Python functions can now be overridden by " +"specifying the ``__text_signature__`` attribute." +msgstr "" + +#: build/NEWS:24255 +msgid "" +":issue:`36533`: Reinitialize logging.Handler locks in forked child processes " +"instead of attempting to acquire them all in the parent before forking only " +"to be released in the child process. The acquire/release pattern was " +"leading to deadlocks in code that has implemented any form of chained " +"logging handlers that depend upon one another as the lock acquisition order " +"cannot be guaranteed." +msgstr "" + +#: build/NEWS:24262 +msgid "" +":issue:`35252`: Throw a TypeError instead of an AssertionError when using an " +"invalid type annotation with singledispatch." +msgstr "" + +#: build/NEWS:24265 +msgid "" +":issue:`35900`: Allow reduction methods to return a 6-item tuple where the " +"6th item specifies a custom state-setting method that's called instead of " +"the regular ``__setstate__`` method." +msgstr "" + +#: build/NEWS:24269 +msgid "" +":issue:`35900`: enable custom reduction callback registration for functions " +"and classes in _pickle.c, using the new Pickler's attribute " +"``reducer_override``" +msgstr "" + +#: build/NEWS:24273 +msgid "" +":issue:`36368`: Fix a bug crashing SharedMemoryManager instances in " +"interactive sessions after a ctrl-c (KeyboardInterrupt) was sent" +msgstr "" + +#: build/NEWS:24276 +msgid ":issue:`31904`: Fix mmap fail for VxWorks" +msgstr "" + +#: build/NEWS:24278 +msgid "" +":issue:`27497`: :meth:`csv.DictWriter.writeheader` now returns the return " +"value of the underlying :meth:`csv.Writer.writerow` method. Patch " +"contributed by Ashish Nitin Patil." +msgstr "" + +#: build/NEWS:24282 +msgid "" +":issue:`36239`: Parsing .mo files now ignores comments starting and ending " +"with #-#-#-#-#." +msgstr "" + +#: build/NEWS:24285 +msgid "" +":issue:`26707`: Enable plistlib to read and write binary plist files that " +"were created as a KeyedArchive file. Specifically, this allows the plistlib " +"to process 0x80 tokens as UID objects." +msgstr "" + +#: build/NEWS:24289 +msgid ":issue:`31904`: Add posix module support for VxWorks." +msgstr "" + +#: build/NEWS:24291 +msgid "" +":issue:`35125`: Asyncio: Remove inner callback on outer cancellation in " +"shield" +msgstr "" + +#: build/NEWS:24293 +msgid "" +":issue:`35721`: Fix :meth:`asyncio.SelectorEventLoop.subprocess_exec` leaks " +"file descriptors if ``Popen`` fails and called with ``stdin=subprocess." +"PIPE``. Patch by Niklas Fiekas." +msgstr "" + +#: build/NEWS:24297 +msgid "" +":issue:`31855`: :func:`unittest.mock.mock_open` results now respects the " +"argument of read([size]). Patch contributed by Rémi Lapeyre." +msgstr "" + +#: build/NEWS:24300 +msgid "" +":issue:`35431`: Implement :func:`math.comb` that returns binomial " +"coefficient, that computes the number of ways to choose k items from n items " +"without repetition and without order. Patch by Yash Aggarwal and Keller " +"Fuchs." +msgstr "" + +#: build/NEWS:24304 +msgid "" +":issue:`26660`: Fixed permission errors in :class:`~tempfile." +"TemporaryDirectory` clean up. Previously ``TemporaryDirectory.cleanup()`` " +"failed when non-writeable or non-searchable files or directories were " +"created inside a temporary directory." +msgstr "" + +#: build/NEWS:24310 +msgid "" +":issue:`34271`: Add debugging helpers to ssl module. It's now possible to " +"dump key material and to trace TLS protocol. The default and stdlib contexts " +"also support SSLKEYLOGFILE env var." +msgstr "" + +#: build/NEWS:24314 +msgid "" +":issue:`26467`: Added AsyncMock to support using unittest to mock asyncio " +"coroutines. Patch by Lisa Roach." +msgstr "" + +#: build/NEWS:24317 +msgid "" +":issue:`33569`: dataclasses.InitVar: Exposes the type used to create the " +"init var." +msgstr "" + +#: build/NEWS:24320 +msgid "" +":issue:`34424`: Fix serialization of messages containing encoded strings " +"when the policy.linesep is set to a multi-character string. Patch by Jens " +"Troeger." +msgstr "" + +#: build/NEWS:24324 +msgid "" +":issue:`34303`: Performance of :func:`functools.reduce` is slightly " +"improved. Patch by Sergey Fedoseev." +msgstr "" + +#: build/NEWS:24327 +msgid "" +":issue:`33361`: Fix a bug in :class:`codecs.StreamRecoder` where seeking " +"might leave old data in a buffer and break subsequent read calls. Patch by " +"Ammar Askar." +msgstr "" + +#: build/NEWS:24331 +msgid "" +":issue:`22454`: The :mod:`shlex` module now exposes :func:`shlex.join`, the " +"inverse of :func:`shlex.split`. Patch by Bo Bayles." +msgstr "" + +#: build/NEWS:24334 +msgid "" +":issue:`31922`: :meth:`asyncio.AbstractEventLoop.create_datagram_endpoint`: " +"Do not connect UDP socket when broadcast is allowed. This allows to receive " +"replies after a UDP broadcast." +msgstr "" + +#: build/NEWS:24338 +msgid "" +":issue:`24882`: Change ThreadPoolExecutor to use existing idle threads " +"before spinning up new ones." +msgstr "" + +#: build/NEWS:24341 +msgid "" +":issue:`31961`: Added support for bytes and path-like objects in :func:" +"`subprocess.Popen` on Windows. The *args* parameter now accepts a :term:" +"`path-like object` if *shell* is ``False`` and a sequence containing bytes " +"and path-like objects. The *executable* parameter now accepts a bytes and :" +"term:`path-like object`. The *cwd* parameter now accepts a bytes object. " +"Based on patch by Anders Lorentsen." +msgstr "" + +#: build/NEWS:24348 +msgid "" +":issue:`33123`: :class:`pathlib.Path.unlink` now accepts a *missing_ok* " +"parameter to avoid a :exc:`FileNotFoundError` from being raised. Patch by " +"Robert Buchholz." +msgstr "" + +#: build/NEWS:24352 +msgid "" +":issue:`32941`: Allow :class:`mmap.mmap` objects to access the madvise() " +"system call (through :meth:`mmap.mmap.madvise`)." +msgstr "" + +#: build/NEWS:24355 +msgid "" +":issue:`22102`: Added support for ZIP files with disks set to 0. Such files " +"are commonly created by builtin tools on Windows when use ZIP64 extension. " +"Patch by Francisco Facioni." +msgstr "" + +#: build/NEWS:24359 +msgid "" +":issue:`32515`: trace.py can now run modules via python3 -m trace -t --" +"module module_name" +msgstr "" + +#: build/NEWS:24362 +msgid "" +":issue:`32299`: Changed :func:`unittest.mock.patch.dict` to return the " +"patched dictionary when used as context manager. Patch by Vadim Tsander." +msgstr "" + +#: build/NEWS:24365 +msgid "" +":issue:`27141`: Added a ``__copy__()`` to ``collections.UserList`` and " +"``collections.UserDict`` in order to correctly implement shallow copying of " +"the objects. Patch by Bar Harel." +msgstr "" + +#: build/NEWS:24369 +msgid "" +":issue:`31829`: ``\\r``, ``\\0`` and ``\\x1a`` (end-of-file on Windows) are " +"now escaped in protocol 0 pickles of Unicode strings. This allows to load " +"them without loss from files open in text mode in Python 2." +msgstr "" + +#: build/NEWS:24373 +msgid "" +":issue:`23395`: ``_thread.interrupt_main()`` now avoids setting the Python " +"error status if the ``SIGINT`` signal is ignored or not handled by Python." +msgstr "" + +#: build/NEWS:24379 +msgid "" +":issue:`36896`: Clarify that some types have unstable constructor signature " +"between Python versions." +msgstr "" + +#: build/NEWS:24382 +msgid "" +":issue:`36686`: Improve documentation of the stdin, stdout, and stderr " +"arguments of the ``asyncio.subprocess_exec`` function to specify which " +"values are supported. Also mention that decoding as text is not supported." +msgstr "" + +#: build/NEWS:24386 +msgid "" +"Add a few tests to verify that the various values passed to the std* " +"arguments actually work." +msgstr "" + +#: build/NEWS:24389 +msgid "" +":issue:`36984`: Improve version added references in ``typing`` module - by " +"Anthony Sottile." +msgstr "" + +#: build/NEWS:24392 +msgid "" +":issue:`36868`: What's new now mentions SSLContext." +"hostname_checks_common_name instead of SSLContext.host_flags." +msgstr "" + +#: build/NEWS:24395 +msgid "" +":issue:`35924`: Add a note to the ``curses.addstr()`` documentation to warn " +"that multiline strings can cause segfaults because of an ncurses bug." +msgstr "" + +#: build/NEWS:24398 +msgid "" +":issue:`36783`: Added C API Documentation for Time_FromTimeAndFold and " +"PyDateTime_FromDateAndTimeAndFold as per PEP 495. Patch by Edison Abahurire." +msgstr "" + +#: build/NEWS:24402 +msgid "" +":issue:`36797`: More of the legacy distutils documentation has been either " +"pruned, or else more clearly marked as being retained solely until the " +"setuptools documentation covers it independently." +msgstr "" + +#: build/NEWS:24406 +msgid "" +":issue:`22865`: Add detail to the documentation on the ``pty.spawn`` " +"function." +msgstr "" + +#: build/NEWS:24408 +msgid "" +":issue:`35397`: Remove deprecation and document urllib.parse.unwrap(). Patch " +"contributed by Rémi Lapeyre." +msgstr "" + +#: build/NEWS:24411 +msgid ":issue:`32995`: Added the context variable in glossary." +msgstr "" + +#: build/NEWS:24413 +msgid "" +":issue:`33519`: Clarify that ``copy()`` is not part of the " +"``MutableSequence`` ABC." +msgstr "" + +#: build/NEWS:24416 +msgid "" +":issue:`33482`: Make ``codecs.StreamRecoder.writelines`` take a list of " +"bytes." +msgstr "" + +#: build/NEWS:24418 +msgid "" +":issue:`25735`: Added documentation for func factorial to indicate that " +"returns integer values" +msgstr "" + +#: build/NEWS:24421 +msgid "" +":issue:`20285`: Expand object.__doc__ (docstring) to make it clearer. Modify " +"pydoc.py so that help(object) lists object methods (for other classes, help " +"omits methods of the object base class.)" +msgstr "" + +#: build/NEWS:24428 +msgid "" +":issue:`37069`: Modify test_coroutines, test_cprofile, test_generators, " +"test_raise, test_ssl and test_yield_from to use :func:`test.support." +"catch_unraisable_exception` rather than :func:`test.support.captured_stderr`." +msgstr "" + +#: build/NEWS:24433 +msgid ":issue:`37098`: Fix test_memfd_create on older Linux Kernels." +msgstr "" + +#: build/NEWS:24435 +msgid ":issue:`37081`: Test with OpenSSL 1.1.1c" +msgstr "" + +#: build/NEWS:24437 +msgid "" +":issue:`36829`: Add :func:`test.support.catch_unraisable_exception`: context " +"manager catching unraisable exception using :func:`sys.unraisablehook`." +msgstr "" + +#: build/NEWS:24440 +msgid "" +":issue:`36915`: The main regrtest process now always removes all temporary " +"directories of worker processes even if they crash or if they are killed on " +"KeyboardInterrupt (CTRL+c)." +msgstr "" + +#: build/NEWS:24444 +msgid "" +":issue:`36719`: \"python3 -m test -jN ...\" now continues the execution of " +"next tests when a worker process crash (CHILD_ERROR state). Previously, the " +"test suite stopped immediately. Use --failfast to stop at the first error." +msgstr "" + +#: build/NEWS:24448 +msgid "" +":issue:`36816`: Update Lib/test/selfsigned_pythontestdotnet.pem to match " +"self-signed.pythontest.net's new TLS certificate." +msgstr "" + +#: build/NEWS:24451 +msgid "" +":issue:`35925`: Skip httplib and nntplib networking tests when they would " +"otherwise fail due to a modern OS or distro with a default OpenSSL policy of " +"rejecting connections to servers with weak certificates." +msgstr "" + +#: build/NEWS:24455 +msgid "" +":issue:`36782`: Add tests for several C API functions in the :mod:`datetime` " +"module. Patch by Edison Abahurire." +msgstr "" + +#: build/NEWS:24458 +msgid "" +":issue:`36342`: Fix test_multiprocessing in test_venv if platform lacks " +"functioning sem_open." +msgstr "" + +#: build/NEWS:24464 +msgid "" +":issue:`36721`: To embed Python into an application, a new ``--embed`` " +"option must be passed to ``python3-config --libs --embed`` to get ``-" +"lpython3.8`` (link the application to libpython). To support both 3.8 and " +"older, try ``python3-config --libs --embed`` first and fallback to ``python3-" +"config --libs`` (without ``--embed``) if the previous command fails." +msgstr "" + +#: build/NEWS:24470 +msgid "" +"Add a pkg-config ``python-3.8-embed`` module to embed Python into an " +"application: ``pkg-config python-3.8-embed --libs`` includes ``-" +"lpython3.8``. To support both 3.8 and older, try ``pkg-config python-X.Y-" +"embed --libs`` first and fallback to ``pkg-config python-X.Y --libs`` " +"(without ``--embed``) if the previous command fails (replace ``X.Y`` with " +"the Python version)." +msgstr "" + +#: build/NEWS:24477 +msgid "" +"On the other hand, ``pkg-config python3.8 --libs`` no longer contains ``-" +"lpython3.8``. C extensions must not be linked to libpython (except on " +"Android, case handled by the script); this change is backward incompatible " +"on purpose." +msgstr "" + +#: build/NEWS:24482 +msgid ":issue:`36786`: \"make install\" now runs compileall in parallel." +msgstr "" + +#: build/NEWS:24487 +msgid "" +":issue:`36965`: include of STATUS_CONTROL_C_EXIT without depending on MSC " +"compiler" +msgstr "" + +#: build/NEWS:24490 +msgid ":issue:`35926`: Update to OpenSSL 1.1.1b for Windows." +msgstr "" + +#: build/NEWS:24492 +msgid "" +":issue:`29883`: Add Windows support for UDP transports for the Proactor " +"Event Loop. Patch by Adam Meily." +msgstr "" + +#: build/NEWS:24495 +msgid "" +":issue:`33407`: The :c:macro:`Py_DEPRECATED()` macro has been implemented " +"for MSVC." +msgstr "" + +#: build/NEWS:24501 +msgid "" +":issue:`36231`: Support building Python on macOS without /usr/include " +"installed. As of macOS 10.14, system header files are only available within " +"an SDK provided by either the Command Line Tools or the Xcode app." +msgstr "" + +#: build/NEWS:24508 +msgid "" +":issue:`35610`: Replace now redundant .context_use_ps1 with ." +"prompt_last_line. This finishes change started in :issue:`31858`." +msgstr "" + +#: build/NEWS:24511 +msgid ":issue:`37038`: Make idlelib.run runnable; add test clause." +msgstr "" + +#: build/NEWS:24513 +msgid "" +":issue:`36958`: Print any argument other than None or int passed to " +"SystemExit or sys.exit()." +msgstr "" + +#: build/NEWS:24516 +msgid "" +":issue:`36807`: When saving a file, call os.fsync() so bits are flushed to e." +"g. USB drive." +msgstr "" + +#: build/NEWS:24519 +msgid "" +":issue:`32411`: In browser.py, remove extraneous sorting by line number " +"since dictionary was created in line number order." +msgstr "" + +#: build/NEWS:24525 +msgid "" +":issue:`37053`: Handle strings like u\"bar\" correctly in Tools/parser/" +"unparse.py. Patch by Chih-Hsuan Yen." +msgstr "" + +#: build/NEWS:24531 +msgid "" +":issue:`36763`: Implement the :pep:`587` \"Python Initialization " +"Configuration\"." +msgstr "" + +#: build/NEWS:24533 +msgid "" +":issue:`36379`: Fix crashes when attempting to use the *modulo* parameter " +"when ``__ipow__`` is implemented in C." +msgstr "" + +#: build/NEWS:24536 +msgid "" +":issue:`37107`: Update :c:func:`PyObject_CallMethodObjArgs` and " +"``_PyObject_CallMethodIdObjArgs`` to use ``_PyObject_GetMethod`` to avoid " +"creating a bound method object in many cases. Patch by Michael J. Sullivan." +msgstr "" + +#: build/NEWS:24541 +msgid "" +":issue:`36974`: Implement :pep:`590`: Vectorcall: a fast calling protocol " +"for CPython. This is a new protocol to optimize calls of custom callable " +"objects." +msgstr "" + +#: build/NEWS:24545 +msgid "" +":issue:`36763`: ``Py_Main()`` now returns the exitcode rather than calling " +"``Py_Exit(exitcode)`` when calling ``PyErr_Print()`` if the current " +"exception type is ``SystemExit``." +msgstr "" + +#: build/NEWS:24549 +msgid "" +":issue:`36922`: Add new type flag ``Py_TPFLAGS_METHOD_DESCRIPTOR`` for " +"objects behaving like unbound methods. These are objects supporting the " +"optimization given by the ``LOAD_METHOD``/``CALL_METHOD`` opcodes. See PEP " +"590." +msgstr "" + +#: build/NEWS:24554 +msgid "" +":issue:`36728`: The :c:func:`!PyEval_ReInitThreads` function has been " +"removed from the C API. It should not be called explicitly: use :c:func:" +"`PyOS_AfterFork_Child` instead." +msgstr "" + +#: build/NEWS:24560 +msgid "Python 3.8.0 alpha 4" +msgstr "" + +#: build/NEWS:24562 +msgid "*Release date: 2019-05-06*" +msgstr "" + +#: build/NEWS:24567 +msgid "" +":issue:`36742`: Fixes mishandling of pre-normalization characters in " +"urlsplit()." +msgstr "" + +#: build/NEWS:24570 +msgid "" +":issue:`30458`: Address :cve:`2019-9740` by disallowing URL paths with " +"embedded whitespace or control characters through into the underlying http " +"client request. Such potentially malicious header injection URLs now cause " +"an http.client.InvalidURL exception to be raised." +msgstr "" + +#: build/NEWS:24575 +msgid "" +":issue:`35755`: :func:`shutil.which` now uses ``os.confstr(\"CS_PATH\")`` if " +"available and if the :envvar:`PATH` environment variable is not set. Remove " +"also the current directory from :data:`posixpath.defpath`. On Unix, :func:" +"`shutil.which` and the :mod:`subprocess` module no longer search the " +"executable in the current directory if the :envvar:`PATH` environment " +"variable is not set." +msgstr "" + +#: build/NEWS:24585 +msgid "" +":issue:`36722`: In debug build, import now also looks for C extensions " +"compiled in release mode and for C extensions compiled in the stable ABI." +msgstr "" + +#: build/NEWS:24588 +msgid "" +":issue:`32849`: Fix Python Initialization code on FreeBSD to detect properly " +"when stdin file descriptor (fd 0) is invalid." +msgstr "" + +#: build/NEWS:24591 +msgid "" +":issue:`36623`: Remove parser headers and related function declarations that " +"lack implementations after the removal of pgen." +msgstr "" + +#: build/NEWS:24594 +msgid "" +":issue:`20180`: ``dict.pop()`` is now up to 33% faster thanks to Argument " +"Clinic. Patch by Inada Naoki." +msgstr "" + +#: build/NEWS:24597 +msgid "" +":issue:`36611`: Debug memory allocators: disable serialno field by default " +"from debug hooks on Python memory allocators to reduce the memory footprint " +"by 5%. Enable :mod:`tracemalloc` to get the traceback where a memory block " +"has been allocated when a fatal memory error is logged to decide where to " +"put a breakpoint. Compile Python with ``PYMEM_DEBUG_SERIALNO`` defined to " +"get back the field." +msgstr "" + +#: build/NEWS:24604 +msgid "" +":issue:`36588`: On AIX, :data:`sys.platform` doesn't contain the major " +"version anymore. Always return ``'aix'``, instead of ``'aix3'`` .. " +"``'aix7'``. Since older Python versions include the version number, it is " +"recommended to always use ``sys.platform.startswith('aix')``. Contributed by " +"M. Felt." +msgstr "" + +#: build/NEWS:24609 +msgid "" +":issue:`36549`: Change str.capitalize to use titlecase for the first " +"character instead of uppercase." +msgstr "" + +#: build/NEWS:24612 +msgid "" +":issue:`36540`: Implement :pep:`570` (Python positional-only parameters). " +"Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:24615 +msgid "" +":issue:`36475`: :c:func:`!PyEval_AcquireLock` and :c:func:`!" +"PyEval_AcquireThread` now terminate the current thread if called while the " +"interpreter is finalizing, making them consistent with :c:func:" +"`PyEval_RestoreThread`, :c:func:`Py_END_ALLOW_THREADS`, and :c:func:" +"`PyGILState_Ensure`." +msgstr "" + +#: build/NEWS:24621 +msgid "" +":issue:`36504`: Fix signed integer overflow in _ctypes.c's " +"``PyCArrayType_new()``." +msgstr "" + +#: build/NEWS:24624 +msgid "" +":issue:`20844`: Fix running script with encoding cookie and LF line ending " +"may fail on Windows." +msgstr "" + +#: build/NEWS:24627 +msgid "" +":issue:`24214`: Fixed support of the surrogatepass error handler in the " +"UTF-8 incremental decoder." +msgstr "" + +#: build/NEWS:24630 +msgid "" +":issue:`36452`: Changing ``dict`` keys during iteration of the dict itself, " +"``keys()``, ``values()``, or ``items()`` will now be detected in certain " +"corner cases where keys are deleted/added so that the number of keys isn't " +"changed. A ``RuntimeError`` will be raised after ``len(dict)`` iterations. " +"Contributed by Thomas Perl." +msgstr "" + +#: build/NEWS:24636 +msgid "" +":issue:`36459`: Fix a possible double ``PyMem_FREE()`` due to tokenizer.c's " +"``tok_nextc()``." +msgstr "" + +#: build/NEWS:24639 +msgid ":issue:`36433`: Fixed TypeError message in classmethoddescr_call." +msgstr "" + +#: build/NEWS:24641 +msgid "" +":issue:`36430`: Fix a possible reference leak in :func:`itertools.count`." +msgstr "" + +#: build/NEWS:24643 +msgid "" +":issue:`36440`: Include node names in ``ParserError`` messages, instead of " +"numeric IDs. Patch by A. Skrobov." +msgstr "" + +#: build/NEWS:24646 +msgid "" +":issue:`36143`: Regenerate :mod:`keyword` from the Grammar and Tokens file " +"using pgen. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:24649 +msgid "" +":issue:`18372`: Add missing :c:func:`PyObject_GC_Track` calls in the :mod:" +"`pickle` module. Patch by Zackery Spytz." +msgstr "" + +#: build/NEWS:24655 +msgid ":issue:`35952`: Fix pythoninfo when the compiler is missing." +msgstr "" + +#: build/NEWS:24657 +msgid "" +":issue:`28238`: The ``.find*()`` methods of xml.etree.ElementTree can now " +"search for wildcards like ``{*}tag`` and ``{ns}*`` that match a tag in any " +"namespace or all tags in a namespace. Patch by Stefan Behnel." +msgstr "" + +#: build/NEWS:24661 +msgid "" +":issue:`26978`: ``pathlib.path.link_to()`` is now implemented. It creates a " +"hard link pointing to a path." +msgstr "" + +#: build/NEWS:24664 +msgid "" +":issue:`1613500`: :class:`fileinput.FileInput` now uses the input file mode " +"to correctly set the output file mode (previously it was hardcoded to " +"``'w'``) when ``inplace=True`` is passed to its constructor." +msgstr "" + +#: build/NEWS:24668 +msgid "" +":issue:`36734`: Fix compilation of ``faulthandler.c`` on HP-UX. Initialize " +"``stack_t current_stack`` to zero using ``memset()``." +msgstr "" + +#: build/NEWS:24671 +msgid "" +":issue:`13611`: The xml.etree.ElementTree packages gained support for C14N " +"2.0 serialisation. Patch by Stefan Behnel." +msgstr "" + +#: build/NEWS:24674 +msgid "" +":issue:`36669`: Add missing matrix multiplication operator support to " +"weakref.proxy." +msgstr "" + +#: build/NEWS:24677 +msgid "" +":issue:`36676`: The XMLParser() in xml.etree.ElementTree provides namespace " +"prefix context to the parser target if it defines the callback methods " +"\"start_ns()\" and/or \"end_ns()\". Patch by Stefan Behnel." +msgstr "" + +#: build/NEWS:24681 +msgid "" +":issue:`36673`: The TreeBuilder and XMLPullParser in xml.etree.ElementTree " +"gained support for parsing comments and processing instructions. Patch by " +"Stefan Behnel." +msgstr "" + +#: build/NEWS:24685 +msgid "" +":issue:`36650`: The C version of functools.lru_cache() was treating calls " +"with an empty ``**kwargs`` dictionary as being distinct from calls with no " +"keywords at all. This did not result in an incorrect answer, but it did " +"trigger an unexpected cache miss." +msgstr "" + +#: build/NEWS:24690 +msgid "" +":issue:`28552`: Fix ``distutils.sysconfig`` if :data:`sys.executable` is " +"``None`` or an empty string: use :func:`os.getcwd` to initialize " +"``project_base``. Fix also the distutils build command: don't use :data:" +"`sys.executable` if it is ``None`` or an empty string." +msgstr "" + +#: build/NEWS:24695 +msgid "" +":issue:`35755`: :func:`shutil.which` and ``distutils.spawn.find_executable`` " +"now use ``os.confstr(\"CS_PATH\")`` if available instead of :data:`os." +"defpath`, if the ``PATH`` environment variable is not set. Moreover, don't " +"use ``os.confstr(\"CS_PATH\")`` nor :data:`os.defpath` if the ``PATH`` " +"environment variable is set to an empty string." +msgstr "" + +#: build/NEWS:24701 +msgid ":issue:`25430`: improve performance of ``IPNetwork.__contains__()``" +msgstr "" + +#: build/NEWS:24703 +msgid "" +":issue:`30485`: Path expressions in xml.etree.ElementTree can now avoid " +"explicit namespace prefixes for tags (or the \"{namespace}tag\" notation) by " +"passing a default namespace with an empty string prefix." +msgstr "" + +#: build/NEWS:24707 +msgid "" +":issue:`36613`: Fix :mod:`asyncio` wait() not removing callback if exception" +msgstr "" + +#: build/NEWS:24709 +msgid "" +":issue:`36598`: Fix ``isinstance`` check for Mock objects with spec when the " +"code is executed under tracing. Patch by Karthikeyan Singaravelan." +msgstr "" + +#: build/NEWS:24712 +msgid "" +":issue:`18748`: In development mode (:option:`-X` ``dev``) and in debug " +"build, the :class:`io.IOBase` destructor now logs ``close()`` exceptions. " +"These exceptions are silent by default in release mode." +msgstr "" + +#: build/NEWS:24716 +msgid "" +":issue:`36575`: The ``_lsprof`` module now uses internal timer same to " +"``time.perf_counter()`` by default. ``gettimeofday(2)`` was used on Unix. " +"New timer has better resolution on most Unix platforms and timings are no " +"longer impacted by system clock updates since ``perf_counter()`` is " +"monotonic. Patch by Inada Naoki." +msgstr "" + +#: build/NEWS:24722 +msgid "" +":issue:`33461`: ``json.loads`` now emits ``DeprecationWarning`` when " +"``encoding`` option is specified. Patch by Matthias Bussonnier." +msgstr "" + +#: build/NEWS:24725 +msgid "" +":issue:`36559`: The random module now prefers the lean internal _sha512 " +"module over hashlib for seed(version=2) to optimize import time." +msgstr "" + +#: build/NEWS:24728 +msgid "" +":issue:`17561`: Set backlog=None as the default for socket.create_server." +msgstr "" + +#: build/NEWS:24730 +msgid "" +":issue:`34373`: Fix :func:`time.mktime` error handling on AIX for year " +"before 1970." +msgstr "" + +#: build/NEWS:24733 +msgid "" +":issue:`36232`: Improve error message when trying to open existing DBM " +"database that actually doesn't exist. Patch by Marco Rougeth." +msgstr "" + +#: build/NEWS:24736 +msgid ":issue:`36546`: Add statistics.quantiles()" +msgstr "" + +#: build/NEWS:24738 +msgid "" +":issue:`36050`: Optimized ``http.client.HTTPResponse.read()`` for large " +"response. Patch by Inada Naoki." +msgstr "" + +#: build/NEWS:24741 +msgid "" +":issue:`36522`: If *debuglevel* is set to >0 in :mod:`http.client`, print " +"all values for headers with multiple values for the same header name. Patch " +"by Matt Houglum." +msgstr "" + +#: build/NEWS:24745 +msgid "" +":issue:`36492`: Deprecated passing required arguments like *func* as keyword " +"arguments in functions which should accept arbitrary keyword arguments and " +"pass them to other function. Arbitrary keyword arguments (even with names " +"\"self\" and \"func\") can now be passed to these functions if the required " +"arguments are passed as positional arguments." +msgstr "" + +#: build/NEWS:24751 +msgid ":issue:`27181`: Add statistics.geometric_mean()." +msgstr "" + +#: build/NEWS:24753 +msgid "" +":issue:`30427`: ``os.path.normcase()`` relies on ``os.fspath()`` to check " +"the type of its argument. Redundant checks have been removed from its " +"``posixpath.normcase()`` and ``ntpath.normcase()`` implementations. Patch by " +"Wolfgang Maier." +msgstr "" + +#: build/NEWS:24758 +msgid "" +":issue:`36385`: Stop rejecting IPv4 octets for being ambiguously octal. " +"Leading zeros are ignored, and no longer are assumed to specify octal " +"octets. Octets are always decimal numbers. Octets must still be no more than " +"three digits, including leading zeroes." +msgstr "" + +#: build/NEWS:24763 +msgid "" +":issue:`36434`: Errors during writing to a ZIP file no longer prevent to " +"properly close it." +msgstr "" + +#: build/NEWS:24766 +msgid "" +":issue:`36407`: Fixed wrong indentation writing for CDATA section in xml.dom." +"minidom. Patch by Vladimir Surjaninov." +msgstr "" + +#: build/NEWS:24769 +msgid "" +":issue:`36326`: inspect.getdoc() can now find docstrings for member objects " +"when __slots__ is a dictionary." +msgstr "" + +#: build/NEWS:24772 +msgid "" +":issue:`36366`: Calling ``stop()`` on an unstarted or stopped :func:" +"`unittest.mock.patch` object will now return ``None`` instead of raising :" +"exc:`RuntimeError`, making the method idempotent. Patch by Karthikeyan " +"Singaravelan." +msgstr "" + +#: build/NEWS:24777 +msgid "" +":issue:`36348`: The :meth:`imap.IMAP4.logout` method no longer ignores " +"silently arbitrary exceptions." +msgstr "" + +#: build/NEWS:24780 +msgid "" +":issue:`31904`: Add time module support and fix test_time failures for " +"VxWorks." +msgstr "" + +#: build/NEWS:24782 +msgid "" +":issue:`36227`: Added support for keyword arguments ``default_namespace`` " +"and ``xml_declaration`` in functions ``ElementTree.tostring()`` and " +"``ElementTree.tostringlist()``." +msgstr "" + +#: build/NEWS:24786 +msgid "" +":issue:`36004`: Added new alternate constructors :meth:`datetime.date." +"fromisocalendar` and :meth:`datetime.datetime.fromisocalendar`, which " +"construct date objects from ISO year, week number and weekday; these are the " +"inverse of each class's ``isocalendar`` method. Patch by Paul Ganssle." +msgstr "" + +#: build/NEWS:24792 +msgid "" +":issue:`35936`: :mod:`modulefinder` no longer depends on the deprecated :mod:" +"`imp` module, and the initializer for :class:`modulefinder.ModuleFinder` now " +"has immutable default arguments. Patch by Brandt Bucher." +msgstr "" + +#: build/NEWS:24797 +msgid "" +":issue:`35376`: :mod:`modulefinder` correctly handles modules that have the " +"same name as a bad package. Patch by Brandt Bucher." +msgstr "" + +#: build/NEWS:24800 +msgid "" +":issue:`17396`: :mod:`modulefinder` no longer crashes when encountering " +"syntax errors in followed imports. Patch by Brandt Bucher." +msgstr "" + +#: build/NEWS:24803 +msgid "" +":issue:`35934`: Added :meth:`~socket.create_server` and :meth:`~socket." +"has_dualstack_ipv6` convenience functions to automate the necessary tasks " +"usually involved when creating a server socket, including accepting both " +"IPv4 and IPv6 connections on the same socket. (Contributed by Giampaolo " +"Rodola in :issue:`17561`.)" +msgstr "" + +#: build/NEWS:24809 +msgid "" +":issue:`23078`: Add support for :func:`classmethod` and :func:`staticmethod` " +"to :func:`unittest.mock.create_autospec`. Initial patch by Felipe Ochoa." +msgstr "" + +#: build/NEWS:24812 +msgid "" +":issue:`35416`: Fix potential resource warnings in distutils. Patch by " +"Mickaël Schoentgen." +msgstr "" + +#: build/NEWS:24815 +msgid "" +":issue:`25451`: Add transparency methods to :class:`tkinter.PhotoImage`. " +"Patch by Zackery Spytz." +msgstr "" + +#: build/NEWS:24818 +msgid "" +":issue:`35082`: Don't return deleted attributes when calling dir on a :class:" +"`unittest.mock.Mock`." +msgstr "" + +#: build/NEWS:24821 +msgid "" +":issue:`34547`: :class:`wsgiref.handlers.BaseHandler` now handles abrupt " +"client connection terminations gracefully. Patch by Petter Strandmark." +msgstr "" + +#: build/NEWS:24824 +msgid "" +":issue:`31658`: :func:`xml.sax.parse` now supports :term:`path-like <path-" +"like object>`. Patch by Mickaël Schoentgen." +msgstr "" + +#: build/NEWS:24827 +msgid ":issue:`34139`: Remove stale unix datagram socket before binding" +msgstr "" + +#: build/NEWS:24829 +msgid "" +":issue:`33530`: Implemented Happy Eyeballs in ``asyncio." +"create_connection()``. Added two new arguments, *happy_eyeballs_delay* and " +"*interleave*, to specify Happy Eyeballs behavior." +msgstr "" + +#: build/NEWS:24833 +msgid "" +":issue:`33291`: Do not raise AttributeError when calling the inspect " +"functions isgeneratorfunction, iscoroutinefunction, isasyncgenfunction on a " +"method created from an arbitrary callable. Instead, return False." +msgstr "" + +#: build/NEWS:24837 +msgid "" +":issue:`31310`: Fix the multiprocessing.semaphore_tracker so it is reused by " +"child processes" +msgstr "" + +#: build/NEWS:24840 +msgid "" +":issue:`31292`: Fix ``setup.py check --restructuredtext`` for files " +"containing ``include`` directives." +msgstr "" + +#: build/NEWS:24846 +msgid "" +":issue:`36625`: Remove obsolete comments from docstrings in fractions." +"Fraction" +msgstr "" + +#: build/NEWS:24848 +msgid ":issue:`30840`: Document relative imports" +msgstr "" + +#: build/NEWS:24850 +msgid ":issue:`36523`: Add docstring for io.IOBase.writelines()." +msgstr "" + +#: build/NEWS:24852 +msgid "" +":issue:`36425`: New documentation translation: `Simplified Chinese <https://" +"docs.python.org/zh-cn/>`_." +msgstr "" + +#: build/NEWS:24855 +msgid "" +":issue:`36345`: Avoid the duplication of code from ``Tools/scripts/serve." +"py`` in using the :rst:dir:`literalinclude` directive for the basic wsgiref-" +"based web server in the documentation of :mod:`wsgiref`. Contributed by " +"Stéphane Wirtel." +msgstr "" + +#: build/NEWS:24860 +msgid "" +":issue:`36345`: Using the code of the ``Tools/scripts/serve.py`` script as " +"an example in the :mod:`wsgiref` documentation. Contributed by Stéphane " +"Wirtel." +msgstr "" + +#: build/NEWS:24864 +msgid ":issue:`36157`: Added documentation for PyInterpreterState_Main()." +msgstr "" + +#: build/NEWS:24866 +msgid "" +":issue:`33043`: Updates the docs.python.org page with the addition of a " +"'Contributing to Docs' link at the end of the page (between 'Reporting Bugs' " +"and 'About Documentation'). Updates the 'Found a Bug' page with additional " +"links and information in the Documentation Bugs section." +msgstr "" + +#: build/NEWS:24871 +msgid "" +":issue:`35581`: @typing.type_check_only now allows type stubs to mark " +"functions and classes not available during runtime." +msgstr "" + +#: build/NEWS:24874 +msgid ":issue:`33832`: Add glossary entry for 'magic method'." +msgstr "" + +#: build/NEWS:24876 +msgid ":issue:`32913`: Added re.Match.groupdict example to regex HOWTO." +msgstr "" + +#: build/NEWS:24881 +msgid "" +":issue:`36719`: regrtest now always detects uncollectable objects. " +"Previously, the check was only enabled by ``--findleaks``. The check now " +"also works with ``-jN/--multiprocess N``. ``--findleaks`` becomes a " +"deprecated alias to ``--fail-env-changed``." +msgstr "" + +#: build/NEWS:24886 +msgid "" +":issue:`36725`: When using multiprocessing mode (-jN), regrtest now better " +"reports errors if a worker process fails, and it exits immediately on a " +"worker thread failure or when interrupted." +msgstr "" + +#: build/NEWS:24890 +msgid "" +":issue:`36454`: Change test_time.test_monotonic() to test only the lower " +"bound of elapsed time after a sleep command rather than the upper bound. " +"This prevents unnecessary test failures on slow buildbots. Patch by Victor " +"Stinner." +msgstr "" + +#: build/NEWS:24895 +msgid "" +":issue:`32424`: Improve test coverage for xml.etree.ElementTree. Patch by " +"Gordon P. Hemsley." +msgstr "" + +#: build/NEWS:24898 +msgid "" +":issue:`32424`: Fix typo in test_cyclic_gc() test for xml.etree.ElementTree. " +"Patch by Gordon P. Hemsley." +msgstr "" + +#: build/NEWS:24901 +msgid "" +":issue:`36635`: Add a new :mod:`!_testinternalcapi` module to test the " +"internal C API." +msgstr "" + +#: build/NEWS:24904 +msgid "" +":issue:`36629`: Fix ``test_imap4_host_default_value()`` of ``test_imaplib``: " +"catch also :const:`errno.ENETUNREACH` error." +msgstr "" + +#: build/NEWS:24907 +msgid "" +":issue:`36611`: Fix ``test_sys.test_getallocatedblocks()`` when :mod:" +"`tracemalloc` is enabled." +msgstr "" + +#: build/NEWS:24910 +msgid "" +":issue:`36560`: Fix reference leak hunting in regrtest: compute also deltas " +"(of reference count, allocated memory blocks, file descriptor count) during " +"warmup, to ensure that everything is initialized before starting to hunt " +"reference leaks." +msgstr "" + +#: build/NEWS:24915 +msgid "" +":issue:`36565`: Fix reference hunting (``python3 -m test -R 3:3``) when " +"Python has no built-in abc module." +msgstr "" + +#: build/NEWS:24918 +msgid "" +":issue:`31904`: Port test_resource to VxWorks: skip tests cases setting " +"RLIMIT_FSIZE and RLIMIT_CPU." +msgstr "" + +#: build/NEWS:24921 +msgid "" +":issue:`31904`: Fix test_tabnanny on VxWorks: adjust ENOENT error message." +msgstr "" + +#: build/NEWS:24923 +msgid "" +":issue:`36436`: Fix ``_testcapi.pymem_buffer_overflow()``: handle memory " +"allocation failure." +msgstr "" + +#: build/NEWS:24926 +msgid "" +":issue:`31904`: Fix test_utf8_mode on VxWorks: Python always use UTF-8 on " +"VxWorks." +msgstr "" + +#: build/NEWS:24929 +msgid "" +":issue:`36341`: Fix tests that may fail with PermissionError upon calling " +"bind() on AF_UNIX sockets." +msgstr "" + +#: build/NEWS:24935 +msgid ":issue:`36747`: Remove the stale scriptsinstall Makefile target." +msgstr "" + +#: build/NEWS:24937 +msgid "" +":issue:`21536`: On Unix, C extensions are no longer linked to libpython " +"except on Android and Cygwin." +msgstr "" + +#: build/NEWS:24940 +msgid "" +"It is now possible for a statically linked Python to load a C extension " +"built using a shared library Python." +msgstr "" + +#: build/NEWS:24943 +msgid "" +"When Python is embedded, ``libpython`` must not be loaded with " +"``RTLD_LOCAL``, but ``RTLD_GLOBAL`` instead. Previously, using " +"``RTLD_LOCAL``, it was already not possible to load C extensions which were " +"not linked to ``libpython``, such as C extensions of the standard library " +"built by the ``*shared*`` section of ``Modules/Setup``." +msgstr "" + +#: build/NEWS:24949 +msgid "distutils, python-config and python-config.py have been modified." +msgstr "" + +#: build/NEWS:24951 +msgid "" +":issue:`36707`: ``./configure --with-pymalloc`` no longer adds the ``m`` " +"flag to SOABI (sys.implementation.cache_tag). Enabling or disabling pymalloc " +"has no impact on the ABI." +msgstr "" + +#: build/NEWS:24955 +msgid "" +":issue:`36635`: Change ``PyAPI_FUNC(type)``, ``PyAPI_DATA(type)`` and " +"``PyMODINIT_FUNC`` macros of ``pyport.h`` when ``Py_BUILD_CORE_MODULE`` is " +"defined. The ``Py_BUILD_CORE_MODULE`` define must be now be used to build a " +"C extension as a dynamic library accessing Python internals: export the :" +"samp:`PyInit_{xxx}()` function in DLL exports on Windows." +msgstr "" + +#: build/NEWS:24961 +msgid ":issue:`31904`: Don't build the ``_crypt`` extension on VxWorks." +msgstr "" + +#: build/NEWS:24963 +msgid "" +":issue:`36618`: Add ``-fmax-type-align=8`` to CFLAGS when clang compiler is " +"detected. The pymalloc memory allocator aligns memory on 8 bytes. On x86-64, " +"clang expects alignment on 16 bytes by default and so uses MOVAPS " +"instruction which can lead to segmentation fault. Instruct clang that Python " +"is limited to alignment on 8 bytes to use MOVUPS instruction instead: slower " +"but don't trigger a SIGSEGV if the memory is not aligned on 16 bytes. Sadly, " +"the flag must be added to ``CFLAGS`` and not just ``CFLAGS_NODIST``, since " +"third party C extensions can have the same issue." +msgstr "" + +#: build/NEWS:24972 +msgid "" +":issue:`36605`: ``make tags`` and ``make TAGS`` now also parse ``Modules/_io/" +"*.c`` and ``Modules/_io/*.h``." +msgstr "" + +#: build/NEWS:24975 +msgid "" +":issue:`36465`: Release builds and debug builds are now ABI compatible: " +"defining the ``Py_DEBUG`` macro no longer implies the ``Py_TRACE_REFS`` " +"macro, which introduces the only ABI incompatibility. The ``Py_TRACE_REFS`` " +"macro, which adds the :func:`sys.getobjects` function and the :envvar:" +"`PYTHONDUMPREFS` environment variable, can be set using the new ``./" +"configure --with-trace-refs`` build option." +msgstr "" + +#: build/NEWS:24982 +msgid "" +":issue:`36577`: setup.py now correctly reports missing OpenSSL headers and " +"libraries again." +msgstr "" + +#: build/NEWS:24985 +msgid "" +":issue:`36544`: Fix regression introduced in :issue:`36146` refactoring " +"setup.py" +msgstr "" + +#: build/NEWS:24987 +msgid "" +":issue:`36508`: ``python-config --ldflags`` no longer includes flags of the " +"``LINKFORSHARED`` variable. The ``LINKFORSHARED`` variable must only be used " +"to build executables." +msgstr "" + +#: build/NEWS:24991 +msgid "" +":issue:`36503`: Remove references to \"aix3\" and \"aix4\". Patch by M. Felt." +msgstr "" + +#: build/NEWS:24996 +msgid "" +":issue:`35920`: Added platform.win32_edition() and platform.win32_is_iot(). " +"Added support for cross-compiling packages for Windows ARM32. Skip tests " +"that are not expected to work on Windows IoT Core ARM32." +msgstr "" + +#: build/NEWS:25000 +msgid "" +":issue:`36649`: Remove trailing spaces for registry keys when installed via " +"the Store." +msgstr "" + +#: build/NEWS:25003 +msgid "" +":issue:`34144`: Fixed activate.bat to correctly update codepage when chcp." +"com returns dots in output. Patch by Lorenz Mende." +msgstr "" + +#: build/NEWS:25006 +msgid "" +":issue:`36509`: Added preset-iot layout for Windows IoT ARM containers. This " +"layout doesn't contain UI components like tkinter or IDLE. It also doesn't " +"contain files to support on-target builds since Windows ARM32 builds must be " +"cross-compiled when using MSVC." +msgstr "" + +#: build/NEWS:25011 +msgid "" +":issue:`35941`: enum_certificates function of the ssl module now returns " +"certificates from all available certificate stores inside windows in a query " +"instead of returning only certificates from the system wide certificate " +"store. This includes certificates from these certificate stores: local " +"machine, local machine enterprise, local machine group policy, current user, " +"current user group policy, services, users. ssl.enum_crls() function is " +"changed in the same way to return all certificate revocation lists inside " +"the windows certificate revocation list stores." +msgstr "" + +#: build/NEWS:25021 +msgid "" +":issue:`36441`: Fixes creating a venv when debug binaries are installed." +msgstr "" + +#: build/NEWS:25023 +msgid "" +":issue:`36085`: Enable better DLL resolution on Windows by using safe DLL " +"search paths and adding :func:`os.add_dll_directory`." +msgstr "" + +#: build/NEWS:25026 +msgid "" +":issue:`36010`: Add the venv standard library module to the nuget " +"distribution for Windows." +msgstr "" + +#: build/NEWS:25029 +msgid "" +":issue:`29515`: Add the following socket module constants on Windows: " +"IPPROTO_AH IPPROTO_CBT IPPROTO_DSTOPTS IPPROTO_EGP IPPROTO_ESP " +"IPPROTO_FRAGMENT IPPROTO_GGP IPPROTO_HOPOPTS IPPROTO_ICLFXBM IPPROTO_ICMPV6 " +"IPPROTO_IDP IPPROTO_IGMP IPPROTO_IGP IPPROTO_IPV4 IPPROTO_IPV6 IPPROTO_L2TP " +"IPPROTO_MAX IPPROTO_ND IPPROTO_NONE IPPROTO_PGM IPPROTO_PIM IPPROTO_PUP " +"IPPROTO_RDP IPPROTO_ROUTING IPPROTO_SCTP IPPROTO_ST" +msgstr "" + +#: build/NEWS:25037 +msgid "" +":issue:`35947`: Added current version of libffi to cpython-source-deps. " +"Change _ctypes to use current version of libffi on Windows." +msgstr "" + +#: build/NEWS:25040 +msgid "" +":issue:`34060`: Report system load when running test suite on Windows. Patch " +"by Ammar Askar. Based on prior work by Jeremy Kloth." +msgstr "" + +#: build/NEWS:25043 +msgid "" +":issue:`31512`: With the Windows 10 Creators Update, non-elevated users can " +"now create symlinks as long as the computer has Developer Mode enabled." +msgstr "" + +#: build/NEWS:25049 +msgid "" +":issue:`34602`: Avoid failures setting macOS stack resource limit with " +"resource.setrlimit. This reverts an earlier fix for :issue:`18075` which " +"forced a non-default stack size when building the interpreter executable on " +"macOS." +msgstr "" + +#: build/NEWS:25057 +msgid "" +":issue:`36429`: Fix starting IDLE with pyshell. Add idlelib.pyshell alias at " +"top; remove pyshell alias at bottom. Remove obsolete __name__=='__main__' " +"command." +msgstr "" + +#: build/NEWS:25064 +msgid ":issue:`14546`: Fix the argument handling in Tools/scripts/lll.py." +msgstr "" + +#: build/NEWS:25069 +msgid "" +":issue:`36763`: Fix memory leak in :c:func:`Py_SetStandardStreamEncoding`: " +"release memory if the function is called twice." +msgstr "" + +#: build/NEWS:25072 +msgid "" +":issue:`36641`: :c:expr:`PyDoc_VAR(name)` and :c:expr:`PyDoc_STRVAR(name," +"str)` now create ``static const char name[]`` instead of ``static char " +"name[]``. Patch by Inada Naoki." +msgstr "" + +#: build/NEWS:25076 +msgid "" +":issue:`36389`: Change the value of ``CLEANBYTE``, ``DEADDYTE`` and " +"``FORBIDDENBYTE`` internal constants used by debug hooks on Python memory " +"allocators (:c:func:`PyMem_SetupDebugHooks` function). Byte patterns " +"``0xCB``, ``0xDB`` and ``0xFB`` have been replaced with ``0xCD``, ``0xDD`` " +"and ``0xFD`` to use the same values than Windows CRT debug ``malloc()`` and " +"``free()``." +msgstr "" + +#: build/NEWS:25083 +msgid "" +":issue:`36443`: Since Python 3.7.0, calling :c:func:`Py_DecodeLocale` " +"before :c:func:`Py_Initialize` produces mojibake if the ``LC_CTYPE`` locale " +"is coerced and/or if the UTF-8 Mode is enabled by the user configuration. " +"The LC_CTYPE coercion and UTF-8 Mode are now disabled by default to fix the " +"mojibake issue. They must now be enabled explicitly (opt-in) using the new :" +"c:func:`!_Py_PreInitialize` API with ``_PyPreConfig``." +msgstr "" + +#: build/NEWS:25090 +msgid "" +":issue:`36025`: Fixed an accidental change to the datetime C API where the " +"arguments to the :c:func:`PyDate_FromTimestamp` function were incorrectly " +"interpreted as a single timestamp rather than an arguments tuple, which " +"causes existing code to start raising :exc:`TypeError`. The backwards-" +"incompatible change was only present in alpha releases of Python 3.8. Patch " +"by Paul Ganssle." +msgstr "" + +#: build/NEWS:25097 +msgid "" +":issue:`35810`: Modify ``PyObject_Init`` to correctly increase the refcount " +"of heap-allocated Type objects. Also fix the refcounts of the heap-allocated " +"types that were either doing this manually or not decreasing the type's " +"refcount in tp_dealloc" +msgstr "" + +#: build/NEWS:25104 +msgid "Python 3.8.0 alpha 3" +msgstr "" + +#: build/NEWS:25106 +msgid "*Release date: 2019-03-25*" +msgstr "" + +#: build/NEWS:25111 +msgid "" +":issue:`36216`: Changes urlsplit() to raise ValueError when the URL contains " +"characters that decompose under IDNA encoding (NFKC-normalization) into " +"characters that affect how the URL is parsed." +msgstr "" + +#: build/NEWS:25115 +msgid "" +":issue:`35121`: Don't send cookies of domain A without Domain attribute to " +"domain B when domain A is a suffix match of domain B while using a cookiejar " +"with :class:`http.cookiejar.DefaultCookiePolicy` policy. Patch by " +"Karthikeyan Singaravelan." +msgstr "" + +#: build/NEWS:25123 +msgid "" +":issue:`36421`: Fix a possible double decref in _ctypes.c's " +"``PyCArrayType_new()``." +msgstr "" + +#: build/NEWS:25126 +msgid ":issue:`36412`: Fix a possible crash when creating a new dictionary." +msgstr "" + +#: build/NEWS:25128 +msgid ":issue:`36398`: Fix a possible crash in ``structseq_repr()``." +msgstr "" + +#: build/NEWS:25130 +msgid "" +":issue:`36256`: Fix bug in parsermodule when parsing a state in a DFA that " +"has two or more arcs with labels of the same type. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:25133 +msgid ":issue:`36365`: repr(structseq) is no longer limited to 512 bytes." +msgstr "" + +#: build/NEWS:25135 +msgid "" +":issue:`36374`: Fix a possible null pointer dereference in " +"``merge_consts_recursive()``. Patch by Zackery Spytz." +msgstr "" + +#: build/NEWS:25138 +msgid "" +":issue:`36236`: At Python initialization, the current directory is no longer " +"prepended to :data:`sys.path` if it has been removed." +msgstr "" + +#: build/NEWS:25141 +msgid "" +":issue:`36352`: Python initialization now fails with an error, rather than " +"silently truncating paths, if a path is too long." +msgstr "" + +#: build/NEWS:25144 +msgid "" +":issue:`36301`: Python initialization now fails if decoding ``pybuilddir." +"txt`` configuration file fails at startup." +msgstr "" + +#: build/NEWS:25147 +msgid "" +":issue:`36333`: Fix leak in _PyRuntimeState_Fini. Contributed by Stéphane " +"Wirtel." +msgstr "" + +#: build/NEWS:25150 +msgid "" +":issue:`36332`: The builtin :func:`compile` can now handle AST objects that " +"contain assignment expressions. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:25153 +msgid "" +":issue:`36282`: Improved error message for too much positional arguments in " +"some builtin functions." +msgstr "" + +#: build/NEWS:25156 +msgid "" +":issue:`30040`: New empty dict uses fewer memory for now. It used more " +"memory than empty dict created by ``dict.clear()``. And empty dict creation " +"and deletion is about 2x faster. Patch by Inada Naoki." +msgstr "" + +#: build/NEWS:25160 +msgid "" +":issue:`36262`: Fix an unlikely memory leak on conversion from string to " +"float in the function ``_Py_dg_strtod()`` used by ``float(str)``, " +"``complex(str)``, :func:`pickle.load`, :func:`marshal.load`, etc." +msgstr "" + +#: build/NEWS:25164 +msgid ":issue:`36252`: Update Unicode databases to version 12.0.0." +msgstr "" + +#: build/NEWS:25166 +msgid "" +":issue:`36218`: Fix a segfault occurring when sorting a list of " +"heterogeneous values. Patch contributed by Rémi Lapeyre and Elliot " +"Gorokhovsky." +msgstr "" + +#: build/NEWS:25169 +msgid "" +":issue:`36188`: Cleaned up left-over vestiges of Python 2 unbound method " +"handling in method objects and documentation. Patch by Martijn Pieters" +msgstr "" + +#: build/NEWS:25172 +msgid "" +":issue:`36124`: Add a new interpreter-specific dict and expose it in the C-" +"API via PyInterpreterState_GetDict(). This parallels " +"PyThreadState_GetDict(). However, extension modules should continue using " +"PyModule_GetState() for their own internal per-interpreter state." +msgstr "" + +#: build/NEWS:25177 +msgid "" +":issue:`35975`: Add a ``feature_version`` flag to ``ast.parse()`` " +"(documented) and ``compile()`` (hidden) that allows tweaking the parser to " +"support older versions of the grammar. In particular, if ``feature_version`` " +"is 5 or 6, the hacks for the ``async`` and ``await`` keyword from PEP 492 " +"are reinstated. (For 7 or higher, these are unconditionally treated as " +"keywords, but they are still special tokens rather than ``NAME`` tokens that " +"the parser driver recognizes.)" +msgstr "" + +#: build/NEWS:25185 +msgid ":issue:`31904`: Use UTF-8 as the system encoding on VxWorks." +msgstr "" + +#: build/NEWS:25187 +msgid "" +":issue:`36048`: The :meth:`~object.__index__` special method will be used " +"instead of :meth:`~object.__int__` for implicit conversion of Python numbers " +"to C integers. Using the ``__int__()`` method in implicit conversions has " +"been deprecated." +msgstr "" + +#: build/NEWS:25192 +msgid "" +":issue:`35808`: Retire pgen and use a modified version of pgen2 to generate " +"the parser. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:25198 +msgid "" +":issue:`36401`: The class documentation created by pydoc now has a separate " +"section for readonly properties." +msgstr "" + +#: build/NEWS:25201 +msgid "" +":issue:`36320`: The typing.NamedTuple() class has deprecated the " +"_field_types attribute in favor of the __annotations__ attribute which " +"carried the same information. Also, both attributes were converted from " +"OrderedDict to a regular dict." +msgstr "" + +#: build/NEWS:25206 +msgid "" +":issue:`34745`: Fix :mod:`asyncio` ssl memory issues caused by circular " +"references" +msgstr "" + +#: build/NEWS:25209 +msgid "" +":issue:`36324`: Add method to statistics.NormalDist for computing the " +"inverse cumulative normal distribution." +msgstr "" + +#: build/NEWS:25212 +msgid "" +":issue:`36321`: collections.namedtuple() misspelled the name of an " +"attribute. To be consistent with typing.NamedTuple, the attribute name " +"should have been \"_field_defaults\" instead of \"_fields_defaults\". For " +"backwards compatibility, both spellings are now created. The misspelled " +"version may be removed in the future." +msgstr "" + +#: build/NEWS:25218 +msgid "" +":issue:`36297`: \"unicode_internal\" codec is removed. It was deprecated " +"since Python 3.3. Patch by Inada Naoki." +msgstr "" + +#: build/NEWS:25221 +msgid "" +":issue:`36298`: Raise ModuleNotFoundError in pyclbr when a module can't be " +"found. Thanks to 'mental' for the bug report." +msgstr "" + +#: build/NEWS:25224 +msgid "" +":issue:`36268`: Switch the default format used for writing tars with :mod:" +"`tarfile` to the modern POSIX.1-2001 pax standard, from the vendor-specific " +"GNU. Contributed by C.A.M. Gerlach." +msgstr "" + +#: build/NEWS:25228 +msgid "" +":issue:`36285`: Fix integer overflows in the array module. Patch by Stephan " +"Hohe." +msgstr "" + +#: build/NEWS:25231 +msgid ":issue:`31904`: Add _signal module support for VxWorks." +msgstr "" + +#: build/NEWS:25233 +msgid "" +":issue:`36272`: :mod:`logging` does not silently ignore RecursionError " +"anymore. Patch contributed by Rémi Lapeyre." +msgstr "" + +#: build/NEWS:25236 +msgid "" +":issue:`36280`: Add a kind field to ast.Constant. It is 'u' if the literal " +"has a 'u' prefix (i.e. a Python 2 style unicode literal), else None." +msgstr "" + +#: build/NEWS:25239 +msgid "" +":issue:`35931`: The :mod:`pdb` ``debug`` command now gracefully handles all " +"exceptions." +msgstr "" + +#: build/NEWS:25242 +msgid "" +":issue:`36251`: Fix format strings used for stderrprinter and re.Match " +"reprs. Patch by Stephan Hohe." +msgstr "" + +#: build/NEWS:25245 +msgid "" +":issue:`36235`: Fix ``CFLAGS`` in ``customize_compiler()`` of ``distutils." +"sysconfig``: when the ``CFLAGS`` environment variable is defined, don't " +"override ``CFLAGS`` variable with the ``OPT`` variable anymore. Initial " +"patch written by David Malcolm." +msgstr "" + +#: build/NEWS:25250 +msgid "" +":issue:`35807`: Update ensurepip to install pip 19.0.3 and setuptools 40.8.0." +msgstr "" + +#: build/NEWS:25252 +msgid ":issue:`36139`: Release GIL when closing :class:`~mmap.mmap` objects." +msgstr "" + +#: build/NEWS:25254 +msgid "" +":issue:`36179`: Fix two unlikely reference leaks in _hashopenssl. The leaks " +"only occur in out-of-memory cases." +msgstr "" + +#: build/NEWS:25257 +msgid "" +":issue:`36169`: Add overlap() method to statistics.NormalDist. Computes the " +"overlapping coefficient for two normal distributions." +msgstr "" + +#: build/NEWS:25260 +msgid "" +":issue:`36103`: Default buffer size used by ``shutil.copyfileobj()`` is " +"changed from 16 KiB to 64 KiB on non-Windows platform to reduce system call " +"overhead. Contributed by Inada Naoki." +msgstr "" + +#: build/NEWS:25264 +msgid "" +":issue:`36130`: Fix ``pdb`` with ``skip=...`` when stepping into a frame " +"without a ``__name__`` global. Patch by Anthony Sottile." +msgstr "" + +#: build/NEWS:25267 +msgid "" +":issue:`35652`: shutil.copytree(copy_function=...) erroneously pass DirEntry " +"instead of a path string." +msgstr "" + +#: build/NEWS:25270 +msgid "" +":issue:`35178`: Ensure custom :func:`warnings.formatwarning` function can " +"receive ``line`` as positional argument. Based on patch by Tashrif Billah." +msgstr "" + +#: build/NEWS:25273 +msgid "" +":issue:`36106`: Resolve potential name clash with libm's sinpi(). Patch by " +"Dmitrii Pasechnik." +msgstr "" + +#: build/NEWS:25276 +msgid "" +":issue:`36091`: Clean up reference to async generator in Lib/types. Patch by " +"Henry Chen." +msgstr "" + +#: build/NEWS:25279 +msgid "" +":issue:`36043`: :class:`FileCookieJar` supports :term:`path-like object`. " +"Contributed by Stéphane Wirtel" +msgstr "" + +#: build/NEWS:25282 +msgid "" +":issue:`35899`: Enum has been fixed to correctly handle empty strings and " +"strings with non-Latin characters (ie. 'α', 'א') without crashing. Original " +"patch contributed by Maxwell. Assisted by Stéphane Wirtel." +msgstr "" + +#: build/NEWS:25286 +msgid "" +":issue:`21269`: Add ``args`` and ``kwargs`` properties to mock call objects. " +"Contributed by Kumar Akshay." +msgstr "" + +#: build/NEWS:25289 +msgid "" +":issue:`30670`: ``pprint.pp`` has been added to pretty-print objects with " +"dictionary keys being sorted with their insertion order by default. " +"Parameter *sort_dicts* has been added to ``pprint.pprint``, ``pprint." +"pformat`` and ``pprint.PrettyPrinter``. Contributed by Rémi Lapeyre." +msgstr "" + +#: build/NEWS:25295 +msgid "" +":issue:`35843`: Implement ``__getitem__`` for ``_NamespacePath``. Patch by " +"Anthony Sottile." +msgstr "" + +#: build/NEWS:25298 +msgid "" +":issue:`35802`: Clean up code which checked presence of ``os.stat`` / ``os." +"lstat`` / ``os.chmod`` which are always present. Patch by Anthony Sottile." +msgstr "" + +#: build/NEWS:25302 +msgid "" +":issue:`35715`: Librates the return value of a ProcessPoolExecutor " +"_process_worker after it's no longer needed to free memory" +msgstr "" + +#: build/NEWS:25305 +msgid "" +":issue:`35493`: Use :func:`multiprocessing.connection.wait` instead of " +"polling each 0.2 seconds for worker updates in :class:`multiprocessing." +"Pool`. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:25309 +msgid ":issue:`35661`: Store the venv prompt in pyvenv.cfg." +msgstr "" + +#: build/NEWS:25311 +msgid "" +":issue:`35121`: Don't set cookie for a request when the request path is a " +"prefix match of the cookie's path attribute but doesn't end with \"/\". " +"Patch by Karthikeyan Singaravelan." +msgstr "" + +#: build/NEWS:25315 +msgid "" +":issue:`21478`: Calls to a child function created with :func:`unittest.mock." +"create_autospec` should propagate to the parent. Patch by Karthikeyan " +"Singaravelan." +msgstr "" + +#: build/NEWS:25319 +msgid ":issue:`35198`: Fix C++ extension compilation on AIX" +msgstr "" + +#: build/NEWS:25324 +msgid "" +":issue:`36329`: Declare the path of the Python binary for the usage of " +"``Tools/scripts/serve.py`` when executing ``make -C Doc/ serve``. " +"Contributed by Stéphane Wirtel" +msgstr "" + +#: build/NEWS:25328 +msgid "" +":issue:`36138`: Improve documentation about converting datetime.timedelta to " +"scalars." +msgstr "" + +#: build/NEWS:25331 +msgid "" +":issue:`21314`: A new entry was added to the Core Language Section of the " +"Programming FAQ, which explaines the usage of slash(/) in the signature of a " +"function. Patch by Lysandros Nikolaou" +msgstr "" + +#: build/NEWS:25338 +msgid "" +":issue:`36234`: test_posix.PosixUidGidTests: add tests for invalid uid/gid " +"type (str). Initial patch written by David Malcolm." +msgstr "" + +#: build/NEWS:25341 +msgid "" +":issue:`29571`: Fix ``test_re.test_locale_flag()``: use ``locale." +"getpreferredencoding()`` rather than ``locale.getlocale()`` to get the " +"locale encoding. With some locales, ``locale.getlocale()`` returns the wrong " +"encoding." +msgstr "" + +#: build/NEWS:25346 +msgid ":issue:`36123`: Fix race condition in test_socket." +msgstr "" + +#: build/NEWS:25351 +msgid "" +":issue:`36356`: Fix leaks that led to build failure when configured with " +"address sanitizer." +msgstr "" + +#: build/NEWS:25354 +msgid "" +":issue:`36146`: Add ``TEST_EXTENSIONS`` constant to ``setup.py`` to allow to " +"not build test extensions like ``_testcapi``." +msgstr "" + +#: build/NEWS:25357 +msgid "" +":issue:`36146`: Fix setup.py on macOS: only add ``/usr/include/ffi`` to " +"include directories of _ctypes, not for all extensions." +msgstr "" + +#: build/NEWS:25360 +msgid ":issue:`31904`: Enable build system to cross-build for VxWorks RTOS." +msgstr "" + +#: build/NEWS:25365 +msgid "" +":issue:`36312`: Fixed decoders for the following code pages: 50220, 50221, " +"50222, 50225, 50227, 50229, 57002 through 57011, 65000 and 42." +msgstr "" + +#: build/NEWS:25368 +msgid "" +":issue:`36264`: Don't honor POSIX ``HOME`` in ``os.path.expanduser`` on " +"windows. Patch by Anthony Sottile." +msgstr "" + +#: build/NEWS:25371 +msgid "" +":issue:`24643`: Fix name collisions due to ``#define timezone _timezone`` in " +"PC/pyconfig.h." +msgstr "" + +#: build/NEWS:25377 +msgid ":issue:`36405`: Use dict unpacking in idlelib." +msgstr "" + +#: build/NEWS:25379 +msgid "" +":issue:`36396`: Remove fgBg param of idlelib.config.GetHighlight(). This " +"param was only used twice and changed the return type." +msgstr "" + +#: build/NEWS:25382 +msgid "" +":issue:`36176`: Fix IDLE autocomplete & calltip popup colors. Prevent " +"conflicts with Linux dark themes (and slightly darken calltip background)." +msgstr "" + +#: build/NEWS:25385 +msgid "" +":issue:`23205`: For the grep module, add tests for findfiles, refactor " +"findfiles to be a module-level function, and refactor findfiles to use os." +"walk." +msgstr "" + +#: build/NEWS:25389 +msgid ":issue:`23216`: Add docstrings to IDLE search modules." +msgstr "" + +#: build/NEWS:25391 +msgid "" +":issue:`36152`: Remove colorizer.ColorDelegator.close_when_done and the " +"corresponding argument of .close(). In IDLE, both have always been None or " +"False since 2007." +msgstr "" + +#: build/NEWS:25395 +msgid "" +":issue:`32129`: Avoid blurry IDLE application icon on macOS with Tk 8.6. " +"Patch by Kevin Walzer." +msgstr "" + +#: build/NEWS:25398 +msgid "" +":issue:`36096`: Refactor class variables to instance variables in colorizer." +msgstr "" + +#: build/NEWS:25400 +msgid "" +":issue:`30348`: Increase test coverage of idlelib.autocomplete by 30%. Patch " +"by Louie Lu" +msgstr "" + +#: build/NEWS:25406 +msgid "" +":issue:`35132`: Fix py-list and py-bt commands of python-gdb.py on gdb7." +msgstr "" + +#: build/NEWS:25408 +msgid ":issue:`32217`: Fix freeze script on Windows." +msgstr "" + +#: build/NEWS:25413 +msgid "" +":issue:`36381`: Raise ``DeprecationWarning`` when '#' formats are used for " +"building or parsing values without ``PY_SSIZE_T_CLEAN``." +msgstr "" + +#: build/NEWS:25416 +msgid "" +":issue:`36142`: The whole coreconfig.h header is now excluded from " +"Py_LIMITED_API. Move functions definitions into a new internal " +"pycore_coreconfig.h header." +msgstr "" + +#: build/NEWS:25422 +msgid "Python 3.8.0 alpha 2" +msgstr "" + +#: build/NEWS:25424 +msgid "*Release date: 2019-02-25*" +msgstr "" + +#: build/NEWS:25429 +msgid "" +":issue:`36052`: Raise a :exc:`SyntaxError` when assigning a value to " +"``__debug__`` with the Assignment Operator. Contributed by Stéphane Wirtel " +"and Pablo Galindo." +msgstr "" + +#: build/NEWS:25433 +msgid "" +":issue:`36012`: Doubled the speed of class variable writes. When a non-" +"dunder attribute was updated, there was an unnecessary call to update slots." +msgstr "" + +#: build/NEWS:25436 +msgid "" +":issue:`35942`: The error message emitted when returning invalid types from " +"``__fspath__`` in interfaces that allow passing :class:`~os.PathLike` " +"objects has been improved and now it does explain the origin of the error." +msgstr "" + +#: build/NEWS:25440 +msgid "" +":issue:`36016`: ``gc.get_objects`` can now receive an optional parameter " +"indicating a generation to get objects from. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:25443 +msgid "" +":issue:`1054041`: When the main interpreter exits due to an uncaught " +"KeyboardInterrupt, the process now exits in the appropriate manner for its " +"parent process to detect that a SIGINT or ^C terminated the process. This " +"allows shells and batch scripts to understand that the user has asked them " +"to stop." +msgstr "" + +#: build/NEWS:25449 +msgid "" +":issue:`35992`: Fix ``__class_getitem__()`` not being called on a class with " +"a custom non-subscriptable metaclass." +msgstr "" + +#: build/NEWS:25452 +msgid "" +":issue:`35993`: Fix a crash on fork when using subinterpreters. Contributed " +"by Stéphane Wirtel" +msgstr "" + +#: build/NEWS:25455 +msgid ":issue:`35991`: Fix a potential double free in Modules/_randommodule.c." +msgstr "" + +#: build/NEWS:25457 +msgid "" +":issue:`35961`: Fix a crash in slice_richcompare(): use strong references " +"rather than stolen references for the two temporary internal tuples." +msgstr "" + +#: build/NEWS:25460 +msgid "" +":issue:`35911`: Enable the creation of cell objects by adding a ``cell." +"__new__`` method, and expose the type ``cell`` in ``Lib/types.py`` under the " +"name CellType. Patch by Pierre Glaser." +msgstr "" + +#: build/NEWS:25464 +msgid "" +":issue:`12822`: Use monotonic clock for ``pthread_cond_timedwait`` when " +"``pthread_condattr_setclock`` and ``CLOCK_MONOTONIC`` are available." +msgstr "" + +#: build/NEWS:25467 +msgid "" +":issue:`15248`: The compiler emits now syntax warnings in the case when a " +"comma is likely missed before tuple or list." +msgstr "" + +#: build/NEWS:25470 +msgid "" +":issue:`35886`: The implementation of PyInterpreterState has been moved into " +"the internal header files (guarded by Py_BUILD_CORE)." +msgstr "" + +#: build/NEWS:25473 +msgid "" +":issue:`31506`: Clarify the errors reported when ``object.__new__`` and " +"``object.__init__`` receive more than one argument. Contributed by Sanyam " +"Khurana." +msgstr "" + +#: build/NEWS:25477 +msgid "" +":issue:`35724`: Signal-handling is now guaranteed to happen relative to the " +"main interpreter." +msgstr "" + +#: build/NEWS:25480 +msgid "" +":issue:`33608`: We added a new internal _Py_AddPendingCall() that operates " +"relative to the provided interpreter. This allows us to use the existing " +"implementation to ask another interpreter to do work that cannot be done in " +"the current interpreter, like decref an object the other interpreter owns. " +"The existing Py_AddPendingCall() only operates relative to the main " +"interpreter." +msgstr "" + +#: build/NEWS:25487 +msgid "" +":issue:`33989`: Fix a possible crash in :meth:`list.sort` when sorting " +"objects with ``ob_type->tp_richcompare == NULL``. Patch by Zackery Spytz." +msgstr "" + +#: build/NEWS:25493 +msgid "" +":issue:`35512`: :func:`unittest.mock.patch.dict` used as a decorator with " +"string target resolves the target during function call instead of during " +"decorator construction. Patch by Karthikeyan Singaravelan." +msgstr "" + +#: build/NEWS:25497 +msgid "" +":issue:`36018`: Add statistics.NormalDist, a tool for creating and " +"manipulating normal distributions of random variable. Features a composite " +"class that treats the mean and standard deviation of measurement data as " +"single entity." +msgstr "" + +#: build/NEWS:25502 +msgid "" +":issue:`35904`: Added statistics.fmean() as a faster, floating-point variant " +"of the existing mean() function." +msgstr "" + +#: build/NEWS:25505 +msgid "" +":issue:`35918`: Removed broken ``has_key`` method from multiprocessing." +"managers.SyncManager.dict. Contributed by Rémi Lapeyre." +msgstr "" + +#: build/NEWS:25508 +msgid ":issue:`18283`: Add support for bytes to :func:`shutil.which`." +msgstr "" + +#: build/NEWS:25510 +msgid "" +":issue:`35960`: Fix :func:`dataclasses.field` throwing away empty mapping " +"objects passed as metadata." +msgstr "" + +#: build/NEWS:25513 +msgid "" +":issue:`35500`: Write expected and actual call parameters on separate lines " +"in :meth:`unittest.mock.Mock.assert_called_with` assertion errors. " +"Contributed by Susan Su." +msgstr "" + +#: build/NEWS:25517 +msgid "" +":issue:`35931`: The :mod:`pdb` ``debug`` command now gracefully handles " +"syntax errors." +msgstr "" + +#: build/NEWS:25520 +msgid "" +":issue:`24209`: In http.server script, rely on getaddrinfo to bind to " +"preferred address based on the bind parameter. Now default bind or binding " +"to a name may bind to IPv6 or dual-stack, depending on the environment." +msgstr "" + +#: build/NEWS:25524 +msgid "" +":issue:`35321`: Set ``__spec__.origin`` of ``_frozen_importlib`` to frozen " +"so that it matches the behavior of ``_frozen_importlib_external``. Patch by " +"Nina Zakharenko." +msgstr "" + +#: build/NEWS:25528 +msgid "" +":issue:`35378`: Fix a reference issue inside :class:`multiprocessing.Pool` " +"that caused the pool to remain alive if it was deleted without being closed " +"or terminated explicitly. A new strong reference is added to the pool " +"iterators to link the lifetime of the pool to the lifetime of its iterators " +"so the pool does not get destroyed if a pool iterator is still alive." +msgstr "" + +#: build/NEWS:25535 +msgid "" +":issue:`34294`: re module, fix wrong capturing groups in rare cases. :func:" +"`re.search`, :func:`re.findall`, :func:`re.sub` and other functions that " +"scan through string looking for a match, should reset capturing groups " +"between two match attempts. Patch by Ma Lin." +msgstr "" + +#: build/NEWS:25540 +msgid "" +":issue:`35615`: :mod:`weakref`: Fix a RuntimeError when copying a " +"WeakKeyDictionary or a WeakValueDictionary, due to some keys or values " +"disappearing while iterating." +msgstr "" + +#: build/NEWS:25544 +msgid "" +":issue:`35606`: Implement :func:`math.prod` as analogous function to :func:" +"`sum` that returns the product of a 'start' value (default: 1) times an " +"iterable of numbers. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:25548 +msgid "" +":issue:`32417`: Performing arithmetic between :class:`datetime.datetime` " +"subclasses and :class:`datetime.timedelta` now returns an object of the same " +"type as the :class:`datetime.datetime` subclass. As a result, :meth:" +"`datetime.datetime.astimezone` and alternate constructors like :meth:" +"`datetime.datetime.now` and :meth:`datetime.fromtimestamp` called with a " +"``tz`` argument now *also* retain their subclass." +msgstr "" + +#: build/NEWS:25555 +msgid "" +":issue:`35153`: Add *headers* optional keyword-only parameter to :class:" +"`xmlrpc.client.ServerProxy`, :class:`xmlrpc.client.Transport` and :class:" +"`xmlrpc.client.SafeTransport`. Patch by Cédric Krier." +msgstr "" + +#: build/NEWS:25559 +msgid "" +":issue:`34572`: Fix C implementation of pickle.loads to use importlib's " +"locking mechanisms, and thereby avoid using partially loaded modules. Patch " +"by Tim Burgess." +msgstr "" + +#: build/NEWS:25566 +msgid "" +":issue:`36083`: Fix formatting of --check-hash-based-pycs options in the " +"manpage Synopsis." +msgstr "" + +#: build/NEWS:25569 +msgid "" +":issue:`36007`: Bump minimum sphinx version to 1.8. Patch by Anthony " +"Sottile." +msgstr "" + +#: build/NEWS:25571 +msgid "" +":issue:`22062`: Update documentation and docstrings for pathlib. Original " +"patch by Mike Short." +msgstr "" + +#: build/NEWS:25577 +msgid "" +":issue:`27313`: Avoid test_ttk_guionly ComboboxTest failure with macOS Cocoa " +"Tk." +msgstr "" + +#: build/NEWS:25580 +msgid "" +":issue:`36019`: Add test.support.TEST_HTTP_URL and replace references of " +"http://www.example.com by this new constant. Contributed by Stéphane Wirtel." +msgstr "" + +#: build/NEWS:25584 +msgid "" +":issue:`36037`: Fix test_ssl for strict OpenSSL configuration like RHEL8 " +"strict crypto policy. Use older TLS version for minimum TLS version of the " +"server SSL context if needed, to test TLS version older than default minimum " +"TLS version." +msgstr "" + +#: build/NEWS:25589 +msgid ":issue:`35798`: Added :func:`test.support.check_syntax_warning`." +msgstr "" + +#: build/NEWS:25591 +msgid "" +":issue:`35505`: Make test_imap4_host_default_value independent on whether " +"the local IMAP server is running." +msgstr "" + +#: build/NEWS:25594 +msgid "" +":issue:`35917`: multiprocessing: provide unit tests for SyncManager and " +"SharedMemoryManager classes + all the shareable types which are supposed to " +"be supported by them. (patch by Giampaolo Rodola)" +msgstr "" + +#: build/NEWS:25598 +msgid "" +":issue:`35704`: Skip ``test_shutil.test_unpack_archive_xztar`` to prevent a " +"MemoryError on 32-bit AIX when MAXDATA setting is less than 0x20000000." +msgstr "" + +#: build/NEWS:25601 +msgid "Patch by Michael Felt (aixtools)" +msgstr "" + +#: build/NEWS:25603 +msgid "" +":issue:`34720`: Assert m_state != NULL to mimic GC traversal functions that " +"do not correctly handle module creation when the module state has not been " +"created." +msgstr "" + +#: build/NEWS:25610 +msgid "" +":issue:`35976`: Added ARM build support to Windows build files in PCBuild." +msgstr "" + +#: build/NEWS:25612 +msgid "" +":issue:`35692`: ``pathlib`` no longer raises when checking file and " +"directory existence on drives that are not ready" +msgstr "" + +#: build/NEWS:25615 +msgid "" +":issue:`35872`: Uses the base Python executable when invoking venv in a " +"virtual environment" +msgstr "" + +#: build/NEWS:25618 +msgid ":issue:`35873`: Prevents venv paths being inherited by child processes" +msgstr "" + +#: build/NEWS:25620 +msgid "" +":issue:`35299`: Fix sysconfig detection of the source directory and " +"distutils handling of pyconfig.h during PGO profiling" +msgstr "" + +#: build/NEWS:25626 +msgid ":issue:`24310`: IDLE -- Document settings dialog font tab sample." +msgstr "" + +#: build/NEWS:25628 +msgid "" +":issue:`35833`: Revise IDLE doc for control codes sent to Shell. Add a code " +"example block." +msgstr "" + +#: build/NEWS:25631 +msgid ":issue:`35689`: Add docstrings and unittests for colorizer.py." +msgstr "" + +#: build/NEWS:25635 +msgid "Python 3.8.0 alpha 1" +msgstr "" + +#: build/NEWS:25637 +msgid "*Release date: 2019-02-03*" +msgstr "" + +#: build/NEWS:25642 +msgid "" +":issue:`35746`: :cve:`2019-5010`: Fix a NULL pointer deref in ssl module. " +"The cert parser did not handle CRL distribution points with empty DP or URI " +"correctly. A malicious or buggy certificate can result into segfault. " +"Vulnerability (TALOS-2018-0758) reported by Colin Read and Nicolas Edet of " +"Cisco." +msgstr "" + +#: build/NEWS:25648 +msgid "" +":issue:`34812`: The :option:`-I` command line option (run Python in isolated " +"mode) is now also copied by the :mod:`multiprocessing` and ``distutils`` " +"modules when spawning child processes. Previously, only :option:`-E` and :" +"option:`-s` options (enabled by :option:`-I`) were copied." +msgstr "" + +#: build/NEWS:25653 +msgid "" +":issue:`34791`: The xml.sax and xml.dom.domreg no longer use environment " +"variables to override parser implementations when sys.flags." +"ignore_environment is set by -E or -I arguments." +msgstr "" + +#: build/NEWS:25657 +msgid "" +":issue:`17239`: The xml.sax and xml.dom.minidom parsers no longer processes " +"external entities by default. External DTD and ENTITY declarations no longer " +"load files or create network connections." +msgstr "" + +#: build/NEWS:25661 +msgid "" +":issue:`34623`: :cve:`2018-14647`: The C accelerated _elementtree module now " +"initializes hash randomization salt from _Py_HashSecret instead of " +"libexpat's default CSPRNG." +msgstr "" + +#: build/NEWS:25665 +msgid ":issue:`34405`: Updated to OpenSSL 1.1.0i for Windows builds." +msgstr "" + +#: build/NEWS:25667 +msgid "" +":issue:`33871`: Fixed sending the part of the file in :func:`os.sendfile` on " +"macOS. Using the *trailers* argument could cause sending more bytes from " +"the input file than was specified." +msgstr "" + +#: build/NEWS:25671 +msgid ":issue:`32533`: Fixed thread-safety of error handling in _ssl." +msgstr "" + +#: build/NEWS:29172 +msgid "" +":issue:`33136`: Harden ssl module against LibreSSL :cve:`2018-8970`. " +"X509_VERIFY_PARAM_set1_host() is called with an explicit namelen. A new test " +"ensures that NULL bytes are not allowed." +msgstr "" + +#: build/NEWS:33571 +msgid "" +":issue:`33001`: Minimal fix to prevent buffer overrun in os.symlink on " +"Windows" +msgstr "" + +#: build/NEWS:33573 +msgid "" +":issue:`32981`: Regexes in difflib and poplib were vulnerable to " +"catastrophic backtracking. These regexes formed potential DOS vectors " +"(REDOS). They have been refactored. This resolves :cve:`2018-1060` and :cve:" +"`2018-1061`. Patch by Jamie Davis." +msgstr "" + +#: build/NEWS:29390 +msgid "" +":issue:`28414`: The ssl module now allows users to perform their own IDN en/" +"decoding when using SNI." +msgstr "" + +#: build/NEWS:25690 +msgid "" +":issue:`35877`: Make parenthesis optional for named expressions in while " +"statement. Patch by Karthikeyan Singaravelan." +msgstr "" + +#: build/NEWS:25693 +msgid "" +":issue:`35814`: Allow same right hand side expressions in annotated " +"assignments as in normal ones. In particular, ``x: Tuple[int, int] = 1, 2`` " +"(without parentheses on the right) is now allowed." +msgstr "" + +#: build/NEWS:25697 +msgid "" +":issue:`35766`: Add the option to parse PEP 484 type comments in the ast " +"module. (Off by default.) This is merging the key functionality of the third " +"party fork thereof, [typed_ast](https://github.com/python/typed_ast)." +msgstr "" + +#: build/NEWS:25702 +msgid "" +":issue:`35713`: Reorganize Python initialization to get working exceptions " +"and sys.stderr earlier." +msgstr "" + +#: build/NEWS:25705 +msgid "" +":issue:`33416`: Add end line and end column position information to the " +"Python AST nodes. This is a C-level backwards incompatible change." +msgstr "" + +#: build/NEWS:25708 +msgid "" +":issue:`35720`: Fixed a minor memory leak in pymain_parse_cmdline_impl " +"function in Modules/main.c" +msgstr "" + +#: build/NEWS:25711 +msgid "" +":issue:`35634`: ``func(**kwargs)`` will now raise an error when ``kwargs`` " +"is a mapping containing multiple entries with the same key. An error was " +"already raised when other keyword arguments are passed before ``**kwargs`` " +"since Python 3.6." +msgstr "" + +#: build/NEWS:25716 +msgid "" +":issue:`35623`: Fix a crash when sorting very long lists. Patch by Stephan " +"Hohe." +msgstr "" + +#: build/NEWS:25719 +msgid "" +":issue:`35214`: clang Memory Sanitizer build instrumentation was added to " +"work around false positives from posix, socket, time, test_io, and " +"test_faulthandler." +msgstr "" + +#: build/NEWS:25723 +msgid "" +":issue:`35560`: Fix an assertion error in :func:`format` in debug build for " +"floating-point formatting with \"n\" format, zero padding and small width. " +"Release build is not impacted. Patch by Karthikeyan Singaravelan." +msgstr "" + +#: build/NEWS:25727 +msgid "" +":issue:`35552`: Format characters ``%s`` and ``%V`` in :c:func:" +"`PyUnicode_FromFormat` and ``%s`` in :c:func:`PyBytes_FromFormat` no longer " +"read memory past the limit if *precision* is specified." +msgstr "" + +#: build/NEWS:25731 +msgid "" +":issue:`35504`: Fix segfaults and :exc:`SystemError`\\ s when deleting " +"certain attributes. Patch by Zackery Spytz." +msgstr "" + +#: build/NEWS:25734 +msgid "" +":issue:`35504`: Fixed a SystemError when delete the characters_written " +"attribute of an OSError." +msgstr "" + +#: build/NEWS:25737 +msgid "" +":issue:`35494`: Improved syntax error messages for unbalanced parentheses in " +"f-string." +msgstr "" + +#: build/NEWS:25740 +msgid "" +":issue:`35444`: Fixed error handling in pickling methods when fail to look " +"up builtin \"getattr\". Sped up pickling iterators." +msgstr "" + +#: build/NEWS:25743 +msgid "" +":issue:`35436`: Fix various issues with memory allocation error handling. " +"Patch by Zackery Spytz." +msgstr "" + +#: build/NEWS:25746 +msgid "" +":issue:`35423`: Separate the signal handling trigger in the eval loop from " +"the \"pending calls\" machinery. There is no semantic change and the " +"difference in performance is insignificant." +msgstr "" + +#: build/NEWS:25750 +msgid "" +":issue:`35357`: Internal attributes' names of unittest.mock._Call and " +"unittest.mock.MagicProxy (name, parent & from_kall) are now prefixed with " +"_mock_ in order to prevent clashes with widely used object attributes. Fixed " +"minor typo in test function name." +msgstr "" + +#: build/NEWS:25755 +msgid "" +":issue:`35372`: Fixed the code page decoder for input longer than 2 GiB " +"containing undecodable bytes." +msgstr "" + +#: build/NEWS:25758 +msgid "" +":issue:`35336`: Fix PYTHONCOERCECLOCALE=1 environment variable: only coerce " +"the C locale if the LC_CTYPE locale is \"C\"." +msgstr "" + +#: build/NEWS:25761 +msgid "" +":issue:`31241`: The *lineno* and *col_offset* attributes of AST nodes for " +"list comprehensions, generator expressions and tuples are now point to the " +"opening parenthesis or square brace. For tuples without parenthesis they " +"point to the position of the first item." +msgstr "" + +#: build/NEWS:25766 +msgid "" +":issue:`33954`: For :meth:`str.format`, :meth:`float.__format__` and :meth:" +"`complex.__format__` methods for non-ASCII decimal point when using the " +"\"n\" formatter." +msgstr "" + +#: build/NEWS:25770 +msgid "" +":issue:`35269`: Fix a possible segfault involving a newly created coroutine. " +"Patch by Zackery Spytz." +msgstr "" + +#: build/NEWS:25773 +msgid "" +":issue:`35224`: Implement :pep:`572` (assignment expressions). Patch by " +"Emily Morehouse." +msgstr "" + +#: build/NEWS:25776 +msgid "" +":issue:`32492`: Speed up :func:`namedtuple` attribute access by 1.6x using a " +"C fast-path for the name descriptors. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:25779 +msgid "" +":issue:`35214`: Fixed an out of bounds memory access when parsing a " +"truncated unicode escape sequence at the end of a string such as ``'\\N'``. " +"It would read one byte beyond the end of the memory allocation." +msgstr "" + +#: build/NEWS:25783 +msgid "" +":issue:`35214`: The interpreter and extension modules have had annotations " +"added so that they work properly under clang's Memory Sanitizer. A new " +"configure flag --with-memory-sanitizer has been added to make test builds of " +"this nature easier to perform." +msgstr "" + +#: build/NEWS:25788 +msgid "" +":issue:`35193`: Fix an off by one error in the bytecode peephole optimizer " +"where it could read bytes beyond the end of bounds of an array when removing " +"unreachable code. This bug was present in every release of Python 3.6 and " +"3.7 until now." +msgstr "" + +#: build/NEWS:25793 +msgid ":issue:`35169`: Improved error messages for forbidden assignments." +msgstr "" + +#: build/NEWS:25795 +msgid "" +":issue:`34022`: Fix handling of hash-based bytecode files in :mod:" +"`zipimport`. Patch by Elvis Pranskevichus." +msgstr "" + +#: build/NEWS:25798 +msgid "" +":issue:`28401`: Debug builds will no longer to attempt to import extension " +"modules built for the ABI as they were never compatible to begin with. Patch " +"by Stefano Rivera." +msgstr "" + +#: build/NEWS:25802 +msgid "" +":issue:`29341`: Clarify in the docstrings of :mod:`os` methods that path-" +"like objects are also accepted as input parameters." +msgstr "" + +#: build/NEWS:25805 +msgid "" +":issue:`35050`: :mod:`socket`: Fix off-by-one bug in length check for " +"``AF_ALG`` name and type." +msgstr "" + +#: build/NEWS:25808 +msgid "" +":issue:`29743`: Raise :exc:`ValueError` instead of :exc:`OverflowError` in " +"case of a negative ``_length_`` in a :class:`ctypes.Array` subclass. Also " +"raise :exc:`TypeError` instead of :exc:`AttributeError` for non-integer " +"``_length_``. Original patch by Oren Milman." +msgstr "" + +#: build/NEWS:25813 +msgid "" +":issue:`16806`: Fix ``lineno`` and ``col_offset`` for multi-line string " +"tokens." +msgstr "" + +#: build/NEWS:25815 +msgid "" +":issue:`35029`: :exc:`SyntaxWarning` raised as an exception at code " +"generation time will be now replaced with a :exc:`SyntaxError` for better " +"error reporting." +msgstr "" + +#: build/NEWS:25819 +msgid "" +":issue:`34983`: Expose :meth:`symtable.Symbol.is_nonlocal` in the symtable " +"module. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:25822 +msgid "" +":issue:`34974`: :class:`bytes` and :class:`bytearray` constructors no longer " +"convert unexpected exceptions (e.g. :exc:`MemoryError` and :exc:" +"`KeyboardInterrupt`) to :exc:`TypeError`." +msgstr "" + +#: build/NEWS:25826 +msgid "" +":issue:`34939`: Allow annotated names in module namespace that are declared " +"global before the annotation happens. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:25829 +msgid "" +":issue:`34973`: Fixed crash in :func:`bytes` when the :class:`list` argument " +"is mutated while it is iterated." +msgstr "" + +#: build/NEWS:25832 +msgid "" +":issue:`34876`: The *lineno* and *col_offset* attributes of the AST for " +"decorated function and class refer now to the position of the corresponding " +"``def``, ``async def`` and ``class`` instead of the position of the first " +"decorator. This leads to more correct line reporting in tracing. This is the " +"only case when the position of child AST nodes can precede the position of " +"the parent AST node." +msgstr "" + +#: build/NEWS:25839 +msgid "" +":issue:`34879`: Fix a possible null pointer dereference in bytesobject.c. " +"Patch by Zackery Spytz." +msgstr "" + +#: build/NEWS:25842 +msgid "" +":issue:`34784`: Fix the implementation of PyStructSequence_NewType in order " +"to create heap allocated StructSequences." +msgstr "" + +#: build/NEWS:25845 +msgid "" +":issue:`32912`: A :exc:`SyntaxWarning` is now emitted instead of a :exc:" +"`DeprecationWarning` for invalid escape sequences in string and bytes " +"literals." +msgstr "" + +#: build/NEWS:25849 +msgid "" +":issue:`34854`: Fixed a crash in compiling string annotations containing a " +"lambda with a keyword-only argument that doesn't have a default value." +msgstr "" + +#: build/NEWS:25852 +msgid "" +":issue:`34850`: The compiler now produces a :exc:`SyntaxWarning` when " +"identity checks (``is`` and ``is not``) are used with certain types of " +"literals (e.g. strings, ints). These can often work by accident in CPython, " +"but are not guaranteed by the language spec. The warning advises users to " +"use equality tests (``==`` and ``!=``) instead." +msgstr "" + +#: build/NEWS:25858 +msgid "" +":issue:`34824`: Fix a possible null pointer dereference in Modules/_ssl.c. " +"Patch by Zackery Spytz." +msgstr "" + +#: build/NEWS:25861 +msgid "" +":issue:`30156`: The C function ``property_descr_get()`` uses a \"cached\" " +"tuple to optimize function calls. But this tuple can be discovered in debug " +"mode with :func:`sys.getobjects`. Remove the optimization, it's not really " +"worth it and it causes 3 different crashes last years." +msgstr "" + +#: build/NEWS:25866 +msgid ":issue:`34762`: Fix contextvars C API to use PyObject* pointer types." +msgstr "" + +#: build/NEWS:25868 +msgid "" +":issue:`34751`: The hash function for tuples is now based on xxHash which " +"gives better collision results on (formerly) pathological cases. " +"Additionally, on 64-bit systems it improves tuple hashes in general. Patch " +"by Jeroen Demeyer with substantial contributions by Tim Peters." +msgstr "" + +#: build/NEWS:25873 +msgid "" +":issue:`34735`: Fix a memory leak in Modules/timemodule.c. Patch by Zackery " +"Spytz." +msgstr "" + +#: build/NEWS:25876 +msgid "" +":issue:`34683`: Fixed a bug where some SyntaxError error pointed to " +"locations that were off-by-one." +msgstr "" + +#: build/NEWS:25879 +msgid "" +":issue:`34651`: Only allow the main interpreter to fork. The avoids the " +"possibility of affecting the main interpreter, which is critical to " +"operation of the runtime." +msgstr "" + +#: build/NEWS:25883 +msgid "" +":issue:`34653`: Remove unused function PyParser_SimpleParseStringFilename." +msgstr "" + +#: build/NEWS:25885 +msgid "" +":issue:`32236`: Warn that line buffering is not supported if :func:`open` is " +"called with binary mode and ``buffering=1``." +msgstr "" + +#: build/NEWS:25888 +msgid "" +":issue:`34641`: Further restrict the syntax of the left-hand side of keyword " +"arguments in function calls. In particular, ``f((keyword)=arg)`` is now " +"disallowed." +msgstr "" + +#: build/NEWS:25892 +msgid "" +":issue:`34637`: Make the *start* argument to *sum()* visible as a keyword " +"argument." +msgstr "" + +#: build/NEWS:25895 +msgid "" +":issue:`1621`: Do not assume signed integer overflow behavior (C undefined " +"behavior) when performing set hash table resizing." +msgstr "" + +#: build/NEWS:25898 +msgid "" +":issue:`34588`: Fix an off-by-one in the recursive call pruning feature of " +"traceback formatting." +msgstr "" + +#: build/NEWS:25901 +msgid "" +":issue:`34485`: On Windows, the LC_CTYPE is now set to the user preferred " +"locale at startup. Previously, the LC_CTYPE locale was \"C\" at startup, but " +"changed when calling setlocale(LC_CTYPE, \"\") or setlocale(LC_ALL, \"\")." +msgstr "" + +#: build/NEWS:25905 +msgid "" +":issue:`34485`: Standard streams like sys.stdout now use the " +"\"surrogateescape\" error handler, instead of \"strict\", on the POSIX " +"locale (when the C locale is not coerced and the UTF-8 Mode is disabled)." +msgstr "" + +#: build/NEWS:25909 +msgid "" +":issue:`34485`: Fix the error handler of standard streams like sys.stdout: " +"PYTHONIOENCODING=\":\" is now ignored instead of setting the error handler " +"to \"strict\"." +msgstr "" + +#: build/NEWS:25913 +msgid "" +":issue:`34485`: Python now gets the locale encoding with C code to " +"initialize the encoding of standard streams like sys.stdout. Moreover, the " +"encoding is now initialized to the Python codec name to get a normalized " +"encoding name and to ensure that the codec is loaded. The change avoids " +"importing _bootlocale and _locale modules at startup by default." +msgstr "" + +#: build/NEWS:25919 +msgid "" +":issue:`34527`: On FreeBSD, Py_DecodeLocale() and Py_EncodeLocale() now also " +"forces the ASCII encoding if the LC_CTYPE locale is \"POSIX\", not only if " +"the LC_CTYPE locale is \"C\"." +msgstr "" + +#: build/NEWS:25923 +msgid "" +":issue:`34527`: The UTF-8 Mode is now also enabled by the \"POSIX\" locale, " +"not only by the \"C\" locale." +msgstr "" + +#: build/NEWS:25926 +msgid "" +":issue:`34403`: On HP-UX with C or POSIX locale, sys.getfilesystemencoding() " +"now returns \"ascii\" instead of \"roman8\" (when the UTF-8 Mode is disabled " +"and the C locale is not coerced)." +msgstr "" + +#: build/NEWS:25930 +msgid "" +":issue:`34523`: The Python filesystem encoding is now read earlier during " +"the Python initialization." +msgstr "" + +#: build/NEWS:25933 +msgid "" +":issue:`12458`: Tracebacks show now correct line number for subexpressions " +"in multiline expressions. Tracebacks show now the line number of the first " +"line for multiline expressions instead of the line number of the last " +"subexpression." +msgstr "" + +#: build/NEWS:25938 +msgid "" +":issue:`34408`: Prevent a null pointer dereference and resource leakage in " +"``PyInterpreterState_New()``." +msgstr "" + +#: build/NEWS:25941 +msgid "" +":issue:`34400`: Fix undefined behavior in parsetok.c. Patch by Zackery " +"Spytz." +msgstr "" + +#: build/NEWS:25943 +msgid "" +":issue:`33073`: Added as_integer_ratio to ints to make them more " +"interoperable with floats." +msgstr "" + +#: build/NEWS:25946 +msgid "" +":issue:`34377`: Update valgrind suppression list to use ``_PyObject_Free``/" +"``_PyObject_Realloc`` instead of ``PyObject_Free``/``PyObject_Realloc``." +msgstr "" + +#: build/NEWS:25950 +msgid "" +":issue:`34353`: Added the \"socket\" option in the ``stat.filemode()`` " +"Python implementation to match the C implementation." +msgstr "" + +#: build/NEWS:25953 +msgid "" +":issue:`34320`: Fix ``dict(od)`` didn't copy iteration order of OrderedDict." +msgstr "" + +#: build/NEWS:25955 +msgid "" +":issue:`34113`: Fixed crash on debug builds when opcode stack was adjusted " +"with negative numbers. Patch by Constantin Petrisor." +msgstr "" + +#: build/NEWS:25958 +msgid "" +":issue:`34100`: Compiler now merges constants in tuples and frozensets " +"recursively. Code attributes like ``co_names`` are merged too." +msgstr "" + +#: build/NEWS:25961 +msgid "" +":issue:`34151`: Performance of list concatenation, repetition and slicing " +"operations is slightly improved. Patch by Sergey Fedoseev." +msgstr "" + +#: build/NEWS:25964 +msgid "" +":issue:`34170`: -X dev: it is now possible to override the memory allocator " +"using PYTHONMALLOC even if the developer mode is enabled." +msgstr "" + +#: build/NEWS:25967 +msgid "" +":issue:`33237`: Improved :exc:`AttributeError` message for partially " +"initialized module." +msgstr "" + +#: build/NEWS:25970 +msgid "" +":issue:`34149`: Fix min and max functions to get default behavior when key " +"is None." +msgstr "" + +#: build/NEWS:25973 +msgid "" +":issue:`34125`: Profiling of unbound built-in methods now works when " +"``**kwargs`` is given." +msgstr "" + +#: build/NEWS:25976 +msgid "" +":issue:`34141`: Optimized pickling atomic types (None, bool, int, float, " +"bytes, str)." +msgstr "" + +#: build/NEWS:25979 +msgid "" +":issue:`34126`: Fix crashes when profiling certain invalid calls of unbound " +"methods. Patch by Jeroen Demeyer." +msgstr "" + +#: build/NEWS:25982 +msgid "" +":issue:`24618`: Fixed reading invalid memory when create the code object " +"with too small varnames tuple or too large argument counts." +msgstr "" + +#: build/NEWS:25985 +msgid "" +":issue:`34068`: In :meth:`io.IOBase.close`, ensure that the :attr:`~io." +"IOBase.closed` attribute is not set with a live exception. Patch by Zackery " +"Spytz and Serhiy Storchaka." +msgstr "" + +#: build/NEWS:25989 +msgid "" +":issue:`34087`: Fix buffer overflow while converting unicode to numeric " +"values." +msgstr "" + +#: build/NEWS:25991 +msgid "" +":issue:`34080`: Fixed a memory leak in the compiler when it raised some " +"uncommon errors during tokenizing." +msgstr "" + +#: build/NEWS:25994 +msgid "" +":issue:`34066`: Disabled interruption by Ctrl-C between calling ``open()`` " +"and entering a **with** block in ``with open()``." +msgstr "" + +#: build/NEWS:25997 +msgid "" +":issue:`34042`: Fix dict.copy() to maintain correct total refcount (as " +"reported by sys.gettotalrefcount())." +msgstr "" + +#: build/NEWS:26000 +msgid "" +":issue:`33418`: Fix potential memory leak in function object when it creates " +"reference cycle." +msgstr "" + +#: build/NEWS:26003 +msgid ":issue:`33985`: Implement contextvars.ContextVar.name attribute." +msgstr "" + +#: build/NEWS:26005 +msgid ":issue:`33956`: Update vendored Expat library copy to version 2.2.5." +msgstr "" + +#: build/NEWS:26007 +msgid "" +":issue:`24596`: Decref the module object in :c:func:" +"`PyRun_SimpleFileExFlags` before calling :c:func:`PyErr_Print()`. Patch by " +"Zackery Spytz." +msgstr "" + +#: build/NEWS:26010 +msgid "" +":issue:`33451`: Close directly executed pyc files before calling " +"``PyEval_EvalCode()``." +msgstr "" + +#: build/NEWS:26013 +msgid "" +":issue:`1617161`: The hash of :class:`BuiltinMethodType` instances (methods " +"of built-in classes) now depends on the hash of the identity of *__self__* " +"instead of its value. The hash and equality of :class:`ModuleType` and :" +"class:`MethodWrapperType` instances (methods of user-defined classes and " +"some methods of built-in classes like ``str.__add__``) now depend on the " +"hash and equality of the identity of *__self__* instead of its value. :class:" +"`MethodWrapperType` instances no longer support ordering." +msgstr "" + +#: build/NEWS:26021 +msgid "" +":issue:`33824`: Fix \"LC_ALL=C python3.7 -V\": reset properly the command " +"line parser when the encoding changes after reading the Python configuration." +msgstr "" + +#: build/NEWS:28670 +msgid "" +":issue:`33803`: Fix a crash in hamt.c caused by enabling GC tracking for an " +"object that hadn't all of its fields set to NULL." +msgstr "" + +#: build/NEWS:26027 +msgid "" +":issue:`33738`: Seven macro incompatibilities with the Limited API were " +"fixed, and the macros :c:func:`PyIter_Check`, :c:func:`PyIndex_Check` and :c:" +"func:`PyExceptionClass_Name` were added as functions. A script for automatic " +"macro checks was added." +msgstr "" + +#: build/NEWS:33244 +msgid "" +":issue:`33786`: Fix asynchronous generators to handle GeneratorExit in " +"athrow() correctly" +msgstr "" + +#: build/NEWS:26035 +msgid "" +":issue:`30167`: ``PyRun_SimpleFileExFlags`` removes ``__cached__`` from " +"module in addition to ``__file__``." +msgstr "" + +#: build/NEWS:28673 +msgid "" +":issue:`33706`: Fix a crash in Python initialization when parsing the " +"command line options. Thanks Christoph Gohlke for the bug report and the fix!" +msgstr "" + +#: build/NEWS:26041 +msgid ":issue:`33597`: Reduce ``PyGC_Head`` size from 3 words to 2 words." +msgstr "" + +#: build/NEWS:33247 +msgid "" +":issue:`30654`: Fixed reset of the SIGINT handler to SIG_DFL on interpreter " +"shutdown even when there was a custom handler set previously. Patch by " +"Philipp Kerling." +msgstr "" + +#: build/NEWS:33251 +msgid "" +":issue:`33622`: Fixed a leak when the garbage collector fails to add an " +"object with the ``__del__`` method or referenced by it into the :data:`gc." +"garbage` list. :c:func:`PyGC_Collect` can now be called when an exception is " +"set and preserves it." +msgstr "" + +#: build/NEWS:26052 +msgid "" +":issue:`33462`: Make dict and dict views reversible. Patch by Rémi Lapeyre." +msgstr "" + +#: build/NEWS:26054 +msgid "" +":issue:`23722`: A :exc:`RuntimeError` is now raised when the custom " +"metaclass doesn't provide the ``__classcell__`` entry in the namespace " +"passed to ``type.__new__``. A :exc:`DeprecationWarning` was emitted in " +"Python 3.6--3.7." +msgstr "" + +#: build/NEWS:26059 +msgid "" +":issue:`33499`: Add :envvar:`PYTHONPYCACHEPREFIX` environment variable and :" +"option:`-X` ``pycache_prefix`` command-line option to set an alternate root " +"directory for writing module bytecode cache files." +msgstr "" + +#: build/NEWS:26063 +msgid "" +":issue:`25711`: The :mod:`zipimport` module has been rewritten in pure " +"Python." +msgstr "" + +#: build/NEWS:28787 +msgid "" +":issue:`33509`: Fix module_globals parameter of warnings.warn_explicit(): " +"don't crash if module_globals is not a dict." +msgstr "" + +#: build/NEWS:33256 +msgid ":issue:`31849`: Fix signed/unsigned comparison warning in pyhash.c." +msgstr "" + +#: build/NEWS:28794 +msgid "" +":issue:`33475`: Fixed miscellaneous bugs in converting annotations to " +"strings and optimized parentheses in the string representation." +msgstr "" + +#: build/NEWS:26073 +msgid "" +":issue:`20104`: Added support for the ``setpgroup``, ``resetids``, " +"``setsigmask``, ``setsigdef`` and ``scheduler`` parameters of " +"``posix_spawn``. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:33258 +msgid ":issue:`33391`: Fix a leak in set_symmetric_difference()." +msgstr "" + +#: build/NEWS:28995 +msgid "" +":issue:`33363`: Raise a SyntaxError for ``async with`` and ``async for`` " +"statements outside of async functions." +msgstr "" + +#: build/NEWS:33260 +msgid "" +":issue:`28055`: Fix unaligned accesses in siphash24(). Patch by Rolf Eike " +"Beer." +msgstr "" + +#: build/NEWS:28998 +msgid "" +":issue:`33128`: Fix a bug that causes PathFinder to appear twice on sys." +"meta_path. Patch by Pablo Galindo Salgado." +msgstr "" + +#: build/NEWS:26087 +msgid "" +":issue:`33331`: Modules imported last are now cleared first at interpreter " +"shutdown." +msgstr "" + +#: build/NEWS:29001 +msgid "" +":issue:`33312`: Fixed clang ubsan (undefined behavior sanitizer) warnings in " +"dictobject.c by adjusting how the internal struct _dictkeysobject shared " +"keys structure is declared." +msgstr "" + +#: build/NEWS:26094 +msgid "" +":issue:`33305`: Improved syntax error messages for invalid numerical " +"literals." +msgstr "" + +#: build/NEWS:26096 +msgid "" +":issue:`33306`: Improved syntax error messages for unbalanced parentheses." +msgstr "" + +#: build/NEWS:26098 +msgid "" +":issue:`33234`: The list constructor will pre-size and not over-allocate " +"when the input length is known." +msgstr "" + +#: build/NEWS:26101 +msgid "" +":issue:`33270`: Intern the names for all anonymous code objects. Patch by " +"Zackery Spytz." +msgstr "" + +#: build/NEWS:26104 +msgid "" +":issue:`30455`: The C and Python code and the documentation related to " +"tokens are now generated from a single source file :file:`Grammar/Tokens`." +msgstr "" + +#: build/NEWS:26107 +msgid ":issue:`33176`: Add a ``toreadonly()`` method to memoryviews." +msgstr "" + +#: build/NEWS:33262 +msgid ":issue:`33231`: Fix potential memory leak in ``normalizestring()``." +msgstr "" + +#: build/NEWS:29007 +msgid "" +":issue:`33205`: Change dict growth function from " +"``round_up_to_power_2(used*2+hashtable_size/2)`` to " +"``round_up_to_power_2(used*3)``. Previously, dict is shrinked only when " +"``used == 0``. Now dict has more chance to be shrinked." +msgstr "" + +#: build/NEWS:33264 +msgid "" +":issue:`29922`: Improved error messages in 'async with' when " +"``__aenter__()`` or ``__aexit__()`` return non-awaitable object." +msgstr "" + +#: build/NEWS:33267 +msgid "" +":issue:`33199`: Fix ``ma_version_tag`` in dict implementation is " +"uninitialized when copying from key-sharing dict." +msgstr "" + +#: build/NEWS:29186 +msgid "" +":issue:`33053`: When using the -m switch, sys.path[0] is now explicitly " +"expanded as the *starting* working directory, rather than being left as the " +"empty path (which allows imports from the current working directory at the " +"time of the import)" +msgstr "" + +#: build/NEWS:26127 +msgid "" +":issue:`33138`: Changed standard error message for non-pickleable and non-" +"copyable types. It now says \"cannot pickle\" instead of \"can't pickle\" or " +"\"cannot serialize\"." +msgstr "" + +#: build/NEWS:29191 +msgid "" +":issue:`33018`: Improve consistency of errors raised by ``issubclass()`` " +"when called with a non-class and an abstract base class as the first and " +"second arguments, respectively. Patch by Josh Bronson." +msgstr "" + +#: build/NEWS:26135 +msgid "" +":issue:`33083`: ``math.factorial`` no longer accepts arguments that are not " +"int-like. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:26138 +msgid "" +":issue:`33041`: Added new opcode :opcode:`END_ASYNC_FOR` and fixes the " +"following issues:" +msgstr "" + +#: build/NEWS:26141 +msgid "" +"Setting global :exc:`StopAsyncIteration` no longer breaks ``async for`` " +"loops." +msgstr "" + +#: build/NEWS:26143 +msgid "Jumping into an ``async for`` loop is now disabled." +msgstr "" + +#: build/NEWS:26144 +msgid "Jumping out of an ``async for`` loop no longer corrupts the stack." +msgstr "" + +#: build/NEWS:26146 +msgid "" +":issue:`25750`: Fix rare Python crash due to bad refcounting in " +"``type_getattro()`` if a descriptor deletes itself from the class. Patch by " +"Jeroen Demeyer." +msgstr "" + +#: build/NEWS:26150 +msgid "" +":issue:`33041`: Fixed bytecode generation for \"async for\" with a complex " +"target. A StopAsyncIteration raised on assigning or unpacking will be now " +"propagated instead of stopping the iteration." +msgstr "" + +#: build/NEWS:33581 +msgid "" +":issue:`33026`: Fixed jumping out of \"with\" block by setting f_lineno." +msgstr "" + +#: build/NEWS:29199 +msgid "" +":issue:`33005`: Fix a crash on fork when using a custom memory allocator " +"(ex: using PYTHONMALLOC env var). _PyGILState_Reinit() and " +"_PyInterpreterState_Enable() now use the default RAW memory allocator to " +"allocate a new interpreters mutex on fork." +msgstr "" + +#: build/NEWS:28801 +msgid "" +":issue:`32911`: Due to unexpected compatibility issues discovered during " +"downstream beta testing, reverted :issue:`29463`. ``docstring`` field is " +"removed from Module, ClassDef, FunctionDef, and AsyncFunctionDef ast nodes " +"which was added in 3.7a1. Docstring expression is restored as a first " +"statement in their body. Based on patch by Inada Naoki." +msgstr "" + +#: build/NEWS:33583 +msgid "" +":issue:`17288`: Prevent jumps from 'return' and 'exception' trace events." +msgstr "" + +#: build/NEWS:26169 +msgid "" +":issue:`32946`: Importing names from already imported module with \"from ... " +"import ...\" is now 30% faster if the module is not a package." +msgstr "" + +#: build/NEWS:26172 +msgid "" +":issue:`32932`: Make error message more revealing when there are non-str " +"objects in ``__all__``." +msgstr "" + +#: build/NEWS:26175 +msgid "" +":issue:`32925`: Optimized iterating and containing test for literal lists " +"consisting of non-constants: ``x in [a, b]`` and ``for x in [a, b]``. The " +"case of all constant elements already was optimized." +msgstr "" + +#: build/NEWS:33585 +msgid "" +":issue:`32889`: Update Valgrind suppression list to account for the rename " +"of ``Py_ADDRESS_IN_RANG`` to ``address_in_range``." +msgstr "" + +#: build/NEWS:29206 +msgid "" +":issue:`32836`: Don't use temporary variables in cases of list/dict/set " +"comprehensions" +msgstr "" + +#: build/NEWS:29399 +msgid "" +":issue:`31356`: Remove the new API added in :issue:`31356` (gc." +"ensure_disabled() context manager)." +msgstr "" + +#: build/NEWS:29402 +msgid "" +":issue:`32305`: For namespace packages, ensure that both ``__file__`` and " +"``__spec__.origin`` are set to None." +msgstr "" + +#: build/NEWS:29405 +msgid "" +":issue:`32303`: Make sure ``__spec__.loader`` matches ``__loader__`` for " +"namespace packages." +msgstr "" + +#: build/NEWS:29408 +msgid "" +":issue:`32711`: Fix the warning messages for Python/ast_unparse.c. Patch by " +"Stéphane Wirtel" +msgstr "" + +#: build/NEWS:33596 +msgid "" +":issue:`32583`: Fix possible crashing in builtin Unicode decoders caused by " +"write out-of-bound errors when using customized decode error handlers." +msgstr "" + +#: build/NEWS:26200 +msgid "" +":issue:`32489`: A :keyword:`continue` statement is now allowed in the :" +"keyword:`finally` clause." +msgstr "" + +#: build/NEWS:26203 +msgid "" +":issue:`17611`: Simplified the interpreter loop by moving the logic of " +"unrolling the stack of blocks into the compiler. The compiler emits now " +"explicit instructions for adjusting the stack of values and calling the " +"cleaning up code for :keyword:`break`, :keyword:`continue` and :keyword:" +"`return`." +msgstr "" + +#: build/NEWS:26209 +msgid "" +"Removed opcodes :opcode:`BREAK_LOOP`, :opcode:`CONTINUE_LOOP`, :opcode:" +"`SETUP_LOOP` and :opcode:`SETUP_EXCEPT`. Added new opcodes :opcode:" +"`ROT_FOUR`, :opcode:`BEGIN_FINALLY` and :opcode:`CALL_FINALLY` and :opcode:" +"`POP_FINALLY`. Changed the behavior of :opcode:`END_FINALLY` and :opcode:" +"`WITH_CLEANUP_START`." +msgstr "" + +#: build/NEWS:26215 +msgid "" +":issue:`32285`: New function unicodedata.is_normalized, which can check " +"whether a string is in a specific normal form." +msgstr "" + +#: build/NEWS:26218 +msgid "" +":issue:`10544`: Yield expressions are now disallowed in comprehensions and " +"generator expressions except the expression for the outermost iterable." +msgstr "" + +#: build/NEWS:26221 +msgid "" +":issue:`32117`: Iterable unpacking is now allowed without parentheses in " +"yield and return statements, e.g. ``yield 1, 2, 3, *rest``. Thanks to David " +"Cuthbert for the change and Jordan Chapman for added tests." +msgstr "" + +#: build/NEWS:26225 +msgid "" +":issue:`31902`: Fix the ``col_offset`` attribute for ast nodes ``ast." +"AsyncFor``, ``ast.AsyncFunctionDef``, and ``ast.AsyncWith``. Previously, " +"``col_offset`` pointed to the keyword after ``async``." +msgstr "" + +#: build/NEWS:26229 +msgid "" +":issue:`25862`: Fix assertion failures in the ``tell()`` method of ``io." +"TextIOWrapper``. Patch by Zackery Spytz." +msgstr "" + +#: build/NEWS:33275 +msgid "" +":issue:`21983`: Fix a crash in ``ctypes.cast()`` in case the type argument " +"is a ctypes structured data type. Patch by Eryk Sun and Oren Milman." +msgstr "" + +#: build/NEWS:26235 +msgid "" +":issue:`31577`: Fix a crash in ``os.utime()`` in case of a bad ns argument. " +"Patch by Oren Milman." +msgstr "" + +#: build/NEWS:26238 +msgid "" +":issue:`29832`: Remove references to 'getsockaddrarg' from various socket " +"error messages. Patch by Oren Milman." +msgstr "" + +#: build/NEWS:26244 +msgid ":issue:`35845`: Add 'order' parameter to memoryview.tobytes()." +msgstr "" + +#: build/NEWS:26246 +msgid "" +":issue:`35864`: The _asdict() method for collections.namedtuple now returns " +"a regular dict instead of an OrderedDict." +msgstr "" + +#: build/NEWS:26249 +msgid "" +":issue:`35537`: An ExitStack is now used internally within subprocess.Popen " +"to clean up pipe file handles. No behavior change in normal operation. But " +"if closing one handle were ever to cause an exception, the others will now " +"be closed instead of leaked. (patch by Giampaolo Rodola)" +msgstr "" + +#: build/NEWS:26254 +msgid "" +":issue:`35847`: RISC-V needed the CTYPES_PASS_BY_REF_HACK. Fixes ctypes " +"Structure test_pass_by_value." +msgstr "" + +#: build/NEWS:26257 +msgid "" +":issue:`35813`: Shared memory submodule added to multiprocessing to avoid " +"need for serialization between processes" +msgstr "" + +#: build/NEWS:26260 +msgid "" +":issue:`35780`: Fix lru_cache() errors arising in recursive, reentrant, or " +"multi-threaded code. These errors could result in orphan links and in the " +"cache being trapped in a state with fewer than the specified maximum number " +"of links. Fix handling of negative maxsize which should have been treated as " +"zero. Fix errors in toggling the \"full\" status flag. Fix misordering of " +"links when errors are encountered. Sync-up the C code and pure Python code " +"for the space saving path in functions with a single positional argument. In " +"this common case, the space overhead of an lru cache entry is reduced by " +"almost half. Fix counting of cache misses. In error cases, the miss count " +"was out of sync with the actual number of times the underlying user function " +"was called." +msgstr "" + +#: build/NEWS:26272 +msgid "" +":issue:`35537`: :func:`os.posix_spawn` and :func:`os.posix_spawnp` now have " +"a *setsid* parameter." +msgstr "" + +#: build/NEWS:26275 +msgid "" +":issue:`23846`: :class:`asyncio.ProactorEventLoop` now catches and logs send " +"errors when the self-pipe is full." +msgstr "" + +#: build/NEWS:26278 +msgid "" +":issue:`34323`: :mod:`asyncio`: Enhance ``IocpProactor.close()`` log: wait 1 " +"second before the first log, then log every second. Log also the number of " +"seconds since ``close()`` was called." +msgstr "" + +#: build/NEWS:26282 +msgid "" +":issue:`35674`: Add a new :func:`os.posix_spawnp` function. Patch by Joannah " +"Nanjekye." +msgstr "" + +#: build/NEWS:26285 +msgid "" +":issue:`35733`: ``ast.Constant(boolean)`` no longer an instance of :class:" +"`ast.Num`. Patch by Anthony Sottile." +msgstr "" + +#: build/NEWS:26288 +msgid "" +":issue:`35726`: QueueHandler.prepare() now makes a copy of the record before " +"modifying and enqueueing it, to avoid affecting other handlers in the chain." +msgstr "" + +#: build/NEWS:26292 +msgid "" +":issue:`35719`: Sped up multi-argument :mod:`math` functions atan2(), " +"copysign(), remainder() and hypot() by 1.3--2.5 times." +msgstr "" + +#: build/NEWS:26295 +msgid "" +":issue:`35717`: Fix KeyError exception raised when using enums and compile. " +"Patch contributed by Rémi Lapeyre." +msgstr "" + +#: build/NEWS:26298 +msgid "" +":issue:`35699`: Fixed detection of Visual Studio Build Tools 2017 in " +"distutils" +msgstr "" + +#: build/NEWS:26300 +msgid "" +":issue:`32710`: Fix memory leaks in asyncio ProactorEventLoop on overlapped " +"operation failure." +msgstr "" + +#: build/NEWS:26303 +msgid "" +":issue:`35702`: The :const:`time.CLOCK_UPTIME_RAW` constant is now available " +"for macOS 10.12." +msgstr "" + +#: build/NEWS:26306 +msgid "" +":issue:`32710`: Fix a memory leak in asyncio in the ProactorEventLoop when " +"``ReadFile()`` or ``WSASend()`` overlapped operation fail immediately: " +"release the internal buffer." +msgstr "" + +#: build/NEWS:26310 +msgid "" +":issue:`35682`: Fix ``asyncio.ProactorEventLoop.sendfile()``: don't attempt " +"to set the result of an internal future if it's already done." +msgstr "" + +#: build/NEWS:26313 +msgid "" +":issue:`35283`: Add a deprecated warning for the :meth:`threading.Thread." +"isAlive` method. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:26316 +msgid "" +":issue:`35664`: Improve operator.itemgetter() performance by 33% with " +"optimized argument handling and with adding a fast path for the common case " +"of a single non-negative integer index into a tuple (which is the typical " +"use case in the standard library)." +msgstr "" + +#: build/NEWS:26321 +msgid "" +":issue:`35643`: Fixed a SyntaxWarning: invalid escape sequence in Modules/" +"_sha3/cleanup.py. Patch by Mickaël Schoentgen." +msgstr "" + +#: build/NEWS:26324 +msgid "" +":issue:`35619`: Improved support of custom data descriptors in :func:`help` " +"and :mod:`pydoc`." +msgstr "" + +#: build/NEWS:26327 +msgid "" +":issue:`28503`: The ``crypt`` module now internally uses the ``crypt_r()`` " +"library function instead of ``crypt()`` when available." +msgstr "" + +#: build/NEWS:26330 +msgid ":issue:`35614`: Fixed help() on metaclasses. Patch by Sanyam Khurana." +msgstr "" + +#: build/NEWS:26332 +msgid ":issue:`35568`: Expose ``raise(signum)`` as ``raise_signal``" +msgstr "" + +#: build/NEWS:26334 +msgid "" +":issue:`35588`: The floor division and modulo operations and the :func:" +"`divmod` function on :class:`fractions.Fraction` types are 2--4x faster. " +"Patch by Stefan Behnel." +msgstr "" + +#: build/NEWS:26338 +msgid "" +":issue:`35585`: Speed-up building enums by value, e.g. http.HTTPStatus(200)." +msgstr "" + +#: build/NEWS:26340 +msgid "" +":issue:`30561`: random.gammavariate(1.0, beta) now computes the same result " +"as random.expovariate(1.0 / beta). This synchronizes the two algorithms and " +"eliminates some idiosyncrasies in the old implementation. It does however " +"produce a difference stream of random variables than it used to." +msgstr "" + +#: build/NEWS:26345 +msgid "" +":issue:`35537`: The :mod:`subprocess` module can now use the :func:`os." +"posix_spawn` function in some cases for better performance." +msgstr "" + +#: build/NEWS:26348 +msgid "" +":issue:`35526`: Delaying the 'joke' of barry_as_FLUFL.mandatory to Python " +"version 4.0" +msgstr "" + +#: build/NEWS:26351 +msgid "" +":issue:`35523`: Remove :mod:`ctypes` callback workaround: no longer create a " +"callback at startup. Avoid SELinux alert on ``import ctypes`` and ``import " +"uuid``." +msgstr "" + +#: build/NEWS:26355 +msgid "" +":issue:`31784`: :func:`uuid.uuid1` now calls :func:`time.time_ns` rather " +"than ``int(time.time() * 1e9)``." +msgstr "" + +#: build/NEWS:26358 +msgid "" +":issue:`35513`: :class:`~unittest.runner.TextTestRunner` of :mod:`unittest." +"runner` now uses :func:`time.perf_counter` rather than :func:`time.time` to " +"measure the execution time of a test: :func:`time.time` can go backwards, " +"whereas :func:`time.perf_counter` is monotonic." +msgstr "" + +#: build/NEWS:26364 +msgid "" +":issue:`35502`: Fixed reference leaks in :class:`xml.etree.ElementTree." +"TreeBuilder` in case of unfinished building of the tree (in particular when " +"an error was raised during parsing XML)." +msgstr "" + +#: build/NEWS:26368 +msgid "" +":issue:`35348`: Make :func:`platform.architecture` parsing of ``file`` " +"command output more reliable: add the ``-b`` option to the ``file`` command " +"to omit the filename, force the usage of the C locale, and search also the " +"\"shared object\" pattern." +msgstr "" + +#: build/NEWS:26373 +msgid "" +":issue:`35491`: :mod:`multiprocessing`: Add ``Pool.__repr__()`` and enhance " +"``BaseProcess.__repr__()`` (add pid and parent pid) to ease debugging. Pool " +"state constant values are now strings instead of integers, for example " +"``RUN`` value becomes ``'RUN'`` instead of ``0``." +msgstr "" + +#: build/NEWS:26378 +msgid "" +":issue:`35477`: :meth:`multiprocessing.Pool.__enter__` now fails if the pool " +"is not running: ``with pool:`` fails if used more than once." +msgstr "" + +#: build/NEWS:26381 +msgid "" +":issue:`31446`: Copy command line that was passed to CreateProcessW since " +"this function can change the content of the input buffer." +msgstr "" + +#: build/NEWS:26384 +msgid "" +":issue:`35471`: Python 2.4 dropped MacOS 9 support. The macpath module was " +"deprecated in Python 3.7. The module is now removed." +msgstr "" + +#: build/NEWS:26387 +msgid "" +":issue:`23057`: Unblock Proactor event loop when keyboard interrupt is " +"received on Windows" +msgstr "" + +#: build/NEWS:26390 +msgid "" +":issue:`35052`: Fix xml.dom.minidom cloneNode() on a document with an " +"entity: pass the correct arguments to the user data handler of an entity." +msgstr "" + +#: build/NEWS:26393 +msgid "" +":issue:`20239`: Allow repeated assignment deletion of :class:`unittest.mock." +"Mock` attributes. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:26396 +msgid "" +":issue:`17185`: Set ``__signature__`` on mock for :mod:`inspect` to get " +"signature. Patch by Karthikeyan Singaravelan." +msgstr "" + +#: build/NEWS:26399 +msgid "" +":issue:`35445`: Memory errors during creating posix.environ no longer " +"ignored." +msgstr "" + +#: build/NEWS:26401 +msgid ":issue:`35415`: Validate fileno= argument to socket.socket()." +msgstr "" + +#: build/NEWS:26403 +msgid "" +":issue:`35424`: :class:`multiprocessing.Pool` destructor now emits :exc:" +"`ResourceWarning` if the pool is still running." +msgstr "" + +#: build/NEWS:26406 +msgid "" +":issue:`35330`: When a :class:`Mock` instance was used to wrap an object, if " +"``side_effect`` is used in one of the mocks of it methods, don't call the " +"original implementation and return the result of using the side effect the " +"same way that it is done with return_value." +msgstr "" + +#: build/NEWS:26411 +msgid "" +":issue:`35346`: Drop Mac OS 9 and Rhapsody support from the :mod:`platform` " +"module. Rhapsody last release was in 2000. Mac OS 9 last release was in 2001." +msgstr "" + +#: build/NEWS:26415 +msgid "" +":issue:`10496`: :func:`~distutils.utils.check_environ` of ``distutils." +"utils`` now catches :exc:`KeyError` on calling :func:`pwd.getpwuid`: don't " +"create the ``HOME`` environment variable in this case." +msgstr "" + +#: build/NEWS:26419 +msgid "" +":issue:`10496`: :func:`posixpath.expanduser` now returns the input *path* " +"unchanged if the ``HOME`` environment variable is not set and the current " +"user has no home directory (if the current user identifier doesn't exist in " +"the password database). This change fix the :mod:`site` module if the " +"current user doesn't exist in the password database (if the user has no home " +"directory)." +msgstr "" + +#: build/NEWS:26426 +msgid "" +":issue:`35389`: :func:`platform.libc_ver` now uses ``os." +"confstr('CS_GNU_LIBC_VERSION')`` if available and the *executable* parameter " +"is not set." +msgstr "" + +#: build/NEWS:26430 +msgid ":issue:`35394`: Add empty slots to asyncio abstract protocols." +msgstr "" + +#: build/NEWS:26432 +msgid "" +":issue:`35310`: Fix a bug in :func:`select.select` where, in some cases, the " +"file descriptor sequences were returned unmodified after a signal " +"interruption, even though the file descriptors might not be ready yet. :func:" +"`select.select` will now always return empty lists if a timeout has " +"occurred. Patch by Oran Avraham." +msgstr "" + +#: build/NEWS:26438 +msgid "" +":issue:`35380`: Enable TCP_NODELAY on Windows for proactor asyncio event " +"loop." +msgstr "" + +#: build/NEWS:26440 +msgid "" +":issue:`35341`: Add generic version of ``collections.OrderedDict`` to the " +"``typing`` module. Patch by Ismo Toijala." +msgstr "" + +#: build/NEWS:26443 +msgid "" +":issue:`35371`: Fixed possible crash in ``os.utime()`` on Windows when pass " +"incorrect arguments." +msgstr "" + +#: build/NEWS:26446 +msgid "" +":issue:`35346`: :func:`platform.uname` now redirects ``stderr`` to :data:`os." +"devnull` when running external programs like ``cmd /c ver``." +msgstr "" + +#: build/NEWS:26449 +msgid "" +":issue:`35066`: Previously, calling the strftime() method on a datetime " +"object with a trailing '%' in the format string would result in an " +"exception. However, this only occurred when the datetime C module was being " +"used; the python implementation did not match this behavior. Datetime is now " +"PEP-399 compliant, and will not throw an exception on a trailing '%'." +msgstr "" + +#: build/NEWS:26455 +msgid "" +":issue:`35345`: The function ``platform.popen`` has been removed, it was " +"deprecated since Python 3.3: use :func:`os.popen` instead." +msgstr "" + +#: build/NEWS:26458 +msgid "" +":issue:`35344`: On macOS, :func:`platform.platform` now uses :func:`platform." +"mac_ver`, if it returns a non-empty release string, to get the macOS version " +"rather than the darwin version." +msgstr "" + +#: build/NEWS:26462 +msgid "" +":issue:`35312`: Make ``lib2to3.pgen2.parse.ParseError`` round-trip pickle-" +"able. Patch by Anthony Sottile." +msgstr "" + +#: build/NEWS:26465 +msgid "" +":issue:`35308`: Fix regression in ``webbrowser`` where default browsers may " +"be preferred over browsers in the ``BROWSER`` environment variable." +msgstr "" + +#: build/NEWS:26468 +msgid "" +":issue:`24746`: Avoid stripping trailing whitespace in doctest fancy diff. " +"Original patch by R. David Murray & Jairo Trad. Enhanced by Sanyam Khurana." +msgstr "" + +#: build/NEWS:26472 +msgid "" +":issue:`28604`: :func:`locale.localeconv` now sets temporarily the " +"``LC_CTYPE`` locale to the ``LC_MONETARY`` locale if the two locales are " +"different and monetary strings are non-ASCII. This temporary change affects " +"other threads." +msgstr "" + +#: build/NEWS:26477 +msgid "" +":issue:`35277`: Update ensurepip to install pip 18.1 and setuptools 40.6.2." +msgstr "" + +#: build/NEWS:26479 +msgid ":issue:`24209`: Adds IPv6 support when invoking http.server directly." +msgstr "" + +#: build/NEWS:26481 +msgid "" +":issue:`35226`: Recursively check arguments when testing for equality of :" +"class:`unittest.mock.call` objects and add note that tracking of parameters " +"used to create ancestors of mocks in ``mock_calls`` is not possible." +msgstr "" + +#: build/NEWS:26486 +msgid "" +":issue:`29564`: The warnings module now suggests to enable tracemalloc if " +"the source is specified, the tracemalloc module is available, but " +"tracemalloc is not tracing memory allocations." +msgstr "" + +#: build/NEWS:26490 +msgid "" +":issue:`35189`: Modify the following fnctl function to retry if interrupted " +"by a signal (EINTR): flock, lockf, fnctl" +msgstr "" + +#: build/NEWS:26493 +msgid "" +":issue:`30064`: Use add_done_callback() in sock_* asyncio API to unsubscribe " +"reader/writer early on calcellation." +msgstr "" + +#: build/NEWS:26496 +msgid "" +":issue:`35186`: Removed the \"built with\" comment added when ``setup.py " +"upload`` is used with either ``bdist_rpm`` or ``bdist_dumb``." +msgstr "" + +#: build/NEWS:26499 +msgid "" +":issue:`35152`: Allow sending more than 2 GB at once on a multiprocessing " +"connection on non-Windows systems." +msgstr "" + +#: build/NEWS:26502 +msgid "" +":issue:`35062`: Fix incorrect parsing of :class:`io." +"IncrementalNewlineDecoder`'s *translate* argument." +msgstr "" + +#: build/NEWS:26505 +msgid "" +":issue:`35065`: Remove ``StreamReaderProtocol._untrack_reader``. The call to " +"``_untrack_reader`` is currently performed too soon, causing the protocol to " +"forget about the reader before ``connection_lost`` can run and feed the EOF " +"to the reader." +msgstr "" + +#: build/NEWS:26510 +msgid "" +":issue:`34160`: ElementTree and minidom now preserve the attribute order " +"specified by the user." +msgstr "" + +#: build/NEWS:26513 +msgid "" +":issue:`35079`: Improve difflib.SequenceManager.get_matching_blocks doc by " +"adding 'non-overlapping' and changing '!=' to '<'." +msgstr "" + +#: build/NEWS:26516 +msgid "" +":issue:`33710`: Deprecated ``l*gettext()`` functions and methods in the :mod:" +"`gettext` module. They return encoded bytes instead of Unicode strings and " +"are artifacts from Python 2 times. Also deprecated functions and methods " +"related to setting the charset for ``l*gettext()`` functions and methods." +msgstr "" + +#: build/NEWS:26522 +msgid "" +":issue:`35017`: :meth:`socketserver.BaseServer.serve_forever` now exits " +"immediately if it's :meth:`~socketserver.BaseServer.shutdown` method is " +"called while it is polling for new events." +msgstr "" + +#: build/NEWS:26526 +msgid "" +":issue:`35024`: ``importlib`` no longer logs ``wrote <bytecode path>`` " +"redundantly after ``(created|could not create) <bytecode path>`` is already " +"logged. Patch by Quentin Agren." +msgstr "" + +#: build/NEWS:26530 +msgid "" +":issue:`35047`: ``unittest.mock`` now includes mock calls in exception " +"messages if ``assert_not_called``, ``assert_called_once``, or " +"``assert_called_once_with`` fails. Patch by Petter Strandmark." +msgstr "" + +#: build/NEWS:26534 +msgid "" +":issue:`31047`: Fix ``ntpath.abspath`` regression where it didn't remove a " +"trailing separator on Windows. Patch by Tim Graham." +msgstr "" + +#: build/NEWS:26537 +msgid "" +":issue:`35053`: tracemalloc now tries to update the traceback when an object " +"is reused from a \"free list\" (optimization for faster object creation, " +"used by the builtin list type for example)." +msgstr "" + +#: build/NEWS:26541 +msgid "" +":issue:`31553`: Add the --json-lines option to json.tool. Patch by " +"hongweipeng." +msgstr "" + +#: build/NEWS:26543 +msgid "" +":issue:`34794`: Fixed a leak in Tkinter when pass the Python wrapper around " +"Tcl_Obj back to Tcl/Tk." +msgstr "" + +#: build/NEWS:26546 +msgid "" +":issue:`34909`: Enum: fix grandchildren subclassing when parent mixed with " +"concrete data types." +msgstr "" + +#: build/NEWS:26549 +msgid "" +":issue:`35022`: :class:`unittest.mock.MagicMock` now supports the " +"``__fspath__`` method (from :class:`os.PathLike`)." +msgstr "" + +#: build/NEWS:26552 +msgid "" +":issue:`35008`: Fixed references leaks when call the ``__setstate__()`` " +"method of :class:`xml.etree.ElementTree.Element` in the C implementation for " +"already initialized element." +msgstr "" + +#: build/NEWS:26556 +msgid "" +":issue:`23420`: Verify the value for the parameter '-s' of the cProfile CLI. " +"Patch by Robert Kuska" +msgstr "" + +#: build/NEWS:26559 +msgid "" +":issue:`33947`: dataclasses now handle recursive reprs without raising " +"RecursionError." +msgstr "" + +#: build/NEWS:26562 +msgid "" +":issue:`34890`: Make :func:`inspect.iscoroutinefunction`, :func:`inspect." +"isgeneratorfunction` and :func:`inspect.isasyncgenfunction` work with :func:" +"`functools.partial`. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:26566 +msgid "" +":issue:`34521`: Use :func:`socket.CMSG_SPACE` to calculate ancillary data " +"size instead of :func:`socket.CMSG_LEN` in :func:`multiprocessing.reduction." +"recvfds` as :rfc:`3542` requires the use of the former for portable " +"applications." +msgstr "" + +#: build/NEWS:26571 +msgid "" +":issue:`31522`: The ``mailbox.mbox.get_string`` function *from_* parameter " +"can now successfully be set to a non-default value." +msgstr "" + +#: build/NEWS:26574 +msgid "" +":issue:`34970`: Protect tasks weak set manipulation in ``asyncio." +"all_tasks()``" +msgstr "" + +#: build/NEWS:26576 +msgid "" +":issue:`34969`: gzip: Add --fast, --best on the gzip CLI, these parameters " +"will be used for the fast compression method (quick) or the best method " +"compress (slower, but smaller file). Also, change the default compression " +"level to 6 (tradeoff)." +msgstr "" + +#: build/NEWS:26581 +msgid "" +":issue:`16965`: The :term:`2to3` :2to3fixer:`execfile` fixer now opens the " +"file with mode ``'rb'``. Patch by Zackery Spytz." +msgstr "" + +#: build/NEWS:26584 +msgid "" +":issue:`34966`: :mod:`pydoc` now supports aliases not only to methods " +"defined in the end class, but also to inherited methods. The docstring is " +"not duplicated for aliases." +msgstr "" + +#: build/NEWS:26588 +msgid "" +":issue:`34926`: :meth:`mimetypes.MimeTypes.guess_type` now accepts :term:" +"`path-like object` in addition to url strings. Patch by Mayank Asthana." +msgstr "" + +#: build/NEWS:26592 +msgid "" +":issue:`23831`: Add ``moveto()`` method to the ``tkinter.Canvas`` widget. " +"Patch by Juliette Monsel." +msgstr "" + +#: build/NEWS:26595 +msgid "" +":issue:`34941`: Methods ``find()``, ``findtext()`` and ``findall()`` of the " +"``Element`` class in the :mod:`xml.etree.ElementTree` module are now able to " +"find children which are instances of ``Element`` subclasses." +msgstr "" + +#: build/NEWS:26599 +msgid "" +":issue:`32680`: :class:`smtplib.SMTP` objects now always have a ``sock`` " +"attribute present" +msgstr "" + +#: build/NEWS:26602 +msgid "" +":issue:`34769`: Fix for async generators not finalizing when event loop is " +"in debug mode and garbage collector runs in another thread." +msgstr "" + +#: build/NEWS:26605 +msgid "" +":issue:`34936`: Fix ``TclError`` in ``tkinter.Spinbox.selection_element()``. " +"Patch by Juliette Monsel." +msgstr "" + +#: build/NEWS:26608 +msgid "" +":issue:`34829`: Add methods ``selection_from``, ``selection_range``, " +"``selection_present`` and ``selection_to`` to the ``tkinter.Spinbox`` for " +"consistency with the ``tkinter.Entry`` widget. Patch by Juliette Monsel." +msgstr "" + +#: build/NEWS:26612 +msgid "" +":issue:`34911`: Added *secure_protocols* argument to *http.cookiejar." +"DefaultCookiePolicy* to allow for tweaking of protocols and also to add " +"support by default for *wss*, the secure websocket protocol." +msgstr "" + +#: build/NEWS:26617 +msgid "" +":issue:`34922`: Fixed integer overflow in the :meth:`~hashlib.shake.digest` " +"and :meth:`~hashlib.shake.hexdigest` methods for the SHAKE algorithm in the :" +"mod:`hashlib` module." +msgstr "" + +#: build/NEWS:26621 +msgid "" +":issue:`34925`: 25% speedup in argument parsing for the functions in the " +"bisect module." +msgstr "" + +#: build/NEWS:26624 +msgid "" +":issue:`34900`: Fixed :meth:`unittest.TestCase.debug` when used to call test " +"methods with subtests. Patch by Bruno Oliveira." +msgstr "" + +#: build/NEWS:26627 +msgid "" +":issue:`34844`: logging.Formatter enhancement - Ensure styles and fmt " +"matches in logging.Formatter - Added validate method in each format style " +"class: StrFormatStyle, PercentStyle, StringTemplateStyle. - This method is " +"called in the constructor of logging.Formatter class - Also re-raise the " +"KeyError in the format method of each style class, so it would a bit clear " +"that it's an error with the invalid format fields." +msgstr "" + +#: build/NEWS:26634 +msgid "" +":issue:`34897`: Adjust test.support.missing_compiler_executable check so " +"that a nominal command name of \"\" is ignored. Patch by Michael Felt." +msgstr "" + +#: build/NEWS:26637 +msgid "" +":issue:`34871`: Fix inspect module polluted ``sys.modules`` when parsing " +"``__text_signature__`` of callable." +msgstr "" + +#: build/NEWS:26640 +msgid "" +":issue:`34898`: Add ``mtime`` argument to ``gzip.compress`` for reproducible " +"output. Patch by Guo Ci Teo." +msgstr "" + +#: build/NEWS:26643 +msgid "" +":issue:`28441`: On Cygwin and MinGW, ensure that ``sys.executable`` always " +"includes the full filename in the path, including the ``.exe`` suffix " +"(unless it is a symbolic link)." +msgstr "" + +#: build/NEWS:26647 +msgid "" +":issue:`34866`: Adding ``max_num_fields`` to ``cgi.FieldStorage`` to make " +"DOS attacks harder by limiting the number of ``MiniFieldStorage`` objects " +"created by ``FieldStorage``." +msgstr "" + +#: build/NEWS:26651 +msgid "" +":issue:`34711`: http.server ensures it reports HTTPStatus.NOT_FOUND when the " +"local path ends with \"/\" and is not a directory, even if the underlying OS " +"(e.g. AIX) accepts such paths as a valid file reference. Patch by Michael " +"Felt." +msgstr "" + +#: build/NEWS:26656 +msgid "" +":issue:`34872`: Fix self-cancellation in C implementation of asyncio.Task" +msgstr "" + +#: build/NEWS:26658 +msgid "" +":issue:`34849`: Don't log waiting for ``selector.select`` in asyncio loop " +"iteration. The waiting is pretty normal for any asyncio program, logging its " +"time just adds a noise to logs without any useful information provided." +msgstr "" + +#: build/NEWS:26663 +msgid "" +":issue:`34022`: The :envvar:`SOURCE_DATE_EPOCH` environment variable no " +"longer overrides the value of the *invalidation_mode* argument to :func:" +"`py_compile.compile`, and determines its default value instead." +msgstr "" + +#: build/NEWS:26667 +msgid "" +":issue:`34819`: Use a monotonic clock to compute timeouts in :meth:`Executor." +"map` and :func:`as_completed`, in order to prevent timeouts from deviating " +"when the system clock is adjusted." +msgstr "" + +#: build/NEWS:26671 +msgid "" +":issue:`34758`: Add .wasm -> application/wasm to list of recognized file " +"types and content type headers" +msgstr "" + +#: build/NEWS:26674 +msgid "" +":issue:`34789`: :func:`xml.sax.make_parser` now accepts any iterable as its " +"*parser_list* argument. Patch by Andrés Delfino." +msgstr "" + +#: build/NEWS:26677 +msgid "" +":issue:`34334`: In :class:`QueueHandler`, clear ``exc_text`` from :class:" +"`LogRecord` to prevent traceback from being written twice." +msgstr "" + +#: build/NEWS:26680 +msgid "" +":issue:`34687`: On Windows, asyncio now uses ProactorEventLoop, instead of " +"SelectorEventLoop, by default." +msgstr "" + +#: build/NEWS:26683 +msgid "" +":issue:`5950`: Support reading zip files with archive comments in :mod:" +"`zipimport`." +msgstr "" + +#: build/NEWS:26686 +msgid "" +":issue:`32892`: The parser now represents all constants as :class:`ast." +"Constant` instead of using specific constant AST types (``Num``, ``Str``, " +"``Bytes``, ``NameConstant`` and ``Ellipsis``). These classes are considered " +"deprecated and will be removed in future Python versions." +msgstr "" + +#: build/NEWS:26692 +msgid "" +":issue:`34728`: Add deprecation warning when ``loop`` is used in methods: " +"``asyncio.sleep``, ``asyncio.wait`` and ``asyncio.wait_for``." +msgstr "" + +#: build/NEWS:26695 +msgid "" +":issue:`34738`: ZIP files created by ``distutils`` will now include entries " +"for directories." +msgstr "" + +#: build/NEWS:26698 +msgid "" +":issue:`34659`: Add an optional *initial* argument to itertools.accumulate()." +msgstr "" + +#: build/NEWS:26700 +msgid ":issue:`29577`: Support multiple mixin classes when creating Enums." +msgstr "" + +#: build/NEWS:26702 +msgid "" +":issue:`34670`: Add SSLContext.post_handshake_auth and SSLSocket." +"verify_client_post_handshake for TLS 1.3's post handshake authentication " +"feature." +msgstr "" + +#: build/NEWS:26706 +msgid "" +":issue:`32718`: The Activate.ps1 script from venv works with PowerShell Core " +"6.1 and is now available under all operating systems." +msgstr "" + +#: build/NEWS:26709 +msgid "" +":issue:`31177`: Fix bug that prevented using :meth:`reset_mock <unittest." +"mock.Mock.reset_mock>` on mock instances with deleted attributes" +msgstr "" + +#: build/NEWS:26712 +msgid "" +":issue:`34672`: Add a workaround, so the ``'Z'`` :func:`time.strftime` " +"specifier on the musl C library can work in some cases." +msgstr "" + +#: build/NEWS:26715 +msgid "" +":issue:`34666`: Implement ``asyncio.StreamWriter.awrite`` and ``asyncio." +"StreamWriter.aclose()`` coroutines. Methods are needed for providing a " +"consistent stream API with control flow switched on by default." +msgstr "" + +#: build/NEWS:26720 +msgid "" +":issue:`6721`: Acquire the logging module's commonly used internal locks " +"while fork()ing to avoid deadlocks in the child process." +msgstr "" + +#: build/NEWS:26723 +msgid "" +":issue:`34658`: Fix a rare interpreter unhandled exception state SystemError " +"only seen when using subprocess with a preexec_fn while an after_parent " +"handler has been registered with os.register_at_fork and the fork system " +"call fails." +msgstr "" + +#: build/NEWS:26728 +msgid ":issue:`34652`: Ensure :func:`os.lchmod` is never defined on Linux." +msgstr "" + +#: build/NEWS:26730 +msgid "" +":issue:`34638`: Store a weak reference to stream reader to break strong " +"references loop between reader and protocol. It allows to detect and close " +"the socket if the stream is deleted (garbage collected) without ``close()`` " +"call." +msgstr "" + +#: build/NEWS:26735 +msgid "" +":issue:`34536`: ``Enum._missing_``: raise ``ValueError`` if None returned " +"and ``TypeError`` if non-member is returned." +msgstr "" + +#: build/NEWS:26738 +msgid "" +":issue:`34636`: Speed up re scanning of many non-matching characters for \\s " +"\\w and \\d within bytes objects. (microoptimization)" +msgstr "" + +#: build/NEWS:26741 +msgid "" +":issue:`24412`: Add :func:`~unittest.addModuleCleanup` and :meth:`~unittest." +"TestCase.addClassCleanup` to unittest to support cleanups for :func:" +"`~unittest.setUpModule` and :meth:`~unittest.TestCase.setUpClass`. Patch by " +"Lisa Roach." +msgstr "" + +#: build/NEWS:26746 +msgid "" +":issue:`34630`: Don't log SSL certificate errors in asyncio code (connection " +"error logging is skipped already)." +msgstr "" + +#: build/NEWS:26749 +msgid "" +":issue:`32490`: Prevent filename duplication in :mod:`subprocess` exception " +"messages. Patch by Zackery Spytz." +msgstr "" + +#: build/NEWS:26752 +msgid "" +":issue:`34363`: dataclasses.asdict() and .astuple() now handle namedtuples " +"correctly." +msgstr "" + +#: build/NEWS:26755 +msgid ":issue:`34625`: Update vendorized expat library version to 2.2.6." +msgstr "" + +#: build/NEWS:26757 +msgid "" +":issue:`32270`: The subprocess module no longer mistakenly closes redirected " +"fds even when they were in pass_fds when outside of the default {0, 1, 2} " +"set." +msgstr "" + +#: build/NEWS:26761 +msgid "" +":issue:`34622`: Create a dedicated ``asyncio.CancelledError``, ``asyncio." +"InvalidStateError`` and ``asyncio.TimeoutError`` exception classes. Inherit " +"them from corresponding exceptions from ``concurrent.futures`` package. " +"Extract ``asyncio`` exceptions into a separate file." +msgstr "" + +#: build/NEWS:26767 +msgid "" +":issue:`34610`: Fixed iterator of :class:`multiprocessing.managers." +"DictProxy`." +msgstr "" + +#: build/NEWS:26769 +msgid "" +":issue:`34421`: Fix distutils logging for non-ASCII strings. This caused " +"installation issues on Windows." +msgstr "" + +#: build/NEWS:26772 +msgid "" +":issue:`34604`: Fix possible mojibake in the error message of ``pwd." +"getpwnam`` and ``grp.getgrnam`` using string representation because of " +"invisible characters or trailing whitespaces. Patch by William Grzybowski." +msgstr "" + +#: build/NEWS:26776 +msgid "" +":issue:`30977`: Make uuid.UUID use ``__slots__`` to reduce its memory " +"footprint. Based on original patch by Wouter Bolsterlee." +msgstr "" + +#: build/NEWS:26779 +msgid "" +":issue:`34574`: OrderedDict iterators are not exhausted during pickling " +"anymore. Patch by Sergey Fedoseev." +msgstr "" + +#: build/NEWS:26782 +msgid "" +":issue:`8110`: Refactored :mod:`subprocess` to check for Windows-specific " +"modules rather than ``sys.platform == 'win32'``." +msgstr "" + +#: build/NEWS:26785 +msgid "" +":issue:`34530`: ``distutils.spawn.find_executable()`` now falls back on :" +"data:`os.defpath` if the ``PATH`` environment variable is not set." +msgstr "" + +#: build/NEWS:26788 +msgid "" +":issue:`34563`: On Windows, fix multiprocessing.Connection for very large " +"read: fix _winapi.PeekNamedPipe() and _winapi.ReadFile() for read larger " +"than INT_MAX (usually ``2**31-1``)." +msgstr "" + +#: build/NEWS:26792 +msgid ":issue:`34558`: Correct typo in Lib/ctypes/_aix.py" +msgstr "" + +#: build/NEWS:26794 +msgid "" +":issue:`34282`: Move ``Enum._convert`` to ``EnumMeta._convert_`` and fix " +"enum members getting shadowed by parent attributes." +msgstr "" + +#: build/NEWS:26797 +msgid "" +":issue:`22872`: When the queue is closed, :exc:`ValueError` is now raised " +"by :meth:`multiprocessing.Queue.put` and :meth:`multiprocessing.Queue.get` " +"instead of :exc:`AssertionError` and :exc:`OSError`, respectively. Patch by " +"Zackery Spytz." +msgstr "" + +#: build/NEWS:26802 +msgid "" +":issue:`34515`: Fix parsing non-ASCII identifiers in :mod:`!lib2to3.pgen2." +"tokenize` (:pep:`3131`)." +msgstr "" + +#: build/NEWS:26805 +msgid "" +":issue:`13312`: Avoids a possible integer underflow (undefined behavior) in " +"the time module's year handling code when passed a very low negative year " +"value." +msgstr "" + +#: build/NEWS:26809 +msgid "" +":issue:`34472`: Improved compatibility for streamed files in :mod:`zipfile`. " +"Previously an optional signature was not being written and certain ZIP " +"applications were not supported. Patch by Silas Sewell." +msgstr "" + +#: build/NEWS:26813 +msgid "" +":issue:`34454`: Fix the .fromisoformat() methods of datetime types crashing " +"when given unicode with non-UTF-8-encodable code points. Specifically, " +"datetime.fromisoformat() now accepts surrogate unicode code points used as " +"the separator. Report and tests by Alexey Izbyshev, patch by Paul Ganssle." +msgstr "" + +#: build/NEWS:26818 +msgid "" +":issue:`6700`: Fix inspect.getsourcelines for module level frames/" +"tracebacks. Patch by Vladimir Matveev." +msgstr "" + +#: build/NEWS:26821 +msgid "" +":issue:`34171`: Running the :mod:`trace` module no longer creates the " +"``trace.cover`` file." +msgstr "" + +#: build/NEWS:26824 +msgid "" +":issue:`34441`: Fix crash when an ``ABC``-derived class with invalid " +"``__subclasses__`` is passed as the second argument to :func:`issubclass`. " +"Patch by Alexey Izbyshev." +msgstr "" + +#: build/NEWS:26828 +msgid "" +":issue:`34427`: Fix infinite loop in ``a.extend(a)`` for ``MutableSequence`` " +"subclasses." +msgstr "" + +#: build/NEWS:26831 +msgid "" +":issue:`34412`: Make :func:`signal.strsignal` work on HP-UX. Patch by " +"Michael Osipov." +msgstr "" + +#: build/NEWS:26834 +msgid "" +":issue:`20849`: shutil.copytree now accepts a new ``dirs_exist_ok`` keyword " +"argument. Patch by Josh Bronson." +msgstr "" + +#: build/NEWS:26837 +msgid "" +":issue:`31715`: Associate ``.mjs`` file extension with ``application/" +"javascript`` MIME Type." +msgstr "" + +#: build/NEWS:26840 +msgid "" +":issue:`34384`: :func:`os.readlink` now accepts :term:`path-like <path-like " +"object>` and :class:`bytes` objects on Windows." +msgstr "" + +#: build/NEWS:26843 +msgid "" +":issue:`22602`: The UTF-7 decoder now raises :exc:`UnicodeDecodeError` for " +"ill-formed sequences starting with \"+\" (as specified in RFC 2152). Patch " +"by Zackery Spytz." +msgstr "" + +#: build/NEWS:26847 +msgid "" +":issue:`2122`: The :meth:`mmap.flush() <mmap.mmap.flush>` method now returns " +"``None`` on success, raises an exception on error under all platforms." +msgstr "" + +#: build/NEWS:26850 +msgid "" +":issue:`34341`: Appending to the ZIP archive with the ZIP64 extension no " +"longer grows the size of extra fields of existing entries." +msgstr "" + +#: build/NEWS:26853 +msgid "" +":issue:`34333`: Fix %-formatting in :meth:`pathlib.PurePath.with_suffix` " +"when formatting an error message." +msgstr "" + +#: build/NEWS:26856 +msgid "" +":issue:`18540`: The :class:`imaplib.IMAP4` and :class:`imaplib.IMAP4_SSL` " +"classes now resolve to the local host IP correctly when the default value of " +"*host* parameter (``''``) is used." +msgstr "" + +#: build/NEWS:26860 +msgid "" +":issue:`26502`: Implement ``traceback.FrameSummary.__len__()`` method to " +"preserve compatibility with the old tuple API." +msgstr "" + +#: build/NEWS:26863 +msgid "" +":issue:`34318`: :func:`~unittest.TestCase.assertRaises`, :func:`~unittest." +"TestCase.assertRaisesRegex`, :func:`~unittest.TestCase.assertWarns` and :" +"func:`~unittest.TestCase.assertWarnsRegex` no longer success if the passed " +"callable is None. They no longer ignore unknown keyword arguments in the " +"context manager mode. A DeprecationWarning was raised in these cases since " +"Python 3.5." +msgstr "" + +#: build/NEWS:26871 +msgid "" +":issue:`9372`: Deprecate :meth:`~object.__getitem__` methods of :class:`xml." +"dom.pulldom.DOMEventStream`, :class:`wsgiref.util.FileWrapper` and :class:" +"`fileinput.FileInput`." +msgstr "" + +#: build/NEWS:26875 +msgid "" +":issue:`33613`: Fix a race condition in ``multiprocessing." +"semaphore_tracker`` when the tracker receives SIGINT before it can register " +"signal handlers for ignoring it." +msgstr "" + +#: build/NEWS:26879 +msgid "" +":issue:`34248`: Report filename in the exception raised when the database " +"file cannot be opened by :func:`dbm.gnu.open` and :func:`dbm.ndbm.open` due " +"to OS-related error. Patch by Zsolt Cserna." +msgstr "" + +#: build/NEWS:26883 +msgid "" +":issue:`33089`: Add math.dist() to compute the Euclidean distance between " +"two points." +msgstr "" + +#: build/NEWS:26886 +msgid "" +":issue:`34246`: :meth:`smtplib.SMTP.send_message` no longer modifies the " +"content of the *mail_options* argument. Patch by Pablo S. Blum de Aguiar." +msgstr "" + +#: build/NEWS:26889 +msgid "" +":issue:`31047`: Fix ``ntpath.abspath`` for invalid paths on windows. Patch " +"by Franz Woellert." +msgstr "" + +#: build/NEWS:26892 +msgid "" +":issue:`32321`: Add pure Python fallback for functools.reduce. Patch by " +"Robert Wright." +msgstr "" + +#: build/NEWS:26895 +msgid "" +":issue:`34270`: The default asyncio task class now always has a name which " +"can be get or set using two new methods (:meth:`~asyncio.Task.get_name` and :" +"meth:`~asyncio.Task.set_name`) and is visible in the :func:`repr` output. An " +"initial name can also be set using the new ``name`` keyword argument to :" +"func:`asyncio.create_task` or the :meth:`~asyncio.AbstractEventLoop." +"create_task` method of the event loop. If no initial name is set, the " +"default Task implementation generates a name like ``Task-1`` using a " +"monotonic counter." +msgstr "" + +#: build/NEWS:26904 +msgid "" +":issue:`34263`: asyncio's event loop will not pass timeouts longer than one " +"day to epoll/select etc." +msgstr "" + +#: build/NEWS:26907 +msgid "" +":issue:`34035`: Fix several AttributeError in zipfile seek() methods. Patch " +"by Mickaël Schoentgen." +msgstr "" + +#: build/NEWS:26910 +msgid "" +":issue:`32215`: Fix performance regression in :mod:`sqlite3` when a DML " +"statement appeared in a different line than the rest of the SQL query." +msgstr "" + +#: build/NEWS:26913 +msgid "" +":issue:`34075`: Deprecate passing non-ThreadPoolExecutor instances to :meth:" +"`AbstractEventLoop.set_default_executor`." +msgstr "" + +#: build/NEWS:26916 +msgid "" +":issue:`34251`: Restore ``msilib.Win64`` to preserve backwards compatibility " +"since it's already used by ``distutils``' ``bdist_msi`` command." +msgstr "" + +#: build/NEWS:26919 +msgid "" +":issue:`19891`: Ignore errors caused by missing / non-writable homedir while " +"writing history during exit of an interactive session. Patch by Anthony " +"Sottile." +msgstr "" + +#: build/NEWS:26923 +msgid "" +":issue:`33089`: Enhanced math.hypot() to support more than two dimensions." +msgstr "" + +#: build/NEWS:26925 +msgid "" +":issue:`34228`: tracemalloc: PYTHONTRACEMALLOC=0 environment variable and -X " +"tracemalloc=0 command line option are now allowed to disable explicitly " +"tracemalloc at startup." +msgstr "" + +#: build/NEWS:26929 +msgid "" +":issue:`13041`: Use :func:`shutil.get_terminal_size` to calculate the " +"terminal width correctly in the ``argparse.HelpFormatter`` class. Initial " +"patch by Zbyszek Jędrzejewski-Szmek." +msgstr "" + +#: build/NEWS:26933 +msgid "" +":issue:`34213`: Allow frozen dataclasses to have a field named \"object\". " +"Previously this conflicted with an internal use of \"object\"." +msgstr "" + +#: build/NEWS:26936 +msgid "" +":issue:`34052`: :meth:`sqlite3.Connection.create_aggregate`, :meth:`sqlite3." +"Connection.create_function`, :meth:`sqlite3.Connection.set_authorizer`, :" +"meth:`sqlite3.Connection.set_progress_handler` methods raises TypeError when " +"unhashable objects are passed as callable. These methods now don't pass such " +"objects to SQLite API. Previous behavior could lead to segfaults. Patch by " +"Sergey Fedoseev." +msgstr "" + +#: build/NEWS:26944 +msgid "" +":issue:`34197`: Attributes *skipinitialspace*, *doublequote* and *strict* of " +"the *dialect* attribute of the :mod:`csv` reader are now :class:`bool` " +"instances instead of integers 0 or 1." +msgstr "" + +#: build/NEWS:26948 +msgid "" +":issue:`32788`: Errors other than :exc:`TypeError` raised in methods " +"``__adapt__()`` and ``__conform__()`` in the :mod:`sqlite3` module are now " +"propagated to the user." +msgstr "" + +#: build/NEWS:26952 +msgid "" +":issue:`21446`: The :2to3fixer:`reload` fixer now uses :func:`importlib." +"reload` instead of deprecated :func:`!imp.reload`." +msgstr "" + +#: build/NEWS:26955 +msgid "" +":issue:`940286`: pydoc's ``Helper.showtopic()`` method now prints the cross " +"references of a topic correctly." +msgstr "" + +#: build/NEWS:26958 +msgid "" +":issue:`34164`: :func:`base64.b32decode` could raise UnboundLocalError or " +"OverflowError for incorrect padding. Now it always raises :exc:`base64." +"Error` in these cases." +msgstr "" + +#: build/NEWS:26962 +msgid ":issue:`33729`: Fixed issues with arguments parsing in :mod:`hashlib`." +msgstr "" + +#: build/NEWS:26964 +msgid "" +":issue:`34097`: ZipFile can zip files older than 1980-01-01 and newer than " +"2107-12-31 using a new ``strict_timestamps`` parameter at the cost of " +"setting the timestamp to the limit." +msgstr "" + +#: build/NEWS:26968 +msgid ":issue:`34108`: Remove extraneous CR in 2to3 refactor." +msgstr "" + +#: build/NEWS:26970 +msgid "" +":issue:`34070`: Make sure to only check if the handle is a tty, when opening " +"a file with ``buffering=-1``." +msgstr "" + +#: build/NEWS:26973 +msgid "" +":issue:`27494`: Reverted :issue:`27494`. 2to3 rejects now a trailing comma " +"in generator expressions." +msgstr "" + +#: build/NEWS:26976 +msgid "" +":issue:`33967`: functools.singledispatch now raises TypeError instead of " +"IndexError when no positional arguments are passed." +msgstr "" + +#: build/NEWS:26979 +msgid "" +":issue:`34041`: Add the parameter *deterministic* to the :meth:`sqlite3." +"Connection.create_function` method. Patch by Sergey Fedoseev." +msgstr "" + +#: build/NEWS:26983 +msgid "" +":issue:`34056`: Ensure the loader shim created by ``imp.load_module`` always " +"returns bytes from its ``get_data()`` function. This fixes using ``imp." +"load_module`` with :pep:`552` hash-based pycs." +msgstr "" + +#: build/NEWS:26987 +msgid "" +":issue:`34054`: The multiprocessing module now uses the monotonic clock :" +"func:`time.monotonic` instead of the system clock :func:`time.time` to " +"implement timeout." +msgstr "" + +#: build/NEWS:26991 +msgid "" +":issue:`34043`: Optimize tarfile uncompress performance about 15% when gzip " +"is used." +msgstr "" + +#: build/NEWS:26994 +msgid "" +":issue:`34044`: ``subprocess.Popen`` now copies the *startupinfo* argument " +"to leave it unchanged: it will modify the copy, so that the same " +"``STARTUPINFO`` object can be used multiple times." +msgstr "" + +#: build/NEWS:26998 +msgid "" +":issue:`34010`: Fixed a performance regression for reading streams with " +"tarfile. The buffered read should use a list, instead of appending to a " +"bytes object." +msgstr "" + +#: build/NEWS:27002 +msgid "" +":issue:`34019`: webbrowser: Correct the arguments passed to Opera Browser " +"when opening a new URL using the ``webbrowser`` module. Patch by Bumsik Kim." +msgstr "" + +#: build/NEWS:27005 +msgid "" +":issue:`34003`: csv.DictReader now creates dicts instead of OrderedDicts. " +"Patch by Michael Selik." +msgstr "" + +#: build/NEWS:27008 +msgid "" +":issue:`33978`: Closed existing logging handlers before reconfiguration via " +"fileConfig and dictConfig. Patch by Karthikeyan Singaravelan." +msgstr "" + +#: build/NEWS:27011 +msgid "" +":issue:`14117`: Make minor tweaks to turtledemo. The 'wikipedia' example is " +"now 'rosette', describing what it draws. The 'penrose' print output is " +"reduced. The'1024' output of 'tree' is eliminated." +msgstr "" + +#: build/NEWS:27015 +msgid "" +":issue:`33974`: Fixed passing lists and tuples of strings containing special " +"characters ``\"``, ``\\``, ``{``, ``}`` and ``\\n`` as options to :mod:" +"`~tkinter.ttk` widgets." +msgstr "" + +#: build/NEWS:27019 +msgid ":issue:`27500`: Fix getaddrinfo to resolve IPv6 addresses correctly." +msgstr "" + +#: build/NEWS:27021 +msgid "" +":issue:`24567`: Improve random.choices() to handle subnormal input weights " +"that could occasionally trigger an IndexError." +msgstr "" + +#: build/NEWS:27024 +msgid "" +":issue:`33871`: Fixed integer overflow in :func:`os.readv`, :func:`os." +"writev`, :func:`os.preadv` and :func:`os.pwritev` and in :func:`os.sendfile` " +"with *headers* or *trailers* arguments (on BSD-based OSes and macOS)." +msgstr "" + +#: build/NEWS:27028 +msgid "" +":issue:`25007`: Add :func:`copy.copy` and :func:`copy.deepcopy` support to " +"zlib compressors and decompressors. Patch by Zackery Spytz." +msgstr "" + +#: build/NEWS:27031 +msgid "" +":issue:`33929`: multiprocessing: Fix a race condition in Popen of " +"multiprocessing.popen_spawn_win32. The child process now duplicates the read " +"end of pipe instead of \"stealing\" it. Previously, the read end of pipe was " +"\"stolen\" by the child process, but it leaked a handle if the child process " +"had been terminated before it could steal the handle from the parent process." +msgstr "" + +#: build/NEWS:27038 +msgid "" +":issue:`33899`: Tokenize module now implicitly emits a NEWLINE when provided " +"with input that does not have a trailing new line. This behavior now " +"matches what the C tokenizer does internally. Contributed by Ammar Askar." +msgstr "" + +#: build/NEWS:27042 +msgid "" +":issue:`33897`: Added a 'force' keyword argument to logging.basicConfig()." +msgstr "" + +#: build/NEWS:27044 +msgid "" +":issue:`33695`: :func:`shutil.copytree` uses :func:`os.scandir` function and " +"all copy functions depending from it use cached :func:`os.stat` values. The " +"speedup for copying a directory with 8000 files is around +9% on Linux, +20% " +"on Windows and + 30% on a Windows SMB share. Also the number of :func:`os." +"stat` syscalls is reduced by 38% making :func:`shutil.copytree` especially " +"faster on network filesystems. (Contributed by Giampaolo Rodola' in :issue:" +"`33695`.)" +msgstr "" + +#: build/NEWS:27052 +msgid "" +":issue:`33916`: bz2 and lzma: When Decompressor.__init__() is called twice, " +"free the old lock to not leak memory." +msgstr "" + +#: build/NEWS:27055 +msgid "" +":issue:`32568`: Make select.epoll() and its documentation consistent " +"regarding *sizehint* and *flags*." +msgstr "" + +#: build/NEWS:27058 +msgid "" +":issue:`33833`: Fixed bug in asyncio where ProactorSocketTransport logs " +"AssertionError if force closed during write." +msgstr "" + +#: build/NEWS:27061 +msgid "" +":issue:`33663`: Convert content length to string before putting to header." +msgstr "" + +#: build/NEWS:27063 +msgid "" +":issue:`33721`: :mod:`os.path` functions that return a boolean result like :" +"func:`~os.path.exists`, :func:`~os.path.lexists`, :func:`~os.path.isdir`, :" +"func:`~os.path.isfile`, :func:`~os.path.islink`, and :func:`~os.path." +"ismount`, and :mod:`pathlib.Path` methods that return a boolean result like :" +"meth:`~pathlib.Path.exists`, :meth:`~pathlib.Path.is_dir`, :meth:`~pathlib." +"Path.is_file`, :meth:`~pathlib.Path.is_mount`, :meth:`~pathlib.Path." +"is_symlink`, :meth:`~pathlib.Path.is_block_device`, :meth:`~pathlib.Path." +"is_char_device`, :meth:`~pathlib.Path.is_fifo`, :meth:`~pathlib.Path." +"is_socket` now return ``False`` instead of raising :exc:`ValueError` or its " +"subclasses :exc:`UnicodeEncodeError` and :exc:`UnicodeDecodeError` for paths " +"that contain characters or bytes unrepresentable at the OS level." +msgstr "" + +#: build/NEWS:27077 +msgid "" +":issue:`26544`: Fixed implementation of :func:`platform.libc_ver`. It almost " +"always returned version '2.9' for glibc." +msgstr "" + +#: build/NEWS:27080 +msgid "" +":issue:`33843`: Remove deprecated ``cgi.escape``, ``cgi.parse_qs`` and ``cgi." +"parse_qsl``." +msgstr "" + +#: build/NEWS:27083 +msgid "" +":issue:`33842`: Remove ``tarfile.filemode`` which is deprecated since Python " +"3.3." +msgstr "" + +#: build/NEWS:33281 +msgid "" +":issue:`30167`: Prevent site.main() exception if PYTHONSTARTUP is set. Patch " +"by Steve Weber." +msgstr "" + +#: build/NEWS:27089 +msgid "" +":issue:`33805`: Improve error message of dataclasses.replace() when an " +"InitVar is not specified" +msgstr "" + +#: build/NEWS:27092 +msgid "" +":issue:`33687`: Fix the call to ``os.chmod()`` for ``uu.decode()`` if a mode " +"is given or decoded. Patch by Timo Furrer." +msgstr "" + +#: build/NEWS:33284 +msgid "" +":issue:`33812`: Datetime instance d with non-None tzinfo, but with d.tzinfo." +"utcoffset(d) returning None is now treated as naive by the astimezone() " +"method." +msgstr "" + +#: build/NEWS:27099 +msgid "" +":issue:`32108`: In configparser, don't clear section when it is assigned to " +"itself." +msgstr "" + +#: build/NEWS:27102 +msgid "" +":issue:`27397`: Make email module properly handle invalid-length base64 " +"strings." +msgstr "" + +#: build/NEWS:27105 +msgid ":issue:`33578`: Implement multibyte encoder/decoder state methods" +msgstr "" + +#: build/NEWS:33288 +msgid ":issue:`30805`: Avoid race condition with debug logging" +msgstr "" + +#: build/NEWS:27109 +msgid "" +":issue:`33476`: Fix _header_value_parser.py when address group is missing " +"final ';'. Contributed by Enrique Perez-Terron" +msgstr "" + +#: build/NEWS:28694 +msgid "" +":issue:`33694`: asyncio: Fix a race condition causing data loss on " +"pause_reading()/resume_reading() when using the ProactorEventLoop." +msgstr "" + +#: build/NEWS:28697 +msgid "" +":issue:`32493`: Correct test for ``uuid_enc_be`` availability in ``configure." +"ac``. Patch by Michael Felt." +msgstr "" + +#: build/NEWS:28700 +msgid "" +":issue:`33792`: Add asyncio.WindowsSelectorEventLoopPolicy and asyncio." +"WindowsProactorEventLoopPolicy." +msgstr "" + +#: build/NEWS:27121 +msgid "" +":issue:`33274`: W3C DOM Level 1 specifies return value of Element." +"removeAttributeNode() as \"The Attr node that was removed.\" xml.dom.minidom " +"now complies with this requirement." +msgstr "" + +#: build/NEWS:28703 +msgid "" +":issue:`33778`: Update ``unicodedata``'s database to Unicode version 11.0.0." +msgstr "" + +#: build/NEWS:27127 +msgid "" +":issue:`33165`: Added a stacklevel parameter to logging calls to allow use " +"of wrapper/helper functions for logging APIs." +msgstr "" + +#: build/NEWS:28705 +msgid "" +":issue:`33770`: improve base64 exception message for encoded inputs of " +"invalid length" +msgstr "" + +#: build/NEWS:28708 +msgid "" +":issue:`33769`: asyncio/start_tls: Fix error message; cancel callbacks in " +"case of an unhandled error; mark SSLTransport as closed if it is aborted." +msgstr "" + +#: build/NEWS:33290 +msgid "" +":issue:`33767`: The concatenation (``+``) and repetition (``*``) sequence " +"operations now raise :exc:`TypeError` instead of :exc:`SystemError` when " +"performed on :class:`mmap.mmap` objects. Patch by Zackery Spytz." +msgstr "" + +#: build/NEWS:28715 +msgid "" +":issue:`33734`: asyncio/ssl: Fix AttributeError, increase default handshake " +"timeout" +msgstr "" + +#: build/NEWS:27143 +msgid "" +":issue:`31014`: Fixed creating a controller for :mod:`webbrowser` when a " +"user specifies a path to an entry in the BROWSER environment variable. " +"Based on patch by John Still." +msgstr "" + +#: build/NEWS:27147 +msgid ":issue:`2504`: Add gettext.pgettext() and variants." +msgstr "" + +#: build/NEWS:27149 +msgid ":issue:`33197`: Add description property for _ParameterKind" +msgstr "" + +#: build/NEWS:28813 +msgid "" +":issue:`32751`: When cancelling the task due to a timeout, :meth:`asyncio." +"wait_for` will now wait until the cancellation is complete." +msgstr "" + +#: build/NEWS:33294 +msgid "" +":issue:`32684`: Fix gather to propagate cancellation of itself even with " +"return_exceptions." +msgstr "" + +#: build/NEWS:28819 +msgid "" +":issue:`33654`: Support protocol type switching in SSLTransport." +"set_protocol()." +msgstr "" + +#: build/NEWS:28821 +msgid "" +":issue:`33674`: Pause the transport as early as possible to further reduce " +"the risk of data_received() being called before connection_made()." +msgstr "" + +#: build/NEWS:27162 +msgid "" +":issue:`33671`: :func:`shutil.copyfile`, :func:`shutil.copy`, :func:`shutil." +"copy2`, :func:`shutil.copytree` and :func:`shutil.move` use platform-" +"specific fast-copy syscalls on Linux and macOS in order to copy the file " +"more efficiently. On Windows :func:`shutil.copyfile` uses a bigger default " +"buffer size (1 MiB instead of 16 KiB) and a :func:`memoryview`-based variant " +"of :func:`shutil.copyfileobj` is used. The speedup for copying a 512MiB file " +"is about +26% on Linux, +50% on macOS and +40% on Windows. Also, much less " +"CPU cycles are consumed. (Contributed by Giampaolo Rodola' in :issue:" +"`25427`.)" +msgstr "" + +#: build/NEWS:33297 +msgid "" +":issue:`33674`: Fix a race condition in SSLProtocol.connection_made() of " +"asyncio.sslproto: start immediately the handshake instead of using " +"call_soon(). Previously, data_received() could be called before the " +"handshake started, causing the handshake to hang or fail." +msgstr "" + +#: build/NEWS:33302 +msgid "" +":issue:`31647`: Fixed bug where calling write_eof() on a " +"_SelectorSocketTransport after it's already closed raises AttributeError." +msgstr "" + +#: build/NEWS:28832 +msgid ":issue:`32610`: Make asyncio.all_tasks() return only pending tasks." +msgstr "" + +#: build/NEWS:28834 +msgid ":issue:`32410`: Avoid blocking on file IO in sendfile fallback code" +msgstr "" + +#: build/NEWS:33307 +msgid "" +":issue:`33469`: Fix RuntimeError after closing loop that used run_in_executor" +msgstr "" + +#: build/NEWS:33305 +msgid ":issue:`33672`: Fix Task.__repr__ crash with Cython's bogus coroutines" +msgstr "" + +#: build/NEWS:28840 +msgid "" +":issue:`33654`: Fix transport.set_protocol() to support switching between " +"asyncio.Protocol and asyncio.BufferedProtocol. Fix loop.start_tls() to work " +"with asyncio.BufferedProtocols." +msgstr "" + +#: build/NEWS:28844 +msgid "" +":issue:`33652`: Pickles of type variables and subscripted generics are now " +"future-proof and compatible with older Python versions." +msgstr "" + +#: build/NEWS:28847 +msgid ":issue:`32493`: Fixed :func:`uuid.uuid1` on FreeBSD." +msgstr "" + +#: build/NEWS:27197 +msgid "" +":issue:`33238`: Add ``InvalidStateError`` to :mod:`concurrent.futures`. " +"``Future.set_result`` and ``Future.set_exception`` now raise " +"``InvalidStateError`` if the futures are not pending or running. Patch by " +"Jason Haydaman." +msgstr "" + +#: build/NEWS:28849 +msgid "" +":issue:`33618`: Finalize and document preliminary and experimental TLS 1.3 " +"support with OpenSSL 1.1.1" +msgstr "" + +#: build/NEWS:27205 +msgid "" +":issue:`33625`: Release GIL on ``grp.getgrnam``, ``grp.getgrgid``, ``pwd." +"getpwnam`` and ``pwd.getpwuid`` if reentrant variants of these functions are " +"available. Patch by William Grzybowski." +msgstr "" + +#: build/NEWS:28852 +msgid "" +":issue:`33623`: Fix possible SIGSGV when asyncio.Future is created in __del__" +msgstr "" + +#: build/NEWS:33309 +msgid "" +":issue:`11874`: Use a better regex when breaking usage into wrappable parts. " +"Avoids bogus assertion errors from custom metavar strings." +msgstr "" + +#: build/NEWS:33312 +msgid "" +":issue:`30877`: Fixed a bug in the Python implementation of the JSON decoder " +"that prevented the cache of parsed strings from clearing after finishing the " +"decoding. Based on patch by c-fos." +msgstr "" + +#: build/NEWS:27218 +msgid "" +":issue:`33604`: Remove HMAC default to md5 marked for removal in 3.8 " +"(removal originally planned in 3.6, bump to 3.8 in PR 7062)." +msgstr "" + +#: build/NEWS:28721 +msgid ":issue:`33582`: Emit a deprecation warning for inspect.formatargspec" +msgstr "" + +#: build/NEWS:27223 +msgid "" +":issue:`21145`: Add ``functools.cached_property`` decorator, for computed " +"properties cached for the life of the instance." +msgstr "" + +#: build/NEWS:28858 +msgid "" +":issue:`33570`: Change TLS 1.3 cipher suite settings for compatibility with " +"OpenSSL 1.1.1-pre6 and newer. OpenSSL 1.1.1 will have TLS 1.3 ciphers " +"enabled by default." +msgstr "" + +#: build/NEWS:28862 +msgid "" +":issue:`28556`: Do not simplify arguments to ``typing.Union``. Now " +"``Union[Manager, Employee]`` is not simplified to ``Employee`` at runtime. " +"Such simplification previously caused several bugs and limited possibilities " +"for introspection." +msgstr "" + +#: build/NEWS:27235 +msgid "" +":issue:`12486`: :func:`tokenize.generate_tokens` is now documented as a " +"public API to tokenize unicode strings. It was previously present but " +"undocumented." +msgstr "" + +#: build/NEWS:28867 +msgid "" +":issue:`33540`: Add a new ``block_on_close`` class attribute to " +"``ForkingMixIn`` and ``ThreadingMixIn`` classes of :mod:`socketserver`." +msgstr "" + +#: build/NEWS:33316 +msgid "" +":issue:`33548`: tempfile._candidate_tempdir_list should consider common TEMP " +"locations" +msgstr "" + +#: build/NEWS:28873 +msgid "" +":issue:`33109`: argparse subparsers are once again not required by default, " +"reverting the change in behavior introduced by :issue:`26510` in 3.7.0a2." +msgstr "" + +#: build/NEWS:27248 +msgid "" +":issue:`33541`: Remove unused private method ``_strptime.LocaleTime.__pad`` " +"(a.k.a. ``_LocaleTime__pad``)." +msgstr "" + +#: build/NEWS:28876 +msgid "" +":issue:`33536`: dataclasses.make_dataclass now checks for invalid field " +"names and duplicate fields. Also, added a check for invalid field " +"specifications." +msgstr "" + +#: build/NEWS:33319 +msgid "" +":issue:`33542`: Prevent ``uuid.get_node`` from using a DUID instead of a MAC " +"on Windows. Patch by Zvi Effron" +msgstr "" + +#: build/NEWS:33322 +msgid "" +":issue:`26819`: Fix race condition with ``ReadTransport.resume_reading`` in " +"Windows proactor event loop." +msgstr "" + +#: build/NEWS:28886 +msgid "" +"Fix failure in ``typing.get_type_hints()`` when ClassVar was provided as a " +"string forward reference." +msgstr "" + +#: build/NEWS:27264 +msgid "" +":issue:`33516`: :class:`unittest.mock.MagicMock` now supports the " +"``__round__`` magic method." +msgstr "" + +#: build/NEWS:27267 +msgid "" +":issue:`28612`: Added support for Site Maps to urllib's ``RobotFileParser`` " +"as :meth:`RobotFileParser.site_maps() <urllib.robotparser.RobotFileParser." +"site_maps>`. Patch by Lady Red, based on patch by Peter Wirtz." +msgstr "" + +#: build/NEWS:27272 +msgid "" +":issue:`28167`: Remove platform.linux_distribution, which was deprecated " +"since 3.5." +msgstr "" + +#: build/NEWS:27275 +msgid "" +":issue:`33504`: Switch the default dictionary implementation for :mod:" +"`configparser` from :class:`collections.OrderedDict` to the standard :class:" +"`dict` type." +msgstr "" + +#: build/NEWS:28889 +msgid "" +":issue:`33505`: Optimize asyncio.ensure_future() by reordering if checks: " +"1.17x faster." +msgstr "" + +#: build/NEWS:28892 +msgid "" +":issue:`33497`: Add errors param to cgi.parse_multipart and make an encoding " +"in FieldStorage use the given errors (needed for Twisted). Patch by Amber " +"Brown." +msgstr "" + +#: build/NEWS:27286 +msgid "" +":issue:`29235`: The :class:`cProfile.Profile` class can now be used as a " +"context manager. Patch by Scott Sanderson." +msgstr "" + +#: build/NEWS:28896 +msgid "" +":issue:`33495`: Change dataclasses.Fields repr to use the repr of each of " +"its members, instead of str. This makes it more clear what each field " +"actually represents. This is especially true for the 'type' member." +msgstr "" + +#: build/NEWS:27293 +msgid "" +":issue:`26103`: Correct ``inspect.isdatadescriptor`` to look for ``__set__`` " +"or ``__delete__``. Patch by Aaron Hall." +msgstr "" + +#: build/NEWS:27296 +msgid "" +":issue:`29209`: Removed the ``doctype()`` method and the *html* parameter of " +"the constructor of :class:`~xml.etree.ElementTree.XMLParser`. The " +"``doctype()`` method defined in a subclass will no longer be called. " +"Deprecated methods ``getchildren()`` and ``getiterator()`` in the :mod:`~xml." +"etree.ElementTree` module emit now a :exc:`DeprecationWarning` instead of :" +"exc:`PendingDeprecationWarning`." +msgstr "" + +#: build/NEWS:28900 +msgid "" +":issue:`33453`: Fix dataclasses to work if using literal string type " +"annotations or if using PEP 563 \"Postponed Evaluation of Annotations\". " +"Only specific string prefixes are detected for both ClassVar (\"ClassVar\" " +"and \"typing.ClassVar\") and InitVar (\"InitVar\" and \"dataclasses." +"InitVar\")." +msgstr "" + +#: build/NEWS:33325 +msgid "" +":issue:`28556`: Minor fixes in typing module: add annotations to " +"``NamedTuple.__new__``, pass ``*args`` and ``**kwds`` in ``Generic." +"__new__``. Original PRs by Paulius Šarka and Chad Dombrova." +msgstr "" + +#: build/NEWS:27312 +msgid "" +":issue:`33365`: Print the header values besides the header keys instead just " +"the header keys if *debuglevel* is set to >0 in :mod:`http.client`. Patch by " +"Marco Strigl." +msgstr "" + +#: build/NEWS:33329 +msgid "" +":issue:`20087`: Updated alias mapping with glibc 2.27 supported locales." +msgstr "" + +#: build/NEWS:33331 +msgid "" +":issue:`33422`: Fix trailing quotation marks getting deleted when looking up " +"byte/string literals on pydoc. Patch by Andrés Delfino." +msgstr "" + +#: build/NEWS:28914 +msgid "" +":issue:`28167`: The function ``platform.linux_distribution`` and ``platform." +"dist`` now trigger a ``DeprecationWarning`` and have been marked for removal " +"in Python 3.8" +msgstr "" + +#: build/NEWS:29021 +msgid ":issue:`33281`: Fix ctypes.util.find_library regression on macOS." +msgstr "" + +#: build/NEWS:27327 +msgid "" +":issue:`33311`: Text and html output generated by cgitb does not display " +"parentheses if the current call is done directly in the module. Patch by " +"Stéphane Blondon." +msgstr "" + +#: build/NEWS:27331 +msgid "" +":issue:`27300`: The file classes in *tempfile* now accept an *errors* " +"parameter that complements the already existing *encoding*. Patch by " +"Stephan Hohe." +msgstr "" + +#: build/NEWS:27334 +msgid "" +":issue:`32933`: :func:`unittest.mock.mock_open` now supports iteration over " +"the file contents. Patch by Tony Flury." +msgstr "" + +#: build/NEWS:27337 +msgid "" +":issue:`33217`: Raise :exc:`TypeError` when looking up non-Enum objects in " +"Enum classes and Enum members." +msgstr "" + +#: build/NEWS:33334 +msgid "" +":issue:`33197`: Update error message when constructing invalid inspect." +"Parameters Patch by Donghee Na." +msgstr "" + +#: build/NEWS:33337 +msgid "" +":issue:`33383`: Fixed crash in the get() method of the :mod:`dbm.ndbm` " +"database object when it is called with a single argument." +msgstr "" + +#: build/NEWS:27346 +msgid "" +":issue:`33375`: The warnings module now finds the Python file associated " +"with a warning from the code object, rather than the frame's global " +"namespace. This is consistent with how tracebacks and pdb find filenames, " +"and should work better for dynamically executed code." +msgstr "" + +#: build/NEWS:27351 +msgid "" +":issue:`33336`: ``imaplib`` now allows ``MOVE`` command in ``IMAP4.uid()`` " +"(RFC 6851: IMAP MOVE Extension) and potentially as a name of supported " +"method of ``IMAP4`` object." +msgstr "" + +#: build/NEWS:27355 +msgid ":issue:`32455`: Added *jump* parameter to :func:`dis.stack_effect`." +msgstr "" + +#: build/NEWS:27357 +msgid "" +":issue:`27485`: Rename and deprecate undocumented functions in :func:`urllib." +"parse`." +msgstr "" + +#: build/NEWS:27360 +msgid "" +":issue:`33332`: Add ``signal.valid_signals()`` to expose the POSIX " +"sigfillset() functionality." +msgstr "" + +#: build/NEWS:27363 +msgid "" +":issue:`33251`: ``ConfigParser.items()`` was fixed so that key-value pairs " +"passed in via :func:`vars` are not included in the resulting output." +msgstr "" + +#: build/NEWS:33340 +msgid ":issue:`33329`: Fix multiprocessing regression on newer glibcs" +msgstr "" + +#: build/NEWS:27368 +msgid "" +":issue:`33334`: :func:`dis.stack_effect` now supports all defined opcodes " +"including NOP and EXTENDED_ARG." +msgstr "" + +#: build/NEWS:33342 +msgid "" +":issue:`991266`: Fix quoting of the ``Comment`` attribute of :class:`http." +"cookies.SimpleCookie`." +msgstr "" + +#: build/NEWS:33345 +msgid ":issue:`33131`: Upgrade bundled version of pip to 10.0.1." +msgstr "" + +#: build/NEWS:33347 +msgid "" +":issue:`33308`: Fixed a crash in the :mod:`parser` module when converting an " +"ST object to a tree of tuples or lists with ``line_info=False`` and " +"``col_info=True``." +msgstr "" + +#: build/NEWS:27380 +msgid "" +":issue:`23403`: lib2to3 now uses pickle protocol 4 for pre-computed grammars." +msgstr "" + +#: build/NEWS:29037 +msgid ":issue:`33266`: lib2to3 now recognizes ``rf'...'`` strings." +msgstr "" + +#: build/NEWS:29039 +msgid ":issue:`11594`: Ensure line-endings are respected when using lib2to3." +msgstr "" + +#: build/NEWS:29041 +msgid "" +":issue:`33254`: Have :func:`importlib.resources.contents` and :meth:" +"`importlib.abc.ResourceReader.contents` return an :term:`iterable` instead " +"of an :term:`iterator`." +msgstr "" + +#: build/NEWS:27390 +msgid "" +":issue:`33265`: ``contextlib.ExitStack`` and ``contextlib.AsyncExitStack`` " +"now use a method instead of a wrapper function for exit callbacks." +msgstr "" + +#: build/NEWS:33351 +msgid "" +":issue:`33263`: Fix FD leak in ``_SelectorSocketTransport`` Patch by Vlad " +"Starostin." +msgstr "" + +#: build/NEWS:33354 +msgid "" +":issue:`33256`: Fix display of ``<module>`` call in the html produced by " +"``cgitb.html()``. Patch by Stéphane Blondon." +msgstr "" + +#: build/NEWS:27399 +msgid "" +":issue:`33144`: ``random.Random()`` and its subclassing mechanism got " +"optimized to check only once at class/subclass instantiation time whether " +"its ``getrandbits()`` method can be relied on by other methods, including " +"``randrange()``, for the generation of arbitrarily large random integers. " +"Patch by Wolfgang Maier." +msgstr "" + +#: build/NEWS:27405 +msgid "" +":issue:`33185`: Fixed regression when running pydoc with the :option:`-m` " +"switch. (The regression was introduced in 3.7.0b3 by the resolution of :" +"issue:`33053`)" +msgstr "" + +#: build/NEWS:27409 +msgid "" +"This fix also changed pydoc to add ``os.getcwd()`` to :data:`sys.path` when " +"necessary, rather than adding ``\".\"``." +msgstr "" + +#: build/NEWS:27412 +msgid "" +":issue:`29613`: Added support for the ``SameSite`` cookie flag to the ``http." +"cookies`` module." +msgstr "" + +#: build/NEWS:29053 +msgid "" +":issue:`33169`: Delete entries of ``None`` in :data:`sys." +"path_importer_cache` when :meth:`importlib.machinery.invalidate_caches` is " +"called." +msgstr "" + +#: build/NEWS:33357 +msgid "" +":issue:`33203`: ``random.Random.choice()`` now raises ``IndexError`` for " +"empty sequences consistently even when called from subclasses without a " +"``getrandbits()`` implementation." +msgstr "" + +#: build/NEWS:33361 +msgid "" +":issue:`33224`: Update difflib.mdiff() for :pep:`479`. Convert an uncaught " +"StopIteration in a generator into a return-statement." +msgstr "" + +#: build/NEWS:33364 +msgid "" +":issue:`33209`: End framing at the end of C implementation of :func:`pickle." +"Pickler.dump`." +msgstr "" + +#: build/NEWS:27428 +msgid "" +":issue:`32861`: The urllib.robotparser's ``__str__`` representation now " +"includes wildcard entries and the \"Crawl-delay\" and \"Request-rate\" " +"fields. Also removes extra newlines that were being appended to the end of " +"the string. Patch by Michael Lazar." +msgstr "" + +#: build/NEWS:27433 +msgid "" +":issue:`23403`: ``DEFAULT_PROTOCOL`` in :mod:`pickle` was bumped to 4. " +"Protocol 4 is described in :pep:`3154` and available since Python 3.4. It " +"offers better performance and smaller size compared to protocol 3 introduced " +"in Python 3.0." +msgstr "" + +#: build/NEWS:29069 +msgid "" +":issue:`20104`: Improved error handling and fixed a reference leak in :func:" +"`os.posix_spawn`." +msgstr "" + +#: build/NEWS:27441 +msgid "" +":issue:`33106`: Deleting a key from a read-only dbm database raises module " +"specific error instead of KeyError." +msgstr "" + +#: build/NEWS:29072 +msgid "" +":issue:`33175`: In dataclasses, Field.__set_name__ now looks up the " +"__set_name__ special method on the class, not the instance, of the default " +"value." +msgstr "" + +#: build/NEWS:27448 +msgid "" +":issue:`32380`: Create functools.singledispatchmethod to support generic " +"single dispatch on descriptors and methods." +msgstr "" + +#: build/NEWS:29212 +msgid "" +":issue:`33141`: Have Field objects pass through __set_name__ to their " +"default values, if they have their own __set_name__." +msgstr "" + +#: build/NEWS:33371 +msgid "" +":issue:`33096`: Allow ttk.Treeview.insert to insert iid that has a false " +"boolean value. Note iid=0 and iid=False would be same. Patch by Garvit " +"Khatri." +msgstr "" + +#: build/NEWS:29219 +msgid "" +":issue:`32873`: Treat type variables and special typing forms as immutable " +"by copy and pickle. This fixes several minor issues and inconsistencies, " +"and improves backwards compatibility with Python 3.6." +msgstr "" + +#: build/NEWS:29223 +msgid "" +":issue:`33134`: When computing dataclass's __hash__, use the lookup table to " +"contain the function which returns the __hash__ value. This is an " +"improvement over looking up a string, and then testing that string to see " +"what to do." +msgstr "" + +#: build/NEWS:33375 +msgid ":issue:`33127`: The ssl module now compiles with LibreSSL 2.7.1." +msgstr "" + +#: build/NEWS:29230 +msgid "" +":issue:`32505`: Raise TypeError if a member variable of a dataclass is of " +"type Field, but doesn't have a type annotation." +msgstr "" + +#: build/NEWS:29233 +msgid "" +":issue:`33078`: Fix the failure on OSX caused by the tests relying on " +"sem_getvalue" +msgstr "" + +#: build/NEWS:29236 +msgid ":issue:`33116`: Add 'Field' to dataclasses.__all__." +msgstr "" + +#: build/NEWS:29238 +msgid "" +":issue:`32896`: Fix an error where subclassing a dataclass with a field that " +"uses a default_factory would generate an incorrect class." +msgstr "" + +#: build/NEWS:29241 +msgid "" +":issue:`33100`: Dataclasses: If a field has a default value that's a " +"MemberDescriptorType, then it's from that field being in __slots__, not an " +"actual default value." +msgstr "" + +#: build/NEWS:29245 +msgid "" +":issue:`32953`: If a non-dataclass inherits from a frozen dataclass, allow " +"attributes to be added to the derived class. Only attributes from the " +"frozen dataclass cannot be assigned to. Require all dataclasses in a " +"hierarchy to be either all frozen or all non-frozen." +msgstr "" + +#: build/NEWS:29076 +msgid "" +":issue:`33097`: Raise RuntimeError when ``executor.submit`` is called during " +"interpreter shutdown." +msgstr "" + +#: build/NEWS:27492 +msgid "" +":issue:`32968`: Modulo and floor division involving Fraction and float " +"should return float." +msgstr "" + +#: build/NEWS:29250 +msgid ":issue:`33061`: Add missing ``NoReturn`` to ``__all__`` in typing.py" +msgstr "" + +#: build/NEWS:29252 +msgid "" +":issue:`33078`: Fix the size handling in multiprocessing.Queue when a " +"pickling error occurs." +msgstr "" + +#: build/NEWS:33627 +msgid "" +":issue:`33064`: lib2to3 now properly supports trailing commas after " +"``*args`` and ``**kwargs`` in function signatures." +msgstr "" + +#: build/NEWS:29258 +msgid "" +":issue:`33056`: FIX properly close leaking fds in concurrent.futures." +"ProcessPoolExecutor." +msgstr "" + +#: build/NEWS:33377 +msgid "" +":issue:`33021`: Release the GIL during fstat() calls, avoiding hang of all " +"threads when calling mmap.mmap(), os.urandom(), and random.seed(). Patch by " +"Nir Soffer." +msgstr "" + +#: build/NEWS:33630 +msgid "" +":issue:`31804`: Avoid failing in multiprocessing.Process if the standard " +"streams are closed or None at exit." +msgstr "" + +#: build/NEWS:27513 +msgid "" +":issue:`33034`: Providing an explicit error message when casting the port " +"property to anything that is not an integer value using ``urlparse()`` and " +"``urlsplit()``. Patch by Matt Eaton." +msgstr "" + +#: build/NEWS:27517 +msgid "" +":issue:`30249`: Improve struct.unpack_from() exception messages for problems " +"with the buffer size and offset." +msgstr "" + +#: build/NEWS:33633 +msgid "" +":issue:`33037`: Skip sending/receiving data after SSL transport closing." +msgstr "" + +#: build/NEWS:33381 +msgid "" +":issue:`27683`: Fix a regression in :mod:`ipaddress` that result of :meth:" +"`hosts` is empty when the network is constructed by a tuple containing an " +"integer mask and only 1 bit left for addresses." +msgstr "" + +#: build/NEWS:27526 +msgid "" +":issue:`22674`: Add the strsignal() function in the signal module that " +"returns the system description of the given signal, as returned by " +"strsignal(3)." +msgstr "" + +#: build/NEWS:29274 +msgid "" +":issue:`32999`: Fix C implementation of ``ABC.__subclasscheck__(cls, " +"subclass)`` crashed when ``subclass`` is not a type object." +msgstr "" + +#: build/NEWS:33637 +msgid "" +":issue:`33009`: Fix inspect.signature() for single-parameter partialmethods." +msgstr "" + +#: build/NEWS:33639 +msgid "" +":issue:`32969`: Expose several missing constants in zlib and fix " +"corresponding documentation." +msgstr "" + +#: build/NEWS:29282 +msgid "" +":issue:`32056`: Improved exceptions raised for invalid number of channels " +"and sample width when read an audio file in modules :mod:`aifc`, :mod:`wave` " +"and :mod:`sunau`." +msgstr "" + +#: build/NEWS:27541 +msgid ":issue:`32970`: Improved disassembly of the MAKE_FUNCTION instruction." +msgstr "" + +#: build/NEWS:33385 +msgid "" +":issue:`32844`: Fix wrong redirection of a low descriptor (0 or 1) to stderr " +"in subprocess if another low descriptor is closed." +msgstr "" + +#: build/NEWS:29417 +msgid "" +":issue:`32960`: For dataclasses, disallow inheriting frozen from non-frozen " +"classes, and also disallow inheriting non-frozen from frozen classes. This " +"restriction will be relaxed at a future date." +msgstr "" + +#: build/NEWS:33642 +msgid "" +":issue:`32713`: Fixed tarfile.itn handling of out-of-bounds float values. " +"Patch by Joffrey Fuhrer." +msgstr "" + +#: build/NEWS:28928 +msgid "" +":issue:`32257`: The ssl module now contains OP_NO_RENEGOTIATION constant, " +"available with OpenSSL 1.1.0h or 1.1.1." +msgstr "" + +#: build/NEWS:29424 +msgid "" +":issue:`32951`: Direct instantiation of SSLSocket and SSLObject objects is " +"now prohibited. The constructors were never documented, tested, or designed " +"as public constructors. Users were suppose to use ssl.wrap_socket() or " +"SSLContext." +msgstr "" + +#: build/NEWS:29429 +msgid "" +":issue:`32929`: Remove the tri-state parameter \"hash\", and add the boolean " +"\"unsafe_hash\". If unsafe_hash is True, add a __hash__ function, but if a " +"__hash__ exists, raise TypeError. If unsafe_hash is False, add a __hash__ " +"based on the values of eq= and frozen=. The unsafe_hash=False behavior is " +"the same as the old hash=None behavior. unsafe_hash=False is the default, " +"just as hash=None used to be." +msgstr "" + +#: build/NEWS:29436 +msgid "" +":issue:`32947`: Add OP_ENABLE_MIDDLEBOX_COMPAT and test workaround for " +"TLSv1.3 for future compatibility with OpenSSL 1.1.1." +msgstr "" + +#: build/NEWS:27571 +msgid "" +":issue:`32146`: Document the interaction between frozen executables and the " +"spawn and forkserver start methods in multiprocessing." +msgstr "" + +#: build/NEWS:33645 +msgid "" +":issue:`30622`: The ssl module now detects missing NPN support in LibreSSL." +msgstr "" + +#: build/NEWS:33647 +msgid "" +":issue:`32922`: dbm.open() now encodes filename with the filesystem encoding " +"rather than default encoding." +msgstr "" + +#: build/NEWS:27579 +msgid ":issue:`32759`: Free unused arenas in multiprocessing.heap." +msgstr "" + +#: build/NEWS:33650 +msgid "" +":issue:`32859`: In ``os.dup2``, don't check every call whether the ``dup3`` " +"syscall exists or not." +msgstr "" + +#: build/NEWS:29447 +msgid "" +":issue:`32556`: nt._getfinalpathname, nt._getvolumepathname and nt." +"_getdiskusage now correctly convert from bytes." +msgstr "" + +#: build/NEWS:33653 +msgid "" +":issue:`21060`: Rewrite confusing message from setup.py upload from \"No " +"dist file created in earlier command\" to the more helpful \"Must create and " +"upload files in one command\"." +msgstr "" + +#: build/NEWS:33657 +msgid "" +":issue:`32857`: In :mod:`tkinter`, ``after_cancel(None)`` now raises a :exc:" +"`ValueError` instead of canceling the first scheduled function. Patch by " +"Cheryl Sabella." +msgstr "" + +#: build/NEWS:33661 +msgid "" +":issue:`32852`: Make sure sys.argv remains as a list when running trace." +msgstr "" + +#: build/NEWS:27597 +msgid "" +":issue:`31333`: ``_abc`` module is added. It is a speedup module with C " +"implementations for various functions and methods in ``abc``. Creating an " +"ABC subclass and calling ``isinstance`` or ``issubclass`` with an ABC " +"subclass are up to 1.5x faster. In addition, this makes Python start-up up " +"to 10% faster." +msgstr "" + +#: build/NEWS:27603 +msgid "" +"Note that the new implementation hides internal registry and caches, " +"previously accessible via private attributes ``_abc_registry``, " +"``_abc_cache``, and ``_abc_negative_cache``. There are three debugging " +"helper methods that can be used instead ``_dump_registry``, " +"``_abc_registry_clear``, and ``_abc_caches_clear``." +msgstr "" + +#: build/NEWS:33663 +msgid "" +":issue:`32841`: Fixed ``asyncio.Condition`` issue which silently ignored " +"cancellation after notifying and cancelling a conditional lock. Patch by Bar " +"Harel." +msgstr "" + +#: build/NEWS:29473 +msgid "" +":issue:`32819`: ssl.match_hostname() has been simplified and no longer " +"depends on re and ipaddress module for wildcard and IP addresses. Error " +"reporting for invalid wildcards has been improved." +msgstr "" + +#: build/NEWS:27617 +msgid "" +":issue:`19675`: ``multiprocessing.Pool`` no longer leaks processes if its " +"initialization fails." +msgstr "" + +#: build/NEWS:29477 +msgid "" +":issue:`32394`: socket: Remove TCP_FASTOPEN,TCP_KEEPCNT,TCP_KEEPIDLE," +"TCP_KEEPINTVL flags on older version Windows during run-time." +msgstr "" + +#: build/NEWS:33667 +msgid "" +":issue:`31787`: Fixed refleaks of ``__init__()`` methods in various modules. " +"(Contributed by Oren Milman)" +msgstr "" + +#: build/NEWS:33670 +msgid "" +":issue:`30157`: Fixed guessing quote and delimiter in csv.Sniffer.sniff() " +"when only the last field is quoted. Patch by Jake Davis." +msgstr "" + +#: build/NEWS:27630 +msgid "" +":issue:`30688`: Added support of ``\\N{name}`` escapes in regular " +"expressions. Based on patch by Jonathan Eunice." +msgstr "" + +#: build/NEWS:29487 +msgid "" +":issue:`32792`: collections.ChainMap() preserves the order of the underlying " +"mappings." +msgstr "" + +#: build/NEWS:29490 +msgid "" +":issue:`32775`: :func:`fnmatch.translate` no longer produces patterns which " +"contain set operations. Sets starting with '[' or containing '--', '&&', " +"'~~' or '||' will be interpreted differently in regular expressions in " +"future versions. Currently they emit warnings. fnmatch.translate() now " +"avoids producing patterns containing such sets by accident." +msgstr "" + +#: build/NEWS:29496 +msgid "" +":issue:`32622`: Implement native fast sendfile for Windows proactor event " +"loop." +msgstr "" + +#: build/NEWS:33676 +msgid "" +":issue:`32777`: Fix a rare but potential pre-exec child process deadlock in " +"subprocess on POSIX systems when marking file descriptors inheritable on " +"exec in the child process. This bug appears to have been introduced in 3.4." +msgstr "" + +#: build/NEWS:33681 +msgid "" +":issue:`32647`: The ctypes module used to depend on indirect linking for " +"dlopen. The shared extension is now explicitly linked against libdl on " +"platforms with dl." +msgstr "" + +#: build/NEWS:27653 +msgid "" +":issue:`32749`: A :mod:`dbm.dumb` database opened with flags 'r' is now read-" +"only. :func:`dbm.dumb.open` with flags 'r' and 'w' no longer creates a " +"database if it does not exist." +msgstr "" + +#: build/NEWS:29507 +msgid ":issue:`32741`: Implement ``asyncio.TimerHandle.when()`` method." +msgstr "" + +#: build/NEWS:29509 +msgid ":issue:`32691`: Use mod_spec.parent when running modules with pdb" +msgstr "" + +#: build/NEWS:33685 +msgid "" +":issue:`32734`: Fixed ``asyncio.Lock()`` safety issue which allowed " +"acquiring and locking the same lock multiple times, without it being free. " +"Patch by Bar Harel." +msgstr "" + +#: build/NEWS:33689 +msgid "" +":issue:`32727`: Do not include name field in SMTP envelope from address. " +"Patch by Stéphane Wirtel" +msgstr "" + +#: build/NEWS:29518 +msgid "" +":issue:`31453`: Add TLSVersion constants and SSLContext.maximum_version / " +"minimum_version attributes. The new API wraps OpenSSL 1.1 https://web." +"archive.org/web/20180309043602/https://www.openssl.org/docs/man1.1.0/ssl/" +"SSL_CTX_set_min_proto_version.html feature." +msgstr "" + +#: build/NEWS:29523 +msgid "" +":issue:`24334`: Internal implementation details of ssl module were cleaned " +"up. The SSLSocket has one less layer of indirection. Owner and session " +"information are now handled by the SSLSocket and SSLObject constructor. " +"Channel binding implementation has been simplified." +msgstr "" + +#: build/NEWS:33702 +msgid "" +":issue:`31848`: Fix the error handling in Aifc_read.initfp() when the SSND " +"chunk is not found. Patch by Zackery Spytz." +msgstr "" + +#: build/NEWS:29531 +msgid "" +":issue:`32585`: Add Ttk spinbox widget to :mod:`tkinter.ttk`. Patch by Alan " +"D Moore." +msgstr "" + +#: build/NEWS:27684 +msgid "" +":issue:`32512`: :mod:`profile` CLI accepts ``-m module_name`` as an " +"alternative to script path." +msgstr "" + +#: build/NEWS:27687 +msgid "" +":issue:`8525`: help() on a type now displays builtin subclasses. This is " +"intended primarily to help with notification of more specific exception " +"subclasses." +msgstr "" + +#: build/NEWS:27691 +msgid "Patch by Sanyam Khurana." +msgstr "" + +#: build/NEWS:27693 +msgid "" +":issue:`31639`: http.server now exposes a ThreadingHTTPServer class and uses " +"it when the module is run with ``-m`` to cope with web browsers pre-opening " +"sockets." +msgstr "" + +#: build/NEWS:27697 +msgid "" +":issue:`29877`: compileall: import ProcessPoolExecutor only when needed, " +"preventing hangs on low resource platforms" +msgstr "" + +#: build/NEWS:29534 +msgid "" +":issue:`32221`: Various functions returning tuple containing IPv6 addresses " +"now omit ``%scope`` part since the same information is already encoded in " +"*scopeid* tuple item. Especially this speeds up :func:`socket.recvfrom` when " +"it receives multicast packet since useless resolving of network interface " +"name is omitted." +msgstr "" + +#: build/NEWS:27706 +msgid "" +":issue:`32147`: :func:`binascii.unhexlify` is now up to 2 times faster. " +"Patch by Sergey Fedoseev." +msgstr "" + +#: build/NEWS:29540 +msgid "" +":issue:`30693`: The TarFile class now recurses directories in a reproducible " +"way." +msgstr "" + +#: build/NEWS:29543 +msgid "" +":issue:`30693`: The ZipFile class now recurses directories in a reproducible " +"way." +msgstr "" + +#: build/NEWS:27715 +msgid ":issue:`31680`: Added :data:`curses.ncurses_version`." +msgstr "" + +#: build/NEWS:33388 +msgid "" +":issue:`31908`: Fix output of cover files for ``trace`` module command-line " +"tool. Previously emitted cover files only when ``--missing`` option was " +"used. Patch by Michael Selik." +msgstr "" + +#: build/NEWS:27721 +msgid "" +":issue:`31608`: Raise a ``TypeError`` instead of crashing if a ``collections." +"deque`` subclass returns a non-deque from ``__new__``. Patch by Oren Milman." +msgstr "" + +#: build/NEWS:27725 +msgid "" +":issue:`31425`: Add support for sockets of the AF_QIPCRTR address family, " +"supported by the Linux kernel. This is used to communicate with services, " +"such as GPS or radio, running on Qualcomm devices. Patch by Bjorn Andersson." +msgstr "" + +#: build/NEWS:27730 +msgid "" +":issue:`22005`: Implemented unpickling instances of :class:`~datetime." +"datetime`, :class:`~datetime.date` and :class:`~datetime.time` pickled by " +"Python 2. ``encoding='latin1'`` should be used for successful decoding." +msgstr "" + +#: build/NEWS:29297 +msgid "" +":issue:`27645`: :class:`sqlite3.Connection` now exposes a :class:`~sqlite3." +"Connection.backup` method, if the underlying SQLite library is at version " +"3.6.11 or higher. Patch by Lele Gaifax." +msgstr "" + +#: build/NEWS:33395 +msgid "" +":issue:`16865`: Support arrays >=2GiB in :mod:`ctypes`. Patch by Segev " +"Finer." +msgstr "" + +#: build/NEWS:27741 +msgid "" +":issue:`31508`: Removed support of arguments in ``tkinter.ttk.Treeview." +"selection``. It was deprecated in 3.6. Use specialized methods like " +"``selection_set`` for changing the selection." +msgstr "" + +#: build/NEWS:27745 +msgid "" +":issue:`29456`: Fix bugs in hangul normalization: u1176, u11a7 and u11c3" +msgstr "" + +#: build/NEWS:27750 +msgid ":issue:`21257`: Document :func:`http.client.parse_headers`." +msgstr "" + +#: build/NEWS:27752 +msgid ":issue:`34764`: Improve example of iter() with 2nd sentinel argument." +msgstr "" + +#: build/NEWS:27754 +msgid "" +":issue:`35564`: Explicitly set master_doc variable in conf.py for compliance " +"with Sphinx 2.0" +msgstr "" + +#: build/NEWS:27757 +msgid "" +":issue:`35511`: Specified that profile.Profile class doesn't not support " +"enable or disable methods. Also, elaborated that Profile object as a context " +"manager is only supported in cProfile module." +msgstr "" + +#: build/NEWS:27761 +msgid ":issue:`10536`: Enhance the gettext docs. Patch by Éric Araujo" +msgstr "" + +#: build/NEWS:27763 +msgid "" +":issue:`35089`: Remove mention of ``typing.io`` and ``typing.re``. Their " +"types should be imported from ``typing`` directly." +msgstr "" + +#: build/NEWS:27766 +msgid "" +":issue:`35038`: Fix the documentation about an unexisting ``f_restricted`` " +"attribute in the frame object. Patch by Stéphane Wirtel" +msgstr "" + +#: build/NEWS:27769 +msgid "" +":issue:`35042`: Replace PEP XYZ by the pep role and allow to use the direct " +"links to the PEPs." +msgstr "" + +#: build/NEWS:27772 +msgid "" +":issue:`35044`: Fix the documentation with the role ``exc`` for the " +"appropriated exception. Patch by Stéphane Wirtel" +msgstr "" + +#: build/NEWS:27775 +msgid "" +":issue:`35035`: Rename documentation for :mod:`email.utils` to ``email.utils." +"rst``." +msgstr "" + +#: build/NEWS:27778 +msgid "" +":issue:`34967`: Use app.add_object_type() instead of the deprecated Sphinx " +"function app.description_unit()" +msgstr "" + +#: build/NEWS:27781 +msgid "" +":issue:`34913`: Add documentation about the new command line interface of " +"the gzip module." +msgstr "" + +#: build/NEWS:27784 +msgid "" +":issue:`32174`: chm document displays non-ASCII characters properly on some " +"MBCS Windows systems." +msgstr "" + +#: build/NEWS:27787 +msgid "" +":issue:`11233`: Create availability directive for documentation. Original " +"patch by Georg Brandl." +msgstr "" + +#: build/NEWS:27790 +msgid "" +":issue:`34790`: Document how passing coroutines to asyncio.wait() can be " +"confusing." +msgstr "" + +#: build/NEWS:27793 +msgid "" +":issue:`34552`: Make clear that ``==`` operator sometimes is equivalent to " +"``is``. The ``<``, ``<=``, ``>`` and ``>=`` operators are only defined where " +"they make sense." +msgstr "" + +#: build/NEWS:27797 +msgid "" +":issue:`28617`: Fixed info in the stdtypes docs concerning the types that " +"support membership tests." +msgstr "" + +#: build/NEWS:27800 +msgid "" +":issue:`20177`: Migrate datetime.date.fromtimestamp to Argument Clinic. " +"Patch by Tim Hoffmann." +msgstr "" + +#: build/NEWS:27803 +msgid "" +":issue:`34065`: Fix wrongly written basicConfig documentation markup syntax" +msgstr "" + +#: build/NEWS:27805 +msgid "" +":issue:`33460`: replaced ellipsis with correct error codes in tutorial " +"chapter 3." +msgstr "" + +#: build/NEWS:27808 +msgid ":issue:`33847`: Add '@' operator entry to index." +msgstr "" + +#: build/NEWS:28726 +msgid "" +":issue:`33409`: Clarified the relationship between :pep:`538`'s " +"PYTHONCOERCECLOCALE and PEP 540's PYTHONUTF8 mode." +msgstr "" + +#: build/NEWS:27813 +msgid "" +":issue:`33197`: Add versionadded tag to the documentation of ParameterKind." +"description" +msgstr "" + +#: build/NEWS:27816 +msgid "" +":issue:`17045`: Improve the C-API doc for PyTypeObject. This includes " +"adding several quick-reference tables and a lot of missing slot/typedef " +"entries. The existing entries were also cleaned up with a slightly more " +"consistent format." +msgstr "" + +#: build/NEWS:28729 +msgid "" +":issue:`33736`: Improve the documentation of :func:`asyncio." +"open_connection`, :func:`asyncio.start_server` and their UNIX socket " +"counterparts." +msgstr "" + +#: build/NEWS:28936 +msgid "" +":issue:`23859`: Document that ``asyncio.wait()`` does not cancel its futures " +"on timeout." +msgstr "" + +#: build/NEWS:28939 +msgid ":issue:`32436`: Document :pep:`567` changes to asyncio." +msgstr "" + +#: build/NEWS:28941 +msgid "" +":issue:`33604`: Update HMAC md5 default to a DeprecationWarning, bump " +"removal to 3.8." +msgstr "" + +#: build/NEWS:27832 +msgid "" +":issue:`33594`: Document ``getargspec``, ``from_function`` and " +"``from_builtin`` as deprecated in their respective docstring, and include " +"version since deprecation in DeprecationWarning message." +msgstr "" + +#: build/NEWS:33404 +msgid ":issue:`33503`: Fix broken pypi link" +msgstr "" + +#: build/NEWS:33406 +msgid "" +":issue:`33421`: Add missing documentation for ``typing.AsyncContextManager``." +msgstr "" + +#: build/NEWS:27840 +msgid "" +":issue:`33487`: BZ2file now emit a DeprecationWarning when buffering=None is " +"passed, the deprecation message and documentation also now explicitly state " +"it is deprecated since 3.0." +msgstr "" + +#: build/NEWS:33408 +msgid "" +":issue:`33378`: Add Korean language switcher for https://docs.python.org/3/" +msgstr "" + +#: build/NEWS:33410 +msgid "" +":issue:`33276`: Clarify that the ``__path__`` attribute on modules cannot be " +"just any value." +msgstr "" + +#: build/NEWS:33413 +msgid ":issue:`33201`: Modernize documentation for writing C extension types." +msgstr "" + +#: build/NEWS:33415 +msgid "" +":issue:`33195`: Deprecate ``Py_UNICODE`` usage in ``c-api/arg`` document. " +"``Py_UNICODE`` related APIs are deprecated since Python 3.3, but it is " +"missed in the document." +msgstr "" + +#: build/NEWS:33419 +msgid ":issue:`33126`: Document PyBuffer_ToContiguous()." +msgstr "" + +#: build/NEWS:33421 +msgid "" +":issue:`27212`: Modify documentation for the :func:`islice` recipe to " +"consume initial values up to the start index." +msgstr "" + +#: build/NEWS:33424 +msgid "" +":issue:`28247`: Update :mod:`zipapp` documentation to describe how to make " +"standalone applications." +msgstr "" + +#: build/NEWS:33427 +msgid "" +":issue:`18802`: Documentation changes for ipaddress. Patch by Jon Foster " +"and Berker Peksag." +msgstr "" + +#: build/NEWS:33430 +msgid "" +":issue:`27428`: Update documentation to clarify that " +"``WindowsRegistryFinder`` implements ``MetaPathFinder``. (Patch by Himanshu " +"Lakhara)" +msgstr "" + +#: build/NEWS:29549 +msgid "" +":issue:`28124`: The ssl module function ssl.wrap_socket() has been de-" +"emphasized and deprecated in favor of the more secure and efficient " +"SSLContext.wrap_socket() method." +msgstr "" + +#: build/NEWS:33760 +msgid ":issue:`17232`: Clarify docs for -O and -OO. Patch by Terry Reedy." +msgstr "" + +#: build/NEWS:29555 +msgid ":issue:`32436`: Add documentation for the contextvars module (PEP 567)." +msgstr "" + +#: build/NEWS:33762 +msgid ":issue:`32800`: Update link to w3c doc for xml default namespaces." +msgstr "" + +#: build/NEWS:29559 +msgid ":issue:`11015`: Update :mod:`test.support` documentation." +msgstr "" + +#: build/NEWS:27881 +msgid "" +":issue:`32613`: Update the faq/windows.html to use the py command from PEP " +"397 instead of python." +msgstr "" + +#: build/NEWS:33764 +msgid "" +":issue:`8722`: Document :meth:`__getattr__` behavior when property :meth:" +"`get` method raises :exc:`AttributeError`." +msgstr "" + +#: build/NEWS:33767 +msgid "" +":issue:`32614`: Modify RE examples in documentation to use raw strings to " +"prevent :exc:`DeprecationWarning` and add text to REGEX HOWTO to highlight " +"the deprecation." +msgstr "" + +#: build/NEWS:27891 +msgid "" +":issue:`20709`: Remove the paragraph where we explain that os.utime() does " +"not support a directory as path under Windows. Patch by Jan-Philip Gehrcke" +msgstr "" + +#: build/NEWS:27894 +msgid "" +":issue:`32722`: Remove the bad example in the tutorial of the Generator " +"Expression. Patch by Stéphane Wirtel" +msgstr "" + +#: build/NEWS:33771 +msgid ":issue:`31972`: Improve docstrings for ``pathlib.PurePath`` subclasses." +msgstr "" + +#: build/NEWS:27899 +msgid "" +":issue:`30607`: Use the externalized ``python-docs-theme`` package when " +"building the documentation." +msgstr "" + +#: build/NEWS:33433 +msgid "" +":issue:`8243`: Add a note about curses.addch and curses.addstr exception " +"behavior when writing outside a window, or pad." +msgstr "" + +#: build/NEWS:29100 +msgid ":issue:`32337`: Update documentation related with ``dict`` order." +msgstr "" + +#: build/NEWS:27907 +msgid ":issue:`25041`: Document ``AF_PACKET`` in the :mod:`socket` module." +msgstr "" + +#: build/NEWS:33436 +msgid "" +":issue:`31432`: Clarify meaning of CERT_NONE, CERT_OPTIONAL, and " +"CERT_REQUIRED flags for ssl.SSLContext.verify_mode." +msgstr "" + +#: build/NEWS:27915 +msgid "" +":issue:`35772`: Fix sparse file tests of test_tarfile on ppc64 with the " +"tmpfs filesystem. Fix the function testing if the filesystem supports sparse " +"files: create a file which contains data and \"holes\", instead of creating " +"a file which contains no data. tmpfs effective block size is a page size " +"(tmpfs lives in the page cache). RHEL uses 64 KiB pages on aarch64, ppc64, " +"ppc64le, only s390x and x86_64 use 4 KiB pages, whereas the test punch holes " +"of 4 KiB." +msgstr "" + +#: build/NEWS:27923 +msgid "" +":issue:`35045`: Make ssl tests less strict and also accept TLSv1 as system " +"default. The changes unbreaks test_min_max_version on Fedora 29." +msgstr "" + +#: build/NEWS:27926 +msgid "" +":issue:`32710`: ``test_asyncio/test_sendfile.py`` now resets the event loop " +"policy using :func:`tearDownModule` as done in other tests, to prevent a " +"warning when running tests on Windows." +msgstr "" + +#: build/NEWS:27930 +msgid "" +":issue:`33717`: test.pythoninfo now logs information of all clocks, not only " +"time.time() and time.perf_counter()." +msgstr "" + +#: build/NEWS:27933 +msgid "" +":issue:`35488`: Add a test to pathlib's Path.match() to verify it does not " +"support glob-style ** recursive pattern matching." +msgstr "" + +#: build/NEWS:27936 +msgid "" +":issue:`31731`: Fix a race condition in ``check_interrupted_write()`` of " +"test_io: create directly the thread with SIGALRM signal blocked, rather than " +"blocking the signal later from the thread. Previously, it was possible that " +"the thread gets the signal before the signal is blocked." +msgstr "" + +#: build/NEWS:27941 +msgid "" +":issue:`35424`: Fix test_multiprocessing_main_handling: use :class:" +"`multiprocessing.Pool` with a context manager and then explicitly join the " +"pool." +msgstr "" + +#: build/NEWS:27945 +msgid "" +":issue:`35519`: Rename :mod:`test.bisect` module to :mod:`test.bisect_cmd` " +"to avoid conflict with :mod:`bisect` module when running directly a test " +"like ``./python Lib/test/test_xmlrpc.py``." +msgstr "" + +#: build/NEWS:27949 +msgid "" +":issue:`35513`: Replace :func:`time.time` with :func:`time.monotonic` in " +"tests to measure time delta." +msgstr "" + +#: build/NEWS:27952 +msgid "" +":issue:`34279`: :func:`test.support.run_unittest` no longer raise :exc:" +"`TestDidNotRun` if the test result contains skipped tests. The exception is " +"now only raised if no test have been run and no test have been skipped." +msgstr "" + +#: build/NEWS:27957 +msgid "" +":issue:`35412`: Add testcase to ``test_future4``: check unicode literal." +msgstr "" + +#: build/NEWS:27959 +msgid "" +":issue:`26704`: Added test demonstrating double-patching of an instance " +"method. Patch by Anthony Sottile." +msgstr "" + +#: build/NEWS:27962 +msgid "" +":issue:`33725`: test_multiprocessing_fork may crash on recent versions of " +"macOS. Until the issue is resolved, skip the test on macOS." +msgstr "" + +#: build/NEWS:27965 +msgid "" +":issue:`35352`: Modify test_asyncio to use the certificate set from the test " +"directory." +msgstr "" + +#: build/NEWS:27968 +msgid "" +":issue:`35317`: Fix ``mktime()`` overflow error in ``test_email``: run " +"``test_localtime_daylight_true_dst_true()`` and " +"``test_localtime_daylight_false_dst_true()`` with a specific timezone." +msgstr "" + +#: build/NEWS:27972 +msgid "" +":issue:`21263`: After several reports that test_gdb does not work properly " +"on macOS and since gdb is not shipped by default anymore, test_gdb is now " +"skipped on macOS when LLVM Clang has been used to compile Python. Patch by " +"Lysandros Nikolaou" +msgstr "" + +#: build/NEWS:27977 +msgid "" +":issue:`34279`: regrtest issue a warning when no tests have been executed in " +"a particular test file. Also, a new final result state is issued if no test " +"have been executed across all test files. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:27981 +msgid ":issue:`34962`: make docstest in Doc now passes., and is enforced in CI" +msgstr "" + +#: build/NEWS:27983 +msgid "" +":issue:`23596`: Use argparse for the command line of the gzip module. Patch " +"by Antony Lee" +msgstr "" + +#: build/NEWS:27986 +msgid "" +":issue:`34537`: Fix ``test_gdb.test_strings()`` when ``LC_ALL=C`` and GDB " +"was compiled with Python 3.6 or earlier." +msgstr "" + +#: build/NEWS:27989 +msgid "" +":issue:`34587`: test_socket: Remove RDSTest.testCongestion(). The test tries " +"to fill the receiver's socket buffer and expects an error. But the RDS " +"protocol doesn't require that. Moreover, the Linux implementation of RDS " +"expects that the producer of the messages reduces its rate, it's not the " +"role of the receiver to trigger an error. The test fails on Fedora 28 by " +"design, so just remove it." +msgstr "" + +#: build/NEWS:27996 +msgid ":issue:`34661`: Fix test_shutil if unzip doesn't support -t." +msgstr "" + +#: build/NEWS:27998 +msgid "" +":issue:`34200`: Fixed non-deterministic flakiness of test_pkg by not using " +"the scary test.support.module_cleanup() logic to save and restore sys." +"modules contents between test cases." +msgstr "" + +#: build/NEWS:28002 +msgid "" +":issue:`34569`: The experimental PEP 554 data channels now correctly pass " +"negative PyLong objects between subinterpreters on 32-bit systems. Patch by " +"Michael Felt." +msgstr "" + +#: build/NEWS:28006 +msgid ":issue:`34594`: Fix usage of hardcoded ``errno`` values in the tests." +msgstr "" + +#: build/NEWS:28008 +msgid ":issue:`34579`: Fix test_embed for AIX Patch by Michael Felt" +msgstr "" + +#: build/NEWS:28010 +msgid "" +":issue:`34542`: Use 3072 RSA keys and SHA-256 signature for test certs and " +"keys." +msgstr "" + +#: build/NEWS:28013 +msgid "" +":issue:`11193`: Remove special condition for AIX in ``test_subprocess." +"test_undecodable_env``" +msgstr "" + +#: build/NEWS:28016 +msgid ":issue:`34347`: Fix ``test_utf8_mode.test_cmd_line`` for AIX" +msgstr "" + +#: build/NEWS:28018 +msgid "" +":issue:`34490`: On AIX with AF_UNIX family sockets getsockname() does not " +"provide 'sockname', so skip calls to transport.get_extra_info('sockname')" +msgstr "" + +#: build/NEWS:28021 +msgid "" +":issue:`34391`: Fix ftplib test for TLS 1.3 by reading from data socket." +msgstr "" + +#: build/NEWS:28023 +msgid "" +":issue:`11192`: Fix ``test_socket`` on AIX 6.1 and later IPv6 zone id " +"supports only supported by ``inet_pton6_zone()``. Switch to runtime-based " +"``platform.system()`` to establish current platform rather than build-time " +"based ``sys.platform()``" +msgstr "" + +#: build/NEWS:28028 +msgid "" +":issue:`34399`: Update all RSA keys and DH params to use at least 2048 bits." +msgstr "" + +#: build/NEWS:28030 +msgid "" +":issue:`34373`: Fix ``test_mktime`` and ``test_pthread_getcpuclickid`` tests " +"for AIX Add range checking for ``_PyTime_localtime`` for AIX Patch by " +"Michael Felt" +msgstr "" + +#: build/NEWS:28034 +msgid "" +":issue:`11191`: Skip the distutils test 'test_search_cpp' when using XLC as " +"compiler patch by aixtools (Michael Felt)" +msgstr "" + +#: build/NEWS:28037 +msgid "Improved an error message when mock assert_has_calls fails." +msgstr "" + +#: build/NEWS:28039 +msgid ":issue:`33746`: Fix test_unittest when run in verbose mode." +msgstr "" + +#: build/NEWS:28041 +msgid "" +":issue:`33901`: Fix test_dbm_gnu on macOS with gdbm 1.15: add a larger value " +"to make sure that the file size changes." +msgstr "" + +#: build/NEWS:28044 +msgid "" +":issue:`33873`: Fix a bug in ``regrtest`` that caused an extra test to run " +"if --huntrleaks/-R was used. Exit with error in case that invalid parameters " +"are specified to --huntrleaks/-R (at least one warmup run and one repetition " +"must be used)." +msgstr "" + +#: build/NEWS:28049 +msgid "" +":issue:`33562`: Check that a global asyncio event loop policy is not left " +"behind by any tests." +msgstr "" + +#: build/NEWS:33442 +msgid "" +":issue:`33655`: Ignore test_posix_fallocate failures on BSD platforms that " +"might be due to running on ZFS." +msgstr "" + +#: build/NEWS:28055 +msgid "" +":issue:`32962`: Fixed test_gdb when Python is compiled with flags -mcet -fcf-" +"protection -O0." +msgstr "" + +#: build/NEWS:29105 +msgid "" +":issue:`33358`: Fix ``test_embed.test_pre_initialization_sys_options()`` " +"when the interpreter is built with ``--enable-shared``." +msgstr "" + +#: build/NEWS:33555 +msgid "" +":issue:`32872`: Avoid regrtest compatibility issue with namespace packages." +msgstr "" + +#: build/NEWS:33780 +msgid "" +":issue:`32517`: Fix failing ``test_asyncio`` on macOS 10.12.2+ due to " +"transport of ``KqueueSelector`` loop was not being closed." +msgstr "" + +#: build/NEWS:28066 +msgid "" +":issue:`32663`: Making sure the ``SMTPUTF8SimTests`` class of tests gets run " +"in ``test_smtplib.py``." +msgstr "" + +#: build/NEWS:28069 +msgid "" +":issue:`27643`: Test_C test case needs \"signed short\" bitfields, but the " +"IBM XLC compiler (on AIX) does not support this Skip the code and test when " +"AIX and XLC are used" +msgstr "" + +#: build/NEWS:28073 +msgid "Applicable to Python2-2.7 and later" +msgstr "" + +#: build/NEWS:33445 +msgid ":issue:`19417`: Add test_bdb.py." +msgstr "" + +#: build/NEWS:29573 +msgid ":issue:`31809`: Add tests to verify connection with secp ECDH curves." +msgstr "" + +#: build/NEWS:28082 +msgid "" +":issue:`34691`: The _contextvars module is now built into the core Python " +"library on Windows." +msgstr "" + +#: build/NEWS:28085 +msgid "" +":issue:`35683`: Improved Azure Pipelines build steps and now verifying " +"layouts correctly" +msgstr "" + +#: build/NEWS:28088 +msgid ":issue:`35642`: Remove asynciomodule.c from pythoncore.vcxproj" +msgstr "" + +#: build/NEWS:28090 +msgid "" +":issue:`35550`: Fix incorrect Solaris #ifdef checks to look for __sun && " +"__SVR4 instead of sun when compiling." +msgstr "" + +#: build/NEWS:28093 +msgid "" +":issue:`35499`: ``make profile-opt`` no longer replaces ``CFLAGS_NODIST`` " +"with ``CFLAGS``. It now adds profile-guided optimization (PGO) flags to " +"``CFLAGS_NODIST``: existing ``CFLAGS_NODIST`` flags are kept." +msgstr "" + +#: build/NEWS:28097 +msgid "" +":issue:`35257`: Avoid leaking the linker flags from Link Time Optimizations " +"(LTO) into distutils when compiling C extensions." +msgstr "" + +#: build/NEWS:28100 +msgid "" +":issue:`35351`: When building Python with clang and LTO, LTO flags are no " +"longer passed into CFLAGS to build third-party C extensions through " +"distutils." +msgstr "" + +#: build/NEWS:28104 +msgid "" +":issue:`35139`: Fix a compiler error when statically linking ``pyexpat`` in " +"``Modules/Setup``." +msgstr "" + +#: build/NEWS:28107 +msgid "" +":issue:`35059`: PCbuild: Set InlineFunctionExpansion to OnlyExplicitInline " +"(\"/Ob1\" option) in pyproject.props in Debug mode to expand functions " +"marked as inline. This change should make Python compiled in Debug mode a " +"little bit faster on Windows." +msgstr "" + +#: build/NEWS:28112 +msgid "" +":issue:`35011`: Restores the use of pyexpatns.h to isolate our embedded copy " +"of the expat C library so that its symbols do not conflict at link or " +"dynamic loading time with an embedding application or other extension " +"modules with their own version of libexpat." +msgstr "" + +#: build/NEWS:28117 +msgid ":issue:`28015`: Have --with-lto works correctly with clang." +msgstr "" + +#: build/NEWS:28119 +msgid "" +":issue:`34765`: Update the outdated install-sh file to the latest revision " +"from automake v1.16.1" +msgstr "" + +#: build/NEWS:28122 +msgid "" +":issue:`34585`: Check for floating-point byte order in configure.ac using " +"compilation tests instead of executing code, so that these checks work in " +"cross-compiled builds." +msgstr "" + +#: build/NEWS:28126 +msgid ":issue:`34710`: Fixed SSL module build with OpenSSL & pedantic CFLAGS." +msgstr "" + +#: build/NEWS:28128 +msgid "" +":issue:`34582`: Add JUnit XML output for regression tests and update Azure " +"DevOps builds." +msgstr "" + +#: build/NEWS:28131 +msgid ":issue:`34081`: Make Sphinx warnings as errors in the Docs Makefile." +msgstr "" + +#: build/NEWS:28133 +msgid "" +":issue:`34555`: Fix for case where it was not possible to have both " +"``HAVE_LINUX_VM_SOCKETS_H`` and ``HAVE_SOCKADDR_ALG`` be undefined." +msgstr "" + +#: build/NEWS:28136 +msgid "" +":issue:`33015`: Fix an undefined behaviour in the pthread implementation of :" +"c:func:`PyThread_start_new_thread`: add a function wrapper to always return " +"``NULL``." +msgstr "" + +#: build/NEWS:28140 +msgid "" +":issue:`34245`: The Python shared library is now installed with write " +"permission (mode 0755), which is the standard way of installing such " +"libraries." +msgstr "" + +#: build/NEWS:28144 +msgid ":issue:`34121`: Fix detection of C11 atomic support on clang." +msgstr "" + +#: build/NEWS:28146 +msgid "" +":issue:`32430`: Rename Modules/Setup.dist to Modules/Setup, and remove the " +"necessity to copy the former manually to the latter when updating the local " +"source tree." +msgstr "" + +#: build/NEWS:28150 +msgid "" +":issue:`30345`: Add -g to LDFLAGS when compiling with LTO to get debug " +"symbols." +msgstr "" + +#: build/NEWS:33450 +msgid "" +":issue:`5755`: Move ``-Wstrict-prototypes`` option to ``CFLAGS_NODIST`` from " +"``OPT``. This option emitted annoying warnings when building extension " +"modules written in C++." +msgstr "" + +#: build/NEWS:33454 +msgid "" +":issue:`33614`: Ensures module definition files for the stable ABI on " +"Windows are correctly regenerated." +msgstr "" + +#: build/NEWS:28159 +msgid "" +":issue:`33648`: The --with-c-locale-warning configuration flag has been " +"removed. It has had no effect for about a year." +msgstr "" + +#: build/NEWS:33457 +msgid "" +":issue:`33522`: Enable CI builds on Visual Studio Team Services at https://" +"python.visualstudio.com/cpython" +msgstr "" + +#: build/NEWS:28165 +msgid "" +":issue:`33512`: configure's check for \"long double\" has been simplified" +msgstr "" + +#: build/NEWS:28167 +msgid "" +":issue:`33483`: C compiler is now correctly detected from the standard " +"environment variables. --without-gcc and --with-icc options have been " +"removed." +msgstr "" + +#: build/NEWS:33464 +msgid "" +":issue:`33394`: Enable the verbose build for extension modules, when GNU " +"make is passed macros on the command line." +msgstr "" + +#: build/NEWS:29114 +msgid ":issue:`33393`: Update config.guess and config.sub files." +msgstr "" + +#: build/NEWS:29116 +msgid "" +":issue:`33377`: Add new triplets for mips r6 and riscv variants (used in " +"extension suffixes)." +msgstr "" + +#: build/NEWS:29119 +msgid "" +":issue:`32232`: By default, modules configured in ``Modules/Setup`` are no " +"longer built with ``-DPy_BUILD_CORE``. Instead, modules that specifically " +"need that preprocessor definition include it in their individual entries." +msgstr "" + +#: build/NEWS:29123 +msgid "" +":issue:`33182`: The embedding tests can once again be built with clang 6.0" +msgstr "" + +#: build/NEWS:33560 +msgid ":issue:`33163`: Upgrade pip to 9.0.3 and setuptools to v39.0.1." +msgstr "" + +#: build/NEWS:28187 +msgid "" +":issue:`33012`: gcc 8 has added a new warning heuristic to detect invalid " +"function casts and a stock python build seems to hit that warning quite " +"often. The most common is the cast of a METH_NOARGS function (that uses " +"just one argument) to a PyCFunction. Fix this by adding a dummy argument to " +"all functions that implement METH_NOARGS." +msgstr "" + +#: build/NEWS:29578 +msgid ":issue:`32898`: Fix the python debug build when using COUNT_ALLOCS." +msgstr "" + +#: build/NEWS:28195 +msgid ":issue:`29442`: Replace optparse with argparse in setup.py" +msgstr "" + +#: build/NEWS:28200 +msgid ":issue:`35890`: Fix API calling consistency of GetVersionEx and wcstok." +msgstr "" + +#: build/NEWS:28202 +msgid "" +":issue:`32560`: The ``py`` launcher now forwards its ``STARTUPINFO`` " +"structure to child processes." +msgstr "" + +#: build/NEWS:28205 +msgid ":issue:`35854`: Fix EnvBuilder and --symlinks in venv on Windows" +msgstr "" + +#: build/NEWS:28207 +msgid "" +":issue:`35811`: Avoid propagating venv settings when launching via py.exe" +msgstr "" + +#: build/NEWS:28209 +msgid "" +":issue:`35797`: Fix default executable used by the multiprocessing module" +msgstr "" + +#: build/NEWS:28211 +msgid ":issue:`35758`: Allow building on ARM with MSVC." +msgstr "" + +#: build/NEWS:28213 +msgid ":issue:`29734`: Fix handle leaks in os.stat on Windows." +msgstr "" + +#: build/NEWS:28215 +msgid "" +":issue:`35596`: Use unchecked PYCs for the embeddable distro to avoid " +"zipimport restrictions." +msgstr "" + +#: build/NEWS:28218 +msgid "" +":issue:`35596`: Fix vcruntime140.dll being added to embeddable distro " +"multiple times." +msgstr "" + +#: build/NEWS:28221 +msgid ":issue:`35402`: Update Windows build to use Tcl and Tk 8.6.9" +msgstr "" + +#: build/NEWS:28223 +msgid ":issue:`35401`: Updates Windows build to OpenSSL 1.1.0j" +msgstr "" + +#: build/NEWS:28225 +msgid "" +":issue:`34977`: venv on Windows will now use a python.exe redirector rather " +"than copying the actual binaries from the base environment." +msgstr "" + +#: build/NEWS:28228 +msgid ":issue:`34977`: Adds support for building a Windows App Store package" +msgstr "" + +#: build/NEWS:28230 +msgid "" +":issue:`35067`: Remove _distutils_findvs module and use vswhere.exe instead." +msgstr "" + +#: build/NEWS:28232 +msgid ":issue:`32557`: Allow shutil.disk_usage to take a file path on Windows" +msgstr "" + +#: build/NEWS:28234 +msgid "" +":issue:`34770`: Fix a possible null pointer dereference in pyshellext.cpp." +msgstr "" + +#: build/NEWS:28236 +msgid ":issue:`34603`: Fix returning structs from functions produced by MSVC" +msgstr "" + +#: build/NEWS:28238 +msgid "" +":issue:`34581`: Guard MSVC-specific code in socketmodule.c with ``#ifdef " +"_MSC_VER``." +msgstr "" + +#: build/NEWS:28241 +msgid ":issue:`34532`: Fixes exit code of list version arguments for py.exe." +msgstr "" + +#: build/NEWS:28243 +msgid "" +":issue:`34062`: Fixed the '--list' and '--list-paths' arguments for the py." +"exe launcher" +msgstr "" + +#: build/NEWS:28246 +msgid "" +":issue:`34225`: Ensure INCLUDE and LIB directories do not end with a " +"backslash." +msgstr "" + +#: build/NEWS:28248 +msgid "" +":issue:`34011`: A suite of code has been changed which copied across DLLs " +"and init.tcl from the running Python location into a venv being created. " +"These copies are needed only when running from a Python source build, and " +"the copying code is now only run when that is the case, rather than whenever " +"a venv is created." +msgstr "" + +#: build/NEWS:28254 +msgid "" +":issue:`34006`: Revert line length limit for Windows help docs. The line-" +"length limit is not needed because the pages appear in a separate app rather " +"than on a browser tab. It can also interact badly with the DPI setting." +msgstr "" + +#: build/NEWS:28258 +msgid "" +":issue:`31546`: Restore running PyOS_InputHook while waiting for user input " +"at the prompt. The restores integration of interactive GUI windows (such as " +"Matplotlib figures) with the prompt on Windows." +msgstr "" + +#: build/NEWS:28262 +msgid "" +":issue:`30237`: Output error when ReadConsole is canceled by " +"CancelSynchronousIo instead of crashing." +msgstr "" + +#: build/NEWS:28265 +msgid "" +":issue:`33895`: GIL is released while calling functions that acquire Windows " +"loader lock." +msgstr "" + +#: build/NEWS:28745 +msgid "" +":issue:`33720`: Reduces maximum marshal recursion depth on release builds." +msgstr "" + +#: build/NEWS:28270 +msgid "" +":issue:`29097`: Fix bug where :meth:`datetime.fromtimestamp` erroneously " +"throws an :exc:`OSError` on Windows for values between 0 and 86400. Patch by " +"Ammar Askar." +msgstr "" + +#: build/NEWS:28274 +msgid ":issue:`33316`: PyThread_release_lock always fails" +msgstr "" + +#: build/NEWS:29128 +msgid ":issue:`33184`: Update Windows installer to use OpenSSL 1.1.0h." +msgstr "" + +#: build/NEWS:28278 +msgid "" +":issue:`32890`: Fix usage of GetLastError() instead of errno in os.execve() " +"and os.truncate()." +msgstr "" + +#: build/NEWS:33801 +msgid "" +":issue:`33016`: Fix potential use of uninitialized memory in nt." +"_getfinalpathname" +msgstr "" + +#: build/NEWS:33804 +msgid "" +":issue:`32903`: Fix a memory leak in os.chdir() on Windows if the current " +"directory is set to a UNC path." +msgstr "" + +#: build/NEWS:29583 +msgid ":issue:`32901`: Update Tcl and Tk versions to 8.6.8" +msgstr "" + +#: build/NEWS:33807 +msgid ":issue:`31966`: Fixed WindowsConsoleIO.write() for writing empty data." +msgstr "" + +#: build/NEWS:33809 +msgid ":issue:`32409`: Ensures activate.bat can handle Unicode contents." +msgstr "" + +#: build/NEWS:33811 +msgid "" +":issue:`32457`: Improves handling of denormalized executable path when " +"launching Python." +msgstr "" + +#: build/NEWS:33814 +msgid "" +":issue:`32370`: Use the correct encoding for ipconfig output in the uuid " +"module. Patch by Segev Finer." +msgstr "" + +#: build/NEWS:33817 +msgid "" +":issue:`29248`: Fix :func:`os.readlink` on Windows, which was mistakenly " +"treating the ``PrintNameOffset`` field of the reparse data buffer as a " +"number of characters instead of bytes. Patch by Craig Holmquist and SSE4." +msgstr "" + +#: build/NEWS:28303 +msgid "" +":issue:`1104`: Correctly handle string length in ``msilib.SummaryInfo." +"GetProperty()`` to prevent it from truncating the last character." +msgstr "" + +#: build/NEWS:28310 +msgid ":issue:`35401`: Update macOS installer to use OpenSSL 1.1.0j." +msgstr "" + +#: build/NEWS:28312 +msgid "" +":issue:`35025`: Properly guard the use of the ``CLOCK_GETTIME`` et al. " +"macros in ``timemodule`` on macOS." +msgstr "" + +#: build/NEWS:28315 +msgid "" +":issue:`24658`: On macOS, fix reading from and writing into a file with a " +"size larger than 2 GiB." +msgstr "" + +#: build/NEWS:28318 +msgid ":issue:`34405`: Update to OpenSSL 1.1.0i for macOS installer builds." +msgstr "" + +#: build/NEWS:28320 +msgid "" +":issue:`33635`: In macOS stat on some file descriptors (/dev/fd/3 f.e) will " +"result in bad file descriptor OSError. Guard against this exception was " +"added in is_dir, is_file and similar methods. DirEntry.is_dir can also throw " +"this exception so _RecursiveWildcardSelector._iterate_directories was also " +"extended with the same error ignoring pattern." +msgstr "" + +#: build/NEWS:28973 +msgid "" +":issue:`13631`: The .editrc file in user's home directory is now processed " +"correctly during the readline initialization through editline emulation on " +"macOS." +msgstr "" + +#: build/NEWS:29133 +msgid ":issue:`33184`: Update macOS installer build to use OpenSSL 1.1.0h." +msgstr "" + +#: build/NEWS:29345 +msgid "" +":issue:`32726`: Build and link with private copy of Tcl/Tk 8.6 for the macOS " +"10.6+ installer. The 10.9+ installer variant already does this. This means " +"that the Python 3.7 provided by the python.org macOS installers no longer " +"need or use any external versions of Tcl/Tk, either system-provided or user-" +"installed, such as ActiveTcl." +msgstr "" + +#: build/NEWS:29602 +msgid ":issue:`32901`: Update macOS 10.9+ installer to Tcl/Tk 8.6.8." +msgstr "" + +#: build/NEWS:28340 +msgid "" +":issue:`31903`: In :mod:`!_scproxy`, drop the GIL when calling into " +"``SystemConfiguration`` to avoid deadlocks." +msgstr "" + +#: build/NEWS:28346 +msgid "" +":issue:`35770`: IDLE macosx deletes Options => Configure IDLE. It previously " +"deleted Window => Zoom Height by mistake. (Zoom Height is now on the Options " +"menu). On Mac, the settings dialog is accessed via Preferences on the IDLE " +"menu." +msgstr "" + +#: build/NEWS:28351 +msgid "" +":issue:`35769`: Change IDLE's new file name from 'Untitled' to 'untitled'" +msgstr "" + +#: build/NEWS:28353 +msgid ":issue:`35660`: Fix imports in idlelib.window." +msgstr "" + +#: build/NEWS:28355 +msgid "" +":issue:`35641`: Proper format ``calltip`` when the function has no docstring." +msgstr "" + +#: build/NEWS:28357 +msgid ":issue:`33987`: Use ttk Frame for ttk widgets." +msgstr "" + +#: build/NEWS:28359 +msgid "" +":issue:`34055`: Fix erroneous 'smart' indents and newlines in IDLE Shell." +msgstr "" + +#: build/NEWS:28361 +msgid ":issue:`35591`: Find Selection now works when selection not found." +msgstr "" + +#: build/NEWS:28363 +msgid ":issue:`35196`: Speed up squeezer line counting." +msgstr "" + +#: build/NEWS:28365 +msgid "" +":issue:`35598`: Update config_key: use PEP 8 names and ttk widgets, make " +"some objects global, and add tests." +msgstr "" + +#: build/NEWS:28368 +msgid ":issue:`28097`: Add Previous/Next History entries to Shell menu." +msgstr "" + +#: build/NEWS:28370 +msgid "" +":issue:`35208`: Squeezer now properly counts wrapped lines before newlines." +msgstr "" + +#: build/NEWS:28372 +msgid "" +":issue:`35555`: Gray out Code Context menu entry when it's not applicable." +msgstr "" + +#: build/NEWS:28374 +msgid "" +":issue:`35521`: Document the IDLE editor code context feature. Add some " +"internal references within the IDLE doc." +msgstr "" + +#: build/NEWS:28377 +msgid "" +":issue:`22703`: The Code Context menu label now toggles between Show/Hide " +"Code Context. The Zoom Height menu now toggles between Zoom/Restore Height. " +"Zoom Height has moved from the Window menu to the Options menu." +msgstr "" + +#: build/NEWS:28381 +msgid ":issue:`35213`: Where appropriate, use 'macOS' in idlelib." +msgstr "" + +#: build/NEWS:28383 +msgid "" +":issue:`34864`: On macOS, warn if the system preference \"Prefer tabs when " +"opening documents\" is set to \"Always\"." +msgstr "" + +#: build/NEWS:28386 +msgid "" +":issue:`34864`: Document two IDLE on MacOS issues. The System Preferences " +"Dock \"prefer tabs always\" setting disables some IDLE features. Menus are " +"a bit different than as described for Windows and Linux." +msgstr "" + +#: build/NEWS:28390 +msgid ":issue:`35202`: Remove unused imports from lib/idlelib" +msgstr "" + +#: build/NEWS:28392 +msgid "" +":issue:`33000`: Document that IDLE's shell has no line limit. A program that " +"runs indefinitely can overfill memory." +msgstr "" + +#: build/NEWS:28395 +msgid ":issue:`23220`: Explain how IDLE's Shell displays output." +msgstr "" + +#: build/NEWS:28397 +msgid "" +":issue:`35099`: Improve the doc about IDLE running user code. The section " +"is renamed from \"IDLE -- console differences\" is renamed \"Running user " +"code\". It mostly covers the implications of using custom :samp:`sys.std{xxx}" +"` objects." +msgstr "" + +#: build/NEWS:28402 +msgid "" +":issue:`35097`: Add IDLE doc subsection explaining editor windows. Topics " +"include opening, title and status bar, .py* extension, and running." +msgstr "" + +#: build/NEWS:28405 +msgid "" +":issue:`35093`: Document the IDLE document viewer in the IDLE doc. Add a " +"paragraph in \"Help and preferences\", \"Help sources\" subsection." +msgstr "" + +#: build/NEWS:28408 +msgid "" +":issue:`35088`: Update idlelib.help.copy_string docstring. We now use git " +"and backporting instead of hg and forward merging." +msgstr "" + +#: build/NEWS:28411 +msgid "" +":issue:`35087`: Update idlelib help files for the current doc build. The " +"main change is the elimination of chapter-section numbers." +msgstr "" + +#: build/NEWS:28414 +msgid ":issue:`34548`: Use configured color theme for read-only text views." +msgstr "" + +#: build/NEWS:28416 +msgid "" +":issue:`1529353`: Enable \"squeezing\" of long outputs in the shell, to " +"avoid performance degradation and to clean up the history without losing it. " +"Squeezed outputs may be copied, viewed in a separate window, and " +"\"unsqueezed\"." +msgstr "" + +#: build/NEWS:28421 +msgid ":issue:`34047`: Fixed mousewheel scrolling direction on macOS." +msgstr "" + +#: build/NEWS:28423 +msgid "" +":issue:`34275`: Make IDLE calltips always visible on Mac. Some MacOS-tk " +"combinations need .update_idletasks(). Patch by Kevin Walzer." +msgstr "" + +#: build/NEWS:28426 +msgid "" +":issue:`34120`: Fix unresponsiveness after closing certain windows and " +"dialogs." +msgstr "" + +#: build/NEWS:28428 +msgid "" +":issue:`33975`: Avoid small type when running htests. Since part of the " +"purpose of human-viewed tests is to determine that widgets look right, it is " +"important that they look the same for testing as when running IDLE." +msgstr "" + +#: build/NEWS:28432 +msgid ":issue:`33905`: Add test for idlelib.stackview.StackBrowser." +msgstr "" + +#: build/NEWS:28434 +msgid "" +":issue:`33924`: Change mainmenu.menudefs key 'windows' to 'window'. Every " +"other menudef key is lowercase version of main menu entry." +msgstr "" + +#: build/NEWS:28437 +msgid "" +":issue:`33906`: Rename idlelib.windows as window Match Window on the main " +"menu and remove last plural module name." +msgstr "" + +#: build/NEWS:28440 +msgid "" +":issue:`33917`: Fix and document idlelib/idle_test/template.py. The revised " +"file compiles, runs, and tests OK. idle_test/README.txt explains how to use " +"it to create new IDLE test files." +msgstr "" + +#: build/NEWS:28444 +msgid ":issue:`33904`: IDLE: In rstrip, rename class RstripExtension as Rstrip" +msgstr "" + +#: build/NEWS:28446 +msgid "" +":issue:`33907`: For consistency and clarity, rename an IDLE module and " +"classes. Module calltips and its class CallTips are now calltip and Calltip. " +"In module calltip_w, class CallTip is now CalltipWindow." +msgstr "" + +#: build/NEWS:28450 +msgid ":issue:`33856`: Add \"help\" in the welcome message of IDLE" +msgstr "" + +#: build/NEWS:28452 +msgid "" +":issue:`33839`: IDLE: refactor ToolTip and CallTip and add documentation and " +"tests" +msgstr "" + +#: build/NEWS:28455 +msgid "" +":issue:`33855`: Minimally test all IDLE modules. Add missing files, import " +"module, instantiate classes, and check coverage. Check existing files." +msgstr "" + +#: build/NEWS:33480 +msgid "" +":issue:`33656`: On Windows, add API call saying that tk scales for DPI. On " +"Windows 8.1+ or 10, with DPI compatibility properties of the Python binary " +"unchanged, and a monitor resolution greater than 96 DPI, this should make " +"text and lines sharper. It should otherwise have no effect." +msgstr "" + +#: build/NEWS:33485 +msgid "" +":issue:`33768`: Clicking on a context line moves that line to the top of the " +"editor window." +msgstr "" + +#: build/NEWS:33488 +msgid "" +":issue:`33763`: IDLE: Use read-only text widget for code context instead of " +"label widget." +msgstr "" + +#: build/NEWS:33491 +msgid "" +":issue:`33664`: Scroll IDLE editor text by lines. Previously, the mouse " +"wheel and scrollbar slider moved text by a fixed number of pixels, resulting " +"in partial lines at the top of the editor box. The change also applies to " +"the shell and grep output windows, but not to read-only text views." +msgstr "" + +#: build/NEWS:33496 +msgid "" +":issue:`33679`: Enable theme-specific color configuration for Code Context. " +"Use the Highlights tab to see the setting for built-in themes or add " +"settings to custom themes." +msgstr "" + +#: build/NEWS:33500 +msgid "" +":issue:`33642`: Display up to maxlines non-blank lines for Code Context. If " +"there is no current context, show a single blank line." +msgstr "" + +#: build/NEWS:33503 +msgid ":issue:`33628`: IDLE: Cleanup codecontext.py and its test." +msgstr "" + +#: build/NEWS:33505 +msgid "" +":issue:`33564`: IDLE's code context now recognizes async as a block opener." +msgstr "" + +#: build/NEWS:33510 +msgid "" +":issue:`21474`: Update word/identifier definition from ascii to unicode. In " +"text and entry boxes, this affects selection by double-click, movement left/" +"right by control-left/right, and deletion left/right by control-BACKSPACE/" +"DEL." +msgstr "" + +#: build/NEWS:33515 +msgid "" +":issue:`33204`: IDLE: consistently color invalid string prefixes. A 'u' " +"string prefix cannot be paired with either 'r' or 'f'. Consistently color as " +"much of the prefix, starting at the right, as is valid. Revise and extend " +"colorizer test." +msgstr "" + +#: build/NEWS:33834 +msgid "" +":issue:`32984`: Set ``__file__`` while running a startup file. Like Python, " +"IDLE optionally runs one startup file in the Shell window before presenting " +"the first interactive input prompt. For IDLE, ``-s`` runs a file named in " +"environmental variable :envvar:`IDLESTARTUP` or :envvar:`PYTHONSTARTUP`; ``-" +"r file`` runs ``file``. Python sets ``__file__`` to the startup file name " +"before running the file and unsets it before the first prompt. IDLE now " +"does the same when run normally, without the ``-n`` option." +msgstr "" + +#: build/NEWS:33843 +msgid "" +":issue:`32940`: Simplify and rename StringTranslatePseudoMapping in pyparse." +msgstr "" + +#: build/NEWS:33845 +msgid ":issue:`32916`: Change ``str`` to ``code`` in pyparse." +msgstr "" + +#: build/NEWS:33847 +msgid ":issue:`32905`: Remove unused code in pyparse module." +msgstr "" + +#: build/NEWS:33849 +msgid ":issue:`32874`: Add tests for pyparse." +msgstr "" + +#: build/NEWS:33851 +msgid "" +":issue:`32837`: Using the system and place-dependent default encoding for " +"open() is a bad idea for IDLE's system and location-independent files." +msgstr "" + +#: build/NEWS:33854 +msgid "" +":issue:`32826`: Add \"encoding=utf-8\" to open() in IDLE's test_help_about. " +"GUI test test_file_buttons() only looks at initial ascii-only lines, but " +"failed on systems where open() defaults to 'ascii' because readline() " +"internally reads and decodes far enough ahead to encounter a non-ascii " +"character in CREDITS.txt." +msgstr "" + +#: build/NEWS:33520 +msgid ":issue:`32831`: Add docstrings and tests for codecontext." +msgstr "" + +#: build/NEWS:33860 +msgid "" +":issue:`32765`: Update configdialog General tab docstring to add new widgets " +"to the widget list." +msgstr "" + +#: build/NEWS:28529 +msgid "" +":issue:`35884`: Add a benchmark script for timing various ways to access " +"variables: ``Tools/scripts/var_access_benchmark.py``." +msgstr "" + +#: build/NEWS:28532 +msgid "" +":issue:`34989`: python-gdb.py now handles errors on computing the line " +"number of a Python frame." +msgstr "" + +#: build/NEWS:28535 +msgid "" +":issue:`20260`: Argument Clinic now has non-bitwise unsigned int converters." +msgstr "" + +#: build/NEWS:28537 +msgid "" +":issue:`32962`: python-gdb now catches ``UnicodeDecodeError`` exceptions " +"when calling ``string()``." +msgstr "" + +#: build/NEWS:28540 +msgid "" +":issue:`32962`: python-gdb now catches ValueError on read_var(): when Python " +"has no debug symbols for example." +msgstr "" + +#: build/NEWS:33525 +msgid "" +":issue:`33189`: :program:`pygettext.py` now recognizes only literal strings " +"as docstrings and translatable strings, and rejects bytes literals and f-" +"string expressions." +msgstr "" + +#: build/NEWS:33529 +msgid "" +":issue:`31920`: Fixed handling directories as arguments in the ``pygettext`` " +"script. Based on patch by Oleg Krasnikov." +msgstr "" + +#: build/NEWS:33532 +msgid ":issue:`29673`: Fix pystackv and pystack gdbinit macros." +msgstr "" + +#: build/NEWS:28552 +msgid "" +":issue:`25427`: Remove the pyvenv script in favor of ``python3 -m venv`` in " +"order to lower confusion as to what Python interpreter a virtual environment " +"will be created for." +msgstr "" + +#: build/NEWS:33534 +msgid "" +":issue:`32885`: Add an ``-n`` flag for ``Tools/scripts/pathfix.py`` to " +"disable automatic backup creation (files with ``~`` suffix)." +msgstr "" + +#: build/NEWS:33870 +msgid "" +":issue:`32222`: Fix pygettext not extracting docstrings for functions with " +"type annotated arguments. Patch by Toby Harradine." +msgstr "" + +#: build/NEWS:33537 +msgid "" +":issue:`31583`: Fix 2to3 for using with --add-suffix option but without --" +"output-dir option for relative path to files in current directory." +msgstr "" + +#: build/NEWS:28568 +msgid "" +":issue:`35713`: The :c:func:`!PyByteArray_Init` and :c:func:`!" +"PyByteArray_Fini` functions have been removed. They did nothing since Python " +"2.7.4 and Python 3.2.0, were excluded from the limited API (stable ABI), and " +"were not documented." +msgstr "" + +#: build/NEWS:28573 +msgid "" +":issue:`33817`: Fixed :c:func:`_PyBytes_Resize` for empty bytes objects." +msgstr "" + +#: build/NEWS:28575 +msgid "" +":issue:`35322`: Fix memory leak in :c:func:`PyUnicode_EncodeLocale` and :c:" +"func:`PyUnicode_EncodeFSDefault` on error handling." +msgstr "" + +#: build/NEWS:28578 +msgid "" +":issue:`35059`: The following C macros have been converted to static inline " +"functions: :c:func:`Py_INCREF`, :c:func:`Py_DECREF`, :c:func:`Py_XINCREF`, :" +"c:func:`Py_XDECREF`, :c:func:`PyObject_INIT`, :c:func:`PyObject_INIT_VAR`." +msgstr "" + +#: build/NEWS:28583 +msgid "" +":issue:`35296`: ``make install`` now also installs the internal API: " +"``Include/internal/*.h`` header files." +msgstr "" + +#: build/NEWS:28586 +msgid "" +":issue:`35081`: Internal APIs surrounded by ``#ifdef Py_BUILD_CORE`` have " +"been moved from ``Include/*.h`` headers to new header files ``Include/" +"internal/pycore_*.h``." +msgstr "" + +#: build/NEWS:28590 +msgid "" +":issue:`35259`: Conditionally declare :c:func:`Py_FinalizeEx()` (new in 3.6) " +"based on Py_LIMITED_API. Patch by Arthur Neufeld." +msgstr "" + +#: build/NEWS:28593 +msgid "" +":issue:`35081`: The :c:func:`!_PyObject_GC_TRACK` and :c:func:`!" +"_PyObject_GC_UNTRACK` macros have been removed from the public C API." +msgstr "" + +#: build/NEWS:28597 +msgid ":issue:`35134`: Creation of a new ``Include/cpython/`` subdirectory." +msgstr "" + +#: build/NEWS:28599 +msgid "" +":issue:`34725`: Adds _Py_SetProgramFullPath so embedders may override sys." +"executable" +msgstr "" + +#: build/NEWS:28602 +msgid "" +":issue:`34910`: Ensure that :c:func:`PyObject_Print` always returns ``-1`` " +"on error. Patch by Zackery Spytz." +msgstr "" + +#: build/NEWS:28605 +msgid "" +":issue:`34523`: Py_DecodeLocale() and Py_EncodeLocale() now use the UTF-8 " +"encoding on Windows if Py_LegacyWindowsFSEncodingFlag is zero." +msgstr "" + +#: build/NEWS:28608 +msgid "" +":issue:`34193`: Fix pluralization in TypeError messages in getargs.c and " +"typeobject.c: '1 argument' instead of '1 arguments' and '1 element' instead " +"of '1 elements'." +msgstr "" + +#: build/NEWS:28612 +msgid "" +":issue:`34127`: Return grammatically correct error message based on argument " +"count. Patch by Karthikeyan Singaravelan." +msgstr "" + +#: build/NEWS:28615 +msgid "" +":issue:`23927`: Fixed :exc:`SystemError` in :c:func:" +"`PyArg_ParseTupleAndKeywords` when the ``w*`` format unit is used for " +"optional parameter." +msgstr "" + +#: build/NEWS:28619 +msgid ":issue:`32455`: Added :c:func:`PyCompile_OpcodeStackEffectWithJump`." +msgstr "" + +#: build/NEWS:28621 +msgid "" +":issue:`34008`: Py_Main() can again be called after Py_Initialize(), as in " +"Python 3.6." +msgstr "" + +#: build/NEWS:28624 +msgid "" +":issue:`32500`: Fixed error messages for :c:func:`PySequence_Size`, :c:func:" +"`PySequence_GetItem`, :c:func:`PySequence_SetItem` and :c:func:" +"`PySequence_DelItem` called with a mapping and :c:func:`PyMapping_Size` " +"called with a sequence." +msgstr "" + +#: build/NEWS:28629 +msgid "" +":issue:`33818`: :c:func:`PyExceptionClass_Name` will now return ``const char " +"*`` instead of ``char *``." +msgstr "" + +#: build/NEWS:29374 +msgid "" +":issue:`33042`: Embedding applications may once again call " +"PySys_ResetWarnOptions, PySys_AddWarnOption, and PySys_AddXOption prior to " +"calling Py_Initialize." +msgstr "" + +#: build/NEWS:33543 +msgid "" +":issue:`32374`: Document that m_traverse for multi-phase initialized modules " +"can be called with m_state=NULL, and add a sanity check" +msgstr "" + +#: build/NEWS:28639 +msgid "" +":issue:`30863`: :c:func:`PyUnicode_AsWideChar` and :c:func:" +"`PyUnicode_AsWideCharString` no longer cache the ``wchar_t*`` representation " +"of string objects." +msgstr "" + +#: build/NEWS:28645 +msgid "Python 3.7.0 final" +msgstr "" + +#: build/NEWS:33230 +msgid "*Release date: 2018-06-27*" +msgstr "" + +#: build/NEWS:28652 +msgid "" +":issue:`33851`: Fix :func:`ast.get_docstring` for a node that lacks a " +"docstring." +msgstr "" + +#: build/NEWS:28658 +msgid "" +":issue:`33932`: Calling Py_Initialize() twice does nothing, instead of " +"failing with a fatal error: restore the Python 3.6 behaviour." +msgstr "" + +#: build/NEWS:28663 +msgid "Python 3.7.0 release candidate 1" +msgstr "" + +#: build/NEWS:28665 +msgid "*Release date: 2018-06-12*" +msgstr "" + +#: build/NEWS:28775 +msgid "Python 3.7.0 beta 5" +msgstr "" + +#: build/NEWS:28777 +msgid "*Release date: 2018-05-30*" +msgstr "" + +#: build/NEWS:28790 +msgid "" +":issue:`20104`: The new ``os.posix_spawn`` added in 3.7.0b1 was removed as " +"we are still working on what the API should look like. Expect this in 3.8 " +"instead." +msgstr "" + +#: build/NEWS:33367 +msgid "" +":issue:`32861`: The urllib.robotparser's ``__str__`` representation now " +"includes wildcard entries and the \"Crawl-delay\" and \"Request-rate\" " +"fields. Patch by Michael Lazar." +msgstr "" + +#: build/NEWS:28954 +msgid "" +":issue:`32604`: Remove the _xxsubinterpreters module (meant for testing) and " +"associated helpers. This module was originally added recently in 3.7b1." +msgstr "" + +#: build/NEWS:33460 +msgid "" +":issue:`33012`: Add ``-Wno-cast-function-type`` for gcc 8 for silencing " +"warnings about function casts like casting to PyCFunction in method " +"definition lists." +msgstr "" + +#: build/NEWS:28988 +msgid "Python 3.7.0 beta 4" +msgstr "" + +#: build/NEWS:28990 +msgid "*Release date: 2018-05-02*" +msgstr "" + +#: build/NEWS:29048 +msgid "" +":issue:`33185`: Fixed regression when running pydoc with the :option:`-m` " +"switch. (The regression was introduced in 3.7.0b3 by the resolution of :" +"issue:`33053`) This fix also changed pydoc to add ``os.getcwd()`` to :data:" +"`sys.path` when necessary, rather than adding ``\".\"``." +msgstr "" + +#: build/NEWS:29056 +msgid "" +":issue:`33217`: Deprecate looking up non-Enum objects in Enum classes and " +"Enum members (will raise :exc:`TypeError` in 3.8+)." +msgstr "" + +#: build/NEWS:29165 +msgid "Python 3.7.0 beta 3" +msgstr "" + +#: build/NEWS:29167 +msgid "*Release date: 2018-03-29*" +msgstr "" + +#: build/NEWS:33270 +msgid "" +":issue:`33041`: Fixed jumping when the function contains an ``async for`` " +"loop." +msgstr "" + +#: build/NEWS:29293 +msgid "" +":issue:`31639`: http.server now exposes a ThreadedHTTPServer class and uses " +"it when the module is run with ``-m`` to cope with web browsers pre-opening " +"sockets." +msgstr "" + +#: build/NEWS:29383 +msgid "Python 3.7.0 beta 2" +msgstr "" + +#: build/NEWS:29385 +msgid "*Release date: 2018-02-27*" +msgstr "" + +#: build/NEWS:29450 +msgid "" +":issue:`25988`: Emit a :exc:`DeprecationWarning` when using or importing an " +"ABC directly from :mod:`collections` rather than from :mod:`collections.abc`." +msgstr "" + +#: build/NEWS:29459 +msgid "" +":issue:`31333`: ``_abc`` module is added. It is a speedup module with C " +"implementations for various functions and methods in ``abc``. Creating an " +"ABC subclass and calling ``isinstance`` or ``issubclass`` with an ABC " +"subclass are up to 1.5x faster. In addition, this makes Python start-up up " +"to 10% faster. Note that the new implementation hides internal registry and " +"caches, previously accessible via private attributes ``_abc_registry``, " +"``_abc_cache``, and ``_abc_negative_cache``. There are three debugging " +"helper methods that can be used instead ``_dump_registry``, " +"``_abc_registry_clear``, and ``_abc_caches_clear``." +msgstr "" + +#: build/NEWS:29633 +msgid "Python 3.7.0 beta 1" +msgstr "" + +#: build/NEWS:29635 +msgid "*Release date: 2018-01-30*" +msgstr "" + +#: build/NEWS:29640 +msgid "" +":issue:`32703`: Fix coroutine's ResourceWarning when there's an active error " +"set when it's being finalized." +msgstr "" + +#: build/NEWS:33588 +msgid "" +":issue:`32650`: Pdb and other debuggers dependent on bdb.py will correctly " +"step over (next command) native coroutines. Patch by Pablo Galindo." +msgstr "" + +#: build/NEWS:29646 +msgid "" +":issue:`28685`: Optimize list.sort() and sorted() by using type specialized " +"comparisons when possible." +msgstr "" + +#: build/NEWS:33591 +msgid "" +":issue:`32685`: Improve suggestion when the Python 2 form of print statement " +"is either present on the same line as the header of a compound statement or " +"else terminated by a semi-colon instead of a newline. Patch by Nitish " +"Chandra." +msgstr "" + +#: build/NEWS:29654 +msgid "" +":issue:`32697`: Python now explicitly preserves the definition order of " +"keyword-only parameters. It's always preserved their order, but this " +"behavior was never guaranteed before; this behavior is now guaranteed and " +"tested." +msgstr "" + +#: build/NEWS:29659 +msgid "" +":issue:`32690`: The locals() dictionary now displays in the lexical order " +"that variables were defined. Previously, the order was reversed." +msgstr "" + +#: build/NEWS:29662 +msgid "" +":issue:`32677`: Add ``.isascii()`` method to ``str``, ``bytes`` and " +"``bytearray``. It can be used to test that string contains only ASCII " +"characters." +msgstr "" + +#: build/NEWS:29666 +msgid "" +":issue:`32670`: Enforce :pep:`479` for all code. This means that manually " +"raising a StopIteration exception from a generator is prohibited for all " +"code, regardless of whether 'from __future__ import generator_stop' was used " +"or not." +msgstr "" + +#: build/NEWS:29671 +msgid "" +":issue:`32591`: Added built-in support for tracking the origin of coroutine " +"objects; see sys.set_coroutine_origin_tracking_depth and CoroutineType." +"cr_origin. This replaces the asyncio debug mode's use of coroutine wrapping " +"for native coroutine objects." +msgstr "" + +#: build/NEWS:29676 +msgid "" +":issue:`31368`: Expose preadv and pwritev system calls in the os module. " +"Patch by Pablo Galindo" +msgstr "" + +#: build/NEWS:29679 +msgid "" +":issue:`32544`: ``hasattr(obj, name)`` and ``getattr(obj, name, default)`` " +"are about 4 times faster than before when ``name`` is not found and ``obj`` " +"doesn't override ``__getattr__`` or ``__getattribute__``." +msgstr "" + +#: build/NEWS:33599 +msgid "" +":issue:`26163`: Improved frozenset() hash to create more distinct hash " +"values when faced with datasets containing many similar values." +msgstr "" + +#: build/NEWS:29686 +msgid ":issue:`32550`: Remove the STORE_ANNOTATION bytecode." +msgstr "" + +#: build/NEWS:29688 +msgid "" +":issue:`20104`: Expose posix_spawn as a low level API in the os module. " +"(removed before 3.7.0rc1)" +msgstr "" + +#: build/NEWS:29691 +msgid ":issue:`24340`: Fixed estimation of the code stack size." +msgstr "" + +#: build/NEWS:29693 +msgid ":issue:`32436`: Implement :pep:`567` Context Variables." +msgstr "" + +#: build/NEWS:33612 +msgid "" +":issue:`18533`: ``repr()`` on a dict containing its own ``values()`` or " +"``items()`` no longer raises ``RecursionError``; OrderedDict similarly. " +"Instead, use ``...``, as for other recursive structures. Patch by Ben North." +msgstr "" + +#: build/NEWS:29700 +msgid "" +":issue:`20891`: Py_Initialize() now creates the GIL. The GIL is no longer " +"created \"on demand\" to fix a race condition when PyGILState_Ensure() is " +"called in a non-Python thread." +msgstr "" + +#: build/NEWS:33617 +msgid "" +":issue:`32028`: Leading whitespace is now correctly ignored when generating " +"suggestions for converting Py2 print statements to Py3 builtin print " +"function calls. Patch by Sanyam Khurana." +msgstr "" + +#: build/NEWS:29708 +msgid ":issue:`31179`: Make dict.copy() up to 5.5 times faster." +msgstr "" + +#: build/NEWS:29710 +msgid "" +":issue:`31113`: Get rid of recursion in the compiler for normal control flow." +msgstr "" + +#: build/NEWS:29715 +msgid "" +":issue:`25988`: Deprecate exposing the contents of collections.abc in the " +"regular collections module." +msgstr "" + +#: build/NEWS:29718 +msgid "" +":issue:`31429`: The default cipher suite selection of the ssl module now " +"uses a blacklist approach rather than a hard-coded whitelist. Python no " +"longer re-enables ciphers that have been blocked by OpenSSL security update. " +"Default cipher suite selection can be configured on compile time." +msgstr "" + +#: build/NEWS:29723 +msgid "" +":issue:`30306`: contextlib.contextmanager now releases the arguments passed " +"to the underlying generator as soon as the context manager is entered. " +"Previously it would keep them alive for as long as the context manager was " +"alive, even when not being used as a function decorator. Patch by Martin " +"Teichmann." +msgstr "" + +#: build/NEWS:29729 +msgid "" +":issue:`21417`: Added support for setting the compression level for zipfile." +"ZipFile." +msgstr "" + +#: build/NEWS:29732 +msgid ":issue:`32251`: Implement asyncio.BufferedProtocol (provisional API)." +msgstr "" + +#: build/NEWS:29734 +msgid "" +":issue:`32513`: In dataclasses, allow easier overriding of dunder methods " +"without specifying decorator parameters." +msgstr "" + +#: build/NEWS:29737 +msgid "" +":issue:`32660`: :mod:`termios` makes available ``FIONREAD``, ``FIONCLEX``, " +"``FIOCLEX``, ``FIOASYNC`` and ``FIONBIO`` also under Solaris/derivatives." +msgstr "" + +#: build/NEWS:33692 +msgid "" +":issue:`27931`: Fix email address header parsing error when the username is " +"an empty quoted string. Patch by Xiang Zhang." +msgstr "" + +#: build/NEWS:29743 +msgid "" +":issue:`32659`: Under Solaris and derivatives, :class:`os.stat_result` " +"provides a st_fstype attribute." +msgstr "" + +#: build/NEWS:29746 +msgid "" +":issue:`32662`: Implement Server.start_serving(), Server.serve_forever(), " +"and Server.is_serving() methods. Add 'start_serving' keyword parameter to " +"loop.create_server() and loop.create_unix_server()." +msgstr "" + +#: build/NEWS:29750 +msgid "" +":issue:`32391`: Implement :meth:`asyncio.StreamWriter.wait_closed` and :meth:" +"`asyncio.StreamWriter.is_closing` methods" +msgstr "" + +#: build/NEWS:29753 +msgid "" +":issue:`32643`: Make Task._step, Task._wakeup and Future._schedule_callbacks " +"methods private." +msgstr "" + +#: build/NEWS:29756 +msgid "" +":issue:`32630`: Refactor decimal module to use contextvars to store decimal " +"context." +msgstr "" + +#: build/NEWS:29759 +msgid ":issue:`32622`: Add :meth:`asyncio.AbstractEventLoop.sendfile` method." +msgstr "" + +#: build/NEWS:33695 +msgid "" +":issue:`32304`: distutils' upload command no longer corrupts tar files " +"ending with a CR byte, and no longer tries to convert CR to CRLF in any of " +"the upload text fields." +msgstr "" + +#: build/NEWS:33699 +msgid "" +":issue:`32502`: uuid.uuid1 no longer raises an exception if a 64-bit " +"hardware address is encountered." +msgstr "" + +#: build/NEWS:29768 +msgid "" +":issue:`32596`: ``concurrent.futures`` imports ``ThreadPoolExecutor`` and " +"``ProcessPoolExecutor`` lazily (using :pep:`562`). It makes ``import " +"asyncio`` about 15% faster because asyncio uses only ``ThreadPoolExecutor`` " +"by default." +msgstr "" + +#: build/NEWS:29773 +msgid "" +":issue:`31801`: Add ``_ignore_`` to ``Enum`` so temporary variables can be " +"used during class construction without being turned into members." +msgstr "" + +#: build/NEWS:29776 +msgid "" +":issue:`32576`: Use queue.SimpleQueue() in places where it can be invoked " +"from a weakref callback." +msgstr "" + +#: build/NEWS:29779 +msgid "" +":issue:`32574`: Fix memory leak in asyncio.Queue, when the queue has limited " +"size and it is full, the cancelation of queue.put() can cause a memory leak. " +"Patch by: José Melero." +msgstr "" + +#: build/NEWS:33709 +msgid "" +":issue:`32521`: The nis module is now compatible with new libnsl and headers " +"location." +msgstr "" + +#: build/NEWS:29786 +msgid "" +":issue:`32467`: collections.abc.ValuesView now inherits from collections.abc." +"Collection." +msgstr "" + +#: build/NEWS:33712 +msgid ":issue:`32473`: Improve ABCMeta._dump_registry() output readability" +msgstr "" + +#: build/NEWS:29791 +msgid ":issue:`32102`: New argument ``capture_output`` for subprocess.run" +msgstr "" + +#: build/NEWS:33714 +msgid "" +":issue:`32521`: glibc has removed Sun RPC. Use replacement libtirpc headers " +"and library in nis module." +msgstr "" + +#: build/NEWS:29796 +msgid ":issue:`32493`: UUID module fixes build for FreeBSD/OpenBSD" +msgstr "" + +#: build/NEWS:29798 +msgid "" +":issue:`32503`: Pickling with protocol 4 no longer creates too small frames." +msgstr "" + +#: build/NEWS:29800 +msgid ":issue:`29237`: Create enum for pstats sorting options" +msgstr "" + +#: build/NEWS:29802 +msgid ":issue:`32454`: Add close(fd) function to the socket module." +msgstr "" + +#: build/NEWS:29804 +msgid "" +":issue:`25942`: The subprocess module is now more graceful when handling a " +"Ctrl-C KeyboardInterrupt during subprocess.call, subprocess.run, or a Popen " +"context manager. It now waits a short amount of time for the child " +"(presumed to have also gotten the SIGINT) to exit, before continuing the " +"KeyboardInterrupt exception handling. This still includes a SIGKILL in the " +"call() and run() APIs, but at least the child had a chance first." +msgstr "" + +#: build/NEWS:29811 +msgid "" +":issue:`32433`: The hmac module now has hmac.digest(), which provides an " +"optimized HMAC digest." +msgstr "" + +#: build/NEWS:29814 +msgid "" +":issue:`28134`: Sockets now auto-detect family, type and protocol from file " +"descriptor by default." +msgstr "" + +#: build/NEWS:29817 +msgid "" +":issue:`32404`: Fix bug where :meth:`datetime.datetime.fromtimestamp` did " +"not call __new__ in :class:`datetime.datetime` subclasses." +msgstr "" + +#: build/NEWS:29820 +msgid "" +":issue:`32403`: Improved speed of :class:`datetime.date` and :class:" +"`datetime.datetime` alternate constructors." +msgstr "" + +#: build/NEWS:33717 +msgid "" +":issue:`32228`: Ensure that ``truncate()`` preserves the file position (as " +"reported by ``tell()``) after writes longer than the buffer size." +msgstr "" + +#: build/NEWS:29826 +msgid "" +":issue:`32410`: Implement ``loop.sock_sendfile`` for asyncio event loop." +msgstr "" + +#: build/NEWS:29828 +msgid "" +":issue:`22908`: Added seek and tell to the ZipExtFile class. This only works " +"if the file object used to open the zipfile is seekable." +msgstr "" + +#: build/NEWS:29831 +msgid ":issue:`32373`: Add socket.getblocking() method." +msgstr "" + +#: build/NEWS:29833 +msgid "" +":issue:`32248`: Add :mod:`importlib.resources` and :class:`importlib.abc." +"ResourceReader` as the unified API for reading resources contained within " +"packages. Loaders wishing to support resource reading must implement the :" +"meth:`get_resource_reader` method. File-based and zipimport-based loaders " +"both implement these APIs. :class:`importlib.abc.ResourceLoader` is " +"deprecated in favor of these new APIs." +msgstr "" + +#: build/NEWS:29841 +msgid ":issue:`32320`: collections.namedtuple() now supports default values." +msgstr "" + +#: build/NEWS:29843 +msgid "" +":issue:`29302`: Add contextlib.AsyncExitStack. Patch by Alexander Mohr and " +"Ilya Kulakov." +msgstr "" + +#: build/NEWS:29846 +msgid "" +":issue:`31961`: *Removed in Python 3.7.0b2.* The *args* argument of " +"subprocess.Popen can now be a :term:`path-like object`. If *args* is given " +"as a sequence, it's first element can now be a :term:`path-like object` as " +"well." +msgstr "" + +#: build/NEWS:33745 +msgid "" +":issue:`31900`: The :func:`locale.localeconv` function now sets temporarily " +"the ``LC_CTYPE`` locale to the ``LC_NUMERIC`` locale to decode " +"``decimal_point`` and ``thousands_sep`` byte strings if they are non-ASCII " +"or longer than 1 byte, and the ``LC_NUMERIC`` locale is different than the " +"``LC_CTYPE`` locale. This temporary change affects other threads. Same " +"change for the :meth:`str.format` method when formatting a number (:class:" +"`int`, :class:`float`, :class:`float` and subclasses) with the ``n`` type " +"(ex: ``'{:n}'.format(1234)``)." +msgstr "" + +#: build/NEWS:29860 +msgid "" +":issue:`31853`: Use super().method instead of socket.method in SSLSocket. " +"They were there most likely for legacy reasons." +msgstr "" + +#: build/NEWS:29863 +msgid "" +":issue:`31399`: The ssl module now uses OpenSSL's " +"X509_VERIFY_PARAM_set1_host() and X509_VERIFY_PARAM_set1_ip() API to verify " +"hostname and IP addresses. Subject common name fallback can be disabled with " +"SSLContext.hostname_checks_common_name." +msgstr "" + +#: build/NEWS:29868 +msgid "" +":issue:`14976`: Add a queue.SimpleQueue class, an unbounded FIFO queue with " +"a reentrant C implementation of put()." +msgstr "" + +#: build/NEWS:29874 +msgid "" +":issue:`32724`: Add references to some commands in the documentation of Pdb. " +"Patch by Stéphane Wirtel" +msgstr "" + +#: build/NEWS:29877 +msgid "" +":issue:`32649`: Complete the C API documentation, profiling and tracing part " +"with the newly added per-opcode events." +msgstr "" + +#: build/NEWS:33773 +msgid "" +":issue:`17799`: Explain real behaviour of sys.settrace and sys.setprofile " +"and their C-API counterparts regarding which type of events are received in " +"each function. Patch by Pablo Galindo Salgado." +msgstr "" + +#: build/NEWS:33783 +msgid "" +":issue:`32721`: Fix test_hashlib to not fail if the _md5 module is not built." +msgstr "" + +#: build/NEWS:29889 +msgid "" +":issue:`28414`: Add test cases for IDNA 2003 and 2008 host names. IDNA 2003 " +"internationalized host names are working since :issue:`31399` has landed. " +"IDNA 2008 are still broken." +msgstr "" + +#: build/NEWS:29893 +msgid "" +":issue:`32604`: Add a new \"_xxsubinterpreters\" extension module that " +"exposes the existing subinterpreter C-API and a new cross-interpreter data " +"sharing mechanism. The module is primarily intended for more thorough " +"testing of the existing subinterpreter support. Note that the " +"_xxsubinterpreters module has been removed in 3.7.0rc1." +msgstr "" + +#: build/NEWS:29899 +msgid "" +":issue:`32602`: Add test certs and test for ECDSA cert and EC/RSA dual mode." +msgstr "" + +#: build/NEWS:29901 +msgid "" +":issue:`32549`: On Travis CI, Python now Compiles and uses a local copy of " +"OpenSSL 1.1.0g for testing." +msgstr "" + +#: build/NEWS:33795 +msgid "" +":issue:`32635`: Fix segfault of the crypt module when libxcrypt is provided " +"instead of libcrypt at the system." +msgstr "" + +#: build/NEWS:29910 +msgid "" +":issue:`32598`: Use autoconf to detect OpenSSL libs, headers and supported " +"features. The ax_check_openssl M4 macro uses pkg-config to locate OpenSSL " +"and falls back to manual search." +msgstr "" + +#: build/NEWS:29914 +msgid ":issue:`32593`: Drop support of FreeBSD 9 and older." +msgstr "" + +#: build/NEWS:29916 +msgid "" +":issue:`29708`: If the :envvar:`SOURCE_DATE_EPOCH` environment variable is " +"set, :mod:`py_compile` will always create hash-based ``.pyc`` files." +msgstr "" + +#: build/NEWS:29922 +msgid "" +":issue:`32588`: Create standalone _distutils_findvs module and add missing " +"_queue module to installer." +msgstr "" + +#: build/NEWS:29925 +msgid "" +":issue:`29911`: Ensure separate Modify and Uninstall buttons are displayed." +msgstr "" + +#: build/NEWS:29927 +msgid "" +":issue:`32507`: Use app-local UCRT install rather than the proper update for " +"old versions of Windows." +msgstr "" + +#: build/NEWS:29933 +msgid "" +":issue:`32726`: Provide an additional, more modern macOS installer variant " +"that supports macOS 10.9+ systems in 64-bit mode only. Upgrade the supplied " +"third-party libraries to OpenSSL 1.1.0g and to SQLite 3.22.0. The 10.9+ " +"installer now links with and supplies its own copy of Tcl/Tk 8.6." +msgstr "" + +#: build/NEWS:29938 +msgid "" +":issue:`28440`: No longer add /Library/Python/3.x/site-packages to sys.path " +"for macOS framework builds to avoid future conflicts." +msgstr "" + +#: build/NEWS:29944 +msgid "" +":issue:`32681`: Fix uninitialized variable 'res' in the C implementation of " +"os.dup2. Patch by Stéphane Wirtel" +msgstr "" + +#: build/NEWS:29947 +msgid "" +":issue:`10381`: Add C API access to the ``datetime.timezone`` constructor " +"and ``datetime.timzone.UTC`` singleton." +msgstr "" + +#: build/NEWS:29952 +msgid "Python 3.7.0 alpha 4" +msgstr "" + +#: build/NEWS:29954 +msgid "*Release date: 2018-01-08*" +msgstr "" + +#: build/NEWS:29959 +msgid "" +":issue:`31975`: The default warning filter list now starts with a \"default::" +"DeprecationWarning:__main__\" entry, so deprecation warnings are once again " +"shown by default in single-file scripts and at the interactive prompt." +msgstr "" + +#: build/NEWS:29964 +msgid ":issue:`32226`: ``__class_getitem__`` is now an automatic class method." +msgstr "" + +#: build/NEWS:29966 +msgid "" +":issue:`32399`: Add AIX uuid library support for RFC4122 using uuid_create() " +"in libc.a" +msgstr "" + +#: build/NEWS:29969 +msgid "" +":issue:`32390`: Fix the compilation failure on AIX after the f_fsid field " +"has been added to the object returned by os.statvfs() (:issue:`32143`). " +"Original patch by Michael Felt." +msgstr "" + +#: build/NEWS:29973 +msgid "" +":issue:`32379`: Make MRO computation faster when a class inherits from a " +"single base." +msgstr "" + +#: build/NEWS:29976 +msgid "" +":issue:`32259`: The error message of a TypeError raised when unpack non-" +"iterable is now more specific." +msgstr "" + +#: build/NEWS:33602 +msgid "" +":issue:`27169`: The ``__debug__`` constant is now optimized out at compile " +"time. This fixes also :issue:`22091`." +msgstr "" + +#: build/NEWS:29982 +msgid "" +":issue:`32329`: The :option:`-R` option now turns on hash randomization when " +"the :envvar:`PYTHONHASHSEED` environment variable is set to ``0``. " +"Previously, the option was ignored. Moreover, ``sys.flags." +"hash_randomization`` is now properly set to 0 when hash randomization is " +"turned off by ``PYTHONHASHSEED=0``." +msgstr "" + +#: build/NEWS:29988 +msgid "" +":issue:`30416`: The optimizer is now protected from spending much time doing " +"complex calculations and consuming much memory for creating large constants " +"in constant folding. Increased limits for constants that can be produced in " +"constant folding." +msgstr "" + +#: build/NEWS:33272 +msgid "" +":issue:`32282`: Fix an unnecessary ifdef in the include of VersionHelpers.h " +"in socketmodule on Windows." +msgstr "" + +#: build/NEWS:29996 +msgid "" +":issue:`30579`: Implement TracebackType.__new__ to allow Python-level " +"creation of traceback objects, and make TracebackType.tb_next mutable." +msgstr "" + +#: build/NEWS:29999 +msgid "" +":issue:`32260`: Don't byte swap the input keys to the SipHash algorithm on " +"big-endian platforms. This should ensure siphash gives consistent results " +"across platforms." +msgstr "" + +#: build/NEWS:30003 +msgid "" +":issue:`31506`: Improve the error message logic for object.__new__ and " +"object.__init__. Patch by Sanyam Khurana." +msgstr "" + +#: build/NEWS:30006 +msgid "" +":issue:`20361`: ``-b`` and ``-bb`` now inject ``'default::BytesWarning'`` " +"and ``error::BytesWarning`` entries into ``sys.warnoptions``, ensuring that " +"they take precedence over any other warning filters configured via the ``-" +"W`` option or the ``PYTHONWARNINGS`` environment variable." +msgstr "" + +#: build/NEWS:30011 +msgid "" +":issue:`32230`: ``-X dev`` now injects a ``'default'`` entry into sys." +"warnoptions, ensuring that it behaves identically to actually passing ``-" +"Wdefault`` at the command line." +msgstr "" + +#: build/NEWS:30015 +msgid ":issue:`29240`: Add a new UTF-8 mode: implementation of the :pep:`540`." +msgstr "" + +#: build/NEWS:30017 +msgid "" +":issue:`32226`: :pep:`560`: Add support for ``__mro_entries__`` and " +"``__class_getitem__``. Implemented by Ivan Levkivskyi." +msgstr "" + +#: build/NEWS:30020 +msgid "" +":issue:`32225`: :pep:`562`: Add support for module ``__getattr__`` and " +"``__dir__``. Implemented by Ivan Levkivskyi." +msgstr "" + +#: build/NEWS:30023 +msgid "" +":issue:`31901`: The ``atexit`` module now has its callback stored per " +"interpreter." +msgstr "" + +#: build/NEWS:30026 +msgid "" +":issue:`31650`: Implement :pep:`552` (Deterministic pycs). Python now " +"supports invalidating bytecode cache files bashed on a source content hash " +"rather than source last-modified time." +msgstr "" + +#: build/NEWS:30030 +msgid "" +":issue:`29469`: Move constant folding from bytecode layer to AST layer. " +"Original patch by Eugene Toder." +msgstr "" + +#: build/NEWS:30036 +msgid "" +":issue:`32506`: Now that dict is defined as keeping insertion order, drop " +"OrderedDict and just use plain dict." +msgstr "" + +#: build/NEWS:30039 +msgid "" +":issue:`32279`: Add params to dataclasses.make_dataclasses(): init, repr, " +"eq, order, hash, and frozen. Pass them through to dataclass()." +msgstr "" + +#: build/NEWS:30042 +msgid "" +":issue:`32278`: Make type information optional on dataclasses." +"make_dataclass(). If omitted, the string 'typing.Any' is used." +msgstr "" + +#: build/NEWS:30045 +msgid "" +":issue:`32499`: Add dataclasses.is_dataclass(obj), which returns True if obj " +"is a dataclass or an instance of one." +msgstr "" + +#: build/NEWS:30048 +msgid "" +":issue:`32468`: Improve frame repr() to mention filename, code name and " +"current line number." +msgstr "" + +#: build/NEWS:30051 +msgid ":issue:`23749`: asyncio: Implement loop.start_tls()" +msgstr "" + +#: build/NEWS:30053 +msgid "" +":issue:`32441`: Return the new file descriptor (i.e., the second argument) " +"from ``os.dup2``. Previously, ``None`` was always returned." +msgstr "" + +#: build/NEWS:30056 +msgid "" +":issue:`32422`: ``functools.lru_cache`` uses less memory (3 words for each " +"cached key) and takes about 1/3 time for cyclic GC." +msgstr "" + +#: build/NEWS:30059 +msgid "" +":issue:`31721`: Prevent Python crash from happening when Future." +"_log_traceback is set to True manually. Now it can only be set to False, or " +"a ValueError is raised." +msgstr "" + +#: build/NEWS:30063 +msgid ":issue:`32415`: asyncio: Add Task.get_loop() and Future.get_loop()" +msgstr "" + +#: build/NEWS:33720 +msgid "" +":issue:`26133`: Don't unsubscribe signals in asyncio UNIX event loop on " +"interpreter shutdown." +msgstr "" + +#: build/NEWS:30068 +msgid "" +":issue:`32363`: Make asyncio.Task.set_exception() and set_result() raise " +"NotImplementedError. Task._step() and Future.__await__() raise proper " +"exceptions when they are in an invalid state, instead of raising an " +"AssertionError." +msgstr "" + +#: build/NEWS:30073 +msgid "" +":issue:`32357`: Optimize asyncio.iscoroutine() and loop.create_task() for " +"non-native coroutines (e.g. async/await compiled with Cython). 'loop." +"create_task(python_coroutine)' used to be 20% faster than 'loop." +"create_task(cython_coroutine)'. Now, the latter is as fast." +msgstr "" + +#: build/NEWS:30078 +msgid "" +":issue:`32356`: asyncio.transport.resume_reading() and pause_reading() are " +"now idempotent. New transport.is_reading() method is added." +msgstr "" + +#: build/NEWS:30081 +msgid ":issue:`32355`: Optimize asyncio.gather(); now up to 15% faster." +msgstr "" + +#: build/NEWS:30083 +msgid ":issue:`32351`: Use fastpath in asyncio.sleep if delay<0 (2x boost)" +msgstr "" + +#: build/NEWS:30085 +msgid "" +":issue:`32348`: Optimize asyncio.Future schedule/add/remove callback. The " +"optimization shows 3-6% performance improvements of async/await code." +msgstr "" + +#: build/NEWS:30088 +msgid "" +":issue:`32331`: Fix socket.settimeout() and socket.setblocking() to keep " +"socket.type as is. Fix socket.socket() constructor to reset any bit flags " +"applied to socket's type. This change only affects OSes that have " +"SOCK_NONBLOCK and/or SOCK_CLOEXEC." +msgstr "" + +#: build/NEWS:30093 +msgid "" +":issue:`32248`: Add :class:`importlib.abc.ResourceReader` as an ABC for " +"loaders to provide a unified API for reading resources contained within " +"packages. Also add :mod:`importlib.resources` as the port of " +"``importlib_resources``." +msgstr "" + +#: build/NEWS:30098 +msgid ":issue:`32311`: Implement asyncio.create_task(coro) shortcut" +msgstr "" + +#: build/NEWS:30100 +msgid "" +":issue:`32327`: Convert asyncio functions that were documented as coroutines " +"to coroutines. Affected functions: loop.sock_sendall, loop.sock_recv, loop." +"sock_accept, loop.getaddrinfo, loop.getnameinfo." +msgstr "" + +#: build/NEWS:33726 +msgid "" +":issue:`32323`: :func:`urllib.parse.urlsplit` does not convert zone-id " +"(scope) to lower case for scoped IPv6 addresses in hostnames now." +msgstr "" + +#: build/NEWS:33729 +msgid "" +":issue:`32302`: Fix bdist_wininst of distutils for CRT v142: it binary " +"compatible with CRT v140." +msgstr "" + +#: build/NEWS:30110 +msgid "" +":issue:`29711`: Fix ``stop_serving`` in asyncio proactor loop kill all " +"listening servers" +msgstr "" + +#: build/NEWS:30113 +msgid "" +":issue:`32308`: :func:`re.sub` now replaces empty matches adjacent to a " +"previous non-empty match." +msgstr "" + +#: build/NEWS:30116 +msgid "" +":issue:`29970`: Abort asyncio SSLProtocol connection if handshake not " +"complete within 10 seconds." +msgstr "" + +#: build/NEWS:30119 +msgid ":issue:`32314`: Implement asyncio.run()." +msgstr "" + +#: build/NEWS:30121 +msgid "" +":issue:`17852`: Revert incorrect fix based on misunderstanding of " +"_Py_PyAtExit() semantics." +msgstr "" + +#: build/NEWS:30124 +msgid "" +":issue:`32296`: Implement asyncio._get_running_loop() and get_event_loop() " +"in C. This makes them 4x faster." +msgstr "" + +#: build/NEWS:30127 +msgid "" +":issue:`32250`: Implement ``asyncio.current_task()`` and ``asyncio." +"all_tasks()``. Add helpers intended to be used by alternative task " +"implementations: ``asyncio._register_task``, ``asyncio._enter_task``, " +"``asyncio._leave_task`` and ``asyncio._unregister_task``. Deprecate " +"``asyncio.Task.current_task()`` and ``asyncio.Task.all_tasks()``." +msgstr "" + +#: build/NEWS:33732 +msgid "" +":issue:`32255`: A single empty field is now always quoted when written into " +"a CSV file. This allows to distinguish an empty row from a row consisting of " +"a single empty field. Patch by Licht Takeuchi." +msgstr "" + +#: build/NEWS:33736 +msgid "" +":issue:`32277`: Raise ``NotImplementedError`` instead of ``SystemError`` on " +"platforms where ``chmod(..., follow_symlinks=False)`` is not supported. " +"Patch by Anthony Sottile." +msgstr "" + +#: build/NEWS:30141 +msgid "" +":issue:`30050`: New argument warn_on_full_buffer to signal.set_wakeup_fd " +"lets you control whether Python prints a warning on stderr when the wakeup " +"fd buffer overflows." +msgstr "" + +#: build/NEWS:30145 +msgid "" +":issue:`29137`: The ``fpectl`` library has been removed. It was never " +"enabled by default, never worked correctly on x86-64, and it changed the " +"Python ABI in ways that caused unexpected breakage of C extensions." +msgstr "" + +#: build/NEWS:30149 +msgid ":issue:`32273`: Move asyncio.test_utils to test.test_asyncio." +msgstr "" + +#: build/NEWS:30151 +msgid ":issue:`32272`: Remove asyncio.async() function." +msgstr "" + +#: build/NEWS:30153 +msgid ":issue:`32269`: Add asyncio.get_running_loop() function." +msgstr "" + +#: build/NEWS:30155 +msgid "" +":issue:`32265`: All class and static methods of builtin types now are " +"correctly classified by inspect.classify_class_attrs() and grouped in pydoc " +"ouput. Added types.ClassMethodDescriptorType for unbound class methods of " +"builtin types." +msgstr "" + +#: build/NEWS:30160 +msgid "" +":issue:`32253`: Deprecate ``yield from lock``, ``await lock``, ``with (yield " +"from lock)`` and ``with await lock`` for asyncio synchronization primitives." +msgstr "" + +#: build/NEWS:30164 +msgid "" +":issue:`22589`: Changed MIME type of .bmp from 'image/x-ms-bmp' to 'image/" +"bmp'" +msgstr "" + +#: build/NEWS:30166 +msgid "" +":issue:`32193`: Convert asyncio to use *async/await* syntax. Old styled " +"``yield from`` is still supported too." +msgstr "" + +#: build/NEWS:30169 +msgid ":issue:`32206`: Add support to run modules with pdb" +msgstr "" + +#: build/NEWS:30171 +msgid "" +":issue:`32227`: ``functools.singledispatch`` now supports registering " +"implementations using type annotations." +msgstr "" + +#: build/NEWS:30174 +msgid "" +":issue:`15873`: Added new alternate constructors :meth:`datetime.datetime." +"fromisoformat`, :meth:`datetime.time.fromisoformat` and :meth:`datetime.date." +"fromisoformat` as the inverse operation of each classes's respective " +"``isoformat`` methods." +msgstr "" + +#: build/NEWS:33740 +msgid "" +":issue:`32199`: The getnode() ip getter now uses 'ip link' instead of 'ip " +"link list'." +msgstr "" + +#: build/NEWS:30183 +msgid ":issue:`32143`: os.statvfs() includes the f_fsid field from statvfs(2)" +msgstr "" + +#: build/NEWS:30185 +msgid "" +":issue:`26439`: Fix ctypes.util.find_library() for AIX by implementing " +"ctypes._aix.find_library() Patch by: Michael Felt" +msgstr "" + +#: build/NEWS:30188 +msgid "" +":issue:`31993`: The pickler now uses less memory when serializing large " +"bytes and str objects into a file. Pickles created with protocol 4 will " +"require less memory for unpickling large bytes and str objects." +msgstr "" + +#: build/NEWS:33743 +msgid "" +":issue:`27456`: Ensure TCP_NODELAY is set on Linux. Tests by Victor Stinner." +msgstr "" + +#: build/NEWS:30194 +msgid "" +":issue:`31778`: ast.literal_eval() is now more strict. Addition and " +"subtraction of arbitrary numbers no longer allowed." +msgstr "" + +#: build/NEWS:33754 +msgid "" +":issue:`31802`: Importing native path module (``posixpath``, ``ntpath``) now " +"works even if the ``os`` module still is not imported." +msgstr "" + +#: build/NEWS:30200 +msgid "" +":issue:`30241`: Add contextlib.AbstractAsyncContextManager. Patch by Jelle " +"Zijlstra." +msgstr "" + +#: build/NEWS:30203 +msgid "" +":issue:`31699`: Fix deadlocks in :class:`concurrent.futures." +"ProcessPoolExecutor` when task arguments or results cause pickling or " +"unpickling errors. This should make sure that calls to the :class:" +"`ProcessPoolExecutor` API always eventually return." +msgstr "" + +#: build/NEWS:30208 +msgid "" +":issue:`15216`: ``TextIOWrapper.reconfigure()`` supports changing " +"*encoding*, *errors*, and *newline*." +msgstr "" + +#: build/NEWS:30214 +msgid "" +":issue:`32418`: Add get_loop() method to Server and AbstractServer classes." +msgstr "" + +#: build/NEWS:33785 +msgid "" +":issue:`32252`: Fix faulthandler_suppress_crash_report() used to prevent " +"core dump files when testing crashes. getrlimit() returns zero on success." +msgstr "" + +#: build/NEWS:30222 +msgid "" +":issue:`32002`: Adjust C locale coercion testing for the empty locale and " +"POSIX locale cases to more readily adjust to platform dependent behaviour." +msgstr "" + +#: build/NEWS:30228 +msgid "" +":issue:`19764`: Implement support for ``subprocess.Popen(close_fds=True)`` " +"on Windows. Patch by Segev Finer." +msgstr "" + +#: build/NEWS:33866 +msgid "" +":issue:`24960`: 2to3 and lib2to3 can now read pickled grammar files using " +"pkgutil.get_data() rather than probing the filesystem. This lets 2to3 and " +"lib2to3 work when run from a zipfile." +msgstr "" + +#: build/NEWS:30241 +msgid "" +":issue:`32030`: Py_Initialize() doesn't reset the memory allocators to " +"default if the ``PYTHONMALLOC`` environment variable is not set." +msgstr "" + +#: build/NEWS:33876 +msgid "" +":issue:`29084`: Undocumented C API for OrderedDict has been excluded from " +"the limited C API. It was added by mistake and actually never worked in the " +"limited C API." +msgstr "" + +#: build/NEWS:30248 +msgid "" +":issue:`32264`: Moved the pygetopt.h header into internal/, since it has no " +"public APIs." +msgstr "" + +#: build/NEWS:30251 +msgid "" +":issue:`32241`: :c:func:`Py_SetProgramName` and :c:func:`Py_SetPythonHome` " +"now take the ``const wchar *`` arguments instead of ``wchar *``." +msgstr "" + +#: build/NEWS:30256 +msgid "Python 3.7.0 alpha 3" +msgstr "" + +#: build/NEWS:33893 +msgid "*Release date: 2017-12-05*" +msgstr "" + +#: build/NEWS:33898 +msgid "" +":issue:`32176`: co_flags.CO_NOFREE is now always set correctly by the code " +"object constructor based on freevars and cellvars, rather than needing to be " +"set correctly by the caller. This ensures it will be cleared automatically " +"when additional cell references are injected into a modified code object and " +"function." +msgstr "" + +#: build/NEWS:30269 +msgid "" +":issue:`10544`: Yield expressions are now deprecated in comprehensions and " +"generator expressions. They are still permitted in the definition of the " +"outermost iterable, as that is evaluated directly in the enclosing scope." +msgstr "" + +#: build/NEWS:33621 +msgid "" +":issue:`32137`: The repr of deeply nested dict now raises a RecursionError " +"instead of crashing due to a stack overflow." +msgstr "" + +#: build/NEWS:30276 +msgid "" +":issue:`32096`: Revert memory allocator changes in the C API: move " +"structures back from _PyRuntime to Objects/obmalloc.c. The memory allocators " +"are once again initialized statically, and so PyMem_RawMalloc() and " +"Py_DecodeLocale() can be called before _PyRuntime_Initialize()." +msgstr "" + +#: build/NEWS:30281 +msgid "" +":issue:`32043`: Add a new \"developer mode\": new \"-X dev\" command line " +"option to enable debug checks at runtime." +msgstr "" + +#: build/NEWS:30284 +msgid "" +":issue:`32023`: SyntaxError is now correctly raised when a generator " +"expression without parenthesis is used instead of an inheritance list in a " +"class definition. The duplication of the parentheses can be omitted only on " +"calls." +msgstr "" + +#: build/NEWS:30289 +msgid "" +":issue:`32012`: SyntaxError is now correctly raised when a generator " +"expression without parenthesis is passed as an argument, but followed by a " +"trailing comma. A generator expression always needs to be directly inside a " +"set of parentheses and cannot have a comma on either side." +msgstr "" + +#: build/NEWS:30294 +msgid "" +":issue:`28180`: A new internal ``_Py_SetLocaleFromEnv(category)`` helper " +"function has been added in order to improve the consistency of behaviour " +"across different ``libc`` implementations (e.g. Android doesn't support " +"setting the locale from the environment by default)." +msgstr "" + +#: build/NEWS:33904 +msgid "" +":issue:`31949`: Fixed several issues in printing tracebacks " +"(PyTraceBack_Print()). Setting sys.tracebacklimit to 0 or less now " +"suppresses printing tracebacks. Setting sys.tracebacklimit to None now " +"causes using the default limit. Setting sys.tracebacklimit to an integer " +"larger than LONG_MAX now means using the limit LONG_MAX rather than the " +"default limit. Fixed integer overflows in the case of more than ``2**31`` " +"traceback items on Windows. Fixed output errors handling." +msgstr "" + +#: build/NEWS:33912 +msgid "" +":issue:`30696`: Fix the interactive interpreter looping endlessly when no " +"memory." +msgstr "" + +#: build/NEWS:33915 +msgid "" +":issue:`20047`: Bytearray methods partition() and rpartition() now accept " +"only bytes-like objects as separator, as documented. In particular they now " +"raise TypeError rather of returning a bogus result when an integer is passed " +"as a separator." +msgstr "" + +#: build/NEWS:33923 +msgid "" +":issue:`21720`: BytesWarning no longer emitted when the *fromlist* argument " +"of ``__import__()`` or the ``__all__`` attribute of the module contain bytes " +"instances." +msgstr "" + +#: build/NEWS:30319 +msgid "" +":issue:`31845`: Environment variables are once more read correctly at " +"interpreter startup." +msgstr "" + +#: build/NEWS:30322 +msgid "" +":issue:`28936`: Ensure that lexically first syntax error involving a " +"parameter and ``global`` or ``nonlocal`` is detected first at a given scope. " +"Patch by Ivan Levkivskyi." +msgstr "" + +#: build/NEWS:33927 +msgid "" +":issue:`31825`: Fixed OverflowError in the 'unicode-escape' codec and in " +"codecs.escape_decode() when decode an escaped non-ascii byte." +msgstr "" + +#: build/NEWS:30329 +msgid "" +":issue:`31618`: The per-frame tracing logic added in 3.7a1 has been altered " +"so that ``frame->f_lineno`` is updated before either ``\"line\"`` or " +"``\"opcode\"`` events are emitted. Previously, opcode events were emitted " +"first, and therefore would occasionally see stale line numbers on the frame. " +"The behavior of this feature has changed slightly as a result: when both " +"``f_trace_lines`` and ``f_trace_opcodes`` are enabled, line events now occur " +"first." +msgstr "" + +#: build/NEWS:33930 +msgid "" +":issue:`28603`: Print the full context/cause chain of exceptions on " +"interpreter exit, even if an exception in the chain is unhashable or " +"compares equal to later ones. Patch by Zane Bitter." +msgstr "" + +#: build/NEWS:33934 +msgid "" +":issue:`31786`: Fix timeout rounding in the select module to round correctly " +"negative timeouts between -1.0 and 0.0. The functions now block waiting for " +"events as expected. Previously, the call was incorrectly non-blocking. Patch " +"by Pablo Galindo." +msgstr "" + +#: build/NEWS:30346 +msgid "" +":issue:`31781`: Prevent crashes when calling methods of an uninitialized " +"``zipimport.zipimporter`` object. Patch by Oren Milman." +msgstr "" + +#: build/NEWS:30349 +msgid "" +":issue:`30399`: Standard repr() of BaseException with a single argument no " +"longer contains redundant trailing comma." +msgstr "" + +#: build/NEWS:33942 +msgid "" +":issue:`31626`: Fixed a bug in debug memory allocator. There was a write to " +"freed memory after shrinking a memory block." +msgstr "" + +#: build/NEWS:33987 +msgid "" +":issue:`30817`: ``PyErr_PrintEx()`` clears now the ignored exception that " +"may be raised by ``_PySys_SetObjectId()``, for example when no memory." +msgstr "" + +#: build/NEWS:33993 +msgid "" +":issue:`28556`: Two minor fixes for ``typing`` module: allow shallow copying " +"instances of generic classes, improve interaction of ``__init_subclass__`` " +"with generics. Original PRs by Ivan Levkivskyi." +msgstr "" + +#: build/NEWS:30365 +msgid "" +":issue:`32214`: PEP 557, Data Classes. Provides a decorator which adds " +"boilerplate methods to classes which use type annotations so specify fields." +msgstr "" + +#: build/NEWS:33997 +msgid "" +":issue:`27240`: The header folding algorithm for the new email policies has " +"been rewritten, which also fixes :issue:`30788`, :issue:`31831`, and :issue:" +"`32182`. In particular, RFC2231 folding is now done correctly." +msgstr "" + +#: build/NEWS:34001 +msgid "" +":issue:`32186`: io.FileIO.readall() and io.FileIO.read() now release the GIL " +"when getting the file size. Fixed hang of all threads with inaccessible NFS " +"server. Patch by Nir Soffer." +msgstr "" + +#: build/NEWS:30377 +msgid ":issue:`32101`: Add :attr:`sys.flags.dev_mode` flag" +msgstr "" + +#: build/NEWS:30379 +msgid "" +":issue:`32154`: The ``asyncio.windows_utils.socketpair()`` function has been " +"removed: use directly :func:`socket.socketpair` which is available on all " +"platforms since Python 3.5 (before, it wasn't available on Windows). " +"``asyncio.windows_utils.socketpair()`` was just an alias to ``socket." +"socketpair`` on Python 3.5 and newer." +msgstr "" + +#: build/NEWS:30385 +msgid "" +":issue:`32089`: warnings: In development (-X dev) and debug mode (pydebug " +"build), use the \"default\" action for ResourceWarning, rather than the " +"\"always\" action, in the default warnings filters." +msgstr "" + +#: build/NEWS:30389 +msgid "" +":issue:`32107`: ``uuid.getnode()`` now preferentially returns universally " +"administered MAC addresses if available, over locally administered MAC " +"addresses. This makes a better guarantee for global uniqueness of UUIDs " +"returned from ``uuid.uuid1()``. If only locally administered MAC addresses " +"are available, the first such one found is returned." +msgstr "" + +#: build/NEWS:30395 +msgid "" +":issue:`23033`: Wildcard is now supported in hostname when it is one and " +"only character in the left most segment of hostname in second argument of :" +"meth:`ssl.match_hostname`. Patch by Mandeep Singh." +msgstr "" + +#: build/NEWS:34005 +msgid "" +":issue:`12239`: Make :meth:`msilib.SummaryInformation.GetProperty` return " +"``None`` when the value of property is ``VT_EMPTY``. Initial patch by Mark " +"Mc Mahon." +msgstr "" + +#: build/NEWS:30403 +msgid "" +":issue:`28334`: Use :func:`os.path.expanduser` to find the ``~/.netrc`` file " +"in :class:`netrc.netrc`. If it does not exist, :exc:`FileNotFoundError` is " +"raised. Patch by Dimitri Merejkowsky." +msgstr "" + +#: build/NEWS:30407 +msgid "" +":issue:`32121`: Made ``tracemalloc.Traceback`` behave more like the " +"traceback module, sorting the frames from oldest to most recent. ``Traceback." +"format()`` now accepts negative *limit*, truncating the result to the " +"``abs(limit)`` oldest frames. To get the old behaviour, one can use the new " +"*most_recent_first* argument to ``Traceback.format()``. (Patch by Jesse " +"Bakker.)" +msgstr "" + +#: build/NEWS:34009 +msgid "" +":issue:`31325`: Fix wrong usage of :func:`collections.namedtuple` in the :" +"meth:`RobotFileParser.parse() <urllib.robotparser.RobotFileParser.parse>` " +"method. Initial patch by Robin Wellner." +msgstr "" + +#: build/NEWS:34013 +msgid "" +":issue:`12382`: :func:`msilib.OpenDatabase` now raises a better exception " +"message when it couldn't open or create an MSI file. Initial patch by " +"William Tisäter." +msgstr "" + +#: build/NEWS:30422 +msgid "" +":issue:`19610`: ``setup()`` now warns about invalid types for some fields. " +"The ``distutils.dist.Distribution`` class now warns when ``classifiers``, " +"``keywords`` and ``platforms`` fields are not specified as a list or a " +"string." +msgstr "" + +#: build/NEWS:30427 +msgid "" +":issue:`32071`: Added the ``-k`` command-line option to ``python -m " +"unittest`` to run only tests that match the given pattern(s)." +msgstr "" + +#: build/NEWS:30430 +msgid "" +":issue:`10049`: Added *nullcontext* no-op context manager to contextlib. " +"This provides a simpler and faster alternative to ExitStack() when handling " +"optional context managers." +msgstr "" + +#: build/NEWS:30434 +msgid "" +":issue:`28684`: The new test.support.skip_unless_bind_unix_socket() " +"decorator is used here to skip asyncio tests that fail because the platform " +"lacks a functional bind() function for unix domain sockets (as it is the " +"case for non root users on the recent Android versions that run now SELinux " +"in enforcing mode)." +msgstr "" + +#: build/NEWS:34017 +msgid "" +":issue:`32110`: ``codecs.StreamReader.read(n)`` now returns not more than " +"*n* characters/bytes for non-negative *n*. This makes it compatible with " +"``read()`` methods of other file-like objects." +msgstr "" + +#: build/NEWS:30444 +msgid "" +":issue:`27535`: The warnings module doesn't leak memory anymore in the " +"hidden warnings registry for the \"ignore\" action of warnings filters. " +"warn_explicit() function doesn't add the warning key to the registry anymore " +"for the \"ignore\" action." +msgstr "" + +#: build/NEWS:30449 +msgid "" +":issue:`32088`: warnings: When Python is build is debug mode " +"(``Py_DEBUG``), :exc:`DeprecationWarning`, :exc:`PendingDeprecationWarning` " +"and :exc:`ImportWarning` warnings are now displayed by default." +msgstr "" + +#: build/NEWS:30453 +msgid "" +":issue:`1647489`: Fixed searching regular expression patterns that could " +"match an empty string. Non-empty string can now be correctly found after " +"matching an empty string." +msgstr "" + +#: build/NEWS:30457 +msgid "" +":issue:`25054`: Added support of splitting on a pattern that could match an " +"empty string." +msgstr "" + +#: build/NEWS:38700 +msgid "" +":issue:`32072`: Fixed issues with binary plists: Fixed saving bytearrays. " +"Identical objects will be saved only once. Equal references will be load as " +"identical objects. Added support for saving and loading recursive data " +"structures." +msgstr "" + +#: build/NEWS:30465 +msgid "" +":issue:`32069`: Drop legacy SSL transport from asyncio, ssl.MemoryBIO is " +"always used anyway." +msgstr "" + +#: build/NEWS:30468 +msgid "" +":issue:`32066`: asyncio: Support pathlib.Path in create_unix_connection; " +"sock arg should be optional" +msgstr "" + +#: build/NEWS:30471 +msgid "" +":issue:`32046`: Updates 2to3 to convert from operator.isCallable(obj) to " +"callable(obj). Patch by Donghee Na." +msgstr "" + +#: build/NEWS:30474 +msgid "" +":issue:`32018`: inspect.signature should follow :pep:`8`, if the parameter " +"has an annotation and a default value. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:30477 +msgid ":issue:`32025`: Add time.thread_time() and time.thread_time_ns()" +msgstr "" + +#: build/NEWS:30479 +msgid "" +":issue:`32037`: Integers that fit in a signed 32-bit integer will be now " +"pickled with protocol 0 using the INT opcode. This will decrease the size " +"of a pickle, speed up pickling and unpickling, and make these integers be " +"unpickled as int instances in Python 2." +msgstr "" + +#: build/NEWS:34026 +msgid "" +":issue:`32034`: Make asyncio.IncompleteReadError and LimitOverrunError " +"pickleable." +msgstr "" + +#: build/NEWS:34029 +msgid "" +":issue:`32015`: Fixed the looping of asyncio in the case of reconnection the " +"socket during waiting async read/write from/to the socket." +msgstr "" + +#: build/NEWS:34032 +msgid "" +":issue:`32011`: Restored support of loading marshal files with the " +"TYPE_INT64 code. These files can be produced in Python 2.7." +msgstr "" + +#: build/NEWS:30493 +msgid "" +":issue:`28369`: Enhance add_reader/writer check that socket is not used by " +"some transport. Before, only cases when add_reader/writer were called with " +"an int FD were supported. Now the check is implemented correctly for all " +"file-like objects." +msgstr "" + +#: build/NEWS:30498 +msgid "" +":issue:`31976`: Fix race condition when flushing a file is slow, which can " +"cause a segfault if closing the file from another thread." +msgstr "" + +#: build/NEWS:30501 +msgid "" +":issue:`31985`: Formally deprecated aifc.openfp, sunau.openfp, and wave." +"openfp. Since change 7bc817d5ba917528e8bd07ec461c635291e7b06a in 1993, " +"openfp in each of the three modules had been pointing to that module's open " +"function as a matter of backwards compatibility, though it had been both " +"untested and undocumented." +msgstr "" + +#: build/NEWS:30507 +msgid "" +":issue:`21862`: cProfile command line now accepts ``-m module_name`` as an " +"alternative to script path. Patch by Sanyam Khurana." +msgstr "" + +#: build/NEWS:34035 +msgid ":issue:`31970`: Reduce performance overhead of asyncio debug mode." +msgstr "" + +#: build/NEWS:30512 +msgid "" +":issue:`31843`: *database* argument of sqlite3.connect() now accepts a :term:" +"`path-like object`, instead of just a string." +msgstr "" + +#: build/NEWS:30515 +msgid "" +":issue:`31945`: Add Configurable *blocksize* to ``HTTPConnection`` and " +"``HTTPSConnection`` for improved upload throughput. Patch by Nir Soffer." +msgstr "" + +#: build/NEWS:30518 +msgid "" +":issue:`31943`: Add a ``cancelled()`` method to :class:`asyncio.Handle`. " +"Patch by Marat Sharafutdinov." +msgstr "" + +#: build/NEWS:34037 +msgid "" +":issue:`9678`: Fixed determining the MAC address in the uuid module: Using " +"ifconfig on NetBSD and OpenBSD. Using arp on Linux, FreeBSD, NetBSD and " +"OpenBSD. Based on patch by Takayuki Shimizukawa." +msgstr "" + +#: build/NEWS:34041 +msgid ":issue:`30057`: Fix potential missed signal in signal.signal()." +msgstr "" + +#: build/NEWS:34043 +msgid "" +":issue:`31933`: Fix Blake2 params leaf_size and node_offset on big endian " +"platforms. Patch by Jack O'Connor." +msgstr "" + +#: build/NEWS:30530 +msgid "" +":issue:`21423`: Add an initializer argument to {Process,Thread}PoolExecutor" +msgstr "" + +#: build/NEWS:34046 +msgid "" +":issue:`31927`: Fixed compilation of the socket module on NetBSD 8. Fixed " +"assertion failure or reading arbitrary data when parse a AF_BLUETOOTH " +"address on NetBSD and DragonFly BSD." +msgstr "" + +#: build/NEWS:34050 +msgid "" +":issue:`27666`: Fixed stack corruption in curses.box() and curses." +"ungetmouse() when the size of types chtype or mmask_t is less than the size " +"of C long. curses.box() now accepts characters as arguments. Based on patch " +"by Steve Fink." +msgstr "" + +#: build/NEWS:30541 +msgid "" +":issue:`31917`: Add 3 new clock identifiers: :const:`time.CLOCK_BOOTTIME`, :" +"const:`time.CLOCK_PROF` and :const:`time.CLOCK_UPTIME`." +msgstr "" + +#: build/NEWS:34055 +msgid "" +":issue:`31897`: plistlib now catches more errors when read binary plists and " +"raises InvalidFileException instead of unexpected exceptions." +msgstr "" + +#: build/NEWS:34058 +msgid "" +":issue:`25720`: Fix the method for checking pad state of curses WINDOW. " +"Patch by Masayuki Yamamoto." +msgstr "" + +#: build/NEWS:34061 +msgid "" +":issue:`31893`: Fixed the layout of the kqueue_event structure on OpenBSD " +"and NetBSD. Fixed the comparison of the kqueue_event objects." +msgstr "" + +#: build/NEWS:34064 +msgid ":issue:`31891`: Fixed building the curses module on NetBSD." +msgstr "" + +#: build/NEWS:30555 +msgid "" +":issue:`31884`: added required constants to subprocess module for setting " +"priority on windows" +msgstr "" + +#: build/NEWS:30558 +msgid "" +":issue:`28281`: Remove year (1-9999) limits on the Calendar.weekday() " +"function. Patch by Mark Gollahon." +msgstr "" + +#: build/NEWS:30561 +msgid "" +":issue:`31702`: crypt.mksalt() now allows to specify the number of rounds " +"for SHA-256 and SHA-512 hashing." +msgstr "" + +#: build/NEWS:30564 +msgid "" +":issue:`30639`: :func:`inspect.getfile` no longer computes the repr of " +"unknown objects to display in an error message, to protect against badly " +"behaved custom reprs." +msgstr "" + +#: build/NEWS:30568 +msgid "" +":issue:`30768`: Fix the pthread+semaphore implementation of " +"PyThread_acquire_lock_timed() when called with timeout > 0 and intr_flag=0: " +"recompute the timeout if sem_timedwait() is interrupted by a signal (EINTR). " +"See also the :pep:`475`." +msgstr "" + +#: build/NEWS:30573 +msgid ":issue:`31854`: Add ``mmap.ACCESS_DEFAULT`` constant." +msgstr "" + +#: build/NEWS:30575 +msgid "" +":issue:`31834`: Use optimized code for BLAKE2 only with SSSE3+. The pure " +"SSE2 implementation is slower than the pure C reference implementation." +msgstr "" + +#: build/NEWS:30578 +msgid "" +":issue:`28292`: Calendar.itermonthdates() will now consistently raise an " +"exception when a date falls outside of the 0001-01-01 through 9999-12-31 " +"range. To support applications that cannot tolerate such exceptions, the " +"new methods itermonthdays3() and itermonthdays4() are added. The new " +"methods return tuples and are not restricted by the range supported by " +"datetime.date." +msgstr "" + +#: build/NEWS:30585 +msgid "" +":issue:`28564`: The shutil.rmtree() function has been sped up to 20--40%. " +"This was done using the os.scandir() function." +msgstr "" + +#: build/NEWS:34066 +msgid "" +":issue:`28416`: Instances of pickle.Pickler subclass with the " +"persistent_id() method and pickle.Unpickler subclass with the " +"persistent_load() method no longer create reference cycles." +msgstr "" + +#: build/NEWS:30592 +msgid "" +":issue:`31653`: Don't release the GIL if we can acquire a multiprocessing " +"semaphore immediately." +msgstr "" + +#: build/NEWS:34070 +msgid "" +":issue:`28326`: Fix multiprocessing.Process when stdout and/or stderr is " +"closed or None." +msgstr "" + +#: build/NEWS:30598 +msgid "" +":issue:`20825`: Add ``subnet_of`` and ``superset_of`` containment tests to :" +"class:`ipaddress.IPv6Network` and :class:`ipaddress.IPv4Network`. Patch by " +"Michel Albert and Cheryl Sabella." +msgstr "" + +#: build/NEWS:30602 +msgid "" +":issue:`31827`: Remove the os.stat_float_times() function. It was introduced " +"in Python 2.3 for backward compatibility with Python 2.2, and was deprecated " +"since Python 3.1." +msgstr "" + +#: build/NEWS:30606 +msgid "" +":issue:`31756`: Add a ``subprocess.Popen(text=False)`` keyword argument to " +"``subprocess`` functions to be more explicit about when the library should " +"attempt to decode outputs into text. Patch by Andrew Clegg." +msgstr "" + +#: build/NEWS:30610 +msgid ":issue:`31819`: Add AbstractEventLoop.sock_recv_into()." +msgstr "" + +#: build/NEWS:34073 +msgid "" +":issue:`31457`: If nested log adapters are used, the inner ``process()`` " +"methods are no longer omitted." +msgstr "" + +#: build/NEWS:34076 +msgid "" +":issue:`31457`: The ``manager`` property on LoggerAdapter objects is now " +"properly settable." +msgstr "" + +#: build/NEWS:34079 +msgid "" +":issue:`31806`: Fix timeout rounding in time.sleep(), threading.Lock." +"acquire() and socket.socket.settimeout() to round correctly negative " +"timeouts between -1.0 and 0.0. The functions now block waiting for events as " +"expected. Previously, the call was incorrectly non-blocking. Patch by Pablo " +"Galindo." +msgstr "" + +#: build/NEWS:30624 +msgid "" +":issue:`31803`: time.clock() and time.get_clock_info('clock') now emit a " +"DeprecationWarning warning." +msgstr "" + +#: build/NEWS:30627 +msgid "" +":issue:`31800`: Extended support for parsing UTC offsets. strptime '%z' can " +"now parse the output generated by datetime.isoformat, including seconds and " +"microseconds." +msgstr "" + +#: build/NEWS:34085 +msgid "" +":issue:`28603`: traceback: Fix a TypeError that occurred during printing of " +"exception tracebacks when either the current exception or an exception in " +"its context/cause chain is unhashable. Patch by Zane Bitter." +msgstr "" + +#: build/NEWS:30635 +msgid "" +":issue:`30541`: Add new function to seal a mock and prevent the " +"automatically creation of child mocks. Patch by Mario Corchero." +msgstr "" + +#: build/NEWS:30638 +msgid "" +":issue:`31784`: Implement the :pep:`564`, add new 6 new functions with " +"nanosecond resolution to the :mod:`time` module: :func:`~time." +"clock_gettime_ns`, :func:`~time.clock_settime_ns`, :func:`~time." +"monotonic_ns`, :func:`~time.perf_counter_ns`, :func:`~time." +"process_time_ns`, :func:`~time.time_ns`." +msgstr "" + +#: build/NEWS:30644 +msgid "" +":issue:`30143`: 2to3 now generates a code that uses abstract collection " +"classes from collections.abc rather than collections." +msgstr "" + +#: build/NEWS:34091 +msgid "" +":issue:`31770`: Prevent a crash when calling the ``__init__()`` method of a " +"``sqlite3.Cursor`` object more than once. Patch by Oren Milman." +msgstr "" + +#: build/NEWS:34098 +msgid "" +":issue:`31764`: Prevent a crash in ``sqlite3.Cursor.close()`` in case the " +"``Cursor`` object is uninitialized. Patch by Oren Milman." +msgstr "" + +#: build/NEWS:34101 +msgid "" +":issue:`31752`: Fix possible crash in timedelta constructor called with " +"custom integers." +msgstr "" + +#: build/NEWS:34110 +msgid "" +":issue:`31620`: an empty asyncio.Queue now doesn't leak memory when queue." +"get pollers timeout" +msgstr "" + +#: build/NEWS:30659 +msgid "" +":issue:`31690`: Allow the flags re.ASCII, re.LOCALE, and re.UNICODE to be " +"used as group flags for regular expressions." +msgstr "" + +#: build/NEWS:30662 +msgid "" +":issue:`30349`: FutureWarning is now emitted if a regular expression " +"contains character set constructs that will change semantically in the " +"future (nested sets and set operations)." +msgstr "" + +#: build/NEWS:30666 +msgid "" +":issue:`31664`: Added support for the Blowfish hashing in the crypt module." +msgstr "" + +#: build/NEWS:34113 +msgid "" +":issue:`31632`: Fix method set_protocol() of class _SSLProtocolTransport in " +"asyncio module. This method was previously modifying a wrong reference to " +"the protocol." +msgstr "" + +#: build/NEWS:34124 +msgid "" +":issue:`15037`: Added a workaround for getkey() in curses for ncurses 5.7 " +"and earlier." +msgstr "" + +#: build/NEWS:30675 +msgid "" +":issue:`31307`: Allow use of bytes objects for arguments to :meth:" +"`configparser.ConfigParser.read`. Patch by Vincent Michel." +msgstr "" + +#: build/NEWS:34144 +msgid "" +":issue:`31334`: Fix ``poll.poll([timeout])`` in the ``select`` module for " +"arbitrary negative timeouts on all OSes where it can only be a non-negative " +"integer or -1. Patch by Riccardo Coccioli." +msgstr "" + +#: build/NEWS:34148 +msgid "" +":issue:`31310`: multiprocessing's semaphore tracker should be launched again " +"if crashed." +msgstr "" + +#: build/NEWS:34151 +msgid "" +":issue:`31308`: Make multiprocessing's forkserver process immune to Ctrl-C " +"and other user interruptions. If it crashes, restart it when necessary." +msgstr "" + +#: build/NEWS:30688 +msgid "" +":issue:`31245`: Added support for AF_UNIX socket in asyncio " +"``create_datagram_endpoint``." +msgstr "" + +#: build/NEWS:30691 +msgid "" +":issue:`30553`: Add HTTP/2 status code 421 (Misdirected Request) to :class:" +"`http.HTTPStatus`. Patch by Vitor Pereira." +msgstr "" + +#: build/NEWS:34157 +msgid "" +":issue:`32105`: Added asyncio.BaseEventLoop.connect_accepted_socket " +"versionadded marker." +msgstr "" + +#: build/NEWS:34170 +msgid "" +":issue:`31380`: Skip test_httpservers test_undecodable_file on macOS: fails " +"on APFS." +msgstr "" + +#: build/NEWS:34173 +msgid "" +":issue:`31705`: Skip test_socket.test_sha256() on Linux kernel older than " +"4.5. The test fails with ENOKEY on kernel 3.10 (on ppc64le). A fix was " +"merged into the kernel 4.5." +msgstr "" + +#: build/NEWS:30710 +msgid "" +":issue:`32138`: Skip on Android test_faulthandler tests that raise SIGSEGV " +"and remove the test.support.requires_android_level decorator." +msgstr "" + +#: build/NEWS:30713 +msgid "" +":issue:`32136`: The runtime embedding tests have been split out from ``Lib/" +"test/test_capi.py`` into a new ``Lib/test/test_embed.py`` file." +msgstr "" + +#: build/NEWS:30716 +msgid "" +":issue:`28668`: test.support.requires_multiprocessing_queue is removed. Skip " +"tests with test.support.import_module('multiprocessing.synchronize') instead " +"when the semaphore implementation is broken or missing." +msgstr "" + +#: build/NEWS:30720 +msgid "" +":issue:`32126`: Skip test_get_event_loop_new_process in test.test_asyncio." +"test_events when sem_open() is not functional." +msgstr "" + +#: build/NEWS:34177 +msgid "" +":issue:`31174`: Fix test_tools.test_unparse: DirectoryTestCase now stores " +"the names sample to always test the same files. It prevents false alarms " +"when hunting reference leaks." +msgstr "" + +#: build/NEWS:30730 +msgid "" +":issue:`28538`: Revert the previous changes, the if_nameindex structure is " +"defined by Unified Headers." +msgstr "" + +#: build/NEWS:30733 +msgid "" +":issue:`28762`: Revert the last commit, the F_LOCK macro is defined by " +"Android Unified Headers." +msgstr "" + +#: build/NEWS:30736 +msgid "" +":issue:`29040`: Support building Android with Unified Headers. The first NDK " +"release to support Unified Headers is android-ndk-r14." +msgstr "" + +#: build/NEWS:34187 +msgid "" +":issue:`32059`: ``detect_modules()`` in ``setup.py`` now also searches the " +"sysroot paths when cross-compiling." +msgstr "" + +#: build/NEWS:34190 +msgid "" +":issue:`31957`: Fixes Windows SDK version detection when building for " +"Windows." +msgstr "" + +#: build/NEWS:34192 +msgid ":issue:`31609`: Fixes quotes in PCbuild/clean.bat" +msgstr "" + +#: build/NEWS:34194 +msgid "" +":issue:`31934`: Abort the build when building out of a not clean source tree." +msgstr "" + +#: build/NEWS:34196 +msgid "" +":issue:`31926`: Fixed Argument Clinic sometimes causing compilation errors " +"when there was more than one function and/or method in a .c file with the " +"same name." +msgstr "" + +#: build/NEWS:34200 +msgid ":issue:`28791`: Update Windows builds to use SQLite 3.21.0." +msgstr "" + +#: build/NEWS:34202 +msgid ":issue:`28791`: Update OS X installer to use SQLite 3.21.0." +msgstr "" + +#: build/NEWS:30756 +msgid ":issue:`28643`: Record profile-opt build progress with stamp files." +msgstr "" + +#: build/NEWS:30758 +msgid ":issue:`31866`: Finish removing support for AtheOS." +msgstr "" + +#: build/NEWS:34212 +msgid "" +":issue:`1102`: Return ``None`` when ``View.Fetch()`` returns " +"``ERROR_NO_MORE_ITEMS`` instead of raising ``MSIError``. Initial patch by " +"Anthony Tuininga." +msgstr "" + +#: build/NEWS:34216 +msgid ":issue:`31944`: Fixes Modify button in Apps and Features dialog." +msgstr "" + +#: build/NEWS:30769 +msgid "" +":issue:`20486`: Implement the ``Database.Close()`` method to help closing " +"MSI database objects." +msgstr "" + +#: build/NEWS:30772 +msgid "" +":issue:`31857`: Make the behavior of USE_STACKCHECK deterministic in a multi-" +"threaded environment." +msgstr "" + +#: build/NEWS:34221 +msgid ":issue:`31392`: Update macOS installer to use OpenSSL 1.0.2m" +msgstr "" + +#: build/NEWS:34226 +msgid "" +":issue:`32207`: Improve tk event exception tracebacks in IDLE. When tk event " +"handling is driven by IDLE's run loop, a confusing and distracting queue." +"EMPTY traceback context is no longer added to tk event exception " +"tracebacks. The traceback is now the same as when event handling is driven " +"by user code. Patch based on a suggestion by Serhiy Storchaka." +msgstr "" + +#: build/NEWS:34232 +msgid "" +":issue:`32164`: Delete unused file idlelib/tabbedpages.py. Use of " +"TabbedPageSet in configdialog was replaced by ttk.Notebook." +msgstr "" + +#: build/NEWS:34235 +msgid "" +":issue:`32100`: IDLE: Fix old and new bugs in pathbrowser; improve tests. " +"Patch mostly by Cheryl Sabella." +msgstr "" + +#: build/NEWS:34238 +msgid "" +":issue:`31858`: IDLE -- Restrict shell prompt manipulation to the shell. " +"Editor and output windows only see an empty last prompt line. This " +"simplifies the code and fixes a minor bug when newline is inserted. Sys.ps1, " +"if present, is read on Shell start-up, but is not set or changed." +msgstr "" + +#: build/NEWS:34243 +msgid "" +":issue:`31860`: The font sample in the IDLE configuration dialog is now " +"editable. Changes persist while IDLE remains open" +msgstr "" + +#: build/NEWS:34246 +msgid "" +":issue:`31836`: Test_code_module now passes if run after test_idle, which " +"sets ps1. The code module uses sys.ps1 if present or sets it to '>>> ' if " +"not. Test_code_module now properly tests both behaviors. Ditto for ps2." +msgstr "" + +#: build/NEWS:34250 +msgid "" +":issue:`28603`: Fix a TypeError that caused a shell restart when printing a " +"traceback that includes an exception that is unhashable. Patch by Zane " +"Bitter." +msgstr "" + +#: build/NEWS:30811 +msgid "" +":issue:`13802`: Use non-Latin characters in the IDLE's Font settings sample. " +"Even if one selects a font that defines a limited subset of the unicode " +"Basic Multilingual Plane, tcl/tk will use other fonts that define a " +"character. The expanded example give users of non-Latin characters a better " +"idea of what they might see in IDLE's shell and editors. To make room for " +"the expanded sample, frames on the Font tab are re-arranged. The Font/Tabs " +"help explains a bit about the additions." +msgstr "" + +#: build/NEWS:30822 +msgid "" +":issue:`32159`: Remove CVS and Subversion tools: remove svneol.py and " +"treesync.py scripts. CPython migrated from CVS to Subversion, to Mercurial, " +"and then to Git. CVS and Subversion are no longer used to develop CPython." +msgstr "" + +#: build/NEWS:34289 +msgid "" +":issue:`30722`: Make redemo work with Python 3.6 and newer versions. Also, " +"remove the ``LOCALE`` option since it doesn't work with string patterns in " +"Python 3. Patch by Christoph Sarnowski." +msgstr "" + +#: build/NEWS:34296 +msgid "" +":issue:`20891`: Fix PyGILState_Ensure(). When PyGILState_Ensure() is called " +"in a non-Python thread before PyEval_InitThreads(), only call " +"PyEval_InitThreads() after calling PyThreadState_New() to fix a crash." +msgstr "" + +#: build/NEWS:30838 +msgid "" +":issue:`32125`: The ``Py_UseClassExceptionsFlag`` flag has been removed. It " +"was deprecated and wasn't used anymore since Python 2.0." +msgstr "" + +#: build/NEWS:30841 +msgid "" +":issue:`25612`: Move the current exception state from the frame object to " +"the co-routine. This simplifies the interpreter and fixes a couple of " +"obscure bugs caused by having swap exception state when entering or exiting " +"a generator." +msgstr "" + +#: build/NEWS:30846 +msgid "" +":issue:`23699`: Add Py_RETURN_RICHCOMPARE macro to reduce boilerplate code " +"in rich comparison functions." +msgstr "" + +#: build/NEWS:34303 +msgid "" +":issue:`30697`: The ``PyExc_RecursionErrorInst`` singleton is removed and " +"``PyErr_NormalizeException()`` does not use it anymore. This singleton is " +"persistent and its members being never cleared may cause a segfault during " +"finalization of the interpreter. See also :issue:`22898`." +msgstr "" + +#: build/NEWS:30856 +msgid "Python 3.7.0 alpha 2" +msgstr "" + +#: build/NEWS:30858 +msgid "*Release date: 2017-10-16*" +msgstr "" + +#: build/NEWS:30863 +msgid "" +":issue:`31558`: ``gc.freeze()`` is a new API that allows for moving all " +"objects currently tracked by the garbage collector to a permanent " +"generation, effectively removing them from future collection events. This " +"can be used to protect those objects from having their PyGC_Head mutated. In " +"effect, this enables great copy-on-write stability at fork()." +msgstr "" + +#: build/NEWS:33939 +msgid "" +":issue:`31642`: Restored blocking \"from package import module\" by setting " +"sys.modules[\"package.module\"] to None." +msgstr "" + +#: build/NEWS:30872 +msgid "" +":issue:`31708`: Allow use of asynchronous generator expressions in " +"synchronous functions." +msgstr "" + +#: build/NEWS:30875 +msgid ":issue:`31709`: Drop support of asynchronous __aiter__." +msgstr "" + +#: build/NEWS:30877 +msgid "" +":issue:`30404`: The -u option now makes the stdout and stderr streams " +"unbuffered rather than line-buffered." +msgstr "" + +#: build/NEWS:33945 +msgid "" +":issue:`31619`: Fixed a ValueError when convert a string with large number " +"of underscores to integer with binary base." +msgstr "" + +#: build/NEWS:30883 +msgid "" +":issue:`31602`: Fix an assertion failure in ``zipimporter.get_source()`` in " +"case of a bad ``zlib.decompress()``. Patch by Oren Milman." +msgstr "" + +#: build/NEWS:33948 +msgid "" +":issue:`31592`: Fixed an assertion failure in Python parser in case of a bad " +"``unicodedata.normalize()``. Patch by Oren Milman." +msgstr "" + +#: build/NEWS:33951 +msgid "" +":issue:`31588`: Raise a ``TypeError`` with a helpful error message when " +"class creation fails due to a metaclass with a bad ``__prepare__()`` method. " +"Patch by Oren Milman." +msgstr "" + +#: build/NEWS:30893 +msgid "" +":issue:`31574`: Importlib was instrumented with two dtrace probes to profile " +"import timing." +msgstr "" + +#: build/NEWS:33955 +msgid "" +":issue:`31566`: Fix an assertion failure in ``_warnings.warn()`` in case of " +"a bad ``__name__`` global. Patch by Oren Milman." +msgstr "" + +#: build/NEWS:30899 +msgid "" +":issue:`31506`: Improved the error message logic for ``object.__new__`` and " +"``object.__init__``." +msgstr "" + +#: build/NEWS:33958 +msgid "" +":issue:`31505`: Fix an assertion failure in ``json``, in case ``_json." +"make_encoder()`` received a bad ``encoder()`` argument. Patch by Oren Milman." +msgstr "" + +#: build/NEWS:33962 +msgid "" +":issue:`31492`: Fix assertion failures in case of failing to import from a " +"module with a bad ``__name__`` attribute, and in case of failing to access " +"an attribute of such a module. Patch by Oren Milman." +msgstr "" + +#: build/NEWS:33970 +msgid "" +":issue:`31478`: Fix an assertion failure in ``_random.Random.seed()`` in " +"case the argument has a bad ``__abs__()`` method. Patch by Oren Milman." +msgstr "" + +#: build/NEWS:30913 +msgid "" +":issue:`31336`: Speed up class creation by 10-20% by reducing the overhead " +"in the necessary special method lookups. Patch by Stefan Behnel." +msgstr "" + +#: build/NEWS:30916 +msgid "" +":issue:`31415`: Add ``-X importtime`` option to show how long each import " +"takes. It can be used to optimize application's startup time. Support the :" +"envvar:`PYTHONPROFILEIMPORTTIME` as an equivalent way to enable this." +msgstr "" + +#: build/NEWS:30920 +msgid ":issue:`31410`: Optimized calling wrapper and classmethod descriptors." +msgstr "" + +#: build/NEWS:30922 +msgid "" +":issue:`31353`: :pep:`553` - Add a new built-in called ``breakpoint()`` " +"which calls ``sys.breakpointhook()``. By default this imports ``pdb`` and " +"calls ``pdb.set_trace()``, but users may override ``sys.breakpointhook()`` " +"to call whatever debugger they want. The original value of the hook is " +"saved in ``sys.__breakpointhook__``." +msgstr "" + +#: build/NEWS:30928 +msgid "" +":issue:`17852`: Maintain a list of open buffered files, flush them before " +"exiting the interpreter. Based on a patch from Armin Rigo." +msgstr "" + +#: build/NEWS:33973 +msgid "" +":issue:`31315`: Fix an assertion failure in imp.create_dynamic(), when spec." +"name is not a string. Patch by Oren Milman." +msgstr "" + +#: build/NEWS:33976 +msgid "" +":issue:`31311`: Fix a crash in the ``__setstate__()`` method of ``ctypes." +"_CData``, in case of a bad ``__dict__``. Patch by Oren Milman." +msgstr "" + +#: build/NEWS:33979 +msgid "" +":issue:`31293`: Fix crashes in true division and multiplication of a " +"timedelta object by a float with a bad as_integer_ratio() method. Patch by " +"Oren Milman." +msgstr "" + +#: build/NEWS:33983 +msgid "" +":issue:`31285`: Fix an assertion failure in ``warnings.warn_explicit``, when " +"the return value of the received loader's ``get_source()`` has a bad " +"``splitlines()`` method. Patch by Oren Milman." +msgstr "" + +#: build/NEWS:30945 +msgid "" +":issue:`30406`: Make ``async`` and ``await`` proper keywords, as specified " +"in :pep:`492`." +msgstr "" + +#: build/NEWS:34089 +msgid ":issue:`30058`: Fixed buffer overflow in select.kqueue.control()." +msgstr "" + +#: build/NEWS:34094 +msgid "" +":issue:`31672`: ``idpattern`` in ``string.Template`` matched some non-ASCII " +"characters. Now it uses ``-i`` regular expression local flag to avoid non-" +"ASCII characters." +msgstr "" + +#: build/NEWS:34104 +msgid "" +":issue:`31701`: On Windows, faulthandler.enable() now ignores MSC and COM " +"exceptions." +msgstr "" + +#: build/NEWS:34107 +msgid "" +":issue:`31728`: Prevent crashes in ``_elementtree`` due to unsafe cleanup of " +"``Element.text`` and ``Element.tail``. Patch by Oren Milman." +msgstr "" + +#: build/NEWS:30963 +msgid "" +":issue:`31671`: Now ``re.compile()`` converts passed RegexFlag to normal int " +"object before compiling. bm_regex_compile benchmark shows 14% performance " +"improvements." +msgstr "" + +#: build/NEWS:30967 +msgid "" +":issue:`30397`: The types of compiled regular objects and match objects are " +"now exposed as ``re.Pattern`` and ``re.Match``. This adds information in " +"pydoc output for the ``re`` module." +msgstr "" + +#: build/NEWS:34117 +msgid "" +":issue:`31675`: Fixed memory leaks in Tkinter's methods splitlist() and " +"split() when pass a string larger than 2 GiB." +msgstr "" + +#: build/NEWS:34120 +msgid "" +":issue:`31673`: Fixed typo in the name of Tkinter's method adderrorinfo()." +msgstr "" + +#: build/NEWS:30976 +msgid "" +":issue:`31648`: Improvements to path predicates in ElementTree: Allow " +"whitespace around predicate parts, i.e. \"[a = 'text']\" instead of " +"requiring the less readable \"[a='text']\". Add support for text comparison " +"of the current node, like \"[.='text']\". Patch by Stefan Behnel." +msgstr "" + +#: build/NEWS:34122 +msgid ":issue:`30806`: Fix the string representation of a netrc object." +msgstr "" + +#: build/NEWS:30983 +msgid "" +":issue:`31638`: Add optional argument ``compressed`` to ``zipapp." +"create_archive``, and add option ``--compress`` to the command line " +"interface of ``zipapp``." +msgstr "" + +#: build/NEWS:34127 +msgid ":issue:`25351`: Avoid venv activate failures with undefined variables" +msgstr "" + +#: build/NEWS:30989 +msgid "" +":issue:`20519`: Avoid ctypes use (if possible) and improve import time for " +"uuid." +msgstr "" + +#: build/NEWS:30992 +msgid "" +":issue:`28293`: The regular expression cache is no longer completely dumped " +"when it is full." +msgstr "" + +#: build/NEWS:30995 +msgid ":issue:`31596`: Added pthread_getcpuclockid() to the time module" +msgstr "" + +#: build/NEWS:30997 +msgid "" +":issue:`27494`: Make 2to3 accept a trailing comma in generator expressions. " +"For example, ``set(x for x in [],)`` is now allowed." +msgstr "" + +#: build/NEWS:34133 +msgid "" +":issue:`30347`: Stop crashes when concurrently iterate over itertools." +"groupby() iterators." +msgstr "" + +#: build/NEWS:31003 +msgid "" +":issue:`30346`: An iterator produced by itertools.groupby() iterator now " +"becomes exhausted after advancing the groupby iterator." +msgstr "" + +#: build/NEWS:31006 +msgid ":issue:`31556`: Cancel asyncio.wait_for future faster if timeout <= 0" +msgstr "" + +#: build/NEWS:31008 +msgid "" +":issue:`31540`: Allow passing a context object in :class:`concurrent.futures." +"ProcessPoolExecutor` constructor. Also, free job resources in :class:" +"`concurrent.futures.ProcessPoolExecutor` earlier to improve memory usage " +"when a worker waits for new jobs." +msgstr "" + +#: build/NEWS:34136 +msgid "" +":issue:`31516`: ``threading.current_thread()`` should not return a dummy " +"thread at shutdown." +msgstr "" + +#: build/NEWS:31016 +msgid "" +":issue:`31525`: In the sqlite module, require the sqlite3_prepare_v2 API. " +"Thus, the sqlite module now requires sqlite version at least 3.3.9." +msgstr "" + +#: build/NEWS:31019 +msgid "" +":issue:`26510`: argparse subparsers are now required by default. This " +"matches behaviour in Python 2. For optional subparsers, use the new " +"parameter ``add_subparsers(required=False)``. Patch by Anthony Sottile. (As " +"of 3.7.0rc1, the default was changed to not required as had been the case " +"since Python 3.3.)" +msgstr "" + +#: build/NEWS:31025 +msgid "" +":issue:`27541`: Reprs of subclasses of some collection and iterator classes " +"(``bytearray``, ``array.array``, ``collections.deque``, ``collections." +"defaultdict``, ``itertools.count``, ``itertools.repeat``) now contain actual " +"type name instead of hardcoded names of the base class." +msgstr "" + +#: build/NEWS:34139 +msgid "" +":issue:`31351`: python -m ensurepip now exits with non-zero exit code if pip " +"bootstrapping has failed." +msgstr "" + +#: build/NEWS:31033 +msgid "" +":issue:`31389`: ``pdb.set_trace()`` now takes an optional keyword-only " +"argument ``header``. If given, this is printed to the console just before " +"debugging begins." +msgstr "" + +#: build/NEWS:34160 +msgid "" +":issue:`31537`: Fix incorrect usage of ``get_history_length`` in readline " +"documentation example code. Patch by Brad Smith." +msgstr "" + +#: build/NEWS:34163 +msgid "" +":issue:`30085`: The operator functions without double underscores are " +"preferred for clarity. The one with underscores are only kept for back-" +"compatibility." +msgstr "" + +#: build/NEWS:31050 +msgid "" +":issue:`31696`: Improve compiler version information in :data:`sys.version` " +"when Python is built with Clang." +msgstr "" + +#: build/NEWS:31053 +msgid "" +":issue:`31625`: Stop using ranlib on static libraries. Instead, we assume ar " +"supports the 's' flag." +msgstr "" + +#: build/NEWS:31056 +msgid ":issue:`31624`: Remove support for BSD/OS." +msgstr "" + +#: build/NEWS:34204 +msgid "" +":issue:`22140`: Prevent double substitution of prefix in python-config.sh." +msgstr "" + +#: build/NEWS:31060 +msgid "" +":issue:`31569`: Correct PCBuild/ case to PCbuild/ in build scripts and " +"documentation." +msgstr "" + +#: build/NEWS:34206 +msgid "" +":issue:`31536`: Avoid wholesale rebuild after ``make regen-all`` if nothing " +"changed." +msgstr "" + +#: build/NEWS:34262 +msgid "" +":issue:`31460`: Simplify the API of IDLE's Module Browser. Passing a widget " +"instead of an flist with a root widget opens the option of creating a " +"browser frame that is only part of a window. Passing a full file name " +"instead of pieces assumed to come from a .py file opens the possibility of " +"browsing python files that do not end in .py." +msgstr "" + +#: build/NEWS:34268 +msgid ":issue:`31649`: IDLE - Make _htest, _utest parameters keyword only." +msgstr "" + +#: build/NEWS:34270 +msgid ":issue:`31559`: Remove test order dependence in idle_test.test_browser." +msgstr "" + +#: build/NEWS:34272 +msgid "" +":issue:`31459`: Rename IDLE's module browser from Class Browser to Module " +"Browser. The original module-level class and method browser became a module " +"browser, with the addition of module-level functions, years ago. Nested " +"classes and functions were added yesterday. For back-compatibility, the " +"virtual event <<open-class-browser>>, which appears on the Keys tab of the " +"Settings dialog, is not changed. Patch by Cheryl Sabella." +msgstr "" + +#: build/NEWS:34280 +msgid ":issue:`31500`: Default fonts now are scaled on HiDPI displays." +msgstr "" + +#: build/NEWS:34282 +msgid "" +":issue:`1612262`: IDLE module browser now shows nested classes and " +"functions. Original patches for code and tests by Guilherme Polo and Cheryl " +"Sabella, respectively." +msgstr "" + +#: build/NEWS:31096 +msgid "" +":issue:`28280`: Make ``PyMapping_Keys()``, ``PyMapping_Values()`` and " +"``PyMapping_Items()`` always return a ``list`` (rather than a ``list`` or a " +"``tuple``). Patch by Oren Milman." +msgstr "" + +#: build/NEWS:34300 +msgid "" +":issue:`31532`: Fix memory corruption due to allocator mix in getpath.c " +"between Py_GetPath() and Py_SetPath()" +msgstr "" + +#: build/NEWS:31103 +msgid "" +":issue:`25658`: Implement :pep:`539` for Thread Specific Storage (TSS) API: " +"it is a new Thread Local Storage (TLS) API to CPython which would supersede " +"use of the existing TLS API within the CPython interpreter, while " +"deprecating the existing API. PEP written by Erik M. Bray, patch by Masayuki " +"Yamamoto." +msgstr "" + +#: build/NEWS:31111 +msgid "Python 3.7.0 alpha 1" +msgstr "" + +#: build/NEWS:31113 +msgid "*Release date: 2017-09-19*" +msgstr "" + +#: build/NEWS:34338 +msgid "" +":issue:`29781`: SSLObject.version() now correctly returns None when " +"handshake over BIO has not been performed yet." +msgstr "" + +#: build/NEWS:31121 +msgid "" +":issue:`29505`: Add fuzz tests for float(str), int(str), unicode(str); for " +"oss-fuzz." +msgstr "" + +#: build/NEWS:38688 +msgid "" +":issue:`30947`: Upgrade libexpat embedded copy from version 2.2.1 to 2.2.3 " +"to get security fixes." +msgstr "" + +#: build/NEWS:38730 +msgid "" +":issue:`30730`: Prevent environment variables injection in subprocess on " +"Windows. Prevent passing other environment variables and command arguments." +msgstr "" + +#: build/NEWS:38734 +msgid "" +":issue:`30694`: Upgrade expat copy from 2.2.0 to 2.2.1 to get fixes of " +"multiple security vulnerabilities including: :cve:`2017-9233` (External " +"entity infinite loop DoS), :cve:`2016-9063` (Integer overflow, re-fix), :cve:" +"`2016-0718` (Fix regression bugs from 2.2.0's fix to :cve:`2016-0718`) and :" +"cve:`2012-0876` (Counter hash flooding with SipHash). Note: the :cve:" +"`2016-5300` (Use os-specific entropy sources like getrandom) doesn't impact " +"Python, since Python already gets entropy from the OS to set the expat " +"secret using ``XML_SetHashSalt()``." +msgstr "" + +#: build/NEWS:38743 +msgid "" +":issue:`30500`: Fix urllib.parse.splithost() to correctly parse fragments. " +"For example, ``splithost('//127.0.0.1#@evil.com/')`` now correctly returns " +"the ``127.0.0.1`` host, instead of treating ``@evil.com`` as the host in an " +"authentication (``login@host``)." +msgstr "" + +#: build/NEWS:38748 +msgid "" +":issue:`29591`: Update expat copy from 2.1.1 to 2.2.0 to get fixes of :cve:" +"`2016-0718` and :cve:`2016-4472`. See https://sourceforge.net/p/expat/" +"bugs/537/ for more information." +msgstr "" + +#: build/NEWS:33966 +msgid "" +":issue:`31490`: Fix an assertion failure in ``ctypes`` class definition, in " +"case the class has an attribute whose name is specified in ``_anonymous_`` " +"but not in ``_fields_``. Patch by Oren Milman." +msgstr "" + +#: build/NEWS:34347 +msgid "" +":issue:`31471`: Fix an assertion failure in ``subprocess.Popen()`` on " +"Windows, in case the env argument has a bad ``keys()`` method. Patch by Oren " +"Milman." +msgstr "" + +#: build/NEWS:34351 +msgid "" +":issue:`31418`: Fix an assertion failure in ``PyErr_WriteUnraisable()`` in " +"case of an exception with a bad ``__module__`` attribute. Patch by Oren " +"Milman." +msgstr "" + +#: build/NEWS:34354 +msgid "" +":issue:`31416`: Fix assertion failures in case of a bad warnings.filters or " +"warnings.defaultaction. Patch by Oren Milman." +msgstr "" + +#: build/NEWS:31166 +msgid "" +":issue:`28411`: Change direct usage of PyInterpreterState.modules to " +"PyImport_GetModuleDict(). Also introduce more uniformity in other code that " +"deals with sys.modules. This helps reduce complications when working on sys." +"modules." +msgstr "" + +#: build/NEWS:31171 +msgid "" +":issue:`28411`: Switch to the abstract API when dealing with " +"``PyInterpreterState.modules``. This allows later support for all dict " +"subclasses and other Mapping implementations. Also add a " +"``PyImport_GetModule()`` function to reduce a bunch of duplicated code." +msgstr "" + +#: build/NEWS:34357 +msgid "" +":issue:`31411`: Raise a TypeError instead of SystemError in case warnings." +"onceregistry is not a dictionary. Patch by Oren Milman." +msgstr "" + +#: build/NEWS:31179 +msgid "" +":issue:`31344`: For finer control of tracing behaviour when testing the " +"interpreter, two new frame attributes have been added to control the " +"emission of particular trace events: ``f_trace_lines`` (``True`` by default) " +"to turn off per-line trace events; and ``f_trace_opcodes`` (``False`` by " +"default) to turn on per-opcode trace events." +msgstr "" + +#: build/NEWS:34360 +msgid "" +":issue:`31373`: Fix several possible instances of undefined behavior due to " +"floating-point demotions." +msgstr "" + +#: build/NEWS:34363 +msgid "" +":issue:`30465`: Location information (``lineno`` and ``col_offset``) in f-" +"strings is now (mostly) correct. This fixes tools like flake8 from showing " +"warnings on the wrong line (typically the first line of the file)." +msgstr "" + +#: build/NEWS:31192 +msgid "" +":issue:`30860`: Consolidate CPython's global runtime state under a single " +"struct. This improves discoverability of the runtime state." +msgstr "" + +#: build/NEWS:31195 +msgid "" +":issue:`31347`: Fix possible undefined behavior in " +"_PyObject_FastCall_Prepend." +msgstr "" + +#: build/NEWS:34367 +msgid "" +":issue:`31343`: Include sys/sysmacros.h for major(), minor(), and makedev(). " +"GNU C libray plans to remove the functions from sys/types.h." +msgstr "" + +#: build/NEWS:34370 +msgid "" +":issue:`31291`: Fix an assertion failure in ``zipimport.zipimporter." +"get_data`` on Windows, when the return value of ``pathname.replace('/','\\" +"\\')`` isn't a string. Patch by Oren Milman." +msgstr "" + +#: build/NEWS:34374 +msgid "" +":issue:`31271`: Fix an assertion failure in the ``write()`` method of ``io." +"TextIOWrapper``, when the encoder doesn't return a bytes object. Patch by " +"Oren Milman." +msgstr "" + +#: build/NEWS:34378 +msgid "" +":issue:`31243`: Fix a crash in some methods of ``io.TextIOWrapper``, when " +"the decoder's state is invalid. Patch by Oren Milman." +msgstr "" + +#: build/NEWS:34381 +msgid "" +":issue:`30721`: ``print`` now shows correct usage hint for using Python 2 " +"redirection syntax. Patch by Sanyam Khurana." +msgstr "" + +#: build/NEWS:34384 +msgid ":issue:`31070`: Fix a race condition in importlib _get_module_lock()." +msgstr "" + +#: build/NEWS:31216 +msgid "" +":issue:`30747`: Add a non-dummy implementation of _Py_atomic_store and " +"_Py_atomic_load on MSVC." +msgstr "" + +#: build/NEWS:38694 +msgid "" +":issue:`31095`: Fix potential crash during GC caused by ``tp_dealloc`` which " +"doesn't call ``PyObject_GC_UnTrack()``." +msgstr "" + +#: build/NEWS:34389 +msgid "" +":issue:`31071`: Avoid masking original TypeError in call with * unpacking " +"when other arguments are passed." +msgstr "" + +#: build/NEWS:34392 +msgid "" +":issue:`30978`: str.format_map() now passes key lookup exceptions through. " +"Previously any exception was replaced with a KeyError exception." +msgstr "" + +#: build/NEWS:34395 +msgid "" +":issue:`30808`: Use _Py_atomic API for concurrency-sensitive signal state." +msgstr "" + +#: build/NEWS:38755 +msgid "" +":issue:`30876`: Relative import from unloaded package now reimports the " +"package instead of failing with SystemError. Relative import from non-" +"package now fails with ImportError rather than SystemError." +msgstr "" + +#: build/NEWS:34401 +msgid "" +":issue:`30703`: Improve signal delivery. Avoid using Py_AddPendingCall from " +"signal handler, to avoid calling signal-unsafe functions. The tests I'm " +"adding here fail without the rest of the patch, on Linux and OS X. This " +"means our signal delivery logic had defects (some signals could be lost)." +msgstr "" + +#: build/NEWS:38759 +msgid "" +":issue:`30765`: Avoid blocking in pthread_mutex_lock() when " +"PyThread_acquire_lock() is asked not to block." +msgstr "" + +#: build/NEWS:34409 +msgid "" +":issue:`31161`: Make sure the 'Missing parentheses' syntax error message is " +"only applied to SyntaxError, not to subclasses. Patch by Martijn Pieters." +msgstr "" + +#: build/NEWS:34412 +msgid "" +":issue:`30814`: Fixed a race condition when import a submodule from a " +"package." +msgstr "" + +#: build/NEWS:31247 +msgid "" +":issue:`30736`: The internal unicodedata database has been upgraded to " +"Unicode 10.0." +msgstr "" + +#: build/NEWS:31250 +msgid "" +":issue:`30604`: Move co_extra_freefuncs from per-thread to per-interpreter " +"to avoid crashes." +msgstr "" + +#: build/NEWS:34414 +msgid "" +":issue:`30597`: ``print`` now shows expected input in custom error message " +"when used as a Python 2 statement. Patch by Sanyam Khurana." +msgstr "" + +#: build/NEWS:34836 +msgid "" +":issue:`30682`: Removed a too-strict assertion that failed for certain f-" +"strings, such as eval(\"f'\\\\\\n'\") and eval(\"f'\\\\\\r'\")." +msgstr "" + +#: build/NEWS:31259 +msgid "" +":issue:`30501`: The compiler now produces more optimal code for complex " +"condition expressions in the \"if\", \"while\" and \"assert\" statement, the " +"\"if\" expression, and generator expressions and comprehensions." +msgstr "" + +#: build/NEWS:31263 +msgid "" +":issue:`28180`: Implement :pep:`538` (legacy C locale coercion). This means " +"that when a suitable coercion target locale is available, both the core " +"interpreter and locale-aware C extensions will assume the use of UTF-8 as " +"the default text encoding, rather than ASCII." +msgstr "" + +#: build/NEWS:31268 +msgid "" +":issue:`30486`: Allows setting cell values for __closure__. Patch by Lisa " +"Roach." +msgstr "" + +#: build/NEWS:31271 +msgid "" +":issue:`30537`: itertools.islice now accepts integer-like objects (having an " +"__index__ method) as start, stop, and slice arguments" +msgstr "" + +#: build/NEWS:31274 +msgid "" +":issue:`25324`: Tokens needed for parsing in Python moved to C. ``COMMENT``, " +"``NL`` and ``ENCODING``. This way the tokens and tok_names in the token " +"module don't get changed when you import the tokenize module." +msgstr "" + +#: build/NEWS:34841 +msgid ":issue:`29104`: Fixed parsing backslashes in f-strings." +msgstr "" + +#: build/NEWS:38762 +msgid "" +":issue:`27945`: Fixed various segfaults with dict when input collections are " +"mutated during searching, inserting or comparing. Based on patches by Duane " +"Griffin and Tim Mitchell." +msgstr "" + +#: build/NEWS:38766 +msgid "" +":issue:`25794`: Fixed type.__setattr__() and type.__delattr__() for non-" +"interned attribute names. Based on patch by Eryk Sun." +msgstr "" + +#: build/NEWS:34850 +msgid "" +":issue:`30039`: If a KeyboardInterrupt happens when the interpreter is in " +"the middle of resuming a chain of nested 'yield from' or 'await' calls, it's " +"now correctly delivered to the innermost frame." +msgstr "" + +#: build/NEWS:31291 +msgid "" +":issue:`28974`: ``object.__format__(x, '')`` is now equivalent to ``str(x)`` " +"rather than ``format(str(self), '')``." +msgstr "" + +#: build/NEWS:31294 +msgid "" +":issue:`30024`: Circular imports involving absolute imports with binding a " +"submodule to a name are now supported." +msgstr "" + +#: build/NEWS:34854 +msgid "" +":issue:`12414`: sys.getsizeof() on a code object now returns the sizes which " +"includes the code struct and sizes of objects which it references. Patch by " +"Donghee Na." +msgstr "" + +#: build/NEWS:31301 +msgid "" +":issue:`29839`: len() now raises ValueError rather than OverflowError if " +"__len__() returned a large negative integer." +msgstr "" + +#: build/NEWS:31304 +msgid "" +":issue:`11913`: README.rst is now included in the list of distutils standard " +"READMEs and therefore included in source distributions." +msgstr "" + +#: build/NEWS:31307 +msgid "" +":issue:`29914`: Fixed default implementations of __reduce__ and " +"__reduce_ex__(). object.__reduce__() no longer takes arguments, object." +"__reduce_ex__() now requires one argument." +msgstr "" + +#: build/NEWS:34858 +msgid "" +":issue:`29949`: Fix memory usage regression of set and frozenset object." +msgstr "" + +#: build/NEWS:38769 +msgid "" +":issue:`29935`: Fixed error messages in the index() method of tuple, list " +"and deque when pass indices of wrong type." +msgstr "" + +#: build/NEWS:31316 +msgid "" +":issue:`29816`: Shift operation now has less opportunity to raise " +"OverflowError. ValueError always is raised rather than OverflowError for " +"negative counts. Shifting zero with non-negative count always returns zero." +msgstr "" + +#: build/NEWS:31321 +msgid "" +":issue:`24821`: Fixed the slowing down to 25 times in the searching of some " +"unlucky Unicode characters." +msgstr "" + +#: build/NEWS:31324 +msgid "" +":issue:`29102`: Add a unique ID to PyInterpreterState. This makes it easier " +"to identify each subinterpreter." +msgstr "" + +#: build/NEWS:31327 +msgid "" +":issue:`29894`: The deprecation warning is emitted if __complex__ returns an " +"instance of a strict subclass of complex. In a future versions of Python " +"this can be an error." +msgstr "" + +#: build/NEWS:34863 +msgid "" +":issue:`29859`: Show correct error messages when any of the pthread_* calls " +"in thread_pthread.h fails." +msgstr "" + +#: build/NEWS:31334 +msgid "" +":issue:`29849`: Fix a memory leak when an ImportError is raised during from " +"import." +msgstr "" + +#: build/NEWS:34871 +msgid "" +":issue:`28856`: Fix an oversight that %b format for bytes should support " +"objects follow the buffer protocol." +msgstr "" + +#: build/NEWS:35178 +msgid "" +":issue:`29723`: The ``sys.path[0]`` initialization change for :issue:`29139` " +"caused a regression by revealing an inconsistency in how sys.path is " +"initialized when executing ``__main__`` from a zipfile, directory, or other " +"import location. The interpreter now consistently avoids ever adding the " +"import location's parent directory to ``sys.path``, and ensures no other " +"``sys.path`` entries are inadvertently modified when inserting the import " +"location named on the command line." +msgstr "" + +#: build/NEWS:31348 +msgid "" +":issue:`29568`: Escaped percent \"%%\" in the format string for classic " +"string formatting no longer allows any characters between two percents." +msgstr "" + +#: build/NEWS:34874 +msgid "" +":issue:`29714`: Fix a regression that bytes format may fail when containing " +"zero bytes inside." +msgstr "" + +#: build/NEWS:31354 +msgid "" +":issue:`29695`: bool(), float(), list() and tuple() no longer take keyword " +"arguments. The first argument of int() can now be passes only as positional " +"argument." +msgstr "" + +#: build/NEWS:35202 +msgid "" +":issue:`28893`: Set correct __cause__ for errors about invalid awaitables " +"returned from __aiter__ and __anext__." +msgstr "" + +#: build/NEWS:38772 +msgid "" +":issue:`28876`: ``bool(range)`` works even if ``len(range)`` raises :exc:" +"`OverflowError`." +msgstr "" + +#: build/NEWS:35205 +msgid "" +":issue:`29683`: Fixes to memory allocation in _PyCode_SetExtra. Patch by " +"Brian Coleman." +msgstr "" + +#: build/NEWS:35208 +msgid "" +":issue:`29684`: Fix minor regression of PyEval_CallObjectWithKeywords. It " +"should raise TypeError when kwargs is not a dict. But it might cause segv " +"when args=NULL and kwargs is not a dict." +msgstr "" + +#: build/NEWS:38783 +msgid "" +":issue:`28598`: Support __rmod__ for subclasses of str being called before " +"str.__mod__. Patch by Martijn Pieters." +msgstr "" + +#: build/NEWS:35215 +msgid "" +":issue:`29607`: Fix stack_effect computation for CALL_FUNCTION_EX. Patch by " +"Matthieu Dartiailh." +msgstr "" + +#: build/NEWS:38786 +msgid "" +":issue:`29602`: Fix incorrect handling of signed zeros in complex " +"constructor for complex subclasses and for inputs having a __complex__ " +"method. Patch by Serhiy Storchaka." +msgstr "" + +#: build/NEWS:38790 +msgid "" +":issue:`29347`: Fixed possibly dereferencing undefined pointers when " +"creating weakref objects." +msgstr "" + +#: build/NEWS:31384 +msgid "" +":issue:`29463`: Add ``docstring`` field to Module, ClassDef, FunctionDef, " +"and AsyncFunctionDef ast nodes. docstring is not first stmt in their body " +"anymore. It affects ``co_firstlineno`` and ``co_lnotab`` of code object for " +"module and class. (Reverted in :issue:`32911`.)" +msgstr "" + +#: build/NEWS:38793 +msgid ":issue:`29438`: Fixed use-after-free problem in key sharing dict." +msgstr "" + +#: build/NEWS:31391 +msgid "" +":issue:`29546`: Set the 'path' and 'name' attribute on ImportError for " +"``from ... import ...``." +msgstr "" + +#: build/NEWS:31394 +msgid ":issue:`29546`: Improve from-import error message with location" +msgstr "" + +#: build/NEWS:38800 +msgid "" +":issue:`29478`: If max_line_length=None is specified while using the " +"Compat32 policy, it is no longer ignored. Patch by Mircea Cosbuc." +msgstr "" + +#: build/NEWS:38795 +msgid ":issue:`29319`: Prevent RunMainFromImporter overwriting sys.path[0]." +msgstr "" + +#: build/NEWS:38797 +msgid "" +":issue:`29337`: Fixed possible BytesWarning when compare the code objects. " +"Warnings could be emitted at compile time." +msgstr "" + +#: build/NEWS:35232 +msgid "" +":issue:`29327`: Fixed a crash when pass the iterable keyword argument to " +"sorted()." +msgstr "" + +#: build/NEWS:35235 +msgid "" +":issue:`29034`: Fix memory leak and use-after-free in os module " +"(path_converter)." +msgstr "" + +#: build/NEWS:35238 +msgid "" +":issue:`29159`: Fix regression in bytes(x) when x.__index__() raises " +"Exception." +msgstr "" + +#: build/NEWS:31412 +msgid "" +":issue:`29049`: Call _PyObject_GC_TRACK() lazily when calling Python " +"function. Calling function is up to 5% faster." +msgstr "" + +#: build/NEWS:31415 +msgid "" +":issue:`28927`: bytes.fromhex() and bytearray.fromhex() now ignore all ASCII " +"whitespace, not only spaces. Patch by Robert Xiao." +msgstr "" + +#: build/NEWS:39158 +msgid ":issue:`28932`: Do not include <sys/random.h> if it does not exist." +msgstr "" + +#: build/NEWS:39163 +msgid "" +":issue:`25677`: Correct the positioning of the syntax error caret for " +"indented blocks. Based on patch by Michael Layzell." +msgstr "" + +#: build/NEWS:39166 +msgid "" +":issue:`29000`: Fixed bytes formatting of octals with zero padding in " +"alternate form." +msgstr "" + +#: build/NEWS:31426 +msgid "" +":issue:`18896`: Python function can now have more than 255 parameters. " +"collections.namedtuple() now supports tuples with more than 255 elements." +msgstr "" + +#: build/NEWS:31429 +msgid "" +":issue:`28596`: The preferred encoding is UTF-8 on Android. Patch written by " +"Chi Hsuan Yen." +msgstr "" + +#: build/NEWS:31432 +msgid ":issue:`22257`: Clean up interpreter startup (see :pep:`432`)." +msgstr "" + +#: build/NEWS:35248 +msgid "" +":issue:`26919`: On Android, operating system data is now always encoded/" +"decoded to/from UTF-8, instead of the locale encoding to avoid " +"inconsistencies with os.fsencode() and os.fsdecode() which are already using " +"UTF-8." +msgstr "" + +#: build/NEWS:35252 +msgid "" +":issue:`28991`: functools.lru_cache() was susceptible to an obscure " +"reentrancy bug triggerable by a monkey-patched len() function." +msgstr "" + +#: build/NEWS:35526 +msgid "" +":issue:`28147`: Fix a memory leak in split-table dictionaries: setattr() " +"must not convert combined table into split table. Patch written by INADA " +"Naoki." +msgstr "" + +#: build/NEWS:35255 +msgid "" +":issue:`28739`: f-string expressions are no longer accepted as docstrings " +"and by ast.literal_eval() even if they do not include expressions." +msgstr "" + +#: build/NEWS:39169 +msgid "" +":issue:`28512`: Fixed setting the offset attribute of SyntaxError by " +"PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject()." +msgstr "" + +#: build/NEWS:35261 +msgid "" +":issue:`28918`: Fix the cross compilation of xxlimited when Python has been " +"built with Py_DEBUG defined." +msgstr "" + +#: build/NEWS:35556 +msgid "" +":issue:`23722`: Rather than silently producing a class that doesn't support " +"zero-argument ``super()`` in methods, failing to pass the new " +"``__classcell__`` namespace entry up to ``type.__new__`` now results in a " +"``DeprecationWarning`` and a class that supports zero-argument ``super()``." +msgstr "" + +#: build/NEWS:35562 +msgid "" +":issue:`28797`: Modifying the class __dict__ inside the __set_name__ method " +"of a descriptor that is used inside that class no longer prevents calling " +"the __set_name__ method of other descriptors." +msgstr "" + +#: build/NEWS:31463 +msgid "" +":issue:`28799`: Remove the ``PyEval_GetCallStats()`` function and deprecate " +"the untested and undocumented ``sys.callstats()`` function. Remove the " +"``CALL_PROFILE`` special build: use the :func:`sys.setprofile` function, :" +"mod:`cProfile` or :mod:`profile` to profile function calls." +msgstr "" + +#: build/NEWS:31468 +msgid "" +":issue:`12844`: More than 255 arguments can now be passed to a function." +msgstr "" + +#: build/NEWS:35566 +msgid "" +":issue:`28782`: Fix a bug in the implementation ``yield from`` when checking " +"if the next instruction is YIELD_FROM. Regression introduced by WORDCODE (:" +"issue:`26647`)." +msgstr "" + +#: build/NEWS:31474 +msgid "" +":issue:`28774`: Fix error position of the unicode error in ASCII and Latin1 " +"encoders when a string returned by the error handler contains multiple non-" +"encodable characters (non-ASCII for the ASCII codec, characters out of the " +"U+0000-U+00FF range for Latin1)." +msgstr "" + +#: build/NEWS:35264 +msgid "" +":issue:`28731`: Optimize _PyDict_NewPresized() to create correct size dict. " +"Improve speed of dict literal with constant keys up to 30%." +msgstr "" + +#: build/NEWS:35620 +msgid ":issue:`28532`: Show sys.version when -V option is supplied twice." +msgstr "" + +#: build/NEWS:35622 +msgid "" +":issue:`27100`: The with-statement now checks for __enter__ before it checks " +"for __exit__. This gives less confusing error messages when both methods are " +"missing. Patch by Jonathan Ellington." +msgstr "" + +#: build/NEWS:35626 +msgid "" +":issue:`28746`: Fix the set_inheritable() file descriptor method on " +"platforms that do not have the ioctl FIOCLEX and FIONCLEX commands." +msgstr "" + +#: build/NEWS:35629 +msgid "" +":issue:`26920`: Fix not getting the locale's charset upon initializing the " +"interpreter, on platforms that do not have langinfo." +msgstr "" + +#: build/NEWS:39175 +msgid "" +":issue:`28648`: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X " +"when decode astral characters. Patch by Xiang Zhang." +msgstr "" + +#: build/NEWS:35638 +msgid ":issue:`28665`: Improve speed of the STORE_DEREF opcode by 40%." +msgstr "" + +#: build/NEWS:39178 +msgid "" +":issue:`19398`: Extra slash no longer added to sys.path components in case " +"of empty compile-time PYTHONPATH components." +msgstr "" + +#: build/NEWS:31502 +msgid "" +":issue:`28621`: Sped up converting int to float by reusing faster bits " +"counting implementation. Patch by Adrian Wielgosik." +msgstr "" + +#: build/NEWS:31505 +msgid "" +":issue:`28580`: Optimize iterating split table values. Patch by Xiang Zhang." +msgstr "" + +#: build/NEWS:35640 +msgid "" +":issue:`28583`: PyDict_SetDefault didn't combine split table when needed. " +"Patch by Xiang Zhang." +msgstr "" + +#: build/NEWS:35734 +msgid "" +":issue:`28128`: Deprecation warning for invalid str and byte escape " +"sequences now prints better information about where the error occurs. Patch " +"by Serhiy Storchaka and Eric Smith." +msgstr "" + +#: build/NEWS:35738 +msgid "" +":issue:`28509`: dict.update() no longer allocate unnecessary large memory." +msgstr "" + +#: build/NEWS:39181 +msgid "" +":issue:`28426`: Fixed potential crash in PyUnicode_AsDecodedObject() in " +"debug build." +msgstr "" + +#: build/NEWS:35743 +msgid "" +":issue:`28517`: Fixed of-by-one error in the peephole optimizer that caused " +"keeping unreachable code." +msgstr "" + +#: build/NEWS:35746 +msgid "" +":issue:`28214`: Improved exception reporting for problematic __set_name__ " +"attributes." +msgstr "" + +#: build/NEWS:39184 +msgid "" +":issue:`23782`: Fixed possible memory leak in _PyTraceback_Add() and " +"exception loss in PyTraceBack_Here()." +msgstr "" + +#: build/NEWS:35858 +msgid ":issue:`28183`: Optimize and cleanup dict iteration." +msgstr "" + +#: build/NEWS:35860 +msgid "" +":issue:`26081`: Added C implementation of asyncio.Future. Original patch by " +"Yury Selivanov." +msgstr "" + +#: build/NEWS:39187 +msgid "" +":issue:`28379`: Added sanity checks and tests for " +"PyUnicode_CopyCharacters(). Patch by Xiang Zhang." +msgstr "" + +#: build/NEWS:39190 +msgid "" +":issue:`28376`: The type of long range iterator is now registered as " +"Iterator. Patch by Oren Milman." +msgstr "" + +#: build/NEWS:31539 +msgid "" +":issue:`28376`: Creating instances of range_iterator by calling " +"range_iterator type now is disallowed. Calling iter() on range instance is " +"the only way. Patch by Oren Milman." +msgstr "" + +#: build/NEWS:39196 +msgid "" +":issue:`26906`: Resolving special methods of uninitialized type now causes " +"implicit initialization of the type instead of a fail." +msgstr "" + +#: build/NEWS:39199 +msgid "" +":issue:`18287`: PyType_Ready() now checks that tp_name is not NULL. Original " +"patch by Niklas Koep." +msgstr "" + +#: build/NEWS:39202 +msgid "" +":issue:`24098`: Fixed possible crash when AST is changed in process of " +"compiling it." +msgstr "" + +#: build/NEWS:35884 +msgid "" +":issue:`28201`: Dict reduces possibility of 2nd conflict in hash table when " +"hashes have same lower bits." +msgstr "" + +#: build/NEWS:39205 +msgid "" +":issue:`28350`: String constants with null character no longer interned." +msgstr "" + +#: build/NEWS:39207 +msgid ":issue:`26617`: Fix crash when GC runs during weakref callbacks." +msgstr "" + +#: build/NEWS:39209 +msgid "" +":issue:`27942`: String constants now interned recursively in tuples and " +"frozensets." +msgstr "" + +#: build/NEWS:31562 +msgid "" +":issue:`28289`: ImportError.__init__ now resets not specified attributes." +msgstr "" + +#: build/NEWS:39212 +msgid "" +":issue:`21578`: Fixed misleading error message when ImportError called with " +"invalid keyword args." +msgstr "" + +#: build/NEWS:35897 +msgid "" +":issue:`28203`: Fix incorrect type in complex(1.0, {2:3}) error message. " +"Patch by Soumya Sharma." +msgstr "" + +#: build/NEWS:35900 +msgid "" +":issue:`28086`: Single var-positional argument of tuple subtype was passed " +"unscathed to the C-defined function. Now it is converted to exact tuple." +msgstr "" + +#: build/NEWS:35903 +msgid "" +":issue:`28214`: Now __set_name__ is looked up on the class instead of the " +"instance." +msgstr "" + +#: build/NEWS:39218 +msgid "" +":issue:`27955`: Fallback on reading /dev/urandom device when the getrandom() " +"syscall fails with EPERM, for example when blocked by SECCOMP." +msgstr "" + +#: build/NEWS:35909 +msgid ":issue:`28192`: Don't import readline in isolated mode." +msgstr "" + +#: build/NEWS:31581 +msgid "" +":issue:`27441`: Remove some redundant assignments to ob_size in longobject." +"c. Thanks Oren Milman." +msgstr "" + +#: build/NEWS:31584 +msgid "" +":issue:`27222`: Clean up redundant code in long_rshift function. Thanks Oren " +"Milman." +msgstr "" + +#: build/NEWS:35911 +msgid "Upgrade internal unicode databases to Unicode version 9.0.0." +msgstr "" + +#: build/NEWS:39221 +msgid "" +":issue:`28131`: Fix a regression in zipimport's compile_source(). zipimport " +"should use the same optimization level as the interpreter." +msgstr "" + +#: build/NEWS:35916 +msgid "" +":issue:`28126`: Replace Py_MEMCPY with memcpy(). Visual Studio can properly " +"optimize memcpy()." +msgstr "" + +#: build/NEWS:35919 +msgid "" +":issue:`28120`: Fix dict.pop() for splitted dictionary when trying to remove " +"a \"pending key\" (Not yet inserted in split-table). Patch by Xiang Zhang." +msgstr "" + +#: build/NEWS:35922 +msgid "" +":issue:`26182`: Raise DeprecationWarning when async and await keywords are " +"used as variable/attribute/class/function name." +msgstr "" + +#: build/NEWS:35647 +msgid ":issue:`26182`: Fix a refleak in code that raises DeprecationWarning." +msgstr "" + +#: build/NEWS:35649 +msgid "" +":issue:`28721`: Fix asynchronous generators aclose() and athrow() to handle " +"StopAsyncIteration propagation properly." +msgstr "" + +#: build/NEWS:31606 +msgid "" +":issue:`26110`: Speed-up method calls: add LOAD_METHOD and CALL_METHOD " +"opcodes." +msgstr "" + +#: build/NEWS:34420 +msgid "" +":issue:`31499`: xml.etree: Fix a crash when a parser is part of a reference " +"cycle." +msgstr "" + +#: build/NEWS:34142 +msgid ":issue:`31482`: ``random.seed()`` now works with bytes in version=1" +msgstr "" + +#: build/NEWS:34423 +msgid "" +":issue:`28556`: typing.get_type_hints now finds the right globalns for " +"classes and modules by default (when no ``globalns`` was specified by the " +"caller)." +msgstr "" + +#: build/NEWS:34426 +msgid "" +":issue:`28556`: Speed improvements to the ``typing`` module. Original PRs " +"by Ivan Levkivskyi and Mitar." +msgstr "" + +#: build/NEWS:34429 +msgid "" +":issue:`31544`: The C accelerator module of ElementTree ignored exceptions " +"raised when looking up TreeBuilder target methods in XMLParser()." +msgstr "" + +#: build/NEWS:34432 +msgid "" +":issue:`31234`: socket.create_connection() now fixes manually a reference " +"cycle: clear the variable storing the last exception on success." +msgstr "" + +#: build/NEWS:34435 +msgid ":issue:`31457`: LoggerAdapter objects can now be nested." +msgstr "" + +#: build/NEWS:31630 +msgid "" +":issue:`31431`: SSLContext.check_hostname now automatically sets SSLContext." +"verify_mode to ssl.CERT_REQUIRED instead of failing with a ValueError." +msgstr "" + +#: build/NEWS:31634 +msgid "" +":issue:`31233`: socketserver.ThreadingMixIn now keeps a list of non-daemonic " +"threads to wait until all these threads complete in server_close()." +msgstr "" + +#: build/NEWS:31637 +msgid "" +":issue:`28638`: Changed the implementation strategy for collections." +"namedtuple() to substantially reduce the use of exec() in favor of " +"precomputed methods. As a result, the *verbose* parameter and *_source* " +"attribute are no longer supported. The benefits include 1) having a smaller " +"memory footprint for applications using multiple named tuples, 2) faster " +"creation of the named tuple class (approx 4x to 6x depending on how it is " +"measured), and 3) minor speed-ups for instance creation using __new__, " +"_make, and _replace. (The primary patch contributor is Jelle Zijlstra with " +"further improvements by INADA Naoki, Serhiy Storchaka, and Raymond " +"Hettinger.)" +msgstr "" + +#: build/NEWS:34437 +msgid "" +":issue:`31400`: Improves SSL error handling to avoid losing error numbers." +msgstr "" + +#: build/NEWS:31650 +msgid "" +":issue:`27629`: Make return types of SSLContext.wrap_bio() and SSLContext." +"wrap_socket() customizable." +msgstr "" + +#: build/NEWS:34439 +msgid "" +":issue:`28958`: ssl.SSLContext() now uses OpenSSL error information when a " +"context cannot be instantiated." +msgstr "" + +#: build/NEWS:31656 +msgid "" +":issue:`28182`: The SSL module now raises SSLCertVerificationError when " +"OpenSSL fails to verify the peer's certificate. The exception contains more " +"information about the error." +msgstr "" + +#: build/NEWS:34442 +msgid "" +":issue:`27340`: SSLSocket.sendall() now uses memoryview to create slices of " +"data. This fixes support for all bytes-like object. It is also more " +"efficient and avoids costly copies." +msgstr "" + +#: build/NEWS:31664 +msgid "" +":issue:`14191`: A new function ``argparse.ArgumentParser." +"parse_intermixed_args`` provides the ability to parse command lines where " +"there user intermixes options and positional arguments." +msgstr "" + +#: build/NEWS:34446 +msgid "" +":issue:`31178`: Fix string concatenation bug in rare error path in the " +"subprocess module" +msgstr "" + +#: build/NEWS:34449 +msgid "" +":issue:`31350`: Micro-optimize :func:`asyncio._get_running_loop` to become " +"up to 10% faster." +msgstr "" + +#: build/NEWS:38705 +msgid "" +":issue:`31170`: expat: Update libexpat from 2.2.3 to 2.2.4. Fix copying of " +"partial characters for UTF-8 input (libexpat bug 115): https://github.com/" +"libexpat/libexpat/issues/115" +msgstr "" + +#: build/NEWS:34456 +msgid ":issue:`29136`: Add TLS 1.3 cipher suites and OP_NO_TLSv1_3." +msgstr "" + +#: build/NEWS:31681 +msgid "" +":issue:`1198569`: ``string.Template`` subclasses can optionally define " +"``braceidpattern`` if they want to specify different placeholder patterns " +"inside and outside the braces. If None (the default) it falls back to " +"``idpattern``." +msgstr "" + +#: build/NEWS:31686 +msgid "" +":issue:`31326`: concurrent.futures.ProcessPoolExecutor.shutdown() now " +"explicitly closes the call queue. Moreover, shutdown(wait=True) now also " +"join the call queue thread, to prevent leaking a dangling thread." +msgstr "" + +#: build/NEWS:34467 +msgid "" +":issue:`27144`: The ``map()`` and ``as_completed()`` iterators in " +"``concurrent.futures`` now avoid keeping a reference to yielded objects." +msgstr "" + +#: build/NEWS:31693 +msgid "" +":issue:`31281`: Fix ``fileinput.FileInput(files, inplace=True)`` when " +"``files`` contain ``pathlib.Path`` objects." +msgstr "" + +#: build/NEWS:34470 +msgid "" +":issue:`10746`: Fix ctypes producing wrong :pep:`3118` type codes for " +"integer types." +msgstr "" + +#: build/NEWS:31699 +msgid "" +":issue:`27584`: ``AF_VSOCK`` has been added to the socket interface which " +"allows communication between virtual machines and their host." +msgstr "" + +#: build/NEWS:34473 +msgid "" +":issue:`22536`: The subprocess module now sets the filename when " +"FileNotFoundError is raised on POSIX systems due to the executable or cwd " +"not being found." +msgstr "" + +#: build/NEWS:31706 +msgid "" +":issue:`29741`: Update some methods in the _pyio module to also accept " +"integer types. Patch by Oren Milman." +msgstr "" + +#: build/NEWS:34477 +msgid "" +":issue:`31249`: concurrent.futures: WorkItem.run() used by " +"ThreadPoolExecutor now breaks a reference cycle between an exception object " +"and the WorkItem object." +msgstr "" + +#: build/NEWS:34481 +msgid "" +":issue:`31247`: xmlrpc.server now explicitly breaks reference cycles when " +"using sys.exc_info() in code handling exceptions." +msgstr "" + +#: build/NEWS:31716 +msgid "" +":issue:`23835`: configparser: reading defaults in the ``ConfigParser()`` " +"constructor is now using ``read_dict()``, making its behavior consistent " +"with the rest of the parser. Non-string keys and values in the defaults " +"dictionary are now being implicitly converted to strings. Patch by James " +"Tocknell." +msgstr "" + +#: build/NEWS:33397 +msgid "" +":issue:`31238`: pydoc: the stop() method of the private ServerThread class " +"now waits until DocServer.serve_until_quit() completes and then explicitly " +"sets its docserver attribute to None to break a reference cycle." +msgstr "" + +#: build/NEWS:31726 +msgid "" +":issue:`5001`: Many asserts in ``multiprocessing`` are now more informative, " +"and some error types have been changed to more specific ones." +msgstr "" + +#: build/NEWS:31729 +msgid ":issue:`31109`: Convert zipimport to use Argument Clinic." +msgstr "" + +#: build/NEWS:34484 +msgid "" +":issue:`30102`: The ssl and hashlib modules now call " +"OPENSSL_add_all_algorithms_noconf() on OpenSSL < 1.1.0. The function detects " +"CPU features and enables optimizations on some CPU architectures such as " +"POWER8. Patch is based on research from Gustavo Serra Scalet." +msgstr "" + +#: build/NEWS:31736 +msgid "" +":issue:`18966`: Non-daemonic threads created by a multiprocessing.Process " +"are now joined on child exit." +msgstr "" + +#: build/NEWS:31739 +msgid "" +":issue:`31183`: ``dis`` now works with asynchronous generator and coroutine " +"objects. Patch by George Collins based on diagnosis by Luciano Ramalho." +msgstr "" + +#: build/NEWS:31742 +msgid "" +":issue:`5001`: There are a number of uninformative asserts in the " +"``multiprocessing`` module, as noted in issue 5001. This change fixes two of " +"the most potentially problematic ones, since they are in error-reporting " +"code, in the ``multiprocessing.managers.convert_to_error`` function. (It " +"also makes more informative a ValueError message.) The only potentially " +"problematic change is that the AssertionError is now a TypeError; however, " +"this should also help distinguish it from an AssertionError being *reported* " +"by the function/its caller (such as in issue 31169). - Patch by Allen W. " +"Smith (drallensmith on github)." +msgstr "" + +#: build/NEWS:34489 +msgid ":issue:`31185`: Fixed miscellaneous errors in asyncio speedup module." +msgstr "" + +#: build/NEWS:31754 +msgid "" +":issue:`31151`: socketserver.ForkingMixIn.server_close() now waits until all " +"child processes completed to prevent leaking zombie processes." +msgstr "" + +#: build/NEWS:31757 +msgid "" +":issue:`31072`: Add an ``include_file`` parameter to ``zipapp." +"create_archive()``" +msgstr "" + +#: build/NEWS:31760 +msgid "" +":issue:`24700`: Optimize array.array comparison. It is now from 10x up to " +"70x faster when comparing arrays holding values of the same integer type." +msgstr "" + +#: build/NEWS:34491 +msgid "" +":issue:`31135`: ttk: fix the destroy() method of LabeledScale and OptionMenu " +"classes. Call the parent destroy() method even if the used attribute doesn't " +"exist. The LabeledScale.destroy() method now also explicitly clears label " +"and scale attributes to help the garbage collector to destroy all widgets." +msgstr "" + +#: build/NEWS:34497 +msgid "" +":issue:`31107`: Fix ``copyreg._slotnames()`` mangled attribute calculation " +"for classes whose name begins with an underscore. Patch by Shane Harvey." +msgstr "" + +#: build/NEWS:31772 +msgid "" +":issue:`31080`: Allow ``logging.config.fileConfig`` to accept kwargs and/or " +"args." +msgstr "" + +#: build/NEWS:31775 +msgid "" +":issue:`30897`: ``pathlib.Path`` objects now include an ``is_mount()`` " +"method (only implemented on POSIX). This is similar to ``os.path." +"ismount(p)``. Patch by Cooper Ry Lees." +msgstr "" + +#: build/NEWS:34500 +msgid ":issue:`31061`: Fixed a crash when using asyncio and threads." +msgstr "" + +#: build/NEWS:31781 +msgid "" +":issue:`30987`: Added support for CAN ISO-TP protocol in the socket module." +msgstr "" + +#: build/NEWS:31783 +msgid "" +":issue:`30522`: Added a ``setStream`` method to ``logging.StreamHandler`` to " +"allow the stream to be set after creation." +msgstr "" + +#: build/NEWS:34502 +msgid "" +":issue:`30502`: Fix handling of long oids in ssl. Based on patch by " +"Christian Heimes." +msgstr "" + +#: build/NEWS:31789 +msgid ":issue:`5288`: Support tzinfo objects with sub-minute offsets." +msgstr "" + +#: build/NEWS:31791 +msgid "" +":issue:`30919`: Fix shared memory performance regression in multiprocessing " +"in 3.x. Shared memory used anonymous memory mappings in 2.x, while 3.x mmaps " +"actual files. Try to be careful to do as little disk I/O as possible." +msgstr "" + +#: build/NEWS:31795 +msgid "" +":issue:`26732`: Fix too many fds in processes started with the " +"\"forkserver\" method. A child process would inherit as many fds as the " +"number of still-running children." +msgstr "" + +#: build/NEWS:38806 +msgid "" +":issue:`29403`: Fix ``unittest.mock``'s autospec to not fail on method-bound " +"builtin functions. Patch by Aaron Gallagher." +msgstr "" + +#: build/NEWS:38809 +msgid ":issue:`30961`: Fix decrementing a borrowed reference in tracemalloc." +msgstr "" + +#: build/NEWS:31804 +msgid "" +":issue:`19896`: Fix multiprocessing.sharedctypes to recognize typecodes " +"``'q'`` and ``'Q'``." +msgstr "" + +#: build/NEWS:31807 +msgid "" +":issue:`30946`: Remove obsolete code in readline module for platforms where " +"GNU readline is older than 2.1 or where select() is not available." +msgstr "" + +#: build/NEWS:34517 +msgid "" +":issue:`25684`: Change ``ttk.OptionMenu`` radiobuttons to be unique across " +"instances of ``OptionMenu``." +msgstr "" + +#: build/NEWS:38811 +msgid "" +":issue:`30886`: Fix multiprocessing.Queue.join_thread(): it now waits until " +"the thread completes, even if the thread was started by the same process " +"which created the queue." +msgstr "" + +#: build/NEWS:38815 +msgid "" +":issue:`29854`: Fix segfault in readline when using readline's history-size " +"option. Patch by Nir Soffer." +msgstr "" + +#: build/NEWS:31820 +msgid "" +":issue:`30794`: Added multiprocessing.Process.kill method to terminate using " +"the SIGKILL signal on Unix." +msgstr "" + +#: build/NEWS:34527 +msgid ":issue:`30319`: socket.close() now ignores ECONNRESET error." +msgstr "" + +#: build/NEWS:34529 +msgid "" +":issue:`30828`: Fix out of bounds write in ``asyncio.CFuture." +"remove_done_callback()``." +msgstr "" + +#: build/NEWS:31828 +msgid ":issue:`30302`: Use keywords in the ``repr`` of ``datetime.timedelta``." +msgstr "" + +#: build/NEWS:38818 +msgid "" +":issue:`30807`: signal.setitimer() may disable the timer when passed a tiny " +"value. Tiny values (such as 1e-6) are valid non-zero values for setitimer(), " +"which is specified as taking microsecond-resolution intervals. However, on " +"some platform, our conversion routine could convert 1e-6 into a zero " +"interval, therefore disabling the timer instead of (re-)scheduling it." +msgstr "" + +#: build/NEWS:38825 +msgid "" +":issue:`30441`: Fix bug when modifying os.environ while iterating over it" +msgstr "" + +#: build/NEWS:31839 +msgid "" +":issue:`29585`: Avoid importing ``sysconfig`` from ``site`` to improve " +"startup speed. Python startup is about 5% faster on Linux and 30% faster on " +"macOS." +msgstr "" + +#: build/NEWS:31842 +msgid "" +":issue:`29293`: Add missing parameter \"n\" on multiprocessing.Condition." +"notify(). The doc claims multiprocessing.Condition behaves like threading." +"Condition, but its notify() method lacked the optional \"n\" argument (to " +"specify the number of sleepers to wake up) that threading.Condition.notify() " +"accepts." +msgstr "" + +#: build/NEWS:38827 +msgid "" +":issue:`30532`: Fix email header value parser dropping folding white space " +"in certain cases." +msgstr "" + +#: build/NEWS:31851 +msgid "" +":issue:`30596`: Add a ``close()`` method to ``multiprocessing.Process``." +msgstr "" + +#: build/NEWS:34463 +msgid "" +":issue:`9146`: Fix a segmentation fault in _hashopenssl when standard hash " +"functions such as md5 are not available in the linked OpenSSL library. As " +"in some special FIPS-140 build environments." +msgstr "" + +#: build/NEWS:38830 +msgid ":issue:`29169`: Update zlib to 1.2.11." +msgstr "" + +#: build/NEWS:38718 +msgid "" +":issue:`30119`: ftplib.FTP.putline() now throws ValueError on commands that " +"contains CR or LF. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:38832 +msgid "" +":issue:`30879`: os.listdir() and os.scandir() now emit bytes names when " +"called with bytes-like argument." +msgstr "" + +#: build/NEWS:38835 +msgid "" +":issue:`30746`: Prohibited the '=' character in environment variable names " +"in ``os.putenv()`` and ``os.spawn*()``." +msgstr "" + +#: build/NEWS:31868 +msgid "" +":issue:`30664`: The description of a unittest subtest now preserves the " +"order of keyword arguments of TestCase.subTest()." +msgstr "" + +#: build/NEWS:31871 +msgid "" +":issue:`21071`: struct.Struct.format type is now :class:`str` instead of :" +"class:`bytes`." +msgstr "" + +#: build/NEWS:34458 +msgid "" +":issue:`29212`: Fix concurrent.futures.thread.ThreadPoolExecutor threads to " +"have a non repr() based thread name by default when no thread_name_prefix is " +"supplied. They will now identify themselves as \"ThreadPoolExecutor-y_n\"." +msgstr "" + +#: build/NEWS:38838 +msgid "" +":issue:`29755`: Fixed the lgettext() family of functions in the gettext " +"module. They now always return bytes." +msgstr "" + +#: build/NEWS:34883 +msgid "" +":issue:`30616`: Functional API of enum allows to create empty enums. Patched " +"by Donghee Na" +msgstr "" + +#: build/NEWS:34886 +msgid "" +":issue:`30038`: Fix race condition between signal delivery and wakeup file " +"descriptor. Patch by Nathaniel Smith." +msgstr "" + +#: build/NEWS:34889 +msgid "" +":issue:`23894`: lib2to3 now recognizes ``rb'...'`` and ``f'...'`` strings." +msgstr "" + +#: build/NEWS:31890 +msgid "" +":issue:`24744`: pkgutil.walk_packages function now raises ValueError if " +"*path* is a string. Patch by Sanyam Khurana." +msgstr "" + +#: build/NEWS:38855 +msgid ":issue:`24484`: Avoid race condition in multiprocessing cleanup." +msgstr "" + +#: build/NEWS:31895 +msgid "" +":issue:`30589`: Fix multiprocessing.Process.exitcode to return the opposite " +"of the signal number when the process is killed by a signal (instead of 255) " +"when using the \"forkserver\" method." +msgstr "" + +#: build/NEWS:38857 +msgid "" +":issue:`28994`: The traceback no longer displayed for SystemExit raised in a " +"callback registered by atexit." +msgstr "" + +#: build/NEWS:38860 +msgid "" +":issue:`30508`: Don't log exceptions if Task/Future \"cancel()\" method was " +"called." +msgstr "" + +#: build/NEWS:31905 +msgid "" +":issue:`30645`: Fix path calculation in ``imp.load_package()``, fixing it " +"for cases when a package is only shipped with bytecodes. Patch by Alexandru " +"Ardelean." +msgstr "" + +#: build/NEWS:31909 +msgid "" +":issue:`11822`: The dis.dis() function now is able to disassemble nested " +"code objects." +msgstr "" + +#: build/NEWS:31912 +msgid "" +":issue:`30624`: selectors does not take KeyboardInterrupt and SystemExit " +"into account, leaving a fd in a bad state in case of error. Patch by " +"Giampaolo Rodola'." +msgstr "" + +#: build/NEWS:34508 +msgid "" +":issue:`30595`: multiprocessing.Queue.get() with a timeout now polls its " +"reader in non-blocking mode if it succeeded to acquire the lock but the " +"acquire took longer than the timeout." +msgstr "" + +#: build/NEWS:38863 +msgid "" +":issue:`28556`: Updates to typing module: Add generic AsyncContextManager, " +"add support for ContextManager on all versions. Original PRs by Jelle " +"Zijlstra and Ivan Levkivskyi" +msgstr "" + +#: build/NEWS:34905 +msgid "" +":issue:`30605`: re.compile() no longer raises a BytesWarning when compiling " +"a bytes instance with misplaced inline modifier. Patch by Roy Williams." +msgstr "" + +#: build/NEWS:38867 +msgid "" +":issue:`29870`: Fix ssl sockets leaks when connection is aborted in asyncio/" +"ssl implementation. Patch by Michaël Sghaïer." +msgstr "" + +#: build/NEWS:38870 +msgid "" +":issue:`29743`: Closing transport during handshake process leaks open " +"socket. Patch by Nikolay Kim" +msgstr "" + +#: build/NEWS:38873 +msgid "" +":issue:`27585`: Fix waiter cancellation in asyncio.Lock. Patch by Mathieu " +"Sornay." +msgstr "" + +#: build/NEWS:31936 +msgid "" +":issue:`30014`: modify() method of poll(), epoll() and devpoll() based " +"classes of selectors module is around 10% faster. Patch by Giampaolo " +"Rodola'." +msgstr "" + +#: build/NEWS:38876 +msgid "" +":issue:`30418`: On Windows, subprocess.Popen.communicate() now also ignore " +"EINVAL on stdin.write() if the child process is still running but closed the " +"pipe." +msgstr "" + +#: build/NEWS:31943 +msgid "" +":issue:`30463`: Addded empty __slots__ to abc.ABC. This allows subclassers " +"to deny __dict__ and __weakref__ creation. Patch by Aaron Hall." +msgstr "" + +#: build/NEWS:31946 +msgid ":issue:`30520`: Loggers are now pickleable." +msgstr "" + +#: build/NEWS:34940 +msgid "" +":issue:`30557`: faulthandler now correctly filters and displays exception " +"codes on Windows" +msgstr "" + +#: build/NEWS:31951 +msgid "" +":issue:`30526`: Add TextIOWrapper.reconfigure() and a TextIOWrapper." +"write_through attribute." +msgstr "" + +#: build/NEWS:31954 +msgid "" +":issue:`30245`: Fix possible overflow when organize struct.pack_into error " +"message. Patch by Yuan Liu." +msgstr "" + +#: build/NEWS:38880 +msgid "" +":issue:`30378`: Fix the problem that logging.handlers.SysLogHandler cannot " +"handle IPv6 addresses." +msgstr "" + +#: build/NEWS:31960 +msgid ":issue:`16500`: Allow registering at-fork handlers." +msgstr "" + +#: build/NEWS:31962 +msgid "" +":issue:`30470`: Deprecate invalid ctypes call protection on Windows. Patch " +"by Mariatta Wijaya." +msgstr "" + +#: build/NEWS:38886 +msgid "" +":issue:`30414`: multiprocessing.Queue._feed background running thread do not " +"break from main loop on exception." +msgstr "" + +#: build/NEWS:38889 +msgid "" +":issue:`30003`: Fix handling escape characters in HZ codec. Based on patch " +"by Ma Lin." +msgstr "" + +#: build/NEWS:38848 +msgid "" +":issue:`30149`: inspect.signature() now supports callables with variable-" +"argument parameters wrapped with partialmethod. Patch by Donghee Na." +msgstr "" + +#: build/NEWS:31975 +msgid "" +":issue:`30436`: importlib.find_spec() raises ModuleNotFoundError instead of " +"AttributeError if the specified parent module is not a package (i.e. lacks a " +"__path__ attribute)." +msgstr "" + +#: build/NEWS:38892 +msgid "" +":issue:`30301`: Fix AttributeError when using SimpleQueue.empty() under " +"*spawn* and *forkserver* start methods." +msgstr "" + +#: build/NEWS:38899 +msgid "" +":issue:`30375`: Warnings emitted when compile a regular expression now " +"always point to the line in the user code. Previously they could point into " +"inners of the re module if emitted from inside of groups or conditionals." +msgstr "" + +#: build/NEWS:38895 +msgid "" +":issue:`30329`: imaplib and poplib now catch the Windows socket WSAEINVAL " +"error (code 10022) on shutdown(SHUT_RDWR): An invalid operation was " +"attempted. This error occurs sometimes on SSL connections." +msgstr "" + +#: build/NEWS:31990 +msgid "" +":issue:`29196`: Removed previously deprecated in Python 2.4 classes Plist, " +"Dict and _InternalDict in the plistlib module. Dict values in the result of " +"functions readPlist() and readPlistFromBytes() are now normal dicts. You no " +"longer can use attribute access to access items of these dictionaries." +msgstr "" + +#: build/NEWS:31995 +msgid "" +":issue:`9850`: The :mod:`macpath` is now deprecated and will be removed in " +"Python 3.8." +msgstr "" + +#: build/NEWS:31998 +msgid "" +":issue:`30299`: Compiling regular expression in debug mode on CPython now " +"displays the compiled bytecode in human readable form." +msgstr "" + +#: build/NEWS:38903 +msgid "" +":issue:`30048`: Fixed ``Task.cancel()`` can be ignored when the task is " +"running coroutine and the coroutine returned without any more ``await``." +msgstr "" + +#: build/NEWS:34969 +msgid "" +":issue:`30266`: contextlib.AbstractContextManager now supports anti-" +"registration by setting __enter__ = None or __exit__ = None, following the " +"pattern introduced in :issue:`25958`. Patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:32008 +msgid "" +":issue:`30340`: Enhanced regular expressions optimization. This increased " +"the performance of matching some patterns up to 25 times." +msgstr "" + +#: build/NEWS:34973 +msgid "" +":issue:`30298`: Weaken the condition of deprecation warnings for inline " +"modifiers. Now allowed several subsequential inline modifiers at the start " +"of the pattern (e.g. ``'(?i)(?s)...'``). In verbose mode whitespaces and " +"comments now are allowed before and between inline modifiers (e.g. ``'(?x) (?" +"i) (?s)...'``)." +msgstr "" + +#: build/NEWS:32017 +msgid "" +":issue:`30285`: Optimized case-insensitive matching and searching of regular " +"expressions." +msgstr "" + +#: build/NEWS:38906 +msgid "" +":issue:`29990`: Fix range checking in GB18030 decoder. Original patch by Ma " +"Lin." +msgstr "" + +#: build/NEWS:32023 +msgid "" +":issue:`29979`: rewrite cgi.parse_multipart, reusing the FieldStorage class " +"and making its results consistent with those of FieldStorage for multipart/" +"form-data requests. Patch by Pierre Quentel." +msgstr "" + +#: build/NEWS:38912 +msgid "" +":issue:`30243`: Removed the __init__ methods of _json's scanner and encoder. " +"Misusing them could cause memory leaks or crashes. Now scanner and encoder " +"objects are completely initialized in the __new__ methods." +msgstr "" + +#: build/NEWS:32031 +msgid "" +":issue:`30215`: Compiled regular expression objects with the re.LOCALE flag " +"no longer depend on the locale at compile time. Only the locale at matching " +"time affects the result of matching." +msgstr "" + +#: build/NEWS:38916 +msgid "" +":issue:`30185`: Avoid KeyboardInterrupt tracebacks in forkserver helper " +"process when Ctrl-C is received." +msgstr "" + +#: build/NEWS:32038 +msgid "" +":issue:`30103`: binascii.b2a_uu() and uu.encode() now support using ``'`'`` " +"as zero instead of space." +msgstr "" + +#: build/NEWS:38919 +msgid "" +":issue:`28556`: Various updates to typing module: add typing.NoReturn type, " +"use WrapperDescriptorType, minor bug-fixes. Original PRs by Jim Fasarakis-" +"Hilliard and Ivan Levkivskyi." +msgstr "" + +#: build/NEWS:38923 +msgid ":issue:`30205`: Fix getsockname() for unbound AF_UNIX sockets on Linux." +msgstr "" + +#: build/NEWS:32047 +msgid "" +":issue:`30228`: The seek() and tell() methods of io.FileIO now set the " +"internal seekable attribute to avoid one syscall on open() (in buffered or " +"text mode)." +msgstr "" + +#: build/NEWS:32051 +msgid "" +":issue:`30190`: unittest's assertAlmostEqual and assertNotAlmostEqual " +"provide a better message in case of failure which includes the difference " +"between left and right arguments. (patch by Giampaolo Rodola')" +msgstr "" + +#: build/NEWS:32055 +msgid ":issue:`30101`: Add support for curses.A_ITALIC." +msgstr "" + +#: build/NEWS:34933 +msgid "" +":issue:`29822`: inspect.isabstract() now works during __init_subclass__. " +"Patch by Nate Soares." +msgstr "" + +#: build/NEWS:38883 +msgid "" +":issue:`29960`: Preserve generator state when _random.Random.setstate() " +"raises an exception. Patch by Bryan Olson." +msgstr "" + +#: build/NEWS:38925 +msgid "" +":issue:`30070`: Fixed leaks and crashes in errors handling in the parser " +"module." +msgstr "" + +#: build/NEWS:32066 +msgid "" +":issue:`22352`: Column widths in the output of dis.dis() are now adjusted " +"for large line numbers and instruction offsets." +msgstr "" + +#: build/NEWS:38928 +msgid "" +":issue:`30061`: Fixed crashes in IOBase methods __next__() and readlines() " +"when readline() or __next__() respectively return non-sizeable object. Fixed " +"possible other errors caused by not checking results of PyObject_Size(), " +"PySequence_Size(), or PyMapping_Size()." +msgstr "" + +#: build/NEWS:32074 +msgid "" +":issue:`30218`: Fix PathLike support for shutil.unpack_archive. Patch by " +"Jelle Zijlstra." +msgstr "" + +#: build/NEWS:32077 +msgid "" +":issue:`10076`: Compiled regular expression and match objects in the re " +"module now support copy.copy() and copy.deepcopy() (they are considered " +"atomic)." +msgstr "" + +#: build/NEWS:38933 +msgid "" +":issue:`30068`: _io._IOBase.readlines will check if it's closed first when " +"hint is present." +msgstr "" + +#: build/NEWS:38936 +msgid "" +":issue:`29694`: Fixed race condition in pathlib mkdir with flags " +"parents=True. Patch by Armin Rigo." +msgstr "" + +#: build/NEWS:38939 +msgid "" +":issue:`29692`: Fixed arbitrary unchaining of RuntimeError exceptions in " +"contextlib.contextmanager. Patch by Siddharth Velankar." +msgstr "" + +#: build/NEWS:32089 +msgid "" +":issue:`26187`: Test that sqlite3 trace callback is not called multiple " +"times when schema is changing. Indirectly fixed by switching to use " +"sqlite3_prepare_v2() in :issue:`9303`. Patch by Aviv Palivoda." +msgstr "" + +#: build/NEWS:35006 +msgid "" +":issue:`30017`: Allowed calling the close() method of the zip entry writer " +"object multiple times. Writing to a closed writer now always produces a " +"ValueError." +msgstr "" + +#: build/NEWS:38942 +msgid "" +":issue:`29998`: Pickling and copying ImportError now preserves name and path " +"attributes." +msgstr "" + +#: build/NEWS:32100 +msgid ":issue:`29995`: re.escape() now escapes only regex special characters." +msgstr "" + +#: build/NEWS:32102 +msgid "" +":issue:`29962`: Add math.remainder operation, implementing remainder as " +"specified in IEEE 754." +msgstr "" + +#: build/NEWS:32105 +msgid "" +":issue:`29649`: Improve struct.pack_into() exception messages for problems " +"with the buffer size and offset. Patch by Andrew Nester." +msgstr "" + +#: build/NEWS:32108 +msgid "" +":issue:`29654`: Support If-Modified-Since HTTP header (browser cache). " +"Patch by Pierre Quentel." +msgstr "" + +#: build/NEWS:38852 +msgid "" +":issue:`29931`: Fixed comparison check for ipaddress.ip_interface objects. " +"Patch by Sanjay Sundaresan." +msgstr "" + +#: build/NEWS:35022 +msgid "" +":issue:`29953`: Fixed memory leaks in the replace() method of datetime and " +"time objects when pass out of bound fold argument." +msgstr "" + +#: build/NEWS:38945 +msgid "" +":issue:`29942`: Fix a crash in itertools.chain.from_iterable when " +"encountering long runs of empty iterables." +msgstr "" + +#: build/NEWS:32120 +msgid ":issue:`10030`: Sped up reading encrypted ZIP files by 2 times." +msgstr "" + +#: build/NEWS:32122 +msgid "" +":issue:`29204`: Element.getiterator() and the html parameter of XMLParser() " +"were deprecated only in the documentation (since Python 3.2 and 3.4 " +"correspondingly). Now using them emits a deprecation warning." +msgstr "" + +#: build/NEWS:38948 +msgid "" +":issue:`27863`: Fixed multiple crashes in ElementTree caused by race " +"conditions and wrong types." +msgstr "" + +#: build/NEWS:32129 +msgid "" +":issue:`25996`: Added support of file descriptors in os.scandir() on Unix. " +"os.fwalk() is sped up by 2 times by using os.scandir()." +msgstr "" + +#: build/NEWS:38951 +msgid "" +":issue:`28699`: Fixed a bug in pools in multiprocessing.pool that raising an " +"exception at the very first of an iterable may swallow the exception or make " +"the program hang. Patch by Davin Potts and Xiang Zhang." +msgstr "" + +#: build/NEWS:38845 +msgid "" +":issue:`23890`: unittest.TestCase.assertRaises() now manually breaks a " +"reference cycle to not keep objects alive longer than expected." +msgstr "" + +#: build/NEWS:32139 +msgid "" +":issue:`29901`: The zipapp module now supports general path-like objects, " +"not just pathlib.Path." +msgstr "" + +#: build/NEWS:38955 +msgid "" +":issue:`25803`: Avoid incorrect errors raised by Path.mkdir(exist_ok=True) " +"when the OS gives priority to errors such as EACCES over EEXIST." +msgstr "" + +#: build/NEWS:38958 +msgid "" +":issue:`29861`: Release references to tasks, their arguments and their " +"results as soon as they are finished in multiprocessing.Pool." +msgstr "" + +#: build/NEWS:32148 +msgid "" +":issue:`19930`: The mode argument of os.makedirs() no longer affects the " +"file permission bits of newly created intermediate-level directories." +msgstr "" + +#: build/NEWS:38961 +msgid "" +":issue:`29884`: faulthandler: Restore the old sigaltstack during teardown. " +"Patch by Christophe Zeitouny." +msgstr "" + +#: build/NEWS:38964 +msgid "" +":issue:`25455`: Fixed crashes in repr of recursive buffered file-like " +"objects." +msgstr "" + +#: build/NEWS:38966 +msgid "" +":issue:`29800`: Fix crashes in partial.__repr__ if the keys of partial." +"keywords are not strings. Patch by Michael Seifert." +msgstr "" + +#: build/NEWS:38972 +msgid "" +":issue:`8256`: Fixed possible failing or crashing input() if attributes " +"\"encoding\" or \"errors\" of sys.stdin or sys.stdout are not set or are not " +"strings." +msgstr "" + +#: build/NEWS:32163 +msgid "" +":issue:`28692`: Using non-integer value for selecting a plural form in " +"gettext is now deprecated." +msgstr "" + +#: build/NEWS:32166 +msgid "" +":issue:`26121`: Use C library implementation for math functions erf() and " +"erfc()." +msgstr "" + +#: build/NEWS:32169 +msgid "" +":issue:`29619`: os.stat() and os.DirEntry.inode() now convert inode (st_ino) " +"using unsigned integers." +msgstr "" + +#: build/NEWS:32172 +msgid "" +":issue:`28298`: Fix a bug that prevented array 'Q', 'L' and 'I' from " +"accepting big intables (objects that have __int__) as elements." +msgstr "" + +#: build/NEWS:32175 +msgid "" +":issue:`29645`: Speed up importing the webbrowser module. webbrowser." +"register() is now thread-safe." +msgstr "" + +#: build/NEWS:35060 +msgid "" +":issue:`28231`: The zipfile module now accepts path-like objects for " +"external paths." +msgstr "" + +#: build/NEWS:35063 +msgid "" +":issue:`26915`: index() and count() methods of collections.abc.Sequence now " +"check identity before checking equality when do comparisons." +msgstr "" + +#: build/NEWS:32184 +msgid ":issue:`28682`: Added support for bytes paths in os.fwalk()." +msgstr "" + +#: build/NEWS:32186 +msgid "" +":issue:`29728`: Add new :const:`socket.TCP_NOTSENT_LOWAT` (Linux 3.12) " +"constant. Patch by Nathaniel J. Smith." +msgstr "" + +#: build/NEWS:35272 +msgid "" +":issue:`29623`: Allow use of path-like object as a single argument in " +"ConfigParser.read(). Patch by David Ellis." +msgstr "" + +#: build/NEWS:32192 +msgid "" +":issue:`9303`: Migrate sqlite3 module to _v2 API. Patch by Aviv Palivoda." +msgstr "" + +#: build/NEWS:35275 +msgid "" +":issue:`28963`: Fix out of bound iteration in asyncio.Future." +"remove_done_callback implemented in C." +msgstr "" + +#: build/NEWS:38984 +msgid "" +":issue:`29704`: asyncio.subprocess.SubprocessStreamProtocol no longer closes " +"before all pipes are closed." +msgstr "" + +#: build/NEWS:35281 +msgid "" +":issue:`29271`: Fix Task.current_task and Task.all_tasks implemented in C to " +"accept None argument as their pure Python implementation." +msgstr "" + +#: build/NEWS:38987 +msgid "" +":issue:`29703`: Fix asyncio to support instantiation of new event loops in " +"child processes." +msgstr "" + +#: build/NEWS:38980 +msgid "" +":issue:`29615`: SimpleXMLRPCDispatcher no longer chains KeyError (or any " +"other exception) to exception(s) raised in the dispatched methods. Patch by " +"Petr Motejlek." +msgstr "" + +#: build/NEWS:32210 +msgid "" +":issue:`7769`: Method register_function() of xmlrpc.server." +"SimpleXMLRPCDispatcher and its subclasses can now be used as a decorator." +msgstr "" + +#: build/NEWS:38990 +msgid "" +":issue:`29376`: Fix assertion error in threading._DummyThread.is_alive()." +msgstr "" + +#: build/NEWS:35289 +msgid "" +":issue:`28624`: Add a test that checks that cwd parameter of Popen() accepts " +"PathLike objects. Patch by Sayan Chowdhury." +msgstr "" + +#: build/NEWS:35292 +msgid "" +":issue:`28518`: Start a transaction implicitly before a DML statement. Patch " +"by Aviv Palivoda." +msgstr "" + +#: build/NEWS:38969 +msgid "" +":issue:`29742`: get_extra_info() raises exception if get called on closed " +"ssl transport. Patch by Nikolay Kim." +msgstr "" + +#: build/NEWS:32225 +msgid "" +":issue:`16285`: urllib.parse.quote is now based on RFC 3986 and hence " +"includes '~' in the set of characters that is not quoted by default. Patch " +"by Christian Theune and Ratnadeep Debnath." +msgstr "" + +#: build/NEWS:38998 +msgid "" +":issue:`29532`: Altering a kwarg dictionary passed to functools.partial() no " +"longer affects a partial object after creation." +msgstr "" + +#: build/NEWS:38992 +msgid "" +":issue:`29110`: Fix file object leak in aifc.open() when file is given as a " +"filesystem path and is not in valid AIFF format. Patch by Anthony Zhang." +msgstr "" + +#: build/NEWS:32235 +msgid "" +":issue:`22807`: Add uuid.SafeUUID and uuid.UUID.is_safe to relay information " +"from the platform about whether generated UUIDs are generated with a " +"multiprocessing safe method." +msgstr "" + +#: build/NEWS:32239 +msgid "" +":issue:`29576`: Improve some deprecations in importlib. Some deprecated " +"methods now emit DeprecationWarnings and have better descriptive messages." +msgstr "" + +#: build/NEWS:32242 +msgid "" +":issue:`29534`: Fixed different behaviour of Decimal.from_float() for " +"_decimal and _pydecimal. Thanks Andrew Nester." +msgstr "" + +#: build/NEWS:32245 +msgid "" +":issue:`10379`: locale.format_string now supports the 'monetary' keyword " +"argument, and locale.format is deprecated." +msgstr "" + +#: build/NEWS:32248 +msgid "" +":issue:`29851`: importlib.reload() now raises ModuleNotFoundError if the " +"module lacks a spec." +msgstr "" + +#: build/NEWS:39001 +msgid "" +":issue:`28556`: Various updates to typing module: typing.Counter, typing." +"ChainMap, improved ABC caching, etc. Original PRs by Jelle Zijlstra, Ivan " +"Levkivskyi, Manuel Krebber, and Łukasz Langa." +msgstr "" + +#: build/NEWS:39005 +msgid "" +":issue:`29100`: Fix datetime.fromtimestamp() regression introduced in Python " +"3.6.0: check minimum and maximum years." +msgstr "" + +#: build/NEWS:39011 +msgid ":issue:`29416`: Prevent infinite loop in pathlib.Path.mkdir" +msgstr "" + +#: build/NEWS:39013 +msgid "" +":issue:`29444`: Fixed out-of-bounds buffer access in the group() method of " +"the match object. Based on patch by WGH." +msgstr "" + +#: build/NEWS:32263 +msgid "" +":issue:`29377`: Add WrapperDescriptorType, MethodWrapperType, and " +"MethodDescriptorType built-in types to types module. Original patch by " +"Manuel Krebber." +msgstr "" + +#: build/NEWS:32267 +msgid "" +":issue:`29218`: Unused install_misc command is now removed. It has been " +"documented as unused since 2000. Patch by Eric N. Vander Weele." +msgstr "" + +#: build/NEWS:32270 +msgid "" +":issue:`29368`: The extend() method is now called instead of the append() " +"method when unpickle collections.deque and other list-like objects. This can " +"speed up unpickling to 2 times." +msgstr "" + +#: build/NEWS:32274 +msgid "" +":issue:`29338`: The help of a builtin or extension class now includes the " +"constructor signature if __text_signature__ is provided for the class." +msgstr "" + +#: build/NEWS:39016 +msgid "" +":issue:`29335`: Fix subprocess.Popen.wait() when the child process has " +"exited to a stopped instead of terminated state (ex: when under ptrace)." +msgstr "" + +#: build/NEWS:39019 +msgid "" +":issue:`29290`: Fix a regression in argparse that help messages would wrap " +"at non-breaking spaces." +msgstr "" + +#: build/NEWS:39022 +msgid ":issue:`28735`: Fixed the comparison of mock.MagickMock with mock.ANY." +msgstr "" + +#: build/NEWS:32285 +msgid ":issue:`29197`: Removed deprecated function ntpath.splitunc()." +msgstr "" + +#: build/NEWS:32287 +msgid "" +":issue:`29210`: Removed support of deprecated argument \"exclude\" in " +"tarfile.TarFile.add()." +msgstr "" + +#: build/NEWS:39026 +msgid "" +":issue:`29219`: Fixed infinite recursion in the repr of uninitialized ctypes." +"CDLL instances." +msgstr "" + +#: build/NEWS:32293 +msgid ":issue:`29192`: Removed deprecated features in the http.cookies module." +msgstr "" + +#: build/NEWS:32295 +msgid "" +":issue:`29193`: A format string argument for string.Formatter.format() is " +"now positional-only." +msgstr "" + +#: build/NEWS:32298 +msgid "" +":issue:`29195`: Removed support of deprecated undocumented keyword arguments " +"in methods of regular expression objects." +msgstr "" + +#: build/NEWS:39029 +msgid "" +":issue:`28969`: Fixed race condition in C implementation of functools." +"lru_cache. KeyError could be raised when cached function with full cache was " +"simultaneously called from different threads with the same uncached " +"arguments." +msgstr "" + +#: build/NEWS:32306 +msgid "" +":issue:`20804`: The unittest.mock.sentinel attributes now preserve their " +"identity when they are copied or pickled." +msgstr "" + +#: build/NEWS:39034 +msgid "" +":issue:`29142`: In urllib.request, suffixes in no_proxy environment variable " +"with leading dots could match related hostnames again (e.g. .b.c matches a.b." +"c). Patch by Milan Oberkirch." +msgstr "" + +#: build/NEWS:38995 +msgid "" +":issue:`28961`: Fix unittest.mock._Call helper: don't ignore the name " +"parameter anymore. Patch written by Jiajun Huang." +msgstr "" + +#: build/NEWS:39287 +msgid "" +":issue:`15812`: inspect.getframeinfo() now correctly shows the first line of " +"a context. Patch by Sam Breese." +msgstr "" + +#: build/NEWS:32319 +msgid "" +":issue:`28985`: Update authorizer constants in sqlite3 module. Patch by " +"Dingyuan Wang." +msgstr "" + +#: build/NEWS:35360 +msgid ":issue:`29079`: Prevent infinite loop in pathlib.resolve() on Windows" +msgstr "" + +#: build/NEWS:39293 +msgid "" +":issue:`13051`: Fixed recursion errors in large or resized curses.textpad." +"Textbox. Based on patch by Tycho Andersen." +msgstr "" + +#: build/NEWS:39300 +msgid "" +":issue:`9770`: curses.ascii predicates now work correctly with negative " +"integers." +msgstr "" + +#: build/NEWS:39303 +msgid "" +":issue:`28427`: old keys should not remove new values from " +"WeakValueDictionary when collecting from another thread." +msgstr "" + +#: build/NEWS:39306 +msgid ":issue:`28923`: Remove editor artifacts from Tix.py." +msgstr "" + +#: build/NEWS:39308 +msgid ":issue:`28871`: Fixed a crash when deallocate deep ElementTree." +msgstr "" + +#: build/NEWS:39310 +msgid "" +":issue:`19542`: Fix bugs in WeakValueDictionary.setdefault() and " +"WeakValueDictionary.pop() when a GC collection happens in another thread." +msgstr "" + +#: build/NEWS:35385 +msgid "" +":issue:`20191`: Fixed a crash in resource.prlimit() when passing a sequence " +"that doesn't own its elements as limits." +msgstr "" + +#: build/NEWS:32343 +msgid "" +":issue:`16255`: subprocess.Popen uses /system/bin/sh on Android as the " +"shell, instead of /bin/sh." +msgstr "" + +#: build/NEWS:39316 +msgid "" +":issue:`28779`: multiprocessing.set_forkserver_preload() would crash the " +"forkserver process if a preloaded module instantiated some multiprocessing " +"objects such as locks." +msgstr "" + +#: build/NEWS:35395 +msgid "" +":issue:`26937`: The chown() method of the tarfile.TarFile class does not " +"fail now when the grp module cannot be imported, as for example on Android " +"platforms." +msgstr "" + +#: build/NEWS:32354 +msgid "" +":issue:`28847`: dbm.dumb now supports reading read-only files and no longer " +"writes the index file when it is not changed. A deprecation warning is now " +"emitted if the index file is missed and recreated in the 'r' and 'w' modes " +"(will be an error in future Python releases)." +msgstr "" + +#: build/NEWS:32359 +msgid "" +":issue:`27030`: Unknown escapes consisting of ``'\\'`` and an ASCII letter " +"in re.sub() replacement templates regular expressions now are errors." +msgstr "" + +#: build/NEWS:35576 +msgid "" +":issue:`28835`: Fix a regression introduced in warnings.catch_warnings(): " +"call warnings.showwarning() if it was overridden inside the context manager." +msgstr "" + +#: build/NEWS:35579 +msgid "" +":issue:`27172`: To assist with upgrades from 2.7, the previously documented " +"deprecation of ``inspect.getfullargspec()`` has been reversed. This decision " +"may be revisited again after the Python 2.7 branch is no longer officially " +"supported." +msgstr "" + +#: build/NEWS:32370 +msgid "" +":issue:`28740`: Add sys.getandroidapilevel(): return the build time API " +"version of Android as an integer. Function only available on Android." +msgstr "" + +#: build/NEWS:35584 +msgid "" +":issue:`26273`: Add new :const:`socket.TCP_CONGESTION` (Linux 2.6.13) and :" +"const:`socket.TCP_USER_TIMEOUT` (Linux 2.6.37) constants. Patch written by " +"Omar Sandoval." +msgstr "" + +#: build/NEWS:35655 +msgid ":issue:`28752`: Restored the __reduce__() methods of datetime objects." +msgstr "" + +#: build/NEWS:35657 +msgid "" +":issue:`28727`: Regular expression patterns, _sre.SRE_Pattern objects " +"created by re.compile(), become comparable (only x==y and x!=y operators). " +"This change should fix the :issue:`18383`: don't duplicate warning filters " +"when the warnings module is reloaded (thing usually only done in unit tests)." +msgstr "" + +#: build/NEWS:32384 +msgid "" +":issue:`20572`: Remove the subprocess.Popen.wait endtime parameter. It was " +"deprecated in 3.4 and undocumented prior to that." +msgstr "" + +#: build/NEWS:39323 +msgid "" +":issue:`25659`: In ctypes, prevent a crash calling the from_buffer() and " +"from_buffer_copy() methods on abstract classes like Array." +msgstr "" + +#: build/NEWS:32390 +msgid "" +":issue:`28548`: In the \"http.server\" module, parse the protocol version if " +"possible, to avoid using HTTP 0.9 in some error responses." +msgstr "" + +#: build/NEWS:35668 +msgid "" +":issue:`19717`: Makes Path.resolve() succeed on paths that do not exist. " +"Patch by Vajrasky Kok" +msgstr "" + +#: build/NEWS:35671 +msgid "" +":issue:`28563`: Fixed possible DoS and arbitrary code execution when handle " +"plural form selections in the gettext module. The expression parser now " +"supports exact syntax supported by GNU gettext." +msgstr "" + +#: build/NEWS:39332 +msgid "" +":issue:`28387`: Fixed possible crash in _io.TextIOWrapper deallocator when " +"the garbage collector is invoked in other thread. Based on patch by " +"Sebastian Cufre." +msgstr "" + +#: build/NEWS:39336 +msgid "" +":issue:`27517`: LZMA compressor and decompressor no longer raise exceptions " +"if given empty data twice. Patch by Benjamin Fogle." +msgstr "" + +#: build/NEWS:39339 +msgid ":issue:`28549`: Fixed segfault in curses's addch() with ncurses6." +msgstr "" + +#: build/NEWS:39341 +msgid "" +":issue:`28449`: tarfile.open() with mode \"r\" or \"r:\" now tries to open a " +"tar file with compression before trying to open it without compression. " +"Otherwise it had 50% chance failed with ignore_zeros=True." +msgstr "" + +#: build/NEWS:39345 +msgid "" +":issue:`23262`: The webbrowser module now supports Firefox 36+ and derived " +"browsers. Based on patch by Oleg Broytman." +msgstr "" + +#: build/NEWS:32416 +msgid "" +":issue:`24241`: The webbrowser in an X environment now prefers using the " +"default browser directly. Also, the webbrowser register() function now has a " +"documented 'preferred' argument, to specify browsers to be returned by get() " +"with no arguments. Patch by David Steele" +msgstr "" + +#: build/NEWS:39348 +msgid "" +":issue:`27939`: Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale " +"caused by representing the scale as float value internally in Tk. tkinter." +"IntVar now works if float value is set to underlying Tk variable." +msgstr "" + +#: build/NEWS:32425 +msgid "" +":issue:`28255`: calendar.TextCalendar.prweek() no longer prints a space " +"after a weeks's calendar. calendar.TextCalendar.pryear() no longer prints " +"redundant newline after a year's calendar. Based on patch by Xiang Zhang." +msgstr "" + +#: build/NEWS:32429 +msgid "" +":issue:`28255`: calendar.TextCalendar.prmonth() no longer prints a space at " +"the start of new line after printing a month's calendar. Patch by Xiang " +"Zhang." +msgstr "" + +#: build/NEWS:39356 +msgid "" +":issue:`20491`: The textwrap.TextWrapper class now honors non-breaking " +"spaces. Based on patch by Kaarle Ritvanen." +msgstr "" + +#: build/NEWS:39359 +msgid ":issue:`28353`: os.fwalk() no longer fails on broken links." +msgstr "" + +#: build/NEWS:35786 +msgid "" +":issue:`28430`: Fix iterator of C implemented asyncio.Future doesn't accept " +"non-None value is passed to it.send(val)." +msgstr "" + +#: build/NEWS:35789 +msgid "" +":issue:`27025`: Generated names for Tkinter widgets now start by the \"!\" " +"prefix for readability." +msgstr "" + +#: build/NEWS:39361 +msgid "" +":issue:`25464`: Fixed HList.header_exists() in tkinter.tix module by addin a " +"workaround to Tix library bug." +msgstr "" + +#: build/NEWS:35795 +msgid "" +":issue:`28488`: shutil.make_archive() no longer adds entry \"./\" to ZIP " +"archive." +msgstr "" + +#: build/NEWS:35797 +msgid "" +":issue:`25953`: re.sub() now raises an error for invalid numerical group " +"reference in replacement template even if the pattern is not found in the " +"string. Error message for invalid group reference now includes the group " +"index and the position of the reference. Based on patch by SilentGhost." +msgstr "" + +#: build/NEWS:32454 +msgid "" +":issue:`28469`: timeit now uses the sequence 1, 2, 5, 10, 20, 50,... instead " +"of 1, 10, 100,... for autoranging." +msgstr "" + +#: build/NEWS:32457 +msgid "" +":issue:`28115`: Command-line interface of the zipfile module now uses " +"argparse. Added support of long options." +msgstr "" + +#: build/NEWS:35802 +msgid "" +":issue:`18219`: Optimize csv.DictWriter for large number of columns. Patch " +"by Mariatta Wijaya." +msgstr "" + +#: build/NEWS:35805 +msgid "" +":issue:`28448`: Fix C implemented asyncio.Future didn't work on Windows." +msgstr "" + +#: build/NEWS:32465 +msgid "" +":issue:`23214`: In the \"io\" module, the argument to BufferedReader and " +"BytesIO's read1() methods is now optional and can be -1, matching the " +"BufferedIOBase specification." +msgstr "" + +#: build/NEWS:35807 +msgid "" +":issue:`28480`: Fix error building socket module when multithreading is " +"disabled." +msgstr "" + +#: build/NEWS:32472 +msgid "" +":issue:`28240`: timeit: remove ``-c/--clock`` and ``-t/--time`` command line " +"options which were deprecated since Python 3.3." +msgstr "" + +#: build/NEWS:32475 +msgid "" +":issue:`28240`: timeit now repeats the benchmarks 5 times instead of only 3 " +"to make benchmarks more reliable." +msgstr "" + +#: build/NEWS:32478 +msgid "" +":issue:`28240`: timeit autorange now uses a single loop iteration if the " +"benchmark takes less than 10 seconds, instead of 10 iterations. \"python3 -m " +"timeit -s 'import time' 'time.sleep(1)'\" now takes 4 seconds instead of 40 " +"seconds." +msgstr "" + +#: build/NEWS:32483 +msgid "" +"Distutils.sdist now looks for README and setup.py files with case " +"sensitivity. This behavior matches that found in Setuptools 6.0 and later. " +"See `setuptools 100 <https://github.com/pypa/setuptools/issues/100>`_ for " +"rationale." +msgstr "" + +#: build/NEWS:32488 +msgid "" +":issue:`24452`: Make webbrowser support Chrome on Mac OS X. Patch by Ned " +"Batchelder." +msgstr "" + +#: build/NEWS:39368 +msgid "" +":issue:`20766`: Fix references leaked by pdb in the handling of SIGINT " +"handlers." +msgstr "" + +#: build/NEWS:35928 +msgid "" +":issue:`27998`: Fixed bytes path support in os.scandir() on Windows. Patch " +"by Eryk Sun." +msgstr "" + +#: build/NEWS:35931 +msgid ":issue:`28317`: The disassembler now decodes FORMAT_VALUE argument." +msgstr "" + +#: build/NEWS:35937 +msgid "" +":issue:`28380`: unittest.mock Mock autospec functions now properly support " +"assert_called, assert_not_called, and assert_called_once." +msgstr "" + +#: build/NEWS:35942 +msgid ":issue:`28229`: lzma module now supports pathlib." +msgstr "" + +#: build/NEWS:39375 +msgid "" +":issue:`28321`: Fixed writing non-BMP characters with binary format in " +"plistlib." +msgstr "" + +#: build/NEWS:35947 +msgid "" +":issue:`28225`: bz2 module now supports pathlib. Initial patch by Ethan " +"Furman." +msgstr "" + +#: build/NEWS:35950 +msgid ":issue:`28227`: gzip now supports pathlib. Patch by Ethan Furman." +msgstr "" + +#: build/NEWS:32512 +msgid "" +":issue:`28332`: Deprecated silent truncations in socket.htons and socket." +"ntohs. Original patch by Oren Milman." +msgstr "" + +#: build/NEWS:35952 +msgid "" +":issue:`27358`: Optimized merging var-keyword arguments and improved error " +"message when passing a non-mapping as a var-keyword argument." +msgstr "" + +#: build/NEWS:35955 +msgid "" +":issue:`28257`: Improved error message when passing a non-iterable as a var-" +"positional argument. Added opcode BUILD_TUPLE_UNPACK_WITH_CALL." +msgstr "" + +#: build/NEWS:39378 +msgid "" +":issue:`28322`: Fixed possible crashes when unpickle itertools objects from " +"incorrect pickle data. Based on patch by John Leitch." +msgstr "" + +#: build/NEWS:35961 +msgid ":issue:`28228`: imghdr now supports pathlib." +msgstr "" + +#: build/NEWS:35963 +msgid ":issue:`28226`: compileall now supports pathlib." +msgstr "" + +#: build/NEWS:35965 +msgid "" +":issue:`28314`: Fix function declaration (C flags) for the getiterator() " +"method of xml.etree.ElementTree.Element." +msgstr "" + +#: build/NEWS:35968 +msgid "" +":issue:`28148`: Stop using localtime() and gmtime() in the time module. " +"Introduced platform independent _PyTime_localtime API that is similar to " +"POSIX localtime_r, but available on all platforms. Patch by Ed Schouten." +msgstr "" + +#: build/NEWS:39387 +msgid "" +":issue:`28253`: Fixed calendar functions for extreme months: 0001-01 and " +"9999-12. Methods itermonthdays() and itermonthdays2() are reimplemented so " +"that they don't call itermonthdates() which can cause datetime.date under/" +"overflow." +msgstr "" + +#: build/NEWS:39392 +msgid "" +":issue:`28275`: Fixed possible use after free in the decompress() methods of " +"the LZMADecompressor and BZ2Decompressor classes. Original patch by John " +"Leitch." +msgstr "" + +#: build/NEWS:39396 +msgid "" +":issue:`27897`: Fixed possible crash in sqlite3.Connection." +"create_collation() if pass invalid string-like object as a name. Patch by " +"Xiang Zhang." +msgstr "" + +#: build/NEWS:35984 +msgid "" +":issue:`18844`: random.choices() now has k as a keyword-only argument to " +"improve the readability of common cases and come into line with the " +"signature used in other languages." +msgstr "" + +#: build/NEWS:39399 +msgid "" +":issue:`18893`: Fix invalid exception handling in Lib/ctypes/macholib/dyld." +"py. Patch by Madison May." +msgstr "" + +#: build/NEWS:35991 +msgid "" +":issue:`27611`: Fixed support of default root window in the tkinter.tix " +"module. Added the master parameter in the DisplayStyle constructor." +msgstr "" + +#: build/NEWS:39404 +msgid "" +":issue:`27348`: In the traceback module, restore the formatting of exception " +"messages like \"Exception: None\". This fixes a regression introduced in " +"3.5a2." +msgstr "" + +#: build/NEWS:39408 +msgid "" +":issue:`25651`: Allow false values to be used for msg parameter of subTest()." +msgstr "" + +#: build/NEWS:36000 +msgid "" +":issue:`27778`: Fix a memory leak in os.getrandom() when the getrandom() is " +"interrupted by a signal and a signal handler raises a Python exception." +msgstr "" + +#: build/NEWS:36003 +msgid "" +":issue:`28200`: Fix memory leak on Windows in the os module (fix " +"path_converter() function)." +msgstr "" + +#: build/NEWS:36006 +msgid "" +":issue:`25400`: RobotFileParser now correctly returns default values for " +"crawl_delay and request_rate. Initial patch by Peter Wirtz." +msgstr "" + +#: build/NEWS:39410 +msgid ":issue:`27932`: Prevent memory leak in win32_ver()." +msgstr "" + +#: build/NEWS:39412 +msgid "Fix UnboundLocalError in socket._sendfile_use_sendfile." +msgstr "" + +#: build/NEWS:39414 +msgid "" +":issue:`28075`: Check for ERROR_ACCESS_DENIED in Windows implementation of " +"os.stat(). Patch by Eryk Sun." +msgstr "" + +#: build/NEWS:36016 +msgid "" +":issue:`22493`: Warning message emitted by using inline flags in the middle " +"of regular expression now contains a (truncated) regex pattern. Patch by Tim " +"Graham." +msgstr "" + +#: build/NEWS:39417 +msgid "" +":issue:`25270`: Prevent codecs.escape_encode() from raising SystemError when " +"an empty bytestring is passed." +msgstr "" + +#: build/NEWS:39420 +msgid ":issue:`28181`: Get antigravity over HTTPS. Patch by Kaartic Sivaraam." +msgstr "" + +#: build/NEWS:39422 +msgid "" +":issue:`25895`: Enable WebSocket URL schemes in urllib.parse.urljoin. Patch " +"by Gergely Imreh and Markus Holtermann." +msgstr "" + +#: build/NEWS:36028 +msgid "" +":issue:`28114`: Fix a crash in parse_envlist() when env contains byte " +"strings. Patch by Eryk Sun." +msgstr "" + +#: build/NEWS:39425 +msgid "" +":issue:`27599`: Fixed buffer overrun in binascii.b2a_qp() and binascii." +"a2b_qp()." +msgstr "" + +#: build/NEWS:39608 +msgid "" +":issue:`27906`: Fix socket accept exhaustion during high TCP traffic. Patch " +"by Kevin Conway." +msgstr "" + +#: build/NEWS:39611 +msgid "" +":issue:`28174`: Handle when SO_REUSEPORT isn't properly supported. Patch by " +"Seth Michael Larson." +msgstr "" + +#: build/NEWS:39614 +msgid "" +":issue:`26654`: Inspect functools.partial in asyncio.Handle.__repr__. Patch " +"by iceboy." +msgstr "" + +#: build/NEWS:39617 +msgid ":issue:`26909`: Fix slow pipes IO in asyncio. Patch by INADA Naoki." +msgstr "" + +#: build/NEWS:39619 +msgid "" +":issue:`28176`: Fix callbacks race in asyncio.SelectorLoop.sock_connect." +msgstr "" + +#: build/NEWS:39621 +msgid "" +":issue:`27759`: Fix selectors incorrectly retain invalid file descriptors. " +"Patch by Mark Williams." +msgstr "" + +#: build/NEWS:32613 +msgid "" +":issue:`28325`: Remove vestigial MacOS 9 macurl2path module and its tests." +msgstr "" + +#: build/NEWS:39624 +msgid "" +":issue:`28368`: Refuse monitoring processes if the child watcher has no loop " +"attached. Patch by Vincent Michel." +msgstr "" + +#: build/NEWS:39627 +msgid "" +":issue:`28369`: Raise RuntimeError when transport's FD is used with " +"add_reader, add_writer, etc." +msgstr "" + +#: build/NEWS:39630 +msgid "" +":issue:`28370`: Speedup asyncio.StreamReader.readexactly. Patch by Коренберг " +"Марк." +msgstr "" + +#: build/NEWS:39633 +msgid ":issue:`28371`: Deprecate passing asyncio.Handles to run_in_executor." +msgstr "" + +#: build/NEWS:39635 +msgid "" +":issue:`28372`: Fix asyncio to support formatting of non-python coroutines." +msgstr "" + +#: build/NEWS:39637 +msgid "" +":issue:`28399`: Remove UNIX socket from FS before binding. Patch by " +"Коренберг Марк." +msgstr "" + +#: build/NEWS:39640 +msgid ":issue:`27972`: Prohibit Tasks to await on themselves." +msgstr "" + +#: build/NEWS:35588 +msgid "" +":issue:`24142`: Reading a corrupt config file left configparser in an " +"invalid state. Original patch by Florian Höch." +msgstr "" + +#: build/NEWS:34936 +msgid "" +":issue:`29581`: ABCMeta.__new__ now accepts ``**kwargs``, allowing abstract " +"base classes to use keyword parameters in __init_subclass__. Patch by Nate " +"Soares." +msgstr "" + +#: build/NEWS:34129 +msgid "" +":issue:`25532`: inspect.unwrap() will now only try to unwrap an object sys." +"getrecursionlimit() times, to protect against objects which create a new " +"object on every attribute access." +msgstr "" + +#: build/NEWS:35070 +msgid "" +":issue:`30177`: path.resolve(strict=False) no longer cuts the path after the " +"first element not present in the filesystem. Patch by Antoine Pietri." +msgstr "" + +#: build/NEWS:34556 +msgid "" +":issue:`31294`: Fix incomplete code snippet in the ZeroMQSocketListener and " +"ZeroMQSocketHandler examples and adapt them to Python 3." +msgstr "" + +#: build/NEWS:34559 +msgid "" +":issue:`21649`: Add RFC 7525 and Mozilla server side TLS links to SSL " +"documentation." +msgstr "" + +#: build/NEWS:32656 +msgid ":issue:`31128`: Allow the pydoc server to bind to arbitrary hostnames." +msgstr "" + +#: build/NEWS:34562 +msgid "" +":issue:`30803`: Clarify doc on truth value testing. Original patch by Peter " +"Thomassen." +msgstr "" + +#: build/NEWS:39041 +msgid "" +":issue:`30176`: Add missing attribute related constants in curses " +"documentation." +msgstr "" + +#: build/NEWS:35128 +msgid "" +":issue:`30052`: the link targets for :func:`bytes` and :func:`bytearray` are " +"now their respective type definitions, rather than the corresponding builtin " +"function entries. Use :ref:`bytes <func-bytes>` and :ref:`bytearray <func-" +"bytearray>` to reference the latter. In order to ensure this and future " +"cross-reference updates are applied automatically, the daily documentation " +"builds now disable the default output caching features in Sphinx." +msgstr "" + +#: build/NEWS:39044 +msgid "" +":issue:`26985`: Add missing info of code object in inspect documentation." +msgstr "" + +#: build/NEWS:32674 +msgid "" +":issue:`19824`: Improve the documentation for, and links to, template " +"strings by emphasizing their utility for internationalization, and by " +"clarifying some usage constraints. (See also: :issue:`20314`, :issue:`12518`)" +msgstr "" + +#: build/NEWS:39046 +msgid ":issue:`28929`: Link the documentation to its source file on GitHub." +msgstr "" + +#: build/NEWS:39048 +msgid "" +":issue:`25008`: Document smtpd.py as effectively deprecated and add a " +"pointer to aiosmtpd, a third-party asyncio-based replacement." +msgstr "" + +#: build/NEWS:39051 +msgid "" +":issue:`26355`: Add canonical header link on each page to corresponding " +"major version of the documentation. Patch by Matthias Bussonnier." +msgstr "" + +#: build/NEWS:39054 +msgid "" +":issue:`29349`: Fix Python 2 syntax in code for building the documentation." +msgstr "" + +#: build/NEWS:32688 +msgid "" +":issue:`23722`: The data model reference and the porting section in the 3.6 " +"What's New guide now cover the additional ``__classcell__`` handling needed " +"for custom metaclasses to fully support :pep:`487` and zero-argument " +"``super()``." +msgstr "" + +#: build/NEWS:39708 +msgid ":issue:`28513`: Documented command-line interface of zipfile." +msgstr "" + +#: build/NEWS:32698 +msgid "" +":issue:`29639`: test.support.HOST is now \"localhost\", a new HOSTv4 " +"constant has been added for your ``127.0.0.1`` needs, similar to the " +"existing HOSTv6 constant." +msgstr "" + +#: build/NEWS:34568 +msgid ":issue:`31320`: Silence traceback in test_ssl" +msgstr "" + +#: build/NEWS:32704 +msgid "" +":issue:`31346`: Prefer PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER protocols " +"for SSLContext." +msgstr "" + +#: build/NEWS:34570 +msgid ":issue:`25674`: Remove sha256.tbs-internet.com ssl test" +msgstr "" + +#: build/NEWS:34572 +msgid "" +":issue:`30715`: Address ALPN callback changes for OpenSSL 1.1.0f. The latest " +"version behaves like OpenSSL 1.0.2 and no longer aborts handshake." +msgstr "" + +#: build/NEWS:34575 +msgid "" +":issue:`30822`: regrtest: Exclude tzdata from regrtest --all. When running " +"the test suite using --use=all / -u all, exclude tzdata since it makes " +"test_datetime too slow (15-20 min on some buildbots) which then times out on " +"some buildbots. Fix also regrtest command line parser to allow passing -u " +"extralargefile to run test_zipfile64." +msgstr "" + +#: build/NEWS:34181 +msgid "" +":issue:`30695`: Add the ``set_nomemory(start, stop)`` and " +"``remove_mem_hooks()`` functions to the ``_testcapi`` module." +msgstr "" + +#: build/NEWS:39073 +msgid "" +":issue:`30357`: test_thread: setUp() now uses support.threading_setup() and " +"support.threading_cleanup() to wait until threads complete to avoid random " +"side effects on following tests. Initial patch written by Grzegorz Grzywacz." +msgstr "" + +#: build/NEWS:39082 +msgid "" +":issue:`30197`: Enhanced functions swap_attr() and swap_item() in the test." +"support module. They now work when delete replaced attribute or item inside " +"the with statement. The old value of the attribute or item (or None if it " +"doesn't exist) now will be assigned to the target of the \"as\" clause, if " +"there is one." +msgstr "" + +#: build/NEWS:32732 +msgid ":issue:`24932`: Use proper command line parsing in _testembed" +msgstr "" + +#: build/NEWS:35468 +msgid "" +":issue:`28950`: Disallow -j0 to be combined with -T/-l in regrtest command " +"line arguments." +msgstr "" + +#: build/NEWS:35471 +msgid "" +":issue:`28683`: Fix the tests that bind() a unix socket and raise " +"PermissionError on Android for a non-root user." +msgstr "" + +#: build/NEWS:32740 +msgid "" +":issue:`26936`: Fix the test_socket failures on Android - getservbyname(), " +"getservbyport() and getaddrinfo() are broken on some Android API levels." +msgstr "" + +#: build/NEWS:39716 +msgid "" +":issue:`28666`: Now test.support.rmtree is able to remove unwritable or " +"unreadable directories." +msgstr "" + +#: build/NEWS:39719 +msgid "" +":issue:`23839`: Various caches now are cleared before running every test " +"file." +msgstr "" + +#: build/NEWS:35844 +msgid "" +":issue:`26944`: Fix test_posix for Android where 'id -G' is entirely wrong " +"or missing the effective gid." +msgstr "" + +#: build/NEWS:39721 +msgid ":issue:`28409`: regrtest: fix the parser of command line arguments." +msgstr "" + +#: build/NEWS:36115 +msgid ":issue:`28217`: Adds _testconsole module to test console input." +msgstr "" + +#: build/NEWS:35474 +msgid "" +":issue:`26939`: Add the support.setswitchinterval() function to fix " +"test_functools hanging on the Android armv7 qemu emulator." +msgstr "" + +#: build/NEWS:32761 +msgid "" +":issue:`31354`: Allow ``--with-lto`` to be used on all builds, not just " +"``make profile-opt``." +msgstr "" + +#: build/NEWS:32764 +msgid "" +":issue:`31370`: Remove support for building --without-threads. This option " +"is not really useful anymore in the 21st century. Removing lots of " +"conditional paths allows us to simplify the code base, including in " +"difficult to maintain low-level internal code." +msgstr "" + +#: build/NEWS:32769 +msgid "" +":issue:`31341`: Per :pep:`11`, support for the IRIX operating system was " +"removed." +msgstr "" + +#: build/NEWS:34584 +msgid "" +":issue:`30854`: Fix compile error when compiling --without-threads. Patch by " +"Masayuki Yamamoto." +msgstr "" + +#: build/NEWS:39110 +msgid "" +":issue:`30687`: Locate msbuild.exe on Windows when building rather than " +"vcvarsall.bat" +msgstr "" + +#: build/NEWS:32778 +msgid "" +":issue:`20210`: Support the *disabled* marker in Setup files. Extension " +"modules listed after this marker are not built at all, neither by the " +"Makefile nor by setup.py." +msgstr "" + +#: build/NEWS:35105 +msgid "" +":issue:`29941`: Add ``--with-assertions`` configure flag to explicitly " +"enable C ``assert()`` checks. Defaults to off. ``--with-pydebug`` implies " +"``--with-assertions``." +msgstr "" + +#: build/NEWS:35109 +msgid "" +":issue:`28787`: Fix out-of-tree builds of Python when configured with ``--" +"with--dtrace``." +msgstr "" + +#: build/NEWS:39097 +msgid "" +":issue:`29243`: Prevent unnecessary rebuilding of Python during ``make " +"test``, ``make install`` and some other make targets when configured with " +"``--enable-optimizations``." +msgstr "" + +#: build/NEWS:39101 +msgid "" +":issue:`23404`: Don't regenerate generated files based on file modification " +"time anymore: the action is now explicit. Replace ``make touch`` with ``make " +"regen-all``." +msgstr "" + +#: build/NEWS:39105 +msgid ":issue:`29643`: Fix ``--enable-optimization`` didn't work." +msgstr "" + +#: build/NEWS:35480 +msgid "" +":issue:`27593`: sys.version and the platform module python_build(), " +"python_branch(), and python_revision() functions now use git information " +"rather than hg when building from a repo." +msgstr "" + +#: build/NEWS:35484 +msgid "" +":issue:`29572`: Update Windows build and OS X installers to use OpenSSL " +"1.0.2k." +msgstr "" + +#: build/NEWS:32805 +msgid "" +":issue:`27659`: Prohibit implicit C function declarations: use ``-" +"Werror=implicit-function-declaration`` when possible (GCC and Clang, but it " +"depends on the compiler version). Patch written by Chi Hsuan Yen." +msgstr "" + +#: build/NEWS:32809 +msgid ":issue:`29384`: Remove old Be OS helper scripts." +msgstr "" + +#: build/NEWS:35486 +msgid ":issue:`26851`: Set Android compilation and link flags." +msgstr "" + +#: build/NEWS:35488 +msgid "" +":issue:`28768`: Fix implicit declaration of function _setmode. Patch by " +"Masayuki Yamamoto" +msgstr "" + +#: build/NEWS:39759 +msgid "" +":issue:`29080`: Removes hard dependency on hg.exe from PCBuild/build.bat" +msgstr "" + +#: build/NEWS:39761 +msgid ":issue:`23903`: Added missed names to PC/python3.def." +msgstr "" + +#: build/NEWS:35495 +msgid "" +":issue:`28762`: lockf() is available on Android API level 24, but the F_LOCK " +"macro is not defined in android-ndk-r13." +msgstr "" + +#: build/NEWS:35498 +msgid "" +":issue:`28538`: Fix the compilation error that occurs because if_nameindex() " +"is available on Android API level 24, but the if_nameindex structure is not " +"defined." +msgstr "" + +#: build/NEWS:35502 +msgid "" +":issue:`20211`: Do not add the directory for installing C header files and " +"the directory for installing object code libraries to the cross compilation " +"search paths. Original patch by Thomas Petazzoni." +msgstr "" + +#: build/NEWS:35506 +msgid ":issue:`28849`: Do not define sys.implementation._multiarch on Android." +msgstr "" + +#: build/NEWS:39763 +msgid "" +":issue:`10656`: Fix out-of-tree building on AIX. Patch by Tristan Carel and " +"Michael Haubenwallner." +msgstr "" + +#: build/NEWS:39766 +msgid ":issue:`26359`: Rename --with-optimiations to --enable-optimizations." +msgstr "" + +#: build/NEWS:39768 +msgid ":issue:`28444`: Fix missing extensions modules when cross compiling." +msgstr "" + +#: build/NEWS:35837 +msgid "" +":issue:`28208`: Update Windows build and OS X installers to use SQLite " +"3.14.2." +msgstr "" + +#: build/NEWS:39770 +msgid "" +":issue:`28248`: Update Windows build and OS X installers to use OpenSSL " +"1.0.2j." +msgstr "" + +#: build/NEWS:32844 +msgid "" +":issue:`21124`: Fix building the _struct module on Cygwin by passing " +"``NULL`` instead of ``&PyType_Type`` to PyVarObject_HEAD_INIT. Patch by " +"Masayuki Yamamoto." +msgstr "" + +#: build/NEWS:32848 +msgid "" +":issue:`13756`: Fix building extensions modules on Cygwin. Patch by Roumen " +"Petrov, based on original patch by Jason Tishler." +msgstr "" + +#: build/NEWS:32851 +msgid "" +":issue:`21085`: Add configure check for siginfo_t.si_band, which Cygwin does " +"not provide. Patch by Masayuki Yamamoto with review and rebase by Erik Bray." +msgstr "" + +#: build/NEWS:39772 +msgid "" +":issue:`28258`: Fixed build with Estonian locale (python-config and " +"distclean targets in Makefile). Patch by Arfrever Frehtes Taifersar " +"Arahesis." +msgstr "" + +#: build/NEWS:39775 +msgid "" +":issue:`26661`: setup.py now detects system libffi with multiarch wrapper." +msgstr "" + +#: build/NEWS:32860 +msgid "" +":issue:`27979`: A full copy of libffi is no longer bundled for use when " +"building _ctypes on non-OSX UNIX platforms. An installed copy of libffi is " +"now required when building _ctypes on such platforms." +msgstr "" + +#: build/NEWS:39780 +msgid "" +":issue:`15819`: Remove redundant include search directory option for " +"building outside the source tree." +msgstr "" + +#: build/NEWS:39817 +msgid "" +":issue:`28676`: Prevent missing 'getentropy' declaration warning on macOS. " +"Patch by Gareth Rees." +msgstr "" + +#: build/NEWS:32873 +msgid ":issue:`31392`: Update Windows build to use OpenSSL 1.1.0f" +msgstr "" + +#: build/NEWS:34590 +msgid "" +":issue:`30389`: Adds detection of Visual Studio 2017 to distutils on Windows." +msgstr "" + +#: build/NEWS:32877 +msgid "" +":issue:`31358`: zlib is no longer bundled in the CPython source, instead it " +"is downloaded on demand just like bz2, lzma, OpenSSL, Tcl/Tk, and SQLite." +msgstr "" + +#: build/NEWS:34592 +msgid "" +":issue:`31340`: Change to building with MSVC v141 (included with Visual " +"Studio 2017)" +msgstr "" + +#: build/NEWS:34595 +msgid "" +":issue:`30581`: os.cpu_count() now returns the correct number of processors " +"on Windows when the number of logical processors is greater than 64." +msgstr "" + +#: build/NEWS:32886 +msgid "" +":issue:`30916`: Pre-build OpenSSL, Tcl and Tk and include the binaries in " +"the build." +msgstr "" + +#: build/NEWS:34598 +msgid "" +":issue:`30731`: Add a missing xmlns to python.manifest so that it matches " +"the schema." +msgstr "" + +#: build/NEWS:32892 +msgid "" +":issue:`30291`: Allow requiring 64-bit interpreters from py.exe using -64 " +"suffix. Contributed by Steve (Gadget) Barnes." +msgstr "" + +#: build/NEWS:32895 +msgid "" +":issue:`30362`: Adds list options (-0, -0p) to py.exe launcher. Contributed " +"by Steve Barnes." +msgstr "" + +#: build/NEWS:32898 +msgid "" +":issue:`23451`: Fix socket deprecation warnings in socketmodule.c. Patch by " +"Segev Finer." +msgstr "" + +#: build/NEWS:35164 +msgid "" +":issue:`30450`: The build process on Windows no longer depends on " +"Subversion, instead pulling external code from GitHub via a Python script. " +"If Python 3.6 is not found on the system (via ``py -3.6``), NuGet is used to " +"download a copy of 32-bit Python." +msgstr "" + +#: build/NEWS:32906 +msgid ":issue:`29579`: Removes readme.txt from the installer." +msgstr "" + +#: build/NEWS:35421 +msgid "" +":issue:`25778`: winreg does not truncate string correctly (Patch by Eryk Sun)" +msgstr "" + +#: build/NEWS:32910 +msgid "" +":issue:`28896`: Deprecate WindowsRegistryFinder and disable it by default" +msgstr "" + +#: build/NEWS:35830 +msgid ":issue:`28522`: Fixes mishandled buffer reallocation in getpathp.c" +msgstr "" + +#: build/NEWS:36071 +msgid ":issue:`28402`: Adds signed catalog files for stdlib on Windows." +msgstr "" + +#: build/NEWS:36073 +msgid "" +":issue:`28333`: Enables Unicode for ps1/ps2 and input() prompts. (Patch by " +"Eryk Sun)" +msgstr "" + +#: build/NEWS:39744 +msgid ":issue:`28251`: Improvements to help manuals on Windows." +msgstr "" + +#: build/NEWS:39746 +msgid "" +":issue:`28110`: launcher.msi has different product codes between 32-bit and " +"64-bit" +msgstr "" + +#: build/NEWS:36081 +msgid ":issue:`28161`: Opening CON for write access fails" +msgstr "" + +#: build/NEWS:36083 +msgid "" +":issue:`28162`: WindowsConsoleIO readall() fails if first line starts with " +"Ctrl+Z" +msgstr "" + +#: build/NEWS:36086 +msgid "" +":issue:`28163`: WindowsConsoleIO fileno() passes wrong flags to " +"_open_osfhandle" +msgstr "" + +#: build/NEWS:36088 +msgid ":issue:`28164`: _PyIO_get_console_type fails for various paths" +msgstr "" + +#: build/NEWS:36090 +msgid ":issue:`28137`: Renames Windows path file to ._pth" +msgstr "" + +#: build/NEWS:36092 +msgid ":issue:`28138`: Windows ._pth file should allow import site" +msgstr "" + +#: build/NEWS:34604 +msgid "" +":issue:`31493`: IDLE code context -- fix code update and font update timers. " +"Canceling timers prevents a warning message when test_idle completes." +msgstr "" + +#: build/NEWS:34607 +msgid "" +":issue:`31488`: IDLE - Update non-key options in former extension classes. " +"When applying configdialog changes, call .reload for each feature class. " +"Change ParenMatch so updated options affect existing instances attached to " +"existing editor windows." +msgstr "" + +#: build/NEWS:34612 +msgid "" +":issue:`31477`: IDLE - Improve rstrip entry in doc. Strip trailing " +"whitespace strips more than blank spaces. Multiline string literals are not " +"skipped." +msgstr "" + +#: build/NEWS:34615 +msgid "" +":issue:`31480`: IDLE - make tests pass with zzdummy extension disabled by " +"default." +msgstr "" + +#: build/NEWS:34618 +msgid "" +":issue:`31421`: Document how IDLE runs tkinter programs. IDLE calls tcl/tk " +"update in the background in order to make live interaction and " +"experimentation with tkinter applications much easier." +msgstr "" + +#: build/NEWS:34622 +msgid "" +":issue:`31414`: IDLE -- fix tk entry box tests by deleting first. Adding to " +"an int entry is not the same as deleting and inserting because int('') will " +"fail." +msgstr "" + +#: build/NEWS:34626 +msgid "" +":issue:`31051`: Rearrange IDLE configdialog GenPage into Window, Editor, and " +"Help sections." +msgstr "" + +#: build/NEWS:34629 +msgid "" +":issue:`30617`: IDLE - Add docstrings and tests for outwin subclass of " +"editor. Move some data and functions from the class to module level. Patch " +"by Cheryl Sabella." +msgstr "" + +#: build/NEWS:34633 +msgid "" +":issue:`31287`: IDLE - Do not modify tkinter.message in test_configdialog." +msgstr "" + +#: build/NEWS:34635 +msgid "" +":issue:`27099`: Convert IDLE's built-in 'extensions' to regular features. " +"About 10 IDLE features were implemented as supposedly optional extensions. " +"Their different behavior could be confusing or worse for users and not good " +"for maintenance. Hence the conversion. The main difference for users is that " +"user configurable key bindings for builtin features are now handled " +"uniformly. Now, editing a binding in a keyset only affects its value in the " +"keyset. All bindings are defined together in the system-specific default " +"keysets in config-extensions.def. All custom keysets are saved as a whole in " +"config-extension.cfg. All take effect as soon as one clicks Apply or Ok. " +"The affected events are '<<force-open-completions>>', '<<expand-word>>', " +"'<<force-open-calltip>>', '<<flash-paren>>', '<<format-paragraph>>', '<<run-" +"module>>', '<<check-module>>', and '<<zoom-height>>'. Any (global) " +"customizations made before 3.6.3 will not affect their keyset-specific " +"customization after 3.6.3. and vice versa. Initial patch by Charles " +"Wohlganger." +msgstr "" + +#: build/NEWS:34651 +msgid "" +":issue:`31206`: IDLE: Factor HighPage(Frame) class from ConfigDialog. Patch " +"by Cheryl Sabella." +msgstr "" + +#: build/NEWS:34654 +msgid "" +":issue:`31001`: Add tests for configdialog highlight tab. Patch by Cheryl " +"Sabella." +msgstr "" + +#: build/NEWS:34657 +msgid "" +":issue:`31205`: IDLE: Factor KeysPage(Frame) class from ConfigDialog. The " +"slightly modified tests continue to pass. Patch by Cheryl Sabella." +msgstr "" + +#: build/NEWS:34660 +msgid "" +":issue:`31130`: IDLE -- stop leaks in test_configdialog. Initial patch by " +"Victor Stinner." +msgstr "" + +#: build/NEWS:34663 +msgid "" +":issue:`31002`: Add tests for configdialog keys tab. Patch by Cheryl Sabella." +msgstr "" + +#: build/NEWS:34665 +msgid "" +":issue:`19903`: IDLE: Calltips use ``inspect.signature`` instead of " +"``inspect.getfullargspec``. This improves calltips for builtins converted to " +"use Argument Clinic. Patch by Louie Lu." +msgstr "" + +#: build/NEWS:34669 +msgid "" +":issue:`31083`: IDLE - Add an outline of a TabPage class in configdialog. " +"Update existing classes to match outline. Initial patch by Cheryl Sabella." +msgstr "" + +#: build/NEWS:34672 +msgid "" +":issue:`31050`: Factor GenPage(Frame) class from ConfigDialog. The slightly " +"modified tests continue to pass. Patch by Cheryl Sabella." +msgstr "" + +#: build/NEWS:34675 +msgid "" +":issue:`31004`: IDLE - Factor FontPage(Frame) class from ConfigDialog. " +"Slightly modified tests continue to pass. Fix General tests. Patch mostly by " +"Cheryl Sabella." +msgstr "" + +#: build/NEWS:34679 +msgid "" +":issue:`30781`: IDLE - Use ttk widgets in ConfigDialog. Patches by Terry Jan " +"Reedy and Cheryl Sabella." +msgstr "" + +#: build/NEWS:34682 +msgid "" +":issue:`31060`: IDLE - Finish rearranging methods of ConfigDialog Grouping " +"methods pertaining to each tab and the buttons will aid writing tests and " +"improving the tabs and will enable splitting the groups into classes." +msgstr "" + +#: build/NEWS:34686 +msgid "" +":issue:`30853`: IDLE -- Factor a VarTrace class out of ConfigDialog. " +"Instance tracers manages pairs consisting of a tk variable and a callback " +"function. When tracing is turned on, setting the variable calls the " +"function. Test coverage for the new class is 100%." +msgstr "" + +#: build/NEWS:34691 +msgid ":issue:`31003`: IDLE: Add more tests for General tab." +msgstr "" + +#: build/NEWS:34693 +msgid "" +":issue:`30993`: IDLE - Improve configdialog font page and tests. In " +"configdialog: Document causal pathways in create_font_tab docstring. " +"Simplify some attribute names. Move set_samples calls to var_changed_font " +"(idea from Cheryl Sabella). Move related functions to positions after the " +"create widgets function. In test_configdialog: Fix test_font_set so not " +"order dependent. Fix renamed test_indent_scale so it tests the widget. " +"Adjust tests for movement of set_samples call. Add tests for load " +"functions. Put all font tests in one class and tab indent tests in " +"another. Except for two lines, these tests completely cover the related " +"functions." +msgstr "" + +#: build/NEWS:34704 +msgid ":issue:`30981`: IDLE -- Add more configdialog font page tests." +msgstr "" + +#: build/NEWS:34706 +msgid ":issue:`28523`: IDLE: replace 'colour' with 'color' in configdialog." +msgstr "" + +#: build/NEWS:34708 +msgid "" +":issue:`30917`: Add tests for idlelib.config.IdleConf. Increase coverage " +"from 46% to 96%. Patch by Louie Lu." +msgstr "" + +#: build/NEWS:34711 +msgid "" +":issue:`30934`: Document coverage details for idlelib tests. Add section to " +"idlelib/idle-test/README.txt. Include check that branches are taken both " +"ways. Exclude IDLE-specific code that does not run during unit tests." +msgstr "" + +#: build/NEWS:34715 +msgid "" +":issue:`30913`: IDLE: Document ConfigDialog tk Vars, methods, and widgets in " +"docstrings This will facilitate improving the dialog and splitting up the " +"class. Original patch by Cheryl Sabella." +msgstr "" + +#: build/NEWS:34719 +msgid "" +":issue:`30899`: IDLE: Add tests for ConfigParser subclasses in config. Patch " +"by Louie Lu." +msgstr "" + +#: build/NEWS:34722 +msgid "" +":issue:`30881`: IDLE: Add docstrings to browser.py. Patch by Cheryl Sabella." +msgstr "" + +#: build/NEWS:34724 +msgid "" +":issue:`30851`: IDLE: Remove unused variables in configdialog. One is a " +"duplicate, one is set but cannot be altered by users. Patch by Cheryl " +"Sabella." +msgstr "" + +#: build/NEWS:34728 +msgid "" +":issue:`30870`: IDLE: In Settings dialog, select font with Up, Down keys as " +"well as mouse. Initial patch by Louie Lu." +msgstr "" + +#: build/NEWS:34731 +msgid ":issue:`8231`: IDLE: call config.IdleConf.GetUserCfgDir only once." +msgstr "" + +#: build/NEWS:34733 +msgid "" +":issue:`30779`: IDLE: Factor ConfigChanges class from configdialog, put in " +"config; test. * In config, put dump test code in a function; run it and " +"unittest in 'if __name__ == '__main__'. * Add class config.ConfigChanges " +"based on changes_class_v4.py on bpo issue. * Add class test_config." +"ChangesTest, partly using configdialog_tests_v1.py. * Revise configdialog to " +"use ConfigChanges; see tracker msg297804. * Revise test_configdialog to " +"match configdialog changes. * Remove configdialog functions unused or moved " +"to ConfigChanges. Cheryl Sabella contributed parts of the patch." +msgstr "" + +#: build/NEWS:34743 +msgid "" +":issue:`30777`: IDLE: configdialog - Add docstrings and fix comments. Patch " +"by Cheryl Sabella." +msgstr "" + +#: build/NEWS:34746 +msgid "" +":issue:`30495`: IDLE: Improve textview with docstrings, PEP8 names, and more " +"tests. Patch by Cheryl Sabella." +msgstr "" + +#: build/NEWS:34749 +msgid "" +":issue:`30723`: IDLE: Make several improvements to parenmatch. Add 'parens' " +"style to highlight both opener and closer. Make 'default' style, which is " +"not default, a synonym for 'opener'. Make time-delay work the same with all " +"styles. Add help for config dialog extensions tab, including help for " +"parenmatch. Add new tests. Original patch by Charles Wohlganger." +msgstr "" + +#: build/NEWS:34755 +msgid "" +":issue:`30674`: IDLE: add docstrings to grep module. Patch by Cheryl Sabella" +msgstr "" + +#: build/NEWS:34757 +msgid "" +":issue:`21519`: IDLE's basic custom key entry dialog now detects duplicates " +"properly. Original patch by Saimadhav Heblikar." +msgstr "" + +#: build/NEWS:34760 +msgid "" +":issue:`29910`: IDLE no longer deletes a character after commenting out a " +"region by a key shortcut. Add ``return 'break'`` for this and other " +"potential conflicts between IDLE and default key bindings." +msgstr "" + +#: build/NEWS:34764 +msgid "" +":issue:`30728`: Review and change idlelib.configdialog names. Lowercase " +"method and attribute names. Replace 'colour' with 'color', expand overly " +"cryptic names, delete unneeded underscores. Replace ``import *`` with " +"specific imports. Patches by Cheryl Sabella." +msgstr "" + +#: build/NEWS:34769 +msgid "" +":issue:`6739`: IDLE: Verify user-entered key sequences by trying to bind " +"them with tk. Add tests for all 3 validation functions. Original patch by G " +"Polo. Tests added by Cheryl Sabella." +msgstr "" + +#: build/NEWS:35076 +msgid "" +":issue:`15786`: Fix several problems with IDLE's autocompletion box. The " +"following should now work: clicking on selection box items; using the " +"scrollbar; selecting an item by hitting Return. Hangs on MacOSX should no " +"longer happen. Patch by Louie Lu." +msgstr "" + +#: build/NEWS:35081 +msgid "" +":issue:`25514`: Add doc subsubsection about IDLE failure to start. Popup no-" +"connection message directs users to this section." +msgstr "" + +#: build/NEWS:35084 +msgid "" +":issue:`30642`: Fix reference leaks in IDLE tests. Patches by Louie Lu and " +"Terry Jan Reedy." +msgstr "" + +#: build/NEWS:35087 +msgid "" +":issue:`30495`: Add docstrings for textview.py and use PEP8 names. Patches " +"by Cheryl Sabella and Terry Jan Reedy." +msgstr "" + +#: build/NEWS:35090 +msgid "" +":issue:`30290`: Help-about: use pep8 names and add tests. Increase coverage " +"to 100%. Patches by Louie Lu, Cheryl Sabella, and Terry Jan Reedy." +msgstr "" + +#: build/NEWS:35093 +msgid "" +":issue:`30303`: Add _utest option to textview; add new tests. Increase " +"coverage to 100%. Patches by Louie Lu and Terry Jan Reedy." +msgstr "" + +#: build/NEWS:35402 +msgid "" +":issue:`29071`: IDLE colors f-string prefixes (but not invalid ur prefixes)." +msgstr "" + +#: build/NEWS:35404 +msgid "" +":issue:`28572`: Add 10% to coverage of IDLE's test_configdialog. Update and " +"augment description of the configuration system." +msgstr "" + +#: build/NEWS:34776 +msgid "" +":issue:`30983`: gdb integration commands (py-bt, etc.) work on optimized " +"shared builds now, too. :pep:`523` introduced _PyEval_EvalFrameDefault " +"which inlines PyEval_EvalFrameEx on non-debug shared builds. This broke the " +"ability to use py-bt, py-up, and a few other Python-specific gdb " +"integrations. The problem is fixed by only looking for " +"_PyEval_EvalFrameDefault frames in python-gdb.py. Original patch by Bruno " +"\"Polaco\" Penteado." +msgstr "" + +#: build/NEWS:33145 +msgid ":issue:`29748`: Added the slice index converter in Argument Clinic." +msgstr "" + +#: build/NEWS:33147 +msgid "" +":issue:`24037`: Argument Clinic now uses the converter " +"``bool(accept={int})`` rather than ``int`` for semantical booleans. This " +"avoids repeating the default value for Python and C and will help in " +"converting to ``bool`` in future." +msgstr "" + +#: build/NEWS:35141 +msgid "" +":issue:`29367`: python-gdb.py now supports also ``method-wrapper`` " +"(``wrapperobject``) objects." +msgstr "" + +#: build/NEWS:35609 +msgid "" +":issue:`28023`: Fix python-gdb.py didn't support new dict implementation." +msgstr "" + +#: build/NEWS:33157 +msgid "" +":issue:`15369`: The pybench and pystone microbenchmark have been removed " +"from Tools. Please use the new Python benchmark suite https://github.com/" +"python/pyperformance which is more reliable and includes a portable version " +"of pybench working on Python 2 and Python 3." +msgstr "" + +#: build/NEWS:33162 +msgid "" +":issue:`28102`: The zipfile module CLI now prints usage to stderr. Patch by " +"Stephen J. Turnbull." +msgstr "" + +#: build/NEWS:33168 +msgid "" +":issue:`31338`: Added the ``Py_UNREACHABLE()`` macro for code paths which " +"are never expected to be reached. This and a few other useful macros are " +"now documented in the C API manual." +msgstr "" + +#: build/NEWS:33172 +msgid "" +":issue:`30832`: Remove own implementation for thread-local storage. CPython " +"has provided the own implementation for thread-local storage (TLS) on Python/" +"thread.c, it's used in the case which a platform has not supplied native " +"TLS. However, currently all supported platforms (Windows and pthreads) have " +"provided native TLS and defined the Py_HAVE_NATIVE_TLS macro with " +"unconditional in any case." +msgstr "" + +#: build/NEWS:33179 +msgid "" +":issue:`30708`: PyUnicode_AsWideCharString() now raises a ValueError if the " +"second argument is NULL and the wchar_t\\* string contains null characters." +msgstr "" + +#: build/NEWS:33182 +msgid "" +":issue:`16500`: Deprecate PyOS_AfterFork() and add PyOS_BeforeFork(), " +"PyOS_AfterFork_Parent() and PyOS_AfterFork_Child()." +msgstr "" + +#: build/NEWS:33185 +msgid "" +":issue:`6532`: The type of results of PyThread_start_new_thread() and " +"PyThread_get_thread_ident(), and the id parameter of " +"PyThreadState_SetAsyncExc() changed from \"long\" to \"unsigned long\"." +msgstr "" + +#: build/NEWS:33189 +msgid "" +":issue:`27867`: Function PySlice_GetIndicesEx() is deprecated and replaced " +"with a macro if Py_LIMITED_API is not set or set to the value between " +"0x03050400 and 0x03060000 (not including) or 0x03060100 or higher. Added " +"functions PySlice_Unpack() and PySlice_AdjustIndices()." +msgstr "" + +#: build/NEWS:39123 +msgid "" +":issue:`29083`: Fixed the declaration of some public API functions. " +"PyArg_VaParse() and PyArg_VaParseTupleAndKeywords() were not available in " +"limited API. PyArg_ValidateKeywordArguments(), PyArg_UnpackTuple() and " +"Py_BuildValue() were not available in limited API of version < 3.3 when " +"PY_SSIZE_T_CLEAN is defined." +msgstr "" + +#: build/NEWS:33200 +msgid "" +":issue:`28769`: The result of PyUnicode_AsUTF8AndSize() and " +"PyUnicode_AsUTF8() is now of type ``const char *`` rather of ``char *``." +msgstr "" + +#: build/NEWS:35438 +msgid "" +":issue:`29058`: All stable API extensions added after Python 3.2 are now " +"available only when Py_LIMITED_API is set to the PY_VERSION_HEX value of the " +"minimum Python version supporting this API." +msgstr "" + +#: build/NEWS:33207 +msgid "" +":issue:`28822`: The index parameters *start* and *end* of " +"PyUnicode_FindChar() are now adjusted to behave like ``str[start:end]``." +msgstr "" + +#: build/NEWS:39699 +msgid "" +":issue:`28808`: PyUnicode_CompareWithASCIIString() now never raises " +"exceptions." +msgstr "" + +#: build/NEWS:33212 +msgid "" +":issue:`28761`: The fields name and doc of structures PyMemberDef, " +"PyGetSetDef, PyStructSequence_Field, PyStructSequence_Desc, and wrapperbase " +"are now of type ``const char *`` rather of ``char *``." +msgstr "" + +#: build/NEWS:33216 +msgid "" +":issue:`28748`: Private variable _Py_PackageContext is now of type ``const " +"char *`` rather of ``char *``." +msgstr "" + +#: build/NEWS:33219 +msgid "" +":issue:`19569`: Compiler warnings are now emitted if use most of deprecated " +"functions." +msgstr "" + +#: build/NEWS:36097 +msgid "" +":issue:`28426`: Deprecated undocumented functions " +"PyUnicode_AsEncodedObject(), PyUnicode_AsDecodedObject(), " +"PyUnicode_AsDecodedUnicode() and PyUnicode_AsEncodedUnicode()." +msgstr "" + +#: build/NEWS:33228 +msgid "Python 3.6.6 final" +msgstr "" + +#: build/NEWS:33232 +msgid "There were no new changes in version 3.6.6." +msgstr "" + +#: build/NEWS:33237 +msgid "Python 3.6.6 release candidate 1" +msgstr "" + +#: build/NEWS:33239 +msgid "*Release date: 2018-06-11*" +msgstr "" + +#: build/NEWS:33470 +msgid ":issue:`33184`: Update Windows installer to OpenSSL 1.0.2o." +msgstr "" + +#: build/NEWS:33475 +msgid ":issue:`33184`: Update macOS installer build to use OpenSSL 1.0.2o." +msgstr "" + +#: build/NEWS:33507 +msgid "" +":issue:`29706`: IDLE now colors async and await as keywords in 3.6. They " +"become full keywords in 3.7." +msgstr "" + +#: build/NEWS:33548 +msgid "Python 3.6.5 final" +msgstr "" + +#: build/NEWS:33550 +msgid "*Release date: 2018-03-28*" +msgstr "" + +#: build/NEWS:33564 +msgid "Python 3.6.5 release candidate 1" +msgstr "" + +#: build/NEWS:33566 +msgid "*Release date: 2018-03-13*" +msgstr "" + +#: build/NEWS:33605 +msgid "" +":issue:`32329`: ``sys.flags.hash_randomization`` is now properly set to 0 " +"when hash randomization is turned off by ``PYTHONHASHSEED=0``." +msgstr "" + +#: build/NEWS:33608 +msgid "" +":issue:`30416`: The optimizer is now protected from spending much time doing " +"complex calculations and consuming much memory for creating large constants " +"in constant folding." +msgstr "" + +#: build/NEWS:33635 +msgid "" +":issue:`30353`: Fix ctypes pass-by-value for structs on 64-bit Cygwin/MinGW." +msgstr "" + +#: build/NEWS:33673 +msgid "" +":issue:`32394`: socket: Remove TCP_FASTOPEN, TCP_KEEPCNT flags on older " +"version Windows during run-time." +msgstr "" + +#: build/NEWS:33705 +msgid "" +":issue:`32555`: On FreeBSD and Solaris, os.strerror() now always decode the " +"byte string from the current locale encoding, rather than using ASCII/" +"surrogateescape in some cases." +msgstr "" + +#: build/NEWS:33723 +msgid "" +":issue:`32185`: The SSL module no longer sends IP addresses in SNI TLS " +"extension on platforms with OpenSSL 1.0.2+ or inet_pton." +msgstr "" + +#: build/NEWS:33788 +msgid "" +":issue:`31518`: Debian Unstable has disabled TLS 1.0 and 1.1 for " +"SSLv23_METHOD(). Change TLS/SSL protocol of some tests to PROTOCOL_TLS or " +"PROTOCOL_TLSv1_2 to make them pass on Debian." +msgstr "" + +#: build/NEWS:33821 +msgid ":issue:`32588`: Create standalone _distutils_findvs module." +msgstr "" + +#: build/NEWS:33826 +msgid "" +":issue:`32726`: Provide an additional, more modern macOS installer variant " +"that supports macOS 10.9+ systems in 64-bit mode only. Upgrade the supplied " +"third-party libraries to OpenSSL 1.0.2n, XZ 5.2.3, and SQLite 3.22.0. The " +"10.9+ installer now links with and supplies its own copy of Tcl/Tk 8.6.8." +msgstr "" + +#: build/NEWS:33882 +msgid "Python 3.6.4 final" +msgstr "" + +#: build/NEWS:33884 +msgid "*Release date: 2017-12-18*" +msgstr "" + +#: build/NEWS:33886 +msgid "There were no new code changes in version 3.6.4 since v3.6.4rc1." +msgstr "" + +#: build/NEWS:33891 +msgid "Python 3.6.4 release candidate 1" +msgstr "" + +#: build/NEWS:33920 +msgid "" +":issue:`31852`: Fix a segmentation fault caused by a combination of the " +"async soft keyword and continuation lines." +msgstr "" + +#: build/NEWS:34254 +msgid "" +":issue:`13802`: Use non-Latin characters in the IDLE's Font settings sample. " +"Even if one selects a font that defines a limited subset of the unicode " +"Basic Multilingual Plane, tcl/tk will use other fonts that define a " +"character. The expanded example give users of non-Latin characters a better " +"idea of what they might see in IDLE's shell and editors. To make room for " +"the expanded sample, frames on the Font tab are re-arranged. The Font/Tabs " +"help explains a bit about the additions." +msgstr "" + +#: build/NEWS:34310 +msgid "Python 3.6.3 final" +msgstr "" + +#: build/NEWS:34312 +msgid "*Release date: 2017-10-03*" +msgstr "" + +#: build/NEWS:34317 +msgid "" +":issue:`31641`: Re-allow arbitrary iterables in ``concurrent.futures." +"as_completed()``. Fixes regression in 3.6.3rc1." +msgstr "" + +#: build/NEWS:34323 +msgid "" +":issue:`31662`: Fix typos in Windows ``uploadrelease.bat`` script. Fix " +"Windows Doc build issues in ``Doc/make.bat``." +msgstr "" + +#: build/NEWS:34326 +msgid "" +":issue:`31423`: Fix building the PDF documentation with newer versions of " +"Sphinx." +msgstr "" + +#: build/NEWS:34331 +msgid "Python 3.6.3 release candidate 1" +msgstr "" + +#: build/NEWS:34333 +msgid "*Release date: 2017-09-18*" +msgstr "" + +#: build/NEWS:34786 +msgid "Python 3.6.2 final" +msgstr "" + +#: build/NEWS:34788 +msgid "*Release date: 2017-07-17*" +msgstr "" + +#: build/NEWS:35514 +msgid "No changes since release candidate 2" +msgstr "" + +#: build/NEWS:34795 +msgid "Python 3.6.2 release candidate 2" +msgstr "" + +#: build/NEWS:34797 +msgid "*Release date: 2017-07-07*" +msgstr "" + +#: build/NEWS:34822 +msgid "Python 3.6.2 release candidate 1" +msgstr "" + +#: build/NEWS:34824 +msgid "*Release date: 2017-06-17*" +msgstr "" + +#: build/NEWS:34839 +msgid "" +":issue:`30604`: Move co_extra_freefuncs to not be per-thread to avoid crashes" +msgstr "" + +#: build/NEWS:38775 +msgid ":issue:`29600`: Fix wrapping coroutine return values in StopIteration." +msgstr "" + +#: build/NEWS:38841 +msgid "" +":issue:`30645`: Fix path calculation in imp.load_package(), fixing it for " +"cases when a package is only shipped with bytecodes. Patch by Alexandru " +"Ardelean." +msgstr "" + +#: build/NEWS:34908 +msgid ":issue:`24484`: Avoid race condition in multiprocessing cleanup (#2159)" +msgstr "" + +#: build/NEWS:38909 +msgid "" +":issue:`26293`: Change resulted because of zipfile breakage. (See also: :" +"issue:`29094`)" +msgstr "" + +#: build/NEWS:38976 +msgid "" +":issue:`28298`: Fix a bug that prevented array 'Q', 'L' and 'I' from " +"accepting big intables (objects that have __int__) as elements. Patch by " +"Oren Milman." +msgstr "" + +#: build/NEWS:35099 +msgid "" +":issue:`27867`: Function PySlice_GetIndicesEx() no longer replaced with a " +"macro if Py_LIMITED_API is not set." +msgstr "" + +#: build/NEWS:35171 +msgid "Python 3.6.1 final" +msgstr "" + +#: build/NEWS:35173 +msgid "*Release date: 2017-03-21*" +msgstr "" + +#: build/NEWS:35189 +msgid ":issue:`27593`: fix format of git information used in sys.version" +msgstr "" + +#: build/NEWS:35191 +msgid "Fix incompatible comment in python.h" +msgstr "" + +#: build/NEWS:35195 +msgid "Python 3.6.1 release candidate 1" +msgstr "" + +#: build/NEWS:35197 +msgid "*Release date: 2017-03-04*" +msgstr "" + +#: build/NEWS:39008 +msgid "" +":issue:`29519`: Fix weakref spewing exceptions during interpreter shutdown " +"when used with a rare combination of multiprocessing and custom codecs." +msgstr "" + +#: build/NEWS:35324 +msgid "" +":issue:`29316`: Restore the provisional status of typing module, add " +"corresponding note to documentation. Patch by Ivan L." +msgstr "" + +#: build/NEWS:39024 +msgid "" +":issue:`29011`: Fix an important omission by adding Deque to the typing " +"module." +msgstr "" + +#: build/NEWS:35344 +msgid "" +":issue:`29203`: functools.lru_cache() now respects :pep:`468` and preserves " +"the order of keyword arguments. f(a=1, b=2) is now cached separately from " +"f(b=2, a=1) since both calls could potentially give different results." +msgstr "" + +#: build/NEWS:39290 +msgid "" +":issue:`29094`: Offsets in a ZIP file created with extern file object and " +"modes \"w\" and \"x\" now are relative to the start of the file." +msgstr "" + +#: build/NEWS:35354 +msgid "" +":issue:`29085`: Allow random.Random.seed() to use high quality OS randomness " +"rather than the pid and time." +msgstr "" + +#: build/NEWS:35357 +msgid "" +":issue:`29061`: Fixed bug in secrets.randbelow() which would hang when given " +"a negative input. Patch by Brendan Donegan." +msgstr "" + +#: build/NEWS:39296 +msgid "" +":issue:`29119`: Fix weakrefs in the pure python version of collections." +"OrderedDict move_to_end() method. Contributed by Andra Bogildea." +msgstr "" + +#: build/NEWS:35377 +msgid "" +":issue:`29055`: Neaten-up empty population error on random.choice() by " +"suppressing the upstream exception." +msgstr "" + +#: build/NEWS:39320 +msgid "" +":issue:`28847`: dbm.dumb now supports reading read-only files and no longer " +"writes the index file when it is not changed." +msgstr "" + +#: build/NEWS:35410 +msgid ":issue:`29579`: Removes readme.txt from the installer" +msgstr "" + +#: build/NEWS:35412 +msgid "" +":issue:`29326`: Ignores blank lines in ._pth files (Patch by Alexey Izbyshev)" +msgstr "" + +#: build/NEWS:35414 +msgid "" +":issue:`28164`: Correctly handle special console filenames (patch by Eryk " +"Sun)" +msgstr "" + +#: build/NEWS:35416 +msgid ":issue:`29409`: Implement :pep:`529` for io.FileIO (Patch by Eryk Sun)" +msgstr "" + +#: build/NEWS:39113 +msgid "" +":issue:`29392`: Prevent crash when passing invalid arguments into msvcrt " +"module." +msgstr "" + +#: build/NEWS:35423 +msgid "" +":issue:`28896`: Deprecate WindowsRegistryFinder and disable it by default." +msgstr "" + +#: build/NEWS:35428 +msgid "" +":issue:`27867`: Function PySlice_GetIndicesEx() is replaced with a macro if " +"Py_LIMITED_API is not set or set to the value between 0x03050400 and " +"0x03060000 (not including) or 0x03060100 or higher." +msgstr "" + +#: build/NEWS:39078 +msgid "" +":issue:`28087`: Skip test_asyncore and test_eintr poll failures on macOS. " +"Skip some tests of select.poll when running on macOS due to unresolved " +"issues with the underlying system poll function on some macOS versions." +msgstr "" + +#: build/NEWS:39088 +msgid "" +":issue:`29571`: to match the behaviour of the ``re.LOCALE`` flag, test_re." +"test_locale_flag now uses ``locale.getpreferredencoding(False)`` to " +"determine the candidate encoding for the test regex (allowing it to " +"correctly skip the test when the default locale encoding is a multi-byte " +"encoding)" +msgstr "" + +#: build/NEWS:35510 +msgid "Python 3.6.0 final" +msgstr "" + +#: build/NEWS:35512 +msgid "*Release date: 2016-12-23*" +msgstr "" + +#: build/NEWS:35519 +msgid "Python 3.6.0 release candidate 2" +msgstr "" + +#: build/NEWS:35521 +msgid "*Release date: 2016-12-16*" +msgstr "" + +#: build/NEWS:35529 +msgid "" +":issue:`28990`: Fix asyncio SSL hanging if connection is closed before " +"handshake is completed. (Patch by HoHo-Ho)" +msgstr "" + +#: build/NEWS:35535 +msgid ":issue:`28770`: Fix python-gdb.py for fastcalls." +msgstr "" + +#: build/NEWS:35540 +msgid ":issue:`28896`: Deprecate WindowsRegistryFinder." +msgstr "" + +#: build/NEWS:35545 +msgid "" +":issue:`28898`: Prevent gdb build errors due to HAVE_LONG_LONG redefinition." +msgstr "" + +#: build/NEWS:35549 +msgid "Python 3.6.0 release candidate 1" +msgstr "" + +#: build/NEWS:35551 +msgid "*Release date: 2016-12-06*" +msgstr "" + +#: build/NEWS:35573 +msgid "" +":issue:`27030`: Unknown escapes in re.sub() replacement template are allowed " +"again. But they still are deprecated and will be disabled in 3.7." +msgstr "" + +#: build/NEWS:35591 +msgid ":issue:`28843`: Fix asyncio C Task to handle exceptions __traceback__." +msgstr "" + +#: build/NEWS:35601 +msgid "" +":issue:`23722`: The data model reference and the porting section in the " +"What's New guide now cover the additional ``__classcell__`` handling needed " +"for custom metaclasses to fully support :pep:`487` and zero-argument " +"``super()``." +msgstr "" + +#: build/NEWS:35613 +msgid "Python 3.6.0 beta 4" +msgstr "" + +#: build/NEWS:35615 +msgid "*Release date: 2016-11-21*" +msgstr "" + +#: build/NEWS:35643 +msgid "" +":issue:`27243`: Change PendingDeprecationWarning -> DeprecationWarning. As " +"it was agreed in the issue, __aiter__ returning an awaitable should result " +"in PendingDeprecationWarning in 3.5 and in DeprecationWarning in 3.6." +msgstr "" + +#: build/NEWS:35662 +msgid "" +":issue:`20572`: The subprocess.Popen.wait method's undocumented endtime " +"parameter now raises a DeprecationWarning." +msgstr "" + +#: build/NEWS:35679 +msgid ":issue:`28600`: Optimize loop.call_soon." +msgstr "" + +#: build/NEWS:39650 +msgid "" +":issue:`28613`: Fix get_event_loop() return the current loop if called from " +"coroutines/callbacks." +msgstr "" + +#: build/NEWS:35684 +msgid ":issue:`28634`: Fix asyncio.isfuture() to support unittest.Mock." +msgstr "" + +#: build/NEWS:35686 +msgid ":issue:`26081`: Fix refleak in _asyncio.Future.__iter__().throw." +msgstr "" + +#: build/NEWS:39653 +msgid "" +":issue:`28639`: Fix inspect.isawaitable to always return bool Patch by " +"Justin Mayfield." +msgstr "" + +#: build/NEWS:39656 +msgid "" +":issue:`28652`: Make loop methods reject socket kinds they do not support." +msgstr "" + +#: build/NEWS:39658 +msgid ":issue:`28653`: Fix a refleak in functools.lru_cache." +msgstr "" + +#: build/NEWS:39660 +msgid ":issue:`28703`: Fix asyncio.iscoroutinefunction to handle Mock objects." +msgstr "" + +#: build/NEWS:35697 +msgid "" +":issue:`28704`: Fix create_unix_server to support Path-like objects (PEP " +"519)." +msgstr "" + +#: build/NEWS:35699 +msgid ":issue:`28720`: Add collections.abc.AsyncGenerator." +msgstr "" + +#: build/NEWS:35727 +msgid "Python 3.6.0 beta 3" +msgstr "" + +#: build/NEWS:35729 +msgid "*Release date: 2016-10-31*" +msgstr "" + +#: build/NEWS:35752 +msgid "" +":issue:`28471`: Fix \"Python memory allocator called without holding the " +"GIL\" crash in socket.setblocking." +msgstr "" + +#: build/NEWS:35774 +msgid "" +":issue:`18844`: The various ways of specifying weights for random.choices() " +"now produce the same result sequences." +msgstr "" + +#: build/NEWS:39352 +msgid "" +":issue:`28255`: calendar.TextCalendar().prmonth() no longer prints a space " +"at the start of new line after printing a month's calendar. Patch by Xiang " +"Zhang." +msgstr "" + +#: build/NEWS:39366 +msgid ":issue:`24452`: Make webbrowser support Chrome on Mac OS X." +msgstr "" + +#: build/NEWS:35815 +msgid "" +":issue:`28492`: Fix how StopIteration exception is raised in _asyncio.Future." +msgstr "" + +#: build/NEWS:35817 +msgid "" +":issue:`28500`: Fix asyncio to handle async gens GC from another thread." +msgstr "" + +#: build/NEWS:39642 +msgid "" +":issue:`26923`: Fix asyncio.Gather to refuse being cancelled once all " +"children are done. Patch by Johannes Ebke." +msgstr "" + +#: build/NEWS:39645 +msgid "" +":issue:`26796`: Don't configure the number of workers for default threadpool " +"executor. Initial patch by Hans Lawrenz." +msgstr "" + +#: build/NEWS:35825 +msgid ":issue:`28544`: Implement asyncio.Task in C." +msgstr "" + +#: build/NEWS:35851 +msgid "Python 3.6.0 beta 2" +msgstr "" + +#: build/NEWS:35853 +msgid "*Release date: 2016-10-10*" +msgstr "" + +#: build/NEWS:35869 +msgid "" +":issue:`28376`: Creating instances of range_iterator by calling " +"range_iterator type now is deprecated. Patch by Oren Milman." +msgstr "" + +#: build/NEWS:39193 +msgid "" +":issue:`28376`: The constructor of range_iterator now checks that step is " +"not 0. Patch by Oren Milman." +msgstr "" + +#: build/NEWS:39371 +msgid "" +":issue:`26293`: Fixed writing ZIP files that starts not from the start of " +"the file. Offsets in ZIP file now are relative to the start of the archive " +"in conforming to the specification." +msgstr "" + +#: build/NEWS:35940 +msgid ":issue:`27181`: remove statistics.geometric_mean and defer until 3.7." +msgstr "" + +#: build/NEWS:36119 +msgid "Python 3.6.0 beta 1" +msgstr "" + +#: build/NEWS:36121 +msgid "*Release date: 2016-09-12*" +msgstr "" + +#: build/NEWS:36126 +msgid "" +":issue:`23722`: The __class__ cell used by zero-argument super() is now " +"initialized from type.__new__ rather than __build_class__, so class methods " +"relying on that will now work correctly when called from metaclass methods " +"during class creation. Patch by Martin Teichmann." +msgstr "" + +#: build/NEWS:39224 +msgid "" +":issue:`25221`: Fix corrupted result from PyLong_FromLong(0) when Python is " +"compiled with NSMALLPOSINTS = 0." +msgstr "" + +#: build/NEWS:36134 +msgid "" +":issue:`27080`: Implement formatting support for :pep:`515`. Initial patch " +"by Chris Angelico." +msgstr "" + +#: build/NEWS:36137 +msgid "" +":issue:`27199`: In tarfile, expose copyfileobj bufsize to improve " +"throughput. Patch by Jason Fried." +msgstr "" + +#: build/NEWS:36140 +msgid "" +":issue:`27948`: In f-strings, only allow backslashes inside the braces " +"(where the expressions are). This is a breaking change from the 3.6 alpha " +"releases, where backslashes are allowed anywhere in an f-string. Also, " +"require that expressions inside f-strings be enclosed within literal braces, " +"and not escapes like ``f'\\x7b\"hi\"\\x7d'``." +msgstr "" + +#: build/NEWS:36146 +msgid ":issue:`28046`: Remove platform-specific directories from sys.path." +msgstr "" + +#: build/NEWS:36148 +msgid ":issue:`28071`: Add early-out for differencing from an empty set." +msgstr "" + +#: build/NEWS:39227 +msgid "" +":issue:`25758`: Prevents zipimport from unnecessarily encoding a filename " +"(patch by Eryk Sun)" +msgstr "" + +#: build/NEWS:36153 +msgid "" +":issue:`25856`: The __module__ attribute of extension classes and functions " +"now is interned. This leads to more compact pickle data with protocol 4." +msgstr "" + +#: build/NEWS:36156 +msgid "" +":issue:`27213`: Rework CALL_FUNCTION* opcodes to produce shorter and more " +"efficient bytecode. Patch by Demur Rumed, design by Serhiy Storchaka, " +"reviewed by Serhiy Storchaka and Victor Stinner." +msgstr "" + +#: build/NEWS:36160 +msgid "" +":issue:`26331`: Implement tokenizing support for :pep:`515`. Patch by Georg " +"Brandl." +msgstr "" + +#: build/NEWS:36163 +msgid "" +":issue:`27999`: Make \"global after use\" a SyntaxError, and ditto for " +"nonlocal. Patch by Ivan Levkivskyi." +msgstr "" + +#: build/NEWS:36166 +msgid ":issue:`28003`: Implement :pep:`525` -- Asynchronous Generators." +msgstr "" + +#: build/NEWS:36168 +msgid "" +":issue:`27985`: Implement :pep:`526` -- Syntax for Variable Annotations. " +"Patch by Ivan Levkivskyi." +msgstr "" + +#: build/NEWS:36171 +msgid "" +":issue:`26058`: Add a new private version to the builtin dict type, " +"incremented at each dictionary creation and at each dictionary change. " +"Implementation of the PEP 509." +msgstr "" + +#: build/NEWS:36175 +msgid "" +":issue:`27364`: A backslash-character pair that is not a valid escape " +"sequence now generates a DeprecationWarning. Patch by Emanuel Barry." +msgstr "" + +#: build/NEWS:36178 +msgid "" +":issue:`27350`: ``dict`` implementation is changed like PyPy. It is more " +"compact and preserves insertion order. (Concept developed by Raymond " +"Hettinger and patch by Inada Naoki.)" +msgstr "" + +#: build/NEWS:36182 +msgid "" +":issue:`27911`: Remove unnecessary error checks in " +"``exec_builtin_or_dynamic()``." +msgstr "" + +#: build/NEWS:36185 +msgid "" +":issue:`27078`: Added BUILD_STRING opcode. Optimized f-strings evaluation." +msgstr "" + +#: build/NEWS:36187 +msgid "" +":issue:`17884`: Python now requires systems with inttypes.h and stdint.h" +msgstr "" + +#: build/NEWS:36189 +msgid "" +":issue:`27961`: Require platforms to support ``long long``. Python hasn't " +"compiled without ``long long`` for years, so this is basically a formality." +msgstr "" + +#: build/NEWS:36193 +msgid "" +":issue:`27355`: Removed support for Windows CE. It was never finished, and " +"Windows CE is no longer a relevant platform for Python." +msgstr "" + +#: build/NEWS:36196 +msgid "Implement :pep:`523`." +msgstr "" + +#: build/NEWS:36198 +msgid "" +":issue:`27870`: A left shift of zero by a large integer no longer attempts " +"to allocate large amounts of memory." +msgstr "" + +#: build/NEWS:36201 +msgid "" +":issue:`25402`: In int-to-decimal-string conversion, improve the estimate of " +"the intermediate memory required, and remove an unnecessarily strict " +"overflow check. Patch by Serhiy Storchaka." +msgstr "" + +#: build/NEWS:36205 +msgid "" +":issue:`27214`: In long_invert, be more careful about modifying object " +"returned by long_add, and remove an unnecessary check for small longs. " +"Thanks Oren Milman for analysis and patch." +msgstr "" + +#: build/NEWS:36209 +msgid "" +":issue:`27506`: Support passing the bytes/bytearray.translate() \"delete\" " +"argument by keyword." +msgstr "" + +#: build/NEWS:39233 +msgid "" +":issue:`27812`: Properly clear out a generator's frame's backreference to " +"the generator to prevent crashes in frame.clear()." +msgstr "" + +#: build/NEWS:39236 +msgid "" +":issue:`27811`: Fix a crash when a coroutine that has not been awaited is " +"finalized with warnings-as-errors enabled." +msgstr "" + +#: build/NEWS:39239 +msgid "" +":issue:`27587`: Fix another issue found by PVS-Studio: Null pointer check " +"after use of 'def' in _PyState_AddModule(). Initial patch by Christian " +"Heimes." +msgstr "" + +#: build/NEWS:36221 +msgid "" +":issue:`27792`: The modulo operation applied to ``bool`` and other ``int`` " +"subclasses now always returns an ``int``. Previously the return type " +"depended on the input values. Patch by Xiang Zhang." +msgstr "" + +#: build/NEWS:36225 +msgid ":issue:`26984`: int() now always returns an instance of exact int." +msgstr "" + +#: build/NEWS:36227 +msgid "" +":issue:`25604`: Fix a minor bug in integer true division; this bug could " +"potentially have caused off-by-one-ulp results on platforms with unreliable " +"ldexp implementations." +msgstr "" + +#: build/NEWS:36231 +msgid ":issue:`24254`: Make class definition namespace ordered by default." +msgstr "" + +#: build/NEWS:36233 +msgid "" +":issue:`27662`: Fix an overflow check in ``List_New``: the original code was " +"checking against ``Py_SIZE_MAX`` instead of the correct upper bound of " +"``Py_SSIZE_T_MAX``. Patch by Xiang Zhang." +msgstr "" + +#: build/NEWS:39245 +msgid "" +":issue:`27782`: Multi-phase extension module import now correctly allows the " +"``m_methods`` field to be used to add module level functions to instances of " +"non-module types returned from ``Py_create_mod``. Patch by Xiang Zhang." +msgstr "" + +#: build/NEWS:39249 +msgid "" +":issue:`27936`: The round() function accepted a second None argument for " +"some types but not for others. Fixed the inconsistency by accepting None " +"for all numeric types." +msgstr "" + +#: build/NEWS:39253 +msgid "" +":issue:`27487`: Warn if a submodule argument to \"python -m\" or runpy." +"run_module() is found in sys.modules after parent packages are imported, but " +"before the submodule is executed." +msgstr "" + +#: build/NEWS:36249 +msgid "" +":issue:`27157`: Make only type() itself accept the one-argument form. Patch " +"by Eryk Sun and Emanuel Barry." +msgstr "" + +#: build/NEWS:39257 +msgid "" +":issue:`27558`: Fix a SystemError in the implementation of \"raise\" " +"statement. In a brand new thread, raise a RuntimeError since there is no " +"active exception to reraise. Patch written by Xiang Zhang." +msgstr "" + +#: build/NEWS:36256 +msgid ":issue:`28008`: Implement :pep:`530` -- asynchronous comprehensions." +msgstr "" + +#: build/NEWS:39282 +msgid ":issue:`27942`: Fix memory leak in codeobject.c" +msgstr "" + +#: build/NEWS:39326 +msgid ":issue:`28732`: Fix crash in os.spawnv() with no elements in args" +msgstr "" + +#: build/NEWS:39328 +msgid "" +":issue:`28485`: Always raise ValueError for negative compileall." +"compile_dir(workers=...) parameter, even when multithreading is unavailable." +msgstr "" + +#: build/NEWS:36269 +msgid "" +":issue:`28037`: Use sqlite3_get_autocommit() instead of setting Connection-" +">inTransaction manually." +msgstr "" + +#: build/NEWS:36272 +msgid "" +":issue:`25283`: Attributes tm_gmtoff and tm_zone are now available on all " +"platforms in the return values of time.localtime() and time.gmtime()." +msgstr "" + +#: build/NEWS:36275 +msgid "" +":issue:`24454`: Regular expression match object groups are now accessible " +"using __getitem__. \"mo[x]\" is equivalent to \"mo.group(x)\"." +msgstr "" + +#: build/NEWS:36278 +msgid "" +":issue:`10740`: sqlite3 no longer implicitly commit an open transaction " +"before DDL statements." +msgstr "" + +#: build/NEWS:36281 +msgid ":issue:`17941`: Add a *module* parameter to collections.namedtuple()." +msgstr "" + +#: build/NEWS:36283 +msgid "" +":issue:`22493`: Inline flags now should be used only at the start of the " +"regular expression. Deprecation warning is emitted if uses them in the " +"middle of the regular expression." +msgstr "" + +#: build/NEWS:36287 +msgid "" +":issue:`26885`: xmlrpc now supports unmarshalling additional data types used " +"by Apache XML-RPC implementation for numerics and None." +msgstr "" + +#: build/NEWS:36290 +msgid "" +":issue:`28070`: Fixed parsing inline verbose flag in regular expressions." +msgstr "" + +#: build/NEWS:36292 +msgid "" +":issue:`19500`: Add client-side SSL session resumption to the ssl module." +msgstr "" + +#: build/NEWS:36294 +msgid "" +":issue:`28022`: Deprecate ssl-related arguments in favor of SSLContext. The " +"deprecation include manual creation of SSLSocket and certfile/keyfile (or " +"similar) in ftplib, httplib, imaplib, smtplib, poplib and urllib." +msgstr "" + +#: build/NEWS:36298 +msgid "" +":issue:`28043`: SSLContext has improved default settings: OP_NO_SSLv2, " +"OP_NO_SSLv3, OP_NO_COMPRESSION, OP_CIPHER_SERVER_PREFERENCE, " +"OP_SINGLE_DH_USE, OP_SINGLE_ECDH_USE and HIGH ciphers without MD5." +msgstr "" + +#: build/NEWS:36302 +msgid "" +":issue:`24693`: Changed some RuntimeError's in the zipfile module to more " +"appropriate types. Improved some error messages and debugging output." +msgstr "" + +#: build/NEWS:36305 +msgid "" +":issue:`17909`: ``json.load`` and ``json.loads`` now support binary input " +"encoded as UTF-8, UTF-16 or UTF-32. Patch by Serhiy Storchaka." +msgstr "" + +#: build/NEWS:36308 +msgid "" +":issue:`27137`: the pure Python fallback implementation of ``functools." +"partial`` now matches the behaviour of its accelerated C counterpart for " +"subclassing, pickling and text representation purposes. Patch by Emanuel " +"Barry and Serhiy Storchaka." +msgstr "" + +#: build/NEWS:39381 +msgid "" +"Fix possible integer overflows and crashes in the mmap module with unusual " +"usage patterns." +msgstr "" + +#: build/NEWS:39384 +msgid "" +":issue:`1703178`: Fix the ability to pass the --link-objects option to the " +"distutils build_ext command." +msgstr "" + +#: build/NEWS:39431 +msgid "" +":issue:`28019`: itertools.count() no longer rounds non-integer step in range " +"between 1.0 and 2.0 to 1." +msgstr "" + +#: build/NEWS:36322 +msgid "" +":issue:`18401`: Pdb now supports the 'readrc' keyword argument to control " +"whether .pdbrc files should be read. Patch by Martin Matusiak and Sam " +"Kimbrel." +msgstr "" + +#: build/NEWS:39434 +msgid "" +":issue:`25969`: Update the lib2to3 grammar to handle the unpacking " +"generalizations added in 3.5." +msgstr "" + +#: build/NEWS:39437 +msgid "" +":issue:`14977`: mailcap now respects the order of the lines in the mailcap " +"files (\"first match\"), as required by RFC 1542. Patch by Michael Lazar." +msgstr "" + +#: build/NEWS:36332 +msgid ":issue:`28082`: Convert re flag constants to IntFlag." +msgstr "" + +#: build/NEWS:36334 +msgid "" +":issue:`28025`: Convert all ssl module constants to IntEnum and IntFlags. " +"SSLContext properties now return flags and enums." +msgstr "" + +#: build/NEWS:36337 +msgid ":issue:`23591`: Add Flag, IntFlag, and auto() to enum module." +msgstr "" + +#: build/NEWS:36339 +msgid "" +":issue:`433028`: Added support of modifier spans in regular expressions." +msgstr "" + +#: build/NEWS:39440 +msgid ":issue:`24594`: Validates persist parameter when opening MSI database" +msgstr "" + +#: build/NEWS:39442 +msgid "" +":issue:`17582`: xml.etree.ElementTree nows preserves whitespaces in " +"attributes (Patch by Duane Griffin. Reviewed and approved by Stefan Behnel.)" +msgstr "" + +#: build/NEWS:39445 +msgid "" +":issue:`28047`: Fixed calculation of line length used for the base64 CTE in " +"the new email policies." +msgstr "" + +#: build/NEWS:36349 +msgid ":issue:`27576`: Fix call order in OrderedDict.__init__()." +msgstr "" + +#: build/NEWS:36351 +msgid "email.generator.DecodedGenerator now supports the policy keyword." +msgstr "" + +#: build/NEWS:36353 +msgid "" +":issue:`28027`: Remove undocumented modules from ``Lib/plat-*``: IN, CDROM, " +"DLFCN, TYPES, CDIO, and STROPTS." +msgstr "" + +#: build/NEWS:39448 +msgid "" +":issue:`27445`: Don't pass str(_charset) to MIMEText.set_payload(). Patch by " +"Claude Paroz." +msgstr "" + +#: build/NEWS:36359 +msgid "" +":issue:`24277`: The new email API is no longer provisional, and the docs " +"have been reorganized and rewritten to emphasize the new API." +msgstr "" + +#: build/NEWS:39451 +msgid "" +":issue:`22450`: urllib now includes an ``Accept: */*`` header among the " +"default headers. This makes the results of REST API requests more consistent " +"and predictable especially when proxy servers are involved." +msgstr "" + +#: build/NEWS:39455 +msgid "" +"lib2to3.pgen3.driver.load_grammar() now creates a stable cache file between " +"runs given the same Grammar.txt input regardless of the hash randomization " +"setting." +msgstr "" + +#: build/NEWS:36370 +msgid "" +":issue:`28005`: Allow ImportErrors in encoding implementation to propagate." +msgstr "" + +#: build/NEWS:36372 +msgid ":issue:`26667`: Support path-like objects in importlib.util." +msgstr "" + +#: build/NEWS:39459 +msgid "" +":issue:`27570`: Avoid zero-length memcpy() etc calls with null source " +"pointers in the \"ctypes\" and \"array\" modules." +msgstr "" + +#: build/NEWS:39462 +msgid "" +":issue:`22233`: Break email header lines *only* on the RFC specified CR and " +"LF characters, not on arbitrary unicode line breaks. This also fixes a bug " +"in HTTP header parsing." +msgstr "" + +#: build/NEWS:36381 +msgid "" +":issue:`27331`: The email.mime classes now all accept an optional policy " +"keyword." +msgstr "" + +#: build/NEWS:39466 +msgid "" +":issue:`27988`: Fix email iter_attachments incorrect mutation of payload " +"list." +msgstr "" + +#: build/NEWS:36386 +msgid ":issue:`16113`: Add SHA-3 and SHAKE support to hashlib module." +msgstr "" + +#: build/NEWS:36388 +msgid "Eliminate a tautological-pointer-compare warning in _scproxy.c." +msgstr "" + +#: build/NEWS:36390 +msgid "" +":issue:`27776`: The :func:`os.urandom` function does now block on Linux 3.17 " +"and newer until the system urandom entropy pool is initialized to increase " +"the security. This change is part of the :pep:`524`." +msgstr "" + +#: build/NEWS:36394 +msgid "" +":issue:`27778`: Expose the Linux ``getrandom()`` syscall as a new :func:`os." +"getrandom` function. This change is part of the :pep:`524`." +msgstr "" + +#: build/NEWS:39468 +msgid "" +":issue:`27691`: Fix ssl module's parsing of GEN_RID subject alternative name " +"fields in X.509 certs." +msgstr "" + +#: build/NEWS:36400 +msgid ":issue:`18844`: Add random.choices()." +msgstr "" + +#: build/NEWS:36402 +msgid "" +":issue:`25761`: Improved error reporting about truncated pickle data in C " +"implementation of unpickler. UnpicklingError is now raised instead of " +"AttributeError and ValueError in some cases." +msgstr "" + +#: build/NEWS:36406 +msgid ":issue:`26798`: Add BLAKE2 (blake2b and blake2s) to hashlib." +msgstr "" + +#: build/NEWS:36408 +msgid "" +":issue:`26032`: Optimized globbing in pathlib by using os.scandir(); it is " +"now about 1.5--4 times faster." +msgstr "" + +#: build/NEWS:36411 +msgid "" +":issue:`25596`: Optimized glob() and iglob() functions in the glob module; " +"they are now about 3--6 times faster." +msgstr "" + +#: build/NEWS:36414 +msgid "" +":issue:`27928`: Add scrypt (password-based key derivation function) to " +"hashlib module (requires OpenSSL 1.1.0)." +msgstr "" + +#: build/NEWS:39471 +msgid "" +":issue:`27850`: Remove 3DES from ssl module's default cipher list to counter " +"measure sweet32 attack (:cve:`2016-2183`)." +msgstr "" + +#: build/NEWS:39474 +msgid "" +":issue:`27766`: Add ChaCha20 Poly1305 to ssl module's default cipher list. " +"(Required OpenSSL 1.1.0 or LibreSSL)." +msgstr "" + +#: build/NEWS:36423 +msgid ":issue:`25387`: Check return value of winsound.MessageBeep." +msgstr "" + +#: build/NEWS:36425 +msgid "" +":issue:`27866`: Add SSLContext.get_ciphers() method to get a list of all " +"enabled ciphers." +msgstr "" + +#: build/NEWS:36428 +msgid ":issue:`27744`: Add AF_ALG (Linux Kernel crypto) to socket module." +msgstr "" + +#: build/NEWS:39477 +msgid ":issue:`26470`: Port ssl and hashlib module to OpenSSL 1.1.0." +msgstr "" + +#: build/NEWS:36432 +msgid "" +":issue:`11620`: Fix support for SND_MEMORY in winsound.PlaySound. Based on " +"a patch by Tim Lesher." +msgstr "" + +#: build/NEWS:36435 +msgid "" +":issue:`11734`: Add support for IEEE 754 half-precision floats to the struct " +"module. Based on a patch by Eli Stevens." +msgstr "" + +#: build/NEWS:36438 +msgid "" +":issue:`27919`: Deprecated ``extra_path`` distribution option in distutils " +"packaging." +msgstr "" + +#: build/NEWS:36441 +msgid "" +":issue:`23229`: Add new ``cmath`` constants: ``cmath.inf`` and ``cmath.nan`` " +"to match ``math.inf`` and ``math.nan``, and also ``cmath.infj`` and ``cmath." +"nanj`` to match the format used by complex repr." +msgstr "" + +#: build/NEWS:36445 +msgid "" +":issue:`27842`: The csv.DictReader now returns rows of type OrderedDict. " +"(Contributed by Steve Holden.)" +msgstr "" + +#: build/NEWS:39479 +msgid "" +"Remove support for passing a file descriptor to os.access. It never worked " +"but previously didn't raise." +msgstr "" + +#: build/NEWS:39482 +msgid ":issue:`12885`: Fix error when distutils encounters symlink." +msgstr "" + +#: build/NEWS:39484 +msgid "" +":issue:`27881`: Fixed possible bugs when setting sqlite3.Connection." +"isolation_level. Based on patch by Xiang Zhang." +msgstr "" + +#: build/NEWS:39487 +msgid "" +":issue:`27861`: Fixed a crash in sqlite3.Connection.cursor() when a factory " +"creates not a cursor. Patch by Xiang Zhang." +msgstr "" + +#: build/NEWS:39490 +msgid ":issue:`19884`: Avoid spurious output on OS X with Gnu Readline." +msgstr "" + +#: build/NEWS:39492 +msgid "" +":issue:`27706`: Restore deterministic behavior of random.Random().seed() for " +"string seeds using seeding version 1. Allows sequences of calls to random() " +"to exactly match those obtained in Python 2. Patch by Nofar Schnider." +msgstr "" + +#: build/NEWS:39497 +msgid "" +":issue:`10513`: Fix a regression in Connection.commit(). Statements should " +"not be reset after a commit." +msgstr "" + +#: build/NEWS:36469 +msgid "" +":issue:`12319`: Chunked transfer encoding support added to http.client." +"HTTPConnection requests. The urllib.request.AbstractHTTPHandler class does " +"not enforce a Content-Length header any more. If a HTTP request has a file " +"or iterable body, but no Content-Length header, the library now falls back " +"to use chunked transfer-encoding." +msgstr "" + +#: build/NEWS:36476 +msgid "" +"A new version of typing.py from https://github.com/python/typing: - " +"Collection (only for 3.6) (:issue:`27598`) - Add FrozenSet to __all__ " +"(upstream #261) - fix crash in _get_type_vars() (upstream #259) - Remove the " +"dict constraint in ForwardRef._eval_type (upstream #252)" +msgstr "" + +#: build/NEWS:36481 +msgid "" +":issue:`27832`: Make ``_normalize`` parameter to ``Fraction`` constructor " +"keyword-only, so that ``Fraction(2, 3, 4)`` now raises ``TypeError``." +msgstr "" + +#: build/NEWS:39505 +msgid "" +":issue:`27539`: Fix unnormalised ``Fraction.__pow__`` result in the case of " +"negative exponent and negative base." +msgstr "" + +#: build/NEWS:39508 +msgid "" +":issue:`21718`: cursor.description is now available for queries using CTEs." +msgstr "" + +#: build/NEWS:36489 +msgid "" +":issue:`27819`: In distutils sdists, simply produce the \"gztar\" (gzipped " +"tar format) distributions on all platforms unless \"formats\" is supplied." +msgstr "" + +#: build/NEWS:39510 +msgid "" +":issue:`2466`: posixpath.ismount now correctly recognizes mount points which " +"the user does not have permission to access." +msgstr "" + +#: build/NEWS:36495 +msgid "" +":issue:`9998`: On Linux, ctypes.util.find_library now looks in " +"LD_LIBRARY_PATH for shared libraries." +msgstr "" + +#: build/NEWS:36498 +msgid ":issue:`27573`: exit message for code.interact is now configurable." +msgstr "" + +#: build/NEWS:39600 +msgid "" +":issue:`27930`: Improved behaviour of logging.handlers.QueueListener. Thanks " +"to Paulo Andrade and Petr Viktorin for the analysis and patch." +msgstr "" + +#: build/NEWS:36503 +msgid "" +":issue:`6766`: Distributed reference counting added to multiprocessing to " +"support nesting of shared values / proxy objects." +msgstr "" + +#: build/NEWS:39603 +msgid "" +":issue:`21201`: Improves readability of multiprocessing error message. " +"Thanks to Wojciech Walczak for patch." +msgstr "" + +#: build/NEWS:36509 +msgid "asyncio: Add set_protocol / get_protocol to Transports." +msgstr "" + +#: build/NEWS:39606 +msgid ":issue:`27456`: asyncio: Set TCP_NODELAY by default." +msgstr "" + +#: build/NEWS:39671 +msgid "" +":issue:`15308`: Add 'interrupt execution' (^C) to Shell menu. Patch by Roger " +"Serwy, updated by Bayard Randel." +msgstr "" + +#: build/NEWS:39674 +msgid "" +":issue:`27922`: Stop IDLE tests from 'flashing' gui widgets on the screen." +msgstr "" + +#: build/NEWS:36521 +msgid "" +":issue:`27891`: Consistently group and sort imports within idlelib modules." +msgstr "" + +#: build/NEWS:36523 +msgid ":issue:`17642`: add larger font sizes for classroom projection." +msgstr "" + +#: build/NEWS:39676 +msgid "Add version to title of IDLE help window." +msgstr "" + +#: build/NEWS:39678 +msgid "" +":issue:`25564`: In section on IDLE -- console differences, mention that " +"using exec means that __builtins__ is defined for each statement." +msgstr "" + +#: build/NEWS:36530 +msgid "" +":issue:`27821`: Fix 3.6.0a3 regression that prevented custom key sets from " +"being selected when no custom theme was defined." +msgstr "" + +#: build/NEWS:36536 +msgid "" +":issue:`26900`: Excluded underscored names and other private API from " +"limited API." +msgstr "" + +#: build/NEWS:36539 +msgid "" +":issue:`26027`: Add support for path-like objects in PyUnicode_FSConverter() " +"& PyUnicode_FSDecoder()." +msgstr "" + +#: build/NEWS:36545 +msgid "" +":issue:`27427`: Additional tests for the math module. Patch by Francisco " +"Couzo." +msgstr "" + +#: build/NEWS:36547 +msgid "" +":issue:`27953`: Skip math and cmath tests that fail on OS X 10.4 due to a " +"poor libm implementation of tan." +msgstr "" + +#: build/NEWS:36550 +msgid "" +":issue:`26040`: Improve test_math and test_cmath coverage and rigour. Patch " +"by Jeff Allen." +msgstr "" + +#: build/NEWS:39723 +msgid "" +":issue:`27787`: Call gc.collect() before checking each test for \"dangling " +"threads\", since the dangling threads are weak references." +msgstr "" + +#: build/NEWS:39783 +msgid "" +":issue:`27566`: Fix clean target in freeze makefile (patch by Lisa Roach)" +msgstr "" + +#: build/NEWS:39785 +msgid ":issue:`27705`: Update message in validate_ucrtbase.py" +msgstr "" + +#: build/NEWS:36563 +msgid "" +":issue:`27976`: Deprecate building _ctypes with the bundled copy of libffi " +"on non-OSX UNIX platforms." +msgstr "" + +#: build/NEWS:36566 +msgid "" +":issue:`27983`: Cause lack of llvm-profdata tool when using clang as " +"required for PGO linking to be a configure time error rather than make time " +"when ``--with-optimizations`` is enabled. Also improve our ability to find " +"the llvm-profdata tool on MacOS and some Linuxes." +msgstr "" + +#: build/NEWS:36571 +msgid ":issue:`21590`: Support for DTrace and SystemTap probes." +msgstr "" + +#: build/NEWS:39792 +msgid "" +":issue:`26307`: The profile-opt build now applies PGO to the built-in " +"modules." +msgstr "" + +#: build/NEWS:36575 +msgid "" +":issue:`26359`: Add the --with-optimizations flag to turn on LTO and PGO " +"build support when available." +msgstr "" + +#: build/NEWS:36578 +msgid ":issue:`27917`: Set platform triplets for Android builds." +msgstr "" + +#: build/NEWS:36580 +msgid "" +":issue:`25825`: Update references to the $(LIBPL) installation path on AIX. " +"This path was changed in 3.2a4." +msgstr "" + +#: build/NEWS:36583 +msgid "Update OS X installer to use SQLite 3.14.1 and XZ 5.2.2." +msgstr "" + +#: build/NEWS:36585 +msgid ":issue:`21122`: Fix LTO builds on OS X." +msgstr "" + +#: build/NEWS:36587 +msgid "" +":issue:`17128`: Build OS X installer with a private copy of OpenSSL. Also " +"provide a sample Install Certificates command script to install a set of " +"root certificates from the third-party certifi module." +msgstr "" + +#: build/NEWS:39732 +msgid "" +":issue:`27952`: Get Tools/scripts/fixcid.py working with Python 3 and the " +"current \"re\" module, avoid invalid Python backslash escapes, and fix a bug " +"parsing escaped C quote signs." +msgstr "" + +#: build/NEWS:36601 +msgid ":issue:`28065`: Update xz dependency to 5.2.2 and build it from source." +msgstr "" + +#: build/NEWS:39749 +msgid "" +":issue:`25144`: Ensures TargetDir is set before continuing with custom " +"install." +msgstr "" + +#: build/NEWS:36605 +msgid ":issue:`1602`: Windows console doesn't input or print Unicode (PEP 528)" +msgstr "" + +#: build/NEWS:36607 +msgid "" +":issue:`27781`: Change file system encoding on Windows to UTF-8 (PEP 529)" +msgstr "" + +#: build/NEWS:36609 +msgid ":issue:`27731`: Opt-out of MAX_PATH on Windows 10" +msgstr "" + +#: build/NEWS:36611 +msgid ":issue:`6135`: Adds encoding and errors parameters to subprocess." +msgstr "" + +#: build/NEWS:36613 +msgid "" +":issue:`27959`: Adds oem encoding, alias ansi to mbcs, move aliasmbcs to " +"codec lookup." +msgstr "" + +#: build/NEWS:36616 +msgid "" +":issue:`27982`: The functions of the winsound module now accept keyword " +"arguments." +msgstr "" + +#: build/NEWS:36619 +msgid ":issue:`20366`: Build full text search support into SQLite on Windows." +msgstr "" + +#: build/NEWS:36621 +msgid "" +":issue:`27756`: Adds new icons for Python files and processes on Windows. " +"Designs by Cherry Wang." +msgstr "" + +#: build/NEWS:36624 +msgid ":issue:`27883`: Update sqlite to 3.14.1.0 on Windows." +msgstr "" + +#: build/NEWS:36628 +msgid "Python 3.6.0 alpha 4" +msgstr "" + +#: build/NEWS:36630 +msgid "*Release date: 2016-08-15*" +msgstr "" + +#: build/NEWS:36635 +msgid "" +":issue:`27704`: Optimized creating bytes and bytearray from byte-like " +"objects and iterables. Speed up to 3 times for short objects. Original " +"patch by Naoki Inada." +msgstr "" + +#: build/NEWS:36639 +msgid "" +":issue:`26823`: Large sections of repeated lines in tracebacks are now " +"abbreviated as \"[Previous line repeated {count} more times]\" by the " +"builtin traceback rendering. Patch by Emanuel Barry." +msgstr "" + +#: build/NEWS:36643 +msgid "" +":issue:`27574`: Decreased an overhead of parsing keyword arguments in " +"functions implemented with using Argument Clinic." +msgstr "" + +#: build/NEWS:36646 +msgid "" +":issue:`22557`: Now importing already imported modules is up to 2.5 times " +"faster." +msgstr "" + +#: build/NEWS:36649 +msgid ":issue:`17596`: Include <wincrypt.h> to help with Min GW building." +msgstr "" + +#: build/NEWS:36651 +msgid "" +":issue:`17599`: On Windows, rename the privately defined REPARSE_DATA_BUFFER " +"structure to avoid conflicting with the definition from Min GW." +msgstr "" + +#: build/NEWS:39273 +msgid "" +":issue:`27507`: Add integer overflow check in bytearray.extend(). Patch by " +"Xiang Zhang." +msgstr "" + +#: build/NEWS:39276 +msgid "" +":issue:`27581`: Don't rely on wrapping for overflow check in " +"PySequence_Tuple(). Patch by Xiang Zhang." +msgstr "" + +#: build/NEWS:36660 +msgid "" +":issue:`1621`: Avoid signed integer overflow in list and tuple operations. " +"Patch by Xiang Zhang." +msgstr "" + +#: build/NEWS:36663 +msgid "" +":issue:`27419`: Standard __import__() no longer look up \"__import__\" in " +"globals or builtins for importing submodules or \"from import\". Fixed a " +"crash if raise a warning about unabling to resolve package from __spec__ or " +"__package__." +msgstr "" + +#: build/NEWS:39265 +msgid "" +":issue:`27083`: Respect the PYTHONCASEOK environment variable under Windows." +msgstr "" + +#: build/NEWS:39267 +msgid "" +":issue:`27514`: Make having too many statically nested blocks a SyntaxError " +"instead of SystemError." +msgstr "" + +#: build/NEWS:36673 +msgid "" +":issue:`27366`: Implemented :pep:`487` (Simpler customization of class " +"creation). Upon subclassing, the __init_subclass__ classmethod is called on " +"the base class. Descriptors are initialized with __set_name__ after class " +"creation." +msgstr "" + +#: build/NEWS:36681 +msgid "" +":issue:`26027`: Add :pep:`519`/__fspath__() support to the os and os.path " +"modules. Includes code from Jelle Zijlstra. (See also: :issue:`27524`)" +msgstr "" + +#: build/NEWS:36684 +msgid "" +":issue:`27598`: Add Collections to collections.abc. Patch by Ivan " +"Levkivskyi, docs by Neil Girdhar." +msgstr "" + +#: build/NEWS:36687 +msgid "" +":issue:`25958`: Support \"anti-registration\" of special methods from " +"various ABCs, like __hash__, __iter__ or __len__. All these (and several " +"more) can be set to None in an implementation class and the behavior will be " +"as if the method is not defined at all. (Previously, this mechanism existed " +"only for __hash__, to make mutable classes unhashable.) Code contributed by " +"Andrew Barnert and Ivan Levkivskyi." +msgstr "" + +#: build/NEWS:36694 +msgid "" +":issue:`16764`: Support keyword arguments to zlib.decompress(). Patch by " +"Xiang Zhang." +msgstr "" + +#: build/NEWS:36697 +msgid "" +":issue:`27736`: Prevent segfault after interpreter re-initialization due to " +"ref count problem introduced in code for :issue:`27038` in 3.6.0a3. Patch by " +"Xiang Zhang." +msgstr "" + +#: build/NEWS:36701 +msgid "" +":issue:`25628`: The *verbose* and *rename* parameters for collections." +"namedtuple are now keyword-only." +msgstr "" + +#: build/NEWS:36704 +msgid "" +":issue:`12345`: Add mathematical constant tau to math and cmath. See also :" +"pep:`628`." +msgstr "" + +#: build/NEWS:36707 +msgid "" +":issue:`26823`: traceback.StackSummary.format now abbreviates large sections " +"of repeated lines as \"[Previous line repeated {count} more times]\" (this " +"change then further affects other traceback display operations in the " +"module). Patch by Emanuel Barry." +msgstr "" + +#: build/NEWS:36712 +msgid "" +":issue:`27664`: Add to concurrent.futures.thread.ThreadPoolExecutor() the " +"ability to specify a thread name prefix." +msgstr "" + +#: build/NEWS:36715 +msgid "" +":issue:`27181`: Add geometric_mean and harmonic_mean to statistics module." +msgstr "" + +#: build/NEWS:36717 +msgid ":issue:`27573`: code.interact now prints an message when exiting." +msgstr "" + +#: build/NEWS:36719 +msgid ":issue:`6422`: Add autorange method to timeit.Timer objects." +msgstr "" + +#: build/NEWS:39513 +msgid "" +":issue:`27773`: Correct some memory management errors server_hostname in " +"_ssl.wrap_socket()." +msgstr "" + +#: build/NEWS:36724 +msgid "" +":issue:`26750`: unittest.mock.create_autospec() now works properly for " +"subclasses of property() and other data descriptors. Removes the never " +"publicly used, never documented unittest.mock.DescriptorTypes tuple." +msgstr "" + +#: build/NEWS:36728 +msgid "" +":issue:`26754`: Undocumented support of general bytes-like objects as path " +"in compile() and similar functions is now deprecated." +msgstr "" + +#: build/NEWS:36731 +msgid "" +":issue:`26800`: Undocumented support of general bytes-like objects as paths " +"in os functions is now deprecated." +msgstr "" + +#: build/NEWS:36734 +msgid "" +":issue:`26981`: Add _order_ compatibility shim to enum.Enum for Python 2/3 " +"code bases." +msgstr "" + +#: build/NEWS:36737 +msgid ":issue:`27661`: Added tzinfo keyword argument to datetime.combine." +msgstr "" + +#: build/NEWS:39519 +msgid "" +"In the curses module, raise an error if window.getstr() or window.instr() is " +"passed a negative value." +msgstr "" + +#: build/NEWS:39522 +msgid "" +":issue:`27783`: Fix possible usage of uninitialized memory in operator." +"methodcaller." +msgstr "" + +#: build/NEWS:39525 +msgid ":issue:`27774`: Fix possible Py_DECREF on unowned object in _sre." +msgstr "" + +#: build/NEWS:39527 +msgid ":issue:`27760`: Fix possible integer overflow in binascii.b2a_qp." +msgstr "" + +#: build/NEWS:39529 +msgid "" +":issue:`27758`: Fix possible integer overflow in the _csv module for large " +"record lengths." +msgstr "" + +#: build/NEWS:39532 +msgid "" +":issue:`27568`: Prevent HTTPoxy attack (:cve:`2016-1000110`). Ignore the " +"HTTP_PROXY variable when REQUEST_METHOD environment is set, which indicates " +"that the script is in CGI mode." +msgstr "" + +#: build/NEWS:36756 +msgid "" +":issue:`7063`: Remove dead code from the \"array\" module's slice handling. " +"Patch by Chuck." +msgstr "" + +#: build/NEWS:39536 +msgid ":issue:`27656`: Do not assume sched.h defines any SCHED_* constants." +msgstr "" + +#: build/NEWS:39538 +msgid "" +":issue:`27130`: In the \"zlib\" module, fix handling of large buffers " +"(typically 4 GiB) when compressing and decompressing. Previously, inputs " +"were limited to 4 GiB, and compression and decompression operations did not " +"properly handle results of 4 GiB." +msgstr "" + +#: build/NEWS:36766 +msgid ":issue:`24773`: Implemented :pep:`495` (Local Time Disambiguation)." +msgstr "" + +#: build/NEWS:36768 +msgid "" +"Expose the EPOLLEXCLUSIVE constant (when it is defined) in the select module." +msgstr "" + +#: build/NEWS:36771 +msgid "" +":issue:`27567`: Expose the EPOLLRDHUP and POLLRDHUP constants in the select " +"module." +msgstr "" + +#: build/NEWS:36774 +msgid "" +":issue:`1621`: Avoid signed int negation overflow in the \"audioop\" module." +msgstr "" + +#: build/NEWS:39543 +msgid ":issue:`27533`: Release GIL in nt._isdir" +msgstr "" + +#: build/NEWS:39545 +msgid "" +":issue:`17711`: Fixed unpickling by the persistent ID with protocol 0. " +"Original patch by Alexandre Vassalotti." +msgstr "" + +#: build/NEWS:39548 +msgid "" +":issue:`27522`: Avoid an unintentional reference cycle in email.feedparser." +msgstr "" + +#: build/NEWS:36783 +msgid "" +":issue:`27512`: Fix a segfault when os.fspath() called an __fspath__() " +"method that raised an exception. Patch by Xiang Zhang." +msgstr "" + +#: build/NEWS:39681 +msgid "" +":issue:`27714`: text_textview and test_autocomplete now pass when re-run in " +"the same process. This occurs when test_idle fails when run with the -w " +"option but without -jn. Fix warning from test_config." +msgstr "" + +#: build/NEWS:36793 +msgid "" +":issue:`27621`: Put query response validation error messages in the query " +"box itself instead of in a separate messagebox. Redo tests to match. Add " +"Mac OSX refinements. Original patch by Mark Roseman." +msgstr "" + +#: build/NEWS:36797 +msgid ":issue:`27620`: Escape key now closes Query box as cancelled." +msgstr "" + +#: build/NEWS:36799 +msgid "" +":issue:`27609`: IDLE: tab after initial whitespace should tab, not " +"autocomplete. This fixes problem with writing docstrings at least twice " +"indented." +msgstr "" + +#: build/NEWS:36803 +msgid "" +":issue:`27609`: Explicitly return None when there are also non-None returns. " +"In a few cases, reverse a condition and eliminate a return." +msgstr "" + +#: build/NEWS:39685 +msgid "" +":issue:`25507`: IDLE no longer runs buggy code because of its tkinter " +"imports. Users must include the same imports required to run directly in " +"Python." +msgstr "" + +#: build/NEWS:36993 +msgid "" +":issue:`27173`: Add 'IDLE Modern Unix' to the built-in key sets. Make the " +"default key set depend on the platform. Add tests for the changes to the " +"config module." +msgstr "" + +#: build/NEWS:39688 +msgid "" +":issue:`27452`: add line counter and crc to IDLE configHandler test dump." +msgstr "" + +#: build/NEWS:36818 +msgid "" +":issue:`25805`: Skip a test in test_pkgutil as needed that doesn't work when " +"``__name__ == __main__``. Patch by SilentGhost." +msgstr "" + +#: build/NEWS:36821 +msgid "" +":issue:`27472`: Add test.support.unix_shell as the path to the default shell." +msgstr "" + +#: build/NEWS:39726 +msgid "" +":issue:`27369`: In test_pyexpat, avoid testing an error message detail that " +"changed in Expat 2.2.0." +msgstr "" + +#: build/NEWS:36826 +msgid "" +":issue:`27594`: Prevent assertion error when running test_ast with coverage " +"enabled: ensure code object has a valid first line number. Patch suggested " +"by Ivan Levkivskyi." +msgstr "" + +#: build/NEWS:36833 +msgid ":issue:`27647`: Update bundled Tcl/Tk to 8.6.6." +msgstr "" + +#: build/NEWS:36835 +msgid ":issue:`27610`: Adds :pep:`514` metadata to Windows installer" +msgstr "" + +#: build/NEWS:39751 +msgid "" +":issue:`27469`: Adds a shell extension to the launcher so that drag and drop " +"works correctly." +msgstr "" + +#: build/NEWS:36840 +msgid "" +":issue:`27309`: Enables proper Windows styles in python[w].exe manifest." +msgstr "" + +#: build/NEWS:39796 +msgid "" +":issue:`27713`: Suppress spurious build warnings when updating importlib's " +"bootstrap files. Patch by Xiang Zhang" +msgstr "" + +#: build/NEWS:36848 +msgid "" +":issue:`25825`: Correct the references to Modules/python.exp, which is " +"required on AIX. The references were accidentally changed in 3.5.0a1." +msgstr "" + +#: build/NEWS:39804 +msgid "" +":issue:`27453`: CPP invocation in configure must use CPPFLAGS. Patch by Chi " +"Hsuan Yen." +msgstr "" + +#: build/NEWS:39807 +msgid "" +":issue:`27641`: The configure script now inserts comments into the makefile " +"to prevent the pgen and _freeze_importlib executables from being cross-" +"compiled." +msgstr "" + +#: build/NEWS:39811 +msgid "" +":issue:`26662`: Set PYTHON_FOR_GEN in configure as the Python program to be " +"used for file generation during the build." +msgstr "" + +#: build/NEWS:39814 +msgid "" +":issue:`10910`: Avoid C++ compilation errors on FreeBSD and OS X. Also " +"update FreedBSD version checks for the original ctype UTF-8 workaround." +msgstr "" + +#: build/NEWS:36866 +msgid "Python 3.6.0 alpha 3" +msgstr "" + +#: build/NEWS:36868 +msgid "*Release date: 2016-07-11*" +msgstr "" + +#: build/NEWS:39147 +msgid "" +":issue:`27278`: Fix os.urandom() implementation using getrandom() on Linux. " +"Truncate size to INT_MAX and loop until we collected enough random bytes, " +"instead of casting a directly Py_ssize_t to int." +msgstr "" + +#: build/NEWS:39151 +msgid "" +":issue:`22636`: Avoid shell injection problems with ctypes.util." +"find_library()." +msgstr "" + +#: build/NEWS:39270 +msgid "" +":issue:`27473`: Fixed possible integer overflow in bytes and bytearray " +"concatenations. Patch by Xiang Zhang." +msgstr "" + +#: build/NEWS:36885 +msgid "" +":issue:`23034`: The output of a special Python build with defined " +"COUNT_ALLOCS, SHOW_ALLOC_COUNT or SHOW_TRACK_COUNT macros is now off by " +"default. It can be re-enabled using the \"-X showalloccount\" option. It " +"now outputs to stderr instead of stdout." +msgstr "" + +#: build/NEWS:39279 +msgid "" +":issue:`27443`: __length_hint__() of bytearray iterators no longer return a " +"negative integer for a resized bytearray." +msgstr "" + +#: build/NEWS:36893 +msgid "" +":issue:`27007`: The fromhex() class methods of bytes and bytearray " +"subclasses now return an instance of corresponding subclass." +msgstr "" + +#: build/NEWS:39550 +msgid "" +":issue:`26844`: Fix error message for imp.find_module() to refer to 'path' " +"instead of 'name'. Patch by Lev Maximov." +msgstr "" + +#: build/NEWS:39553 +msgid "" +":issue:`23804`: Fix SSL zero-length recv() calls to not block and not raise " +"an error about unclean EOF." +msgstr "" + +#: build/NEWS:39556 +msgid "" +":issue:`27466`: Change time format returned by http.cookie.time2netscape, " +"confirming the netscape cookie format and making it consistent with " +"documentation." +msgstr "" + +#: build/NEWS:36909 +msgid "" +":issue:`21708`: Deprecated dbm.dumb behavior that differs from common dbm " +"behavior: creating a database in 'r' and 'w' modes and modifying a database " +"in 'r' mode." +msgstr "" + +#: build/NEWS:36913 +msgid "" +":issue:`26721`: Change the socketserver.StreamRequestHandler.wfile attribute " +"to implement BufferedIOBase. In particular, the write() method no longer " +"does partial writes." +msgstr "" + +#: build/NEWS:36917 +msgid "" +":issue:`22115`: Added methods trace_add, trace_remove and trace_info in the " +"tkinter.Variable class. They replace old methods trace_variable, trace, " +"trace_vdelete and trace_vinfo that use obsolete Tcl commands and might not " +"work in future versions of Tcl. Fixed old tracing methods: trace_vdelete() " +"with wrong mode no longer break tracing, trace_vinfo() now always returns a " +"list of pairs of strings, tracing in the \"u\" mode now works." +msgstr "" + +#: build/NEWS:36925 +msgid "" +":issue:`26243`: Only the level argument to zlib.compress() is keyword " +"argument now. The first argument is positional-only." +msgstr "" + +#: build/NEWS:36928 +msgid "" +":issue:`27038`: Expose the DirEntry type as os.DirEntry. Code patch by Jelle " +"Zijlstra." +msgstr "" + +#: build/NEWS:36931 +msgid "" +":issue:`27186`: Update os.fspath()/PyOS_FSPath() to check the return value " +"of __fspath__() to be either str or bytes." +msgstr "" + +#: build/NEWS:36934 +msgid "" +":issue:`18726`: All optional parameters of the dump(), dumps(), load() and " +"loads() functions and JSONEncoder and JSONDecoder class constructors in the " +"json module are now keyword-only." +msgstr "" + +#: build/NEWS:36938 +msgid "" +":issue:`27319`: Methods selection_set(), selection_add(), selection_remove() " +"and selection_toggle() of ttk.TreeView now allow passing multiple items as " +"multiple arguments instead of passing them as a tuple. Deprecated " +"undocumented ability of calling the selection() method with arguments." +msgstr "" + +#: build/NEWS:39570 +msgid "" +":issue:`27079`: Fixed curses.ascii functions isblank(), iscntrl() and " +"ispunct()." +msgstr "" + +#: build/NEWS:36946 +msgid "" +":issue:`27294`: Numerical state in the repr for Tkinter event objects is now " +"represented as a combination of known flags." +msgstr "" + +#: build/NEWS:36949 +msgid "" +":issue:`27177`: Match objects in the re module now support index-like " +"objects as group indices. Based on patches by Jeroen Demeyer and Xiang " +"Zhang." +msgstr "" + +#: build/NEWS:39573 +msgid "" +":issue:`26754`: Some functions (compile() etc) accepted a filename argument " +"encoded as an iterable of integers. Now only strings and byte-like objects " +"are accepted." +msgstr "" + +#: build/NEWS:36956 +msgid "" +":issue:`26536`: socket.ioctl now supports SIO_LOOPBACK_FAST_PATH. Patch by " +"Daniel Stokes." +msgstr "" + +#: build/NEWS:39577 +msgid "" +":issue:`27048`: Prevents distutils failing on Windows when environment " +"variables contain non-ASCII characters" +msgstr "" + +#: build/NEWS:39580 +msgid ":issue:`27330`: Fixed possible leaks in the ctypes module." +msgstr "" + +#: build/NEWS:39582 +msgid "" +":issue:`27238`: Got rid of bare excepts in the turtle module. Original " +"patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:39585 +msgid "" +":issue:`27122`: When an exception is raised within the context being managed " +"by a contextlib.ExitStack() and one of the exit stack generators catches and " +"raises it in a chain, do not re-raise the original exception when exiting, " +"let the new chained one through. This avoids the :pep:`479` bug described " +"in issue25782." +msgstr "" + +#: build/NEWS:36973 +msgid "" +":issue:`16864`: sqlite3.Cursor.lastrowid now supports REPLACE statement. " +"Initial patch by Alex LordThorsen." +msgstr "" + +#: build/NEWS:39591 +msgid "" +":issue:`26386`: Fixed ttk.TreeView selection operations with item id's " +"containing spaces." +msgstr "" + +#: build/NEWS:36979 +msgid "" +":issue:`8637`: Honor a pager set by the env var MANPAGER (in preference to " +"one set by the env var PAGER)." +msgstr "" + +#: build/NEWS:39594 +msgid "" +":issue:`16182`: Fix various functions in the \"readline\" module to use the " +"locale encoding, and fix get_begidx() and get_endidx() to return code point " +"indexes." +msgstr "" + +#: build/NEWS:39598 +msgid "" +":issue:`27392`: Add loop.connect_accepted_socket(). Patch by Jim Fulton." +msgstr "" + +#: build/NEWS:36991 +msgid ":issue:`27477`: IDLE search dialogs now use ttk widgets." +msgstr "" + +#: build/NEWS:36997 +msgid "" +":issue:`27452`: make command line \"idle-test> python test_help.py\" work. " +"__file__ is relative when python is started in the file's directory." +msgstr "" + +#: build/NEWS:37002 +msgid "" +":issue:`27380`: IDLE: add query.py with base Query dialog and ttk widgets. " +"Module had subclasses SectionName, ModuleName, and HelpSource, which are " +"used to get information from users by configdialog and file =>Load Module. " +"Each subclass has itw own validity checks. Using ModuleName allows users to " +"edit bad module names instead of starting over. Add tests and delete the two " +"files combined into the new one." +msgstr "" + +#: build/NEWS:37009 +msgid ":issue:`27372`: Test_idle no longer changes the locale." +msgstr "" + +#: build/NEWS:39690 +msgid "" +":issue:`27365`: Allow non-ascii chars in IDLE NEWS.txt, for contributor " +"names." +msgstr "" + +#: build/NEWS:39692 +msgid "" +":issue:`27245`: IDLE: Cleanly delete custom themes and key bindings. " +"Previously, when IDLE was started from a console or by import, a cascade of " +"warnings was emitted. Patch by Serhiy Storchaka." +msgstr "" + +#: build/NEWS:37017 +msgid "" +":issue:`24137`: Run IDLE, test_idle, and htest with tkinter default root " +"disabled. Fix code and tests that fail with this restriction. Fix htests " +"to not create a second and redundant root and mainloop." +msgstr "" + +#: build/NEWS:37021 +msgid "" +":issue:`27310`: Fix IDLE.app failure to launch on OS X due to vestigial " +"import." +msgstr "" + +#: build/NEWS:37026 +msgid "" +":issue:`26754`: PyUnicode_FSDecoder() accepted a filename argument encoded " +"as an iterable of integers. Now only strings and byte-like objects are " +"accepted." +msgstr "" + +#: build/NEWS:39777 +msgid "" +":issue:`28066`: Fix the logic that searches build directories for generated " +"include files when building outside the source tree." +msgstr "" + +#: build/NEWS:37036 +msgid "" +":issue:`27442`: Expose the Android API level that python was built against, " +"in sysconfig.get_config_vars() as 'ANDROID_API_LEVEL'." +msgstr "" + +#: build/NEWS:37039 +msgid "" +":issue:`27434`: The interpreter that runs the cross-build, found in PATH, " +"must now be of the same feature version (e.g. 3.6) as the source being built." +msgstr "" + +#: build/NEWS:39829 +msgid ":issue:`26930`: Update Windows builds to use OpenSSL 1.0.2h." +msgstr "" + +#: build/NEWS:37044 +msgid "" +":issue:`23968`: Rename the platform directory from plat-$(MACHDEP) to plat-" +"$(PLATFORM_TRIPLET). Rename the config directory (LIBPL) from config-" +"$(LDVERSION) to config-$(LDVERSION)-$(PLATFORM_TRIPLET). Install the " +"platform specific _sysconfigdata module into the platform directory and " +"rename it to include the ABIFLAGS." +msgstr "" + +#: build/NEWS:37050 +msgid "Don't use largefile support for GNU/Hurd." +msgstr "" + +#: build/NEWS:39736 +msgid "" +":issue:`27332`: Fixed the type of the first argument of module-level " +"functions generated by Argument Clinic. Patch by Petr Viktorin." +msgstr "" + +#: build/NEWS:39739 +msgid ":issue:`27418`: Fixed Tools/importbench/importbench.py." +msgstr "" + +#: build/NEWS:40434 +msgid "" +":issue:`19489`: Moved the search box from the sidebar to the header and " +"footer of each page. Patch by Ammar Askar." +msgstr "" + +#: build/NEWS:37066 +msgid "" +":issue:`27285`: Update documentation to reflect the deprecation of " +"``pyvenv`` and normalize on the term \"virtual environment\". Patch by Steve " +"Piercy." +msgstr "" + +#: build/NEWS:37072 +msgid "" +":issue:`27027`: Added test.support.is_android that is True when this is an " +"Android build." +msgstr "" + +#: build/NEWS:37077 +msgid "Python 3.6.0 alpha 2" +msgstr "" + +#: build/NEWS:37079 +msgid "*Release date: 2016-06-13*" +msgstr "" + +#: build/NEWS:39850 +msgid ":issue:`26556`: Update expat to 2.1.1, fixes :cve:`2015-1283`." +msgstr "" + +#: build/NEWS:39852 +msgid "" +"Fix TLS stripping vulnerability in smtplib, :cve:`2016-0772`. Reported by " +"Team Oststrom." +msgstr "" + +#: build/NEWS:39855 +msgid "" +":issue:`26839`: On Linux, :func:`os.urandom` now calls ``getrandom()`` with " +"``GRND_NONBLOCK`` to fall back on reading ``/dev/urandom`` if the urandom " +"entropy pool is not initialized yet. Patch written by Colm Buckley." +msgstr "" + +#: build/NEWS:37096 +msgid "" +":issue:`27095`: Simplified MAKE_FUNCTION and removed MAKE_CLOSURE opcodes. " +"Patch by Demur Rumed." +msgstr "" + +#: build/NEWS:37099 +msgid "" +":issue:`27190`: Raise NotSupportedError if sqlite3 is older than 3.3.1. " +"Patch by Dave Sawyer." +msgstr "" + +#: build/NEWS:37102 +msgid "" +":issue:`27286`: Fixed compiling BUILD_MAP_UNPACK_WITH_CALL opcode. Calling " +"function with generalized unpacking (PEP 448) and conflicting keyword names " +"could cause undefined behavior." +msgstr "" + +#: build/NEWS:37106 +msgid ":issue:`27140`: Added BUILD_CONST_KEY_MAP opcode." +msgstr "" + +#: build/NEWS:37108 +msgid "" +":issue:`27186`: Add support for os.PathLike objects to open() (part of :pep:" +"`519`)." +msgstr "" + +#: build/NEWS:39872 +msgid "" +":issue:`27066`: Fixed SystemError if a custom opener (for open()) returns a " +"negative number without setting an exception." +msgstr "" + +#: build/NEWS:37114 +msgid "" +":issue:`26983`: float() now always return an instance of exact float. The " +"deprecation warning is emitted if __float__ returns an instance of a strict " +"subclass of float. In a future versions of Python this can be an error." +msgstr "" + +#: build/NEWS:37119 +msgid "" +":issue:`27097`: Python interpreter is now about 7% faster due to optimized " +"instruction decoding. Based on patch by Demur Rumed." +msgstr "" + +#: build/NEWS:37122 +msgid "" +":issue:`26647`: Python interpreter now uses 16-bit wordcode instead of " +"bytecode. Patch by Demur Rumed." +msgstr "" + +#: build/NEWS:37125 +msgid "" +":issue:`23275`: Allow assigning to an empty target list in round brackets: " +"() = iterable." +msgstr "" + +#: build/NEWS:39994 +msgid "" +":issue:`27243`: Update the __aiter__ protocol: instead of returning an " +"awaitable that resolves to an asynchronous iterator, the asynchronous " +"iterator should be returned directly. Doing the former will trigger a " +"PendingDeprecationWarning." +msgstr "" + +#: build/NEWS:37136 +msgid "" +"Comment out socket (SO_REUSEPORT) and posix (O_SHLOCK, O_EXLOCK) constants " +"exposed on the API which are not implemented on GNU/Hurd. They would not " +"work at runtime anyway." +msgstr "" + +#: build/NEWS:37140 +msgid "" +":issue:`27025`: Generated names for Tkinter widgets are now more meaningful " +"and recognizable." +msgstr "" + +#: build/NEWS:37143 +msgid "" +":issue:`25455`: Fixed crashes in repr of recursive ElementTree.Element and " +"functools.partial objects." +msgstr "" + +#: build/NEWS:37146 +msgid ":issue:`27294`: Improved repr for Tkinter event objects." +msgstr "" + +#: build/NEWS:37148 +msgid "" +":issue:`20508`: Improve exception message of IPv{4,6}Network.__getitem__. " +"Patch by Gareth Rees." +msgstr "" + +#: build/NEWS:40002 +msgid "" +":issue:`21386`: Implement missing IPv4Address.is_global property. It was " +"documented since 07a5610bae9d. Initial patch by Roger Luethi." +msgstr "" + +#: build/NEWS:37154 +msgid "" +":issue:`27029`: Removed deprecated support of universal newlines mode from " +"ZipFile.open()." +msgstr "" + +#: build/NEWS:37157 +msgid "" +":issue:`27030`: Unknown escapes consisting of ``'\\'`` and an ASCII letter " +"in regular expressions now are errors. The re.LOCALE flag now can be used " +"only with bytes patterns." +msgstr "" + +#: build/NEWS:37161 +msgid "" +":issue:`27186`: Add os.PathLike support to DirEntry (part of :pep:`519`). " +"Initial patch by Jelle Zijlstra." +msgstr "" + +#: build/NEWS:40005 +msgid "" +":issue:`20900`: distutils register command now decodes HTTP responses " +"correctly. Initial patch by ingrid." +msgstr "" + +#: build/NEWS:37167 +msgid "" +":issue:`27186`: Add os.PathLike support to pathlib, removing its provisional " +"status (part of PEP 519). Initial patch by Dusty Phillips." +msgstr "" + +#: build/NEWS:37170 +msgid "" +":issue:`27186`: Add support for os.PathLike objects to os.fsencode() and os." +"fsdecode() (part of :pep:`519`)." +msgstr "" + +#: build/NEWS:37173 +msgid "" +":issue:`27186`: Introduce os.PathLike and os.fspath() (part of :pep:`519`)." +msgstr "" + +#: build/NEWS:40008 +msgid "" +"A new version of typing.py provides several new classes and features: " +"@overload outside stubs, Reversible, DefaultDict, Text, ContextManager, " +"Type[], NewType(), TYPE_CHECKING, and numerous bug fixes (note that some of " +"the new features are not yet implemented in mypy or other static analyzers). " +"Also classes for :pep:`492` (Awaitable, AsyncIterable, AsyncIterator) have " +"been added (in fact they made it into 3.5.1 but were never mentioned)." +msgstr "" + +#: build/NEWS:40016 +msgid "" +":issue:`25738`: Stop http.server.BaseHTTPRequestHandler.send_error() from " +"sending a message body for 205 Reset Content. Also, don't send Content " +"header fields in responses that don't have a body. Patch by Susumu Koshiba." +msgstr "" + +#: build/NEWS:40021 +msgid "" +":issue:`21313`: Fix the \"platform\" module to tolerate when sys.version " +"contains truncated build information." +msgstr "" + +#: build/NEWS:37191 +msgid "" +":issue:`23883`: Added missing APIs to __all__ to match the documented APIs " +"for the following modules: cgi, mailbox, mimetypes, plistlib and smtpd. " +"Patches by Jacek Kołodziej." +msgstr "" + +#: build/NEWS:40024 +msgid "" +":issue:`27164`: In the zlib module, allow decompressing raw Deflate streams " +"with a predefined zdict. Based on patch by Xiang Zhang." +msgstr "" + +#: build/NEWS:40027 +msgid "" +":issue:`24291`: Fix wsgiref.simple_server.WSGIRequestHandler to completely " +"write data to the client. Previously it could do partial writes and " +"truncate data. Also, wsgiref.handler.ServerHandler can now handle stdout " +"doing partial writes, but this is deprecated." +msgstr "" + +#: build/NEWS:37203 +msgid "" +":issue:`21272`: Use _sysconfigdata.py to initialize distutils.sysconfig." +msgstr "" + +#: build/NEWS:37205 +msgid "" +":issue:`19611`: :mod:`inspect` now reports the implicit ``.0`` parameters " +"generated by the compiler for comprehension and generator expression scopes " +"as if they were positional-only parameters called ``implicit0``. Patch by " +"Jelle Zijlstra." +msgstr "" + +#: build/NEWS:40032 +msgid "" +":issue:`26809`: Add ``__all__`` to :mod:`string`. Patch by Emanuel Barry." +msgstr "" + +#: build/NEWS:40034 +msgid "" +":issue:`26373`: subprocess.Popen.communicate now correctly ignores " +"BrokenPipeError when the child process dies before .communicate() is called " +"in more/all circumstances." +msgstr "" + +#: build/NEWS:37216 +msgid "" +"signal, socket, and ssl module IntEnum constant name lookups now return a " +"consistent name for values having multiple names. Ex: signal.Signals(6) now " +"refers to itself as signal.SIGALRM rather than flipping between that and " +"signal.SIGIOT based on the interpreter's hash randomization seed." +msgstr "" + +#: build/NEWS:37221 +msgid "" +":issue:`27167`: Clarify the subprocess.CalledProcessError error message text " +"when the child process died due to a signal." +msgstr "" + +#: build/NEWS:37224 +msgid "" +":issue:`25931`: Don't define socketserver.Forking* names on platforms such " +"as Windows that do not support os.fork()." +msgstr "" + +#: build/NEWS:40038 +msgid "" +":issue:`21776`: distutils.upload now correctly handles HTTPError. Initial " +"patch by Claudiu Popa." +msgstr "" + +#: build/NEWS:37230 +msgid "" +":issue:`26526`: Replace custom parse tree validation in the parser module " +"with a simple DFA validator." +msgstr "" + +#: build/NEWS:40041 +msgid "" +":issue:`27114`: Fix SSLContext._load_windows_store_certs fails with " +"PermissionError" +msgstr "" + +#: build/NEWS:40044 +msgid "" +":issue:`18383`: Avoid creating duplicate filters when using filterwarnings " +"and simplefilter. Based on patch by Alex Shkop." +msgstr "" + +#: build/NEWS:37239 +msgid "" +":issue:`23026`: winreg.QueryValueEx() now return an integer for REG_QWORD " +"type." +msgstr "" + +#: build/NEWS:37241 +msgid "" +":issue:`26741`: subprocess.Popen destructor now emits a ResourceWarning " +"warning if the child process is still running." +msgstr "" + +#: build/NEWS:37244 +msgid "" +":issue:`27056`: Optimize pickle.load() and pickle.loads(), up to 10% faster " +"to deserialize a lot of small objects." +msgstr "" + +#: build/NEWS:37247 +msgid ":issue:`21271`: New keyword only parameters in reset_mock call." +msgstr "" + +#: build/NEWS:40381 +msgid "" +":issue:`5124`: Paste with text selected now replaces the selection on X11. " +"This matches how paste works on Windows, Mac, most modern Linux apps, and " +"ttk widgets. Original patch by Serhiy Storchaka." +msgstr "" + +#: build/NEWS:37256 +msgid "" +":issue:`24750`: Switch all scrollbars in IDLE to ttk versions. Where needed, " +"minimal tests are added to cover changes." +msgstr "" + +#: build/NEWS:37259 +msgid "" +":issue:`24759`: IDLE requires tk 8.5 and availability ttk widgets. Delete " +"now unneeded tk version tests and code for older versions. Add test for IDLE " +"syntax colorizer." +msgstr "" + +#: build/NEWS:37263 +msgid ":issue:`27239`: idlelib.macosx.isXyzTk functions initialize as needed." +msgstr "" + +#: build/NEWS:37265 +msgid "" +":issue:`27262`: move Aqua unbinding code, which enable context menus, to " +"macosx." +msgstr "" + +#: build/NEWS:40385 +msgid "" +":issue:`24759`: Make clear in idlelib.idle_test.__init__ that the directory " +"is a private implementation of test.test_idle and tool for maintainers." +msgstr "" + +#: build/NEWS:40388 +msgid "" +":issue:`27196`: Stop 'ThemeChanged' warnings when running IDLE tests. These " +"persisted after other warnings were suppressed in #20567. Apply Serhiy " +"Storchaka's update_idletasks solution to four test files. Record this " +"additional advice in idle_test/README.txt" +msgstr "" + +#: build/NEWS:40393 +msgid "" +":issue:`20567`: Revise idle_test/README.txt with advice about avoiding tk " +"warning messages from tests. Apply advice to several IDLE tests." +msgstr "" + +#: build/NEWS:37279 +msgid "" +":issue:`24225`: Update idlelib/README.txt with new file names and event " +"handlers." +msgstr "" + +#: build/NEWS:37282 +msgid ":issue:`27156`: Remove obsolete code not used by IDLE." +msgstr "" + +#: build/NEWS:40396 +msgid "" +":issue:`27117`: Make colorizer htest and turtledemo work with dark themes. " +"Move code for configuring text widget colors to a new function." +msgstr "" + +#: build/NEWS:37287 +msgid "" +":issue:`24225`: Rename many ``idlelib/*.py`` and ``idle_test/test_*.py`` " +"files. Edit files to replace old names with new names when the old name " +"referred to the module rather than the class it contained. See the issue and " +"IDLE section in What's New in 3.6 for more." +msgstr "" + +#: build/NEWS:40399 +msgid "" +":issue:`26673`: When tk reports font size as 0, change to size 10. Such " +"fonts on Linux prevented the configuration dialog from opening." +msgstr "" + +#: build/NEWS:40402 +msgid "" +":issue:`21939`: Add test for IDLE's percolator. Original patch by Saimadhav " +"Heblikar." +msgstr "" + +#: build/NEWS:40405 +msgid "" +":issue:`21676`: Add test for IDLE's replace dialog. Original patch by " +"Saimadhav Heblikar." +msgstr "" + +#: build/NEWS:40408 +msgid "" +":issue:`18410`: Add test for IDLE's search dialog. Original patch by Westley " +"Martínez." +msgstr "" + +#: build/NEWS:37304 +msgid "" +":issue:`21703`: Add test for undo delegator. Patch mostly by Saimadhav " +"Heblikar ." +msgstr "" + +#: build/NEWS:40414 +msgid "" +":issue:`27044`: Add ConfigDialog.remove_var_callbacks to stop memory leaks." +msgstr "" + +#: build/NEWS:40416 +msgid ":issue:`23977`: Add more asserts to test_delegator." +msgstr "" + +#: build/NEWS:37314 +msgid "" +":issue:`16484`: Change the default PYTHONDOCS URL to \"https:\", and fix the " +"resulting links to use lowercase. Patch by Sean Rodman, test by Kaushik " +"Nadikuditi." +msgstr "" + +#: build/NEWS:40437 +msgid ":issue:`24136`: Document the new :pep:`448` unpacking syntax of 3.5." +msgstr "" + +#: build/NEWS:40995 +msgid "" +":issue:`22558`: Add remaining doc links to source code for Python-coded " +"modules. Patch by Yoni Lavi." +msgstr "" + +#: build/NEWS:37326 +msgid "" +":issue:`25285`: regrtest now uses subprocesses when the -j1 command line " +"option is used: each test file runs in a fresh child process. Before, the -" +"j1 option was ignored." +msgstr "" + +#: build/NEWS:37330 +msgid "" +":issue:`25285`: Tools/buildbot/test.bat script now uses -j1 by default to " +"run each test file in fresh child process." +msgstr "" + +#: build/NEWS:37336 +msgid "" +":issue:`27064`: The py.exe launcher now defaults to Python 3. The Windows " +"launcher ``py.exe`` no longer prefers an installed Python 2 version over " +"Python 3 by default when used interactively." +msgstr "" + +#: build/NEWS:40552 +msgid "" +":issue:`17500`: Remove unused and outdated icons. (See also: https://github." +"com/python/pythondotorg/issues/945)" +msgstr "" + +#: build/NEWS:40488 +msgid "" +":issue:`27229`: Fix the cross-compiling pgen rule for in-tree builds. Patch " +"by Xavier de Gaye." +msgstr "" + +#: build/NEWS:40525 +msgid "" +":issue:`26930`: Update OS X 10.5+ 32-bit-only installer to build and link " +"with OpenSSL 1.0.2h." +msgstr "" + +#: build/NEWS:37355 +msgid ":issue:`27186`: Add the PyOS_FSPath() function (part of :pep:`519`)." +msgstr "" + +#: build/NEWS:37357 +msgid "" +":issue:`26282`: PyArg_ParseTupleAndKeywords() now supports positional-only " +"parameters." +msgstr "" + +#: build/NEWS:37363 +msgid "" +":issue:`26282`: Argument Clinic now supports positional-only and keyword " +"parameters in the same function." +msgstr "" + +#: build/NEWS:37368 +msgid "Python 3.6.0 alpha 1" +msgstr "" + +#: build/NEWS:37370 +msgid "*Release date: 2016-05-16*" +msgstr "" + +#: build/NEWS:39859 +msgid "" +":issue:`26657`: Fix directory traversal vulnerability with http.server on " +"Windows. This fixes a regression that was introduced in 3.3.4rc1 and " +"3.4.0rc1. Based on patch by Philipp Hagemeister." +msgstr "" + +#: build/NEWS:39863 +msgid "" +":issue:`26313`: ssl.py _load_windows_store_certs fails if windows cert store " +"is empty. Patch by Baji." +msgstr "" + +#: build/NEWS:39866 +msgid "" +":issue:`25939`: On Windows open the cert store readonly in ssl." +"enum_certificates." +msgstr "" + +#: build/NEWS:39875 +msgid "" +":issue:`20041`: Fixed TypeError when frame.f_trace is set to None. Patch by " +"Xavier de Gaye." +msgstr "" + +#: build/NEWS:39878 +msgid "" +":issue:`26168`: Fixed possible refleaks in failing Py_BuildValue() with the " +"\"N\" format unit." +msgstr "" + +#: build/NEWS:39881 +msgid "" +":issue:`26991`: Fix possible refleak when creating a function with " +"annotations." +msgstr "" + +#: build/NEWS:37396 +msgid "" +":issue:`27039`: Fixed bytearray.remove() for values greater than 127. Based " +"on patch by Joe Jevnik." +msgstr "" + +#: build/NEWS:39886 +msgid "" +":issue:`23640`: int.from_bytes() no longer bypasses constructors for " +"subclasses." +msgstr "" + +#: build/NEWS:37402 +msgid "" +":issue:`27005`: Optimized the float.fromhex() class method for exact float. " +"It is now 2 times faster." +msgstr "" + +#: build/NEWS:37405 +msgid "" +":issue:`18531`: Single var-keyword argument of dict subtype was passed " +"unscathed to the C-defined function. Now it is converted to exact dict." +msgstr "" + +#: build/NEWS:39889 +msgid "" +":issue:`26811`: gc.get_objects() no longer contains a broken tuple with NULL " +"pointer." +msgstr "" + +#: build/NEWS:39892 +msgid "" +":issue:`20120`: Use RawConfigParser for .pypirc parsing, removing support " +"for interpolation unintentionally added with move to Python 3. Behavior no " +"longer does any interpolation in .pypirc files, matching behavior in Python " +"2.7 and Setuptools 19.0." +msgstr "" + +#: build/NEWS:37416 +msgid "" +":issue:`26249`: Memory functions of the :c:func:`PyMem_Malloc` domain (:c:" +"macro:`PYMEM_DOMAIN_MEM`) now use the :ref:`pymalloc allocator <pymalloc>` " +"rather than system :c:func:`malloc`. Applications calling :c:func:" +"`PyMem_Malloc` without holding the GIL can now crash: use " +"``PYTHONMALLOC=debug`` environment variable to validate the usage of memory " +"allocators in your application." +msgstr "" + +#: build/NEWS:37423 +msgid "" +":issue:`26802`: Optimize function calls only using unpacking like " +"``func(*tuple)`` (no other positional argument, no keyword): avoid copying " +"the tuple. Patch written by Joe Jevnik." +msgstr "" + +#: build/NEWS:39897 +msgid ":issue:`26659`: Make the builtin slice type support cycle collection." +msgstr "" + +#: build/NEWS:39899 +msgid "" +":issue:`26718`: super.__init__ no longer leaks memory if called multiple " +"times. NOTE: A direct call of super.__init__ is not endorsed!" +msgstr "" + +#: build/NEWS:39929 +msgid ":issue:`27138`: Fix the doc comment for FileFinder.find_spec()." +msgstr "" + +#: build/NEWS:39973 +msgid ":issue:`27147`: Mention :pep:`420` in the importlib docs." +msgstr "" + +#: build/NEWS:39902 +msgid "" +":issue:`25339`: PYTHONIOENCODING now has priority over locale in setting the " +"error handler for stdin and stdout." +msgstr "" + +#: build/NEWS:39905 +msgid "" +":issue:`26494`: Fixed crash on iterating exhausting iterators. Affected " +"classes are generic sequence iterators, iterators of str, bytes, bytearray, " +"list, tuple, set, frozenset, dict, OrderedDict, corresponding views and os." +"scandir() iterator." +msgstr "" + +#: build/NEWS:37444 +msgid "" +":issue:`26574`: Optimize ``bytes.replace(b'', b'.')`` and ``bytearray." +"replace(b'', b'.')``. Patch written by Josh Snider." +msgstr "" + +#: build/NEWS:39910 +msgid "" +":issue:`26581`: If coding cookie is specified multiple times on a line in " +"Python source code file, only the first one is taken to account." +msgstr "" + +#: build/NEWS:37450 +msgid ":issue:`19711`: Add tests for reloading namespace packages." +msgstr "" + +#: build/NEWS:37452 +msgid "" +":issue:`21099`: Switch applicable importlib tests to use :pep:`451` API." +msgstr "" + +#: build/NEWS:37454 +msgid "" +":issue:`26563`: Debug hooks on Python memory allocators now raise a fatal " +"error if functions of the :c:func:`PyMem_Malloc` family are called without " +"holding the GIL." +msgstr "" + +#: build/NEWS:37458 +msgid "" +":issue:`26564`: On error, the debug hooks on Python memory allocators now " +"use the :mod:`tracemalloc` module to get the traceback where a memory block " +"was allocated." +msgstr "" + +#: build/NEWS:37462 +msgid "" +":issue:`26558`: The debug hooks on Python memory allocator :c:func:" +"`PyObject_Malloc` now detect when functions are called without holding the " +"GIL." +msgstr "" + +#: build/NEWS:37466 +msgid "" +":issue:`26516`: Add :envvar:`PYTHONMALLOC` environment variable to set the " +"Python memory allocators and/or install debug hooks." +msgstr "" + +#: build/NEWS:37469 +msgid "" +":issue:`26516`: The :c:func:`PyMem_SetupDebugHooks` function can now also be " +"used on Python compiled in release mode." +msgstr "" + +#: build/NEWS:37472 +msgid "" +":issue:`26516`: The :envvar:`PYTHONMALLOCSTATS` environment variable can now " +"also be used on Python compiled in release mode. It now has no effect if set " +"to an empty string." +msgstr "" + +#: build/NEWS:37476 +msgid "" +":issue:`26516`: In debug mode, debug hooks are now also installed on Python " +"memory allocators when Python is configured without pymalloc." +msgstr "" + +#: build/NEWS:39913 +msgid "" +":issue:`26464`: Fix str.translate() when string is ASCII and first " +"replacements removes character, but next replacement uses a non-ASCII " +"character or a string longer than 1 character. Regression introduced in " +"Python 3.5.0." +msgstr "" + +#: build/NEWS:39917 +msgid "" +":issue:`22836`: Ensure exception reports from PyErr_Display() and " +"PyErr_WriteUnraisable() are sensible even when formatting them produces " +"secondary errors. This affects the reports produced by sys.__excepthook__() " +"and when __del__() raises an exception." +msgstr "" + +#: build/NEWS:39922 +msgid "" +":issue:`26302`: Correct behavior to reject comma as a legal character for " +"cookie names." +msgstr "" + +#: build/NEWS:37491 +msgid "" +":issue:`26136`: Upgrade the warning when a generator raises StopIteration " +"from PendingDeprecationWarning to DeprecationWarning. Patch by Anish Shah." +msgstr "" + +#: build/NEWS:37494 +msgid "" +":issue:`26204`: The compiler now ignores all constant statements: bytes, " +"str, int, float, complex, name constants (None, False, True), Ellipsis and " +"ast.Constant; not only str and int. For example, ``1.0`` is now ignored in " +"``def f(): 1.0``." +msgstr "" + +#: build/NEWS:39925 +msgid "" +":issue:`4806`: Avoid masking the original TypeError exception when using " +"star (``*``) unpacking in function calls. Based on patch by Hagen Fürstenau " +"and Daniel Urban." +msgstr "" + +#: build/NEWS:37503 +msgid "" +":issue:`26146`: Add a new kind of AST node: ``ast.Constant``. It can be used " +"by external AST optimizers, but the compiler does not emit directly such " +"node." +msgstr "" + +#: build/NEWS:37507 +msgid "" +":issue:`23601`: Sped-up allocation of dict key objects by using Python's " +"small object allocator. (Contributed by Julian Taylor.)" +msgstr "" + +#: build/NEWS:37510 +msgid "" +":issue:`18018`: Import raises ImportError instead of SystemError if a " +"relative import is attempted without a known parent package." +msgstr "" + +#: build/NEWS:37513 +msgid "" +":issue:`25843`: When compiling code, don't merge constants if they are equal " +"but have a different types. For example, ``f1, f2 = lambda: 1, lambda: 1.0`` " +"is now correctly compiled to two different functions: ``f1()`` returns ``1`` " +"(``int``) and ``f2()`` returns ``1.0`` (``float``), even if ``1`` and " +"``1.0`` are equal." +msgstr "" + +#: build/NEWS:37519 +msgid "" +":issue:`26107`: The format of the ``co_lnotab`` attribute of code objects " +"changes to support negative line number delta." +msgstr "" + +#: build/NEWS:39931 +msgid "" +":issue:`26154`: Add a new private _PyThreadState_UncheckedGet() function to " +"get the current Python thread state, but don't issue a fatal error if it is " +"NULL. This new function must be used instead of accessing directly the " +"_PyThreadState_Current variable. The variable is no more exposed since " +"Python 3.5.1 to hide the exact implementation of atomic C types, to avoid " +"compiler issues." +msgstr "" + +#: build/NEWS:37529 +msgid "" +":issue:`25791`: If __package__ != __spec__.parent or if neither __package__ " +"or __spec__ are defined then ImportWarning is raised." +msgstr "" + +#: build/NEWS:39948 +msgid "" +":issue:`22995`: [UPDATE] Comment out the one of the pickleability tests in " +"_PyObject_GetState() due to regressions observed in Cython-based projects." +msgstr "" + +#: build/NEWS:39951 +msgid ":issue:`25961`: Disallowed null characters in the type name." +msgstr "" + +#: build/NEWS:39953 +msgid "" +":issue:`25973`: Fix segfault when an invalid nonlocal statement binds a name " +"starting with two underscores." +msgstr "" + +#: build/NEWS:39956 +msgid "" +":issue:`22995`: Instances of extension types with a state that aren't " +"subclasses of list or dict and haven't implemented any pickle-related " +"methods (__reduce__, __reduce_ex__, __getnewargs__, __getnewargs_ex__, or " +"__getstate__), can no longer be pickled. Including memoryview." +msgstr "" + +#: build/NEWS:39961 +msgid "" +":issue:`20440`: Massive replacing unsafe attribute setting code with special " +"macro Py_SETREF." +msgstr "" + +#: build/NEWS:39964 +msgid ":issue:`25766`: Special method __bytes__() now works in str subclasses." +msgstr "" + +#: build/NEWS:39966 +msgid "" +":issue:`25421`: __sizeof__ methods of builtin types now use dynamic basic " +"size. This allows sys.getsize() to work correctly with their subclasses with " +"__slots__ defined." +msgstr "" + +#: build/NEWS:40580 +msgid "" +":issue:`25709`: Fixed problem with in-place string concatenation and utf-8 " +"cache." +msgstr "" + +#: build/NEWS:37557 +msgid "" +":issue:`5319`: New Py_FinalizeEx() API allowing Python to set an exit status " +"of 120 on failure to flush buffered streams." +msgstr "" + +#: build/NEWS:37560 +msgid ":issue:`25485`: telnetlib.Telnet is now a context manager." +msgstr "" + +#: build/NEWS:39975 +msgid "" +":issue:`24097`: Fixed crash in object.__reduce__() if slot name is freed " +"inside __getattr__." +msgstr "" + +#: build/NEWS:39978 +msgid "" +":issue:`24731`: Fixed crash on converting objects with special methods " +"__bytes__, __trunc__, and __float__ returning instances of subclasses of " +"bytes, int, and float to subclasses of bytes, int, and float correspondingly." +msgstr "" + +#: build/NEWS:40598 +msgid "" +":issue:`25630`: Fix a possible segfault during argument parsing in functions " +"that accept filesystem paths." +msgstr "" + +#: build/NEWS:40601 +msgid "" +":issue:`23564`: Fixed a partially broken sanity check in the " +"_posixsubprocess internals regarding how fds_to_pass were passed to the " +"child. The bug had no actual impact as subprocess.py already avoided it." +msgstr "" + +#: build/NEWS:40605 +msgid "" +":issue:`25388`: Fixed tokenizer crash when processing undecodable source " +"code with a null byte." +msgstr "" + +#: build/NEWS:40608 +msgid "" +":issue:`25462`: The hash of the key now is calculated only once in most " +"operations in C implementation of OrderedDict." +msgstr "" + +#: build/NEWS:40611 +msgid "" +":issue:`22995`: Default implementation of __reduce__ and __reduce_ex__ now " +"rejects builtin types with not defined __new__." +msgstr "" + +#: build/NEWS:40617 +msgid "" +":issue:`24802`: Avoid buffer overreads when int(), float(), compile(), " +"exec() and eval() are passed bytes-like objects. These objects are not " +"necessarily terminated by a null byte, but the functions assumed they were." +msgstr "" + +#: build/NEWS:40614 +msgid "" +":issue:`25555`: Fix parser and AST: fill lineno and col_offset of \"arg\" " +"node when compiling AST from Python objects." +msgstr "" + +#: build/NEWS:40622 +msgid "" +":issue:`24726`: Fixed a crash and leaking NULL in repr() of OrderedDict that " +"was mutated by direct calls of dict methods." +msgstr "" + +#: build/NEWS:40625 +msgid "" +":issue:`25449`: Iterating OrderedDict with keys with unstable hash now " +"raises KeyError in C implementations as well as in Python implementation." +msgstr "" + +#: build/NEWS:40628 +msgid "" +":issue:`25395`: Fixed crash when highly nested OrderedDict structures were " +"garbage collected." +msgstr "" + +#: build/NEWS:37603 +msgid "" +":issue:`25401`: Optimize bytes.fromhex() and bytearray.fromhex(): they are " +"now between 2x and 3.5x faster." +msgstr "" + +#: build/NEWS:37606 +msgid "" +":issue:`25399`: Optimize bytearray % args using the new private " +"_PyBytesWriter API. Formatting is now between 2.5 and 5 times faster." +msgstr "" + +#: build/NEWS:40631 +msgid "" +":issue:`25274`: sys.setrecursionlimit() now raises a RecursionError if the " +"new recursion limit is too low depending at the current recursion depth. " +"Modify also the \"lower-water mark\" formula to make it monotonic. This mark " +"is used to decide when the overflowed flag of the thread state is reset." +msgstr "" + +#: build/NEWS:40636 +msgid "" +":issue:`24402`: Fix input() to prompt to the redirected stdout when sys." +"stdout.fileno() fails." +msgstr "" + +#: build/NEWS:37617 +msgid "" +":issue:`25349`: Optimize bytes % args using the new private _PyBytesWriter " +"API. Formatting is now up to 2 times faster." +msgstr "" + +#: build/NEWS:40639 +msgid "" +":issue:`24806`: Prevent builtin types that are not allowed to be subclassed " +"from being subclassed through multiple inheritance." +msgstr "" + +#: build/NEWS:37623 +msgid "" +":issue:`25301`: The UTF-8 decoder is now up to 15 times as fast for error " +"handlers: ``ignore``, ``replace`` and ``surrogateescape``." +msgstr "" + +#: build/NEWS:40642 +msgid "" +":issue:`24848`: Fixed a number of bugs in UTF-7 decoding of misformed data." +msgstr "" + +#: build/NEWS:37628 +msgid "" +":issue:`25267`: The UTF-8 encoder is now up to 75 times as fast for error " +"handlers: ``ignore``, ``replace``, ``surrogateescape``, ``surrogatepass``. " +"Patch co-written with Serhiy Storchaka." +msgstr "" + +#: build/NEWS:40644 +msgid "" +":issue:`25280`: Import trace messages emitted in verbose (-v) mode are no " +"longer formatted twice." +msgstr "" + +#: build/NEWS:37635 +msgid "" +":issue:`25227`: Optimize ASCII and latin1 encoders with the " +"``surrogateescape`` error handler: the encoders are now up to 3 times as " +"fast. Initial patch written by Serhiy Storchaka." +msgstr "" + +#: build/NEWS:40647 +msgid "" +":issue:`25003`: On Solaris 11.3 or newer, os.urandom() now uses the " +"getrandom() function instead of the getentropy() function. The getentropy() " +"function is blocking to generate very good quality entropy, os.urandom() " +"doesn't need such high-quality entropy." +msgstr "" + +#: build/NEWS:37644 +msgid "" +":issue:`9232`: Modify Python's grammar to allow trailing commas in the " +"argument list of a function declaration. For example, \"def f(\\*, a = 3,): " +"pass\" is now legal. Patch from Mark Dickinson." +msgstr "" + +#: build/NEWS:37648 +msgid "" +":issue:`24965`: Implement :pep:`498` \"Literal String Interpolation\". This " +"allows you to embed expressions inside f-strings, which are converted to " +"normal strings at run time. Given x=3, then f'value={x}' == 'value=3'. Patch " +"by Eric V. Smith." +msgstr "" + +#: build/NEWS:39983 +msgid "" +":issue:`26478`: Fix semantic bugs when using binary operators with " +"dictionary views and tuples." +msgstr "" + +#: build/NEWS:39986 +msgid "" +":issue:`26171`: Fix possible integer overflow and heap corruption in " +"zipimporter.get_data()." +msgstr "" + +#: build/NEWS:39989 +msgid ":issue:`25660`: Fix TAB key behaviour in REPL with readline." +msgstr "" + +#: build/NEWS:37661 +msgid ":issue:`26288`: Optimize PyLong_AsDouble." +msgstr "" + +#: build/NEWS:37663 +msgid "" +":issue:`26289`: Optimize floor and modulo division for single-digit longs. " +"Microbenchmarks show 2-2.5x improvement. Built-in 'divmod' function is now " +"also ~10% faster. (See also: :issue:`26315`)" +msgstr "" + +#: build/NEWS:39991 +msgid "" +":issue:`25887`: Raise a RuntimeError when a coroutine object is awaited more " +"than once." +msgstr "" + +#: build/NEWS:40047 +msgid "" +":issue:`27057`: Fix os.set_inheritable() on Android, ioctl() is blocked by " +"SELinux and fails with EACCESS. The function now falls back to fcntl(). " +"Patch written by Michał Bednarski." +msgstr "" + +#: build/NEWS:40051 +msgid "" +":issue:`27014`: Fix infinite recursion using typing.py. Thanks to Kalle " +"Tuure!" +msgstr "" + +#: build/NEWS:37679 +msgid "" +":issue:`27031`: Removed dummy methods in Tkinter widget classes: " +"tk_menuBar() and tk_bindForTraversal()." +msgstr "" + +#: build/NEWS:40053 +msgid "" +":issue:`14132`: Fix urllib.request redirect handling when the target only " +"has a query string. Original fix by Ján Janech." +msgstr "" + +#: build/NEWS:40056 +msgid "" +":issue:`17214`: The \"urllib.request\" module now percent-encodes non-ASCII " +"bytes found in redirect target URLs. Some servers send Location header " +"fields with non-ASCII bytes, but \"http.client\" requires the request target " +"to be ASCII-encodable, otherwise a UnicodeEncodeError is raised. Based on " +"patch by Christian Heimes." +msgstr "" + +#: build/NEWS:37691 +msgid "" +":issue:`27033`: The default value of the decode_data parameter for smtpd." +"SMTPChannel and smtpd.SMTPServer constructors is changed to False." +msgstr "" + +#: build/NEWS:37694 +msgid ":issue:`27034`: Removed deprecated class asynchat.fifo." +msgstr "" + +#: build/NEWS:37696 +msgid "" +":issue:`26870`: Added readline.set_auto_history(), which can stop entries " +"being automatically added to the history list. Based on patch by Tyler " +"Crompton." +msgstr "" + +#: build/NEWS:37700 +msgid "" +":issue:`26039`: zipfile.ZipFile.open() can now be used to write data into a " +"ZIP file, as well as for extracting data. Patch by Thomas Kluyver." +msgstr "" + +#: build/NEWS:40062 +msgid "" +":issue:`26892`: Honor debuglevel flag in urllib.request.HTTPHandler. Patch " +"contributed by Chi Hsuan Yen." +msgstr "" + +#: build/NEWS:40065 +msgid "" +":issue:`22274`: In the subprocess module, allow stderr to be redirected to " +"stdout even when stdout is not redirected. Patch by Akira Li." +msgstr "" + +#: build/NEWS:40068 +msgid "" +":issue:`26807`: mock_open 'files' no longer error on readline at end of " +"file. Patch from Yolanda Robla." +msgstr "" + +#: build/NEWS:40071 +msgid ":issue:`25745`: Fixed leaking a userptr in curses panel destructor." +msgstr "" + +#: build/NEWS:40073 +msgid "" +":issue:`26977`: Removed unnecessary, and ignored, call to sum of squares " +"helper in statistics.pvariance." +msgstr "" + +#: build/NEWS:37717 +msgid "" +":issue:`26002`: Use bisect in statistics.median instead of a linear search. " +"Patch by Upendra Kuma." +msgstr "" + +#: build/NEWS:37720 +msgid "" +":issue:`25974`: Make use of new Decimal.as_integer_ratio() method in " +"statistics module. Patch by Stefan Krah." +msgstr "" + +#: build/NEWS:37723 +msgid ":issue:`26996`: Add secrets module as described in :pep:`506`." +msgstr "" + +#: build/NEWS:40076 +msgid "" +":issue:`26881`: The modulefinder module now supports extended opcode " +"arguments." +msgstr "" + +#: build/NEWS:40078 +msgid "" +":issue:`23815`: Fixed crashes related to directly created instances of types " +"in _tkinter and curses.panel modules." +msgstr "" + +#: build/NEWS:40081 +msgid "" +":issue:`17765`: weakref.ref() no longer silently ignores keyword arguments. " +"Patch by Georg Brandl." +msgstr "" + +#: build/NEWS:40084 +msgid "" +":issue:`26873`: xmlrpc now raises ResponseError on unsupported type tags " +"instead of silently return incorrect result." +msgstr "" + +#: build/NEWS:37736 +msgid "" +":issue:`26915`: The __contains__ methods in the collections ABCs now check " +"for identity before checking equality. This better matches the behavior of " +"the concrete classes, allows sensible handling of NaNs, and makes it easier " +"to reason about container invariants." +msgstr "" + +#: build/NEWS:40087 +msgid ":issue:`26711`: Fixed the comparison of plistlib.Data with other types." +msgstr "" + +#: build/NEWS:40089 +msgid "" +":issue:`24114`: Fix an uninitialized variable in ``ctypes.util``. The bug " +"only occurs on SunOS when the ctypes implementation searches for the " +"``crle`` program. Patch by Xiang Zhang. Tested on SunOS by Kees Bos." +msgstr "" + +#: build/NEWS:40093 +msgid "" +":issue:`26864`: In urllib.request, change the proxy bypass host checking " +"against no_proxy to be case-insensitive, and to not match unrelated host " +"names that happen to have a bypassed hostname as a suffix. Patch by Xiang " +"Zhang." +msgstr "" + +#: build/NEWS:37752 +msgid "" +":issue:`24902`: Print server URL on http.server startup. Initial patch by " +"Felix Kaiser." +msgstr "" + +#: build/NEWS:37755 +msgid "" +":issue:`25788`: fileinput.hook_encoded() now supports an \"errors\" argument " +"for passing to open. Original patch by Joseph Hackman." +msgstr "" + +#: build/NEWS:40098 +msgid "" +":issue:`26634`: recursive_repr() now sets __qualname__ of wrapper. Patch by " +"Xiang Zhang." +msgstr "" + +#: build/NEWS:40101 +msgid "" +":issue:`26804`: urllib.request will prefer lower_case proxy environment " +"variables over UPPER_CASE or Mixed_Case ones. Patch contributed by Hans-" +"Peter Jansen." +msgstr "" + +#: build/NEWS:40105 +msgid "" +":issue:`26837`: assertSequenceEqual() now correctly outputs non-stringified " +"differing items (like bytes in the -b mode). This affects assertListEqual() " +"and assertTupleEqual()." +msgstr "" + +#: build/NEWS:40109 +msgid "" +":issue:`26041`: Remove \"will be removed in Python 3.7\" from deprecation " +"messages of platform.dist() and platform.linux_distribution(). Patch by " +"Kumaripaba Miyurusara Athukorala." +msgstr "" + +#: build/NEWS:40113 +msgid "" +":issue:`26822`: itemgetter, attrgetter and methodcaller objects no longer " +"silently ignore keyword arguments." +msgstr "" + +#: build/NEWS:40116 +msgid "" +":issue:`26733`: Disassembling a class now disassembles class and static " +"methods. Patch by Xiang Zhang." +msgstr "" + +#: build/NEWS:40119 +msgid "" +":issue:`26801`: Fix error handling in :func:`shutil.get_terminal_size`, " +"catch :exc:`AttributeError` instead of :exc:`NameError`. Patch written by " +"Emanuel Barry." +msgstr "" + +#: build/NEWS:40123 +msgid "" +":issue:`24838`: tarfile's ustar and gnu formats now correctly calculate name " +"and link field limits for multibyte character encodings like utf-8." +msgstr "" + +#: build/NEWS:40126 +msgid "" +":issue:`26717`: Stop encoding Latin-1-ized WSGI paths with UTF-8. Patch by " +"Anthony Sottile." +msgstr "" + +#: build/NEWS:37789 +msgid ":issue:`26782`: Add STARTUPINFO to subprocess.__all__ on Windows." +msgstr "" + +#: build/NEWS:37791 +msgid "" +":issue:`26404`: Add context manager to socketserver. Patch by Aviv Palivoda." +msgstr "" + +#: build/NEWS:40129 +msgid "" +":issue:`26735`: Fix :func:`os.urandom` on Solaris 11.3 and newer when " +"reading more than 1,024 bytes: call ``getrandom()`` multiple times with a " +"limit of 1024 bytes per call." +msgstr "" + +#: build/NEWS:37797 +msgid "" +":issue:`26585`: Eliminate http.server._quote_html() and use html." +"escape(quote=False). Patch by Xiang Zhang." +msgstr "" + +#: build/NEWS:37800 +msgid ":issue:`26685`: Raise OSError if closing a socket fails." +msgstr "" + +#: build/NEWS:40133 +msgid "" +":issue:`16329`: Add .webm to mimetypes.types_map. Patch by Giampaolo " +"Rodola'." +msgstr "" + +#: build/NEWS:40135 +msgid "" +":issue:`13952`: Add .csv to mimetypes.types_map. Patch by Geoff Wilson." +msgstr "" + +#: build/NEWS:37806 +msgid "" +":issue:`26587`: the site module now allows .pth files to specify files to be " +"added to sys.path (e.g. zip files)." +msgstr "" + +#: build/NEWS:37809 +msgid "" +":issue:`25609`: Introduce contextlib.AbstractContextManager and typing." +"ContextManager." +msgstr "" + +#: build/NEWS:40137 +msgid ":issue:`26709`: Fixed Y2038 problem in loading binary PLists." +msgstr "" + +#: build/NEWS:40139 +msgid "" +":issue:`23735`: Handle terminal resizing with Readline 6.3+ by installing " +"our own SIGWINCH handler. Patch by Eric Price." +msgstr "" + +#: build/NEWS:37817 +msgid "" +":issue:`25951`: Change SSLSocket.sendall() to return None, as explicitly " +"documented for plain socket objects. Patch by Aviv Palivoda." +msgstr "" + +#: build/NEWS:40142 +msgid "" +":issue:`26586`: In http.server, respond with \"413 Request header fields too " +"large\" if there are too many header fields to parse, rather than killing " +"the connection and raising an unhandled exception. Patch by Xiang Zhang." +msgstr "" + +#: build/NEWS:37824 +msgid ":issue:`26676`: Added missing XMLPullParser to ElementTree.__all__." +msgstr "" + +#: build/NEWS:40146 +msgid "" +":issue:`22854`: Change BufferedReader.writable() and BufferedWriter." +"readable() to always return False." +msgstr "" + +#: build/NEWS:37829 +msgid "" +":issue:`26492`: Exhausted iterator of array.array now conforms with the " +"behavior of iterators of other mutable sequences: it lefts exhausted even if " +"iterated array is extended." +msgstr "" + +#: build/NEWS:37833 +msgid "" +":issue:`26641`: doctest.DocFileTest and doctest.testfile() now support " +"packages (module splitted into multiple directories) for the package " +"parameter." +msgstr "" + +#: build/NEWS:40149 +msgid "" +":issue:`25195`: Fix a regression in mock.MagicMock. _Call is a subclass of " +"tuple (changeset 3603bae63c13 only works for classes) so we need to " +"implement __ne__ ourselves. Patch by Andrew Plummer." +msgstr "" + +#: build/NEWS:40153 +msgid "" +":issue:`26644`: Raise ValueError rather than SystemError when a negative " +"length is passed to SSLSocket.recv() or read()." +msgstr "" + +#: build/NEWS:40156 +msgid "" +":issue:`23804`: Fix SSL recv(0) and read(0) methods to return zero bytes " +"instead of up to 1024." +msgstr "" + +#: build/NEWS:40159 +msgid ":issue:`26616`: Fixed a bug in datetime.astimezone() method." +msgstr "" + +#: build/NEWS:37848 +msgid "" +":issue:`26637`: The :mod:`importlib` module now emits an :exc:`ImportError` " +"rather than a :exc:`TypeError` if :func:`__import__` is tried during the " +"Python shutdown process but :data:`sys.path` is already cleared (set to " +"``None``)." +msgstr "" + +#: build/NEWS:37853 +msgid "" +":issue:`21925`: :func:`warnings.formatwarning` now catches exceptions when " +"calling :func:`linecache.getline` and :func:`tracemalloc." +"get_object_traceback` to be able to log :exc:`ResourceWarning` emitted late " +"during the Python shutdown process." +msgstr "" + +#: build/NEWS:37858 +msgid "" +":issue:`23848`: On Windows, faulthandler.enable() now also installs an " +"exception handler to dump the traceback of all Python threads on any Windows " +"exception, not only on UNIX signals (SIGSEGV, SIGFPE, SIGABRT)." +msgstr "" + +#: build/NEWS:37862 +msgid "" +":issue:`26530`: Add C functions :c:func:`!_PyTraceMalloc_Track` and :c:func:" +"`!_PyTraceMalloc_Untrack` to track memory blocks using the :mod:" +"`tracemalloc` module. Add :c:func:`!_PyTraceMalloc_GetTraceback` to get the " +"traceback of an object." +msgstr "" + +#: build/NEWS:37867 +msgid "" +":issue:`26588`: The _tracemalloc now supports tracing memory allocations of " +"multiple address spaces (domains)." +msgstr "" + +#: build/NEWS:40165 +msgid "" +":issue:`24266`: Ctrl+C during Readline history search now cancels the search " +"mode when compiled with Readline 7." +msgstr "" + +#: build/NEWS:37873 +msgid "" +":issue:`26590`: Implement a safe finalizer for the _socket.socket type. It " +"now releases the GIL to close the socket." +msgstr "" + +#: build/NEWS:37876 +msgid "" +":issue:`18787`: spwd.getspnam() now raises a PermissionError if the user " +"doesn't have privileges." +msgstr "" + +#: build/NEWS:40168 +msgid "" +":issue:`26560`: Avoid potential ValueError in BaseHandler.start_response. " +"Initial patch by Peter Inglesby." +msgstr "" + +#: build/NEWS:37882 +msgid "" +":issue:`26567`: Add a new function :c:func:`PyErr_ResourceWarning` function " +"to pass the destroyed object. Add a *source* attribute to :class:`warnings." +"WarningMessage`. Add warnings._showwarnmsg() which uses tracemalloc to get " +"the traceback where source object was allocated." +msgstr "" + +#: build/NEWS:40171 +msgid "" +":issue:`26569`: Fix :func:`pyclbr.readmodule` and :func:`pyclbr." +"readmodule_ex` to support importing packages." +msgstr "" + +#: build/NEWS:40174 +msgid "" +":issue:`26499`: Account for remaining Content-Length in HTTPResponse." +"readline() and read1(). Based on patch by Silent Ghost. Also document that " +"HTTPResponse now supports these methods." +msgstr "" + +#: build/NEWS:40178 +msgid "" +":issue:`25320`: Handle sockets in directories unittest discovery is " +"scanning. Patch from Victor van den Elzen." +msgstr "" + +#: build/NEWS:40181 +msgid "" +":issue:`16181`: cookiejar.http2time() now returns None if year is higher " +"than datetime.MAXYEAR." +msgstr "" + +#: build/NEWS:40184 +msgid ":issue:`26513`: Fixes platform module detection of Windows Server" +msgstr "" + +#: build/NEWS:40186 +msgid "" +":issue:`23718`: Fixed parsing time in week 0 before Jan 1. Original patch " +"by Tamás Bence Gedai." +msgstr "" + +#: build/NEWS:37905 +msgid "" +":issue:`26323`: Add Mock.assert_called() and Mock.assert_called_once() " +"methods to unittest.mock. Patch written by Amit Saha." +msgstr "" + +#: build/NEWS:40189 +msgid "" +":issue:`20589`: Invoking Path.owner() and Path.group() on Windows now raise " +"NotImplementedError instead of ImportError." +msgstr "" + +#: build/NEWS:40192 +msgid "" +":issue:`26177`: Fixed the keys() method for Canvas and Scrollbar widgets." +msgstr "" + +#: build/NEWS:37913 +msgid "" +":issue:`15068`: Got rid of excessive buffering in fileinput. The bufsize " +"parameter is now deprecated and ignored." +msgstr "" + +#: build/NEWS:37916 +msgid "" +":issue:`19475`: Added an optional argument timespec to the datetime " +"isoformat() method to choose the precision of the time component." +msgstr "" + +#: build/NEWS:40197 +msgid "" +":issue:`2202`: Fix UnboundLocalError in AbstractDigestAuthHandler." +"get_algorithm_impls. Initial patch by Mathieu Dupuy." +msgstr "" + +#: build/NEWS:37923 +msgid "" +":issue:`26167`: Minimized overhead in copy.copy() and copy.deepcopy(). " +"Optimized copying and deepcopying bytearrays, NotImplemented, slices, short " +"lists, tuples, dicts, sets." +msgstr "" + +#: build/NEWS:40201 +msgid "" +":issue:`25718`: Fixed pickling and copying the accumulate() iterator with " +"total is None." +msgstr "" + +#: build/NEWS:40204 +msgid "" +":issue:`26475`: Fixed debugging output for regular expressions with the (?x) " +"flag." +msgstr "" + +#: build/NEWS:37933 +msgid ":issue:`26482`: Allowed pickling recursive dequeues." +msgstr "" + +#: build/NEWS:37935 +msgid "" +":issue:`26335`: Make mmap.write() return the number of bytes written like " +"other write methods. Patch by Jakub Stasiak." +msgstr "" + +#: build/NEWS:40207 +msgid "" +":issue:`26457`: Fixed the subnets() methods in IP network classes for the " +"case when resulting prefix length is equal to maximal prefix length. Based " +"on patch by Xiang Zhang." +msgstr "" + +#: build/NEWS:40211 +msgid "" +":issue:`26385`: Remove the file if the internal open() call in " +"NamedTemporaryFile() fails. Patch by Silent Ghost." +msgstr "" + +#: build/NEWS:40214 +msgid "" +":issue:`26402`: Fix XML-RPC client to retry when the server shuts down a " +"persistent connection. This was a regression related to the new http.client." +"RemoteDisconnected exception in 3.5.0a4." +msgstr "" + +#: build/NEWS:40218 +msgid "" +":issue:`25913`: Leading ``<~`` is optional now in base64.a85decode() with " +"adobe=True. Patch by Swati Jaiswal." +msgstr "" + +#: build/NEWS:40221 +msgid "" +":issue:`26186`: Remove an invalid type check in importlib.util.LazyLoader." +msgstr "" + +#: build/NEWS:37954 +msgid "" +":issue:`26367`: importlib.__import__() raises ImportError like builtins." +"__import__() when ``level`` is specified but without an accompanying package " +"specified." +msgstr "" + +#: build/NEWS:40227 +msgid "" +":issue:`26309`: In the \"socketserver\" module, shut down the request " +"(closing the connected socket) when verify_request() returns false. Patch " +"by Aviv Palivoda." +msgstr "" + +#: build/NEWS:37962 +msgid "" +":issue:`23430`: Change the socketserver module to only catch exceptions " +"raised from a request handler that are derived from Exception (instead of " +"BaseException). Therefore SystemExit and KeyboardInterrupt no longer trigger " +"the handle_error() method, and will now to stop a single-threaded server." +msgstr "" + +#: build/NEWS:40231 +msgid "" +":issue:`25995`: os.walk() no longer uses FDs proportional to the tree depth." +msgstr "" + +#: build/NEWS:37970 +msgid "" +":issue:`25994`: Added the close() method and the support of the context " +"manager protocol for the os.scandir() iterator." +msgstr "" + +#: build/NEWS:37973 +msgid "" +":issue:`23992`: multiprocessing: make MapResult not fail-fast upon exception." +msgstr "" + +#: build/NEWS:37975 +msgid "" +":issue:`26243`: Support keyword arguments to zlib.compress(). Patch by Aviv " +"Palivoda." +msgstr "" + +#: build/NEWS:40233 +msgid "" +":issue:`26117`: The os.scandir() iterator now closes file descriptor not " +"only when the iteration is finished, but when it was failed with error." +msgstr "" + +#: build/NEWS:37981 +msgid "" +":issue:`25949`: __dict__ for an OrderedDict instance is now created only " +"when needed." +msgstr "" + +#: build/NEWS:40236 +msgid "" +":issue:`25911`: Restored support of bytes paths in os.walk() on Windows." +msgstr "" + +#: build/NEWS:40238 +msgid "" +":issue:`26045`: Add UTF-8 suggestion to error message when posting a non-" +"Latin-1 string with http.client." +msgstr "" + +#: build/NEWS:37989 +msgid "" +":issue:`26039`: Added zipfile.ZipInfo.from_file() and zipinfo.ZipInfo." +"is_dir(). Patch by Thomas Kluyver." +msgstr "" + +#: build/NEWS:40241 +msgid "" +":issue:`12923`: Reset FancyURLopener's redirect counter even if there is an " +"exception. Based on patches by Brian Brazil and Daniel Rocco." +msgstr "" + +#: build/NEWS:40244 +msgid "" +":issue:`25945`: Fixed a crash when unpickle the functools.partial object " +"with wrong state. Fixed a leak in failed functools.partial constructor. " +"\"args\" and \"keywords\" attributes of functools.partial have now always " +"types tuple and dict correspondingly." +msgstr "" + +#: build/NEWS:40249 +msgid "" +":issue:`26202`: copy.deepcopy() now correctly copies range() objects with " +"non-atomic attributes." +msgstr "" + +#: build/NEWS:40252 +msgid "" +":issue:`23076`: Path.glob() now raises a ValueError if it's called with an " +"invalid pattern. Patch by Thomas Nyberg." +msgstr "" + +#: build/NEWS:40255 +msgid ":issue:`19883`: Fixed possible integer overflows in zipimport." +msgstr "" + +#: build/NEWS:40257 +msgid "" +":issue:`26227`: On Windows, getnameinfo(), gethostbyaddr() and " +"gethostbyname_ex() functions of the socket module now decode the hostname " +"from the ANSI code page rather than UTF-8." +msgstr "" + +#: build/NEWS:38012 +msgid "" +":issue:`26099`: The site module now writes an error into stderr if " +"sitecustomize module can be imported but executing the module raise an " +"ImportError. Same change for usercustomize." +msgstr "" + +#: build/NEWS:40261 +msgid "" +":issue:`26147`: xmlrpc now works with strings not encodable with used non-" +"UTF-8 encoding." +msgstr "" + +#: build/NEWS:40264 +msgid "" +":issue:`25935`: Garbage collector now breaks reference loops with " +"OrderedDict." +msgstr "" + +#: build/NEWS:40266 +msgid ":issue:`16620`: Fixed AttributeError in msilib.Directory.glob()." +msgstr "" + +#: build/NEWS:40268 +msgid "" +":issue:`26013`: Added compatibility with broken protocol 2 pickles created " +"in old Python 3 versions (3.4.3 and lower)." +msgstr "" + +#: build/NEWS:38026 +msgid ":issue:`26129`: Deprecated accepting non-integers in grp.getgrgid()." +msgstr "" + +#: build/NEWS:40271 +msgid ":issue:`25850`: Use cross-compilation by default for 64-bit Windows." +msgstr "" + +#: build/NEWS:38030 +msgid "" +":issue:`25822`: Add docstrings to the fields of urllib.parse results. Patch " +"contributed by Swati Jaiswal." +msgstr "" + +#: build/NEWS:38033 +msgid "" +":issue:`22642`: Convert trace module option parsing mechanism to argparse. " +"Patch contributed by SilentGhost." +msgstr "" + +#: build/NEWS:40275 +msgid "" +":issue:`24705`: Fix sysconfig._parse_makefile not expanding ${} vars " +"appearing before $() vars." +msgstr "" + +#: build/NEWS:38039 +msgid ":issue:`26069`: Remove the deprecated apis in the trace module." +msgstr "" + +#: build/NEWS:40278 +msgid "" +":issue:`22138`: Fix mock.patch behavior when patching descriptors. Restore " +"original values after patching. Patch contributed by Sean McCully." +msgstr "" + +#: build/NEWS:40281 +msgid "" +":issue:`25672`: In the ssl module, enable the SSL_MODE_RELEASE_BUFFERS mode " +"option if it is safe to do so." +msgstr "" + +#: build/NEWS:40284 +msgid "" +":issue:`26012`: Don't traverse into symlinks for ``**`` pattern in pathlib." +"Path.[r]glob()." +msgstr "" + +#: build/NEWS:40287 +msgid "" +":issue:`24120`: Ignore PermissionError when traversing a tree with pathlib." +"Path.[r]glob(). Patch by Ulrich Petri." +msgstr "" + +#: build/NEWS:38053 +msgid "" +":issue:`21815`: Accept ] characters in the data portion of imap responses, " +"in order to handle the flags with square brackets accepted and produced by " +"servers such as gmail." +msgstr "" + +#: build/NEWS:40290 +msgid "" +":issue:`25447`: fileinput now uses sys.stdin as-is if it does not have a " +"buffer attribute (restores backward compatibility)." +msgstr "" + +#: build/NEWS:38060 +msgid "" +":issue:`25971`: Optimized creating Fractions from floats by 2 times and from " +"Decimals by 3 times." +msgstr "" + +#: build/NEWS:38063 +msgid "" +":issue:`25802`: Document as deprecated the remaining implementations of " +"importlib.abc.Loader.load_module()." +msgstr "" + +#: build/NEWS:38066 +msgid ":issue:`25928`: Add Decimal.as_integer_ratio()." +msgstr "" + +#: build/NEWS:40293 +msgid "" +":issue:`25447`: Copying the lru_cache() wrapper object now always works, " +"independently from the type of the wrapped object (by returning the original " +"object unchanged)." +msgstr "" + +#: build/NEWS:38072 +msgid "" +":issue:`25768`: Have the functions in compileall return booleans instead of " +"ints and add proper documentation and tests for the return values." +msgstr "" + +#: build/NEWS:40297 +msgid "" +":issue:`24103`: Fixed possible use after free in ElementTree.XMLPullParser." +msgstr "" + +#: build/NEWS:40299 +msgid "" +":issue:`25860`: os.fwalk() no longer skips remaining directories when error " +"occurs. Original patch by Samson Lee." +msgstr "" + +#: build/NEWS:40302 +msgid ":issue:`25914`: Fixed and simplified OrderedDict.__sizeof__." +msgstr "" + +#: build/NEWS:38082 +msgid "" +":issue:`25869`: Optimized deepcopying ElementTree; it is now 20 times faster." +msgstr "" + +#: build/NEWS:38084 +msgid "" +":issue:`25873`: Optimized iterating ElementTree. Iterating elements Element." +"iter() is now 40% faster, iterating text Element.itertext() is now up to 2.5 " +"times faster." +msgstr "" + +#: build/NEWS:40304 +msgid ":issue:`25902`: Fixed various refcount issues in ElementTree iteration." +msgstr "" + +#: build/NEWS:38090 +msgid "" +":issue:`22227`: The TarFile iterator is reimplemented using generator. This " +"implementation is simpler that using class." +msgstr "" + +#: build/NEWS:38093 +msgid "" +":issue:`25638`: Optimized ElementTree.iterparse(); it is now 2x faster. " +"Optimized ElementTree parsing; it is now 10% faster." +msgstr "" + +#: build/NEWS:38096 +msgid ":issue:`25761`: Improved detecting errors in broken pickle data." +msgstr "" + +#: build/NEWS:40306 +msgid "" +":issue:`25717`: Restore the previous behaviour of tolerating most fstat() " +"errors when opening files. This was a regression in 3.5a1, and stopped " +"anonymous temporary files from working in special cases." +msgstr "" + +#: build/NEWS:40310 +msgid "" +":issue:`24903`: Fix regression in number of arguments compileall accepts " +"when '-d' is specified. The check on the number of arguments has been " +"dropped completely as it never worked correctly anyway." +msgstr "" + +#: build/NEWS:40314 +msgid "" +":issue:`25764`: In the subprocess module, preserve any exception caused by " +"fork() failure when preexec_fn is used." +msgstr "" + +#: build/NEWS:38109 +msgid "" +":issue:`25771`: Tweak the exception message for importlib.util." +"resolve_name() when 'package' isn't specified but necessary." +msgstr "" + +#: build/NEWS:40317 +msgid "" +":issue:`6478`: _strptime's regexp cache now is reset after changing timezone " +"with time.tzset()." +msgstr "" + +#: build/NEWS:40320 +msgid "" +":issue:`14285`: When executing a package with the \"python -m package\" " +"option, and package initialization fails, a proper traceback is now " +"reported. The \"runpy\" module now lets exceptions from package " +"initialization pass back to the caller, rather than raising ImportError." +msgstr "" + +#: build/NEWS:40325 +msgid "" +":issue:`19771`: Also in runpy and the \"-m\" option, omit the irrelevant " +"message \". . . is a package and cannot be directly executed\" if the " +"package could not even be initialized (e.g. due to a bad ``*.pyc`` file)." +msgstr "" + +#: build/NEWS:40329 +msgid "" +":issue:`25177`: Fixed problem with the mean of very small and very large " +"numbers. As a side effect, statistics.mean and statistics.variance should be " +"significantly faster." +msgstr "" + +#: build/NEWS:40333 +msgid "" +":issue:`25718`: Fixed copying object with state with boolean value is false." +msgstr "" + +#: build/NEWS:40335 +msgid "" +":issue:`10131`: Fixed deep copying of minidom documents. Based on patch by " +"Marian Ganisin." +msgstr "" + +#: build/NEWS:38133 +msgid "" +":issue:`7990`: dir() on ElementTree.Element now lists properties: \"tag\", " +"\"text\", \"tail\" and \"attrib\". Original patch by Santoso Wijaya." +msgstr "" + +#: build/NEWS:40338 +msgid "" +":issue:`25725`: Fixed a reference leak in pickle.loads() when unpickling " +"invalid data including tuple instructions." +msgstr "" + +#: build/NEWS:40341 +msgid "" +":issue:`25663`: In the Readline completer, avoid listing duplicate global " +"names, and search the global namespace before searching builtins." +msgstr "" + +#: build/NEWS:40344 +msgid "" +":issue:`25688`: Fixed file leak in ElementTree.iterparse() raising an error." +msgstr "" + +#: build/NEWS:40346 +msgid "" +":issue:`23914`: Fixed SystemError raised by unpickler on broken pickle data." +msgstr "" + +#: build/NEWS:40348 +msgid ":issue:`25691`: Fixed crash on deleting ElementTree.Element attributes." +msgstr "" + +#: build/NEWS:40350 +msgid "" +":issue:`25624`: ZipFile now always writes a ZIP_STORED header for directory " +"entries. Patch by Dingyuan Wang." +msgstr "" + +#: build/NEWS:40666 +msgid "" +":issue:`25626`: Change three zlib functions to accept sizes that fit in " +"Py_ssize_t, but internally cap those sizes to UINT_MAX. This resolves a " +"regression in 3.5 where GzipFile.read() failed to read chunks larger than 2 " +"or 4 GiB. The change affects the zlib.Decompress.decompress() max_length " +"parameter, the zlib.decompress() bufsize parameter, and the zlib.Decompress." +"flush() length parameter." +msgstr "" + +#: build/NEWS:40673 +msgid "" +":issue:`25583`: Avoid incorrect errors raised by os.makedirs(exist_ok=True) " +"when the OS gives priority to errors such as EACCES over EEXIST." +msgstr "" + +#: build/NEWS:40676 +msgid ":issue:`25593`: Change semantics of EventLoop.stop() in asyncio." +msgstr "" + +#: build/NEWS:40678 +msgid "" +":issue:`6973`: When we know a subprocess.Popen process has died, do not " +"allow the send_signal(), terminate(), or kill() methods to do anything as " +"they could potentially signal a different process." +msgstr "" + +#: build/NEWS:38167 +msgid "" +":issue:`23883`: Added missing APIs to __all__ to match the documented APIs " +"for the following modules: calendar, csv, enum, fileinput, ftplib, logging, " +"optparse, tarfile, threading and wave. Also added a test.support." +"check__all__() helper. Patches by Jacek Kołodziej, Mauro S. M. Rodrigues and " +"Joel Taddei." +msgstr "" + +#: build/NEWS:38173 +msgid "" +":issue:`25590`: In the Readline completer, only call getattr() once per " +"attribute. Also complete names of attributes such as properties and slots " +"which are listed by dir() but not yet created on an instance." +msgstr "" + +#: build/NEWS:40685 +msgid "" +":issue:`25498`: Fix a crash when garbage-collecting ctypes objects created " +"by wrapping a memoryview. This was a regression made in 3.5a1. Based on " +"patch by Eryksun." +msgstr "" + +#: build/NEWS:40689 +msgid "" +":issue:`25584`: Added \"escape\" to the __all__ list in the glob module." +msgstr "" + +#: build/NEWS:40691 +msgid "" +":issue:`25584`: Fixed recursive glob() with patterns starting with ``**``." +msgstr "" + +#: build/NEWS:40693 +msgid ":issue:`25446`: Fix regression in smtplib's AUTH LOGIN support." +msgstr "" + +#: build/NEWS:40695 +msgid "" +":issue:`18010`: Fix the pydoc web server's module search function to handle " +"exceptions from importing packages." +msgstr "" + +#: build/NEWS:40698 +msgid "" +":issue:`25554`: Got rid of circular references in regular expression parsing." +msgstr "" + +#: build/NEWS:38192 +msgid "" +":issue:`18973`: Command-line interface of the calendar module now uses " +"argparse instead of optparse." +msgstr "" + +#: build/NEWS:40700 +msgid "" +":issue:`25510`: fileinput.FileInput.readline() now returns b'' instead of '' " +"at the end if the FileInput was opened with binary mode. Patch by Ryosuke " +"Ito." +msgstr "" + +#: build/NEWS:40704 +msgid "" +":issue:`25503`: Fixed inspect.getdoc() for inherited docstrings of " +"properties. Original patch by John Mark Vandenberg." +msgstr "" + +#: build/NEWS:40707 +msgid "" +":issue:`25515`: Always use os.urandom as a source of randomness in uuid." +"uuid4." +msgstr "" + +#: build/NEWS:40709 +msgid "" +":issue:`21827`: Fixed textwrap.dedent() for the case when largest common " +"whitespace is a substring of smallest leading whitespace. Based on patch by " +"Robert Li." +msgstr "" + +#: build/NEWS:40713 +msgid "" +":issue:`25447`: The lru_cache() wrapper objects now can be copied and " +"pickled (by returning the original object unchanged)." +msgstr "" + +#: build/NEWS:40716 +msgid ":issue:`25390`: typing: Don't crash on Union[str, Pattern]." +msgstr "" + +#: build/NEWS:40718 +msgid "" +":issue:`25441`: asyncio: Raise error from drain() when socket is closed." +msgstr "" + +#: build/NEWS:40720 +msgid "" +":issue:`25410`: Cleaned up and fixed minor bugs in C implementation of " +"OrderedDict." +msgstr "" + +#: build/NEWS:40723 +msgid "" +":issue:`25411`: Improved Unicode support in SMTPHandler through better use " +"of the email package. Thanks to user simon04 for the patch." +msgstr "" + +#: build/NEWS:38221 +msgid "" +"Move the imp module from a PendingDeprecationWarning to DeprecationWarning." +msgstr "" + +#: build/NEWS:40726 +msgid "" +":issue:`25407`: Remove mentions of the formatter module being removed in " +"Python 3.6." +msgstr "" + +#: build/NEWS:40729 +msgid "" +":issue:`25406`: Fixed a bug in C implementation of OrderedDict.move_to_end() " +"that caused segmentation fault or hang in iterating after moving several " +"items to the start of ordered dict." +msgstr "" + +#: build/NEWS:38231 +msgid "" +":issue:`25382`: pickletools.dis() now outputs implicit memo index for the " +"MEMOIZE opcode." +msgstr "" + +#: build/NEWS:38234 +msgid "" +":issue:`25357`: Add an optional newline parameter to binascii.b2a_base64(). " +"base64.b64encode() uses it to avoid a memory copy." +msgstr "" + +#: build/NEWS:38237 +msgid "" +":issue:`24164`: Objects that need calling ``__new__`` with keyword " +"arguments, can now be pickled using pickle protocols older than protocol " +"version 4." +msgstr "" + +#: build/NEWS:40733 +msgid ":issue:`25364`: zipfile now works in threads disabled builds." +msgstr "" + +#: build/NEWS:40735 +msgid "" +":issue:`25328`: smtpd's SMTPChannel now correctly raises a ValueError if " +"both decode_data and enable_SMTPUTF8 are set to true." +msgstr "" + +#: build/NEWS:38245 +msgid "" +":issue:`16099`: RobotFileParser now supports Crawl-delay and Request-rate " +"extensions. Patch by Nikolay Bogoychev." +msgstr "" + +#: build/NEWS:40738 +msgid "" +":issue:`25316`: distutils raises OSError instead of DistutilsPlatformError " +"when MSVC is not installed." +msgstr "" + +#: build/NEWS:40741 +msgid "" +":issue:`25380`: Fixed protocol for the STACK_GLOBAL opcode in pickletools." +"opcodes." +msgstr "" + +#: build/NEWS:40744 +msgid "" +":issue:`23972`: Updates asyncio datagram create method allowing reuseport " +"and reuseaddr socket options to be set prior to binding the socket. " +"Mirroring the existing asyncio create_server method the reuseaddr option for " +"datagram sockets defaults to True if the O/S is 'posix' (except if the " +"platform is Cygwin). Patch by Chris Laws." +msgstr "" + +#: build/NEWS:40750 +msgid "" +":issue:`25304`: Add asyncio.run_coroutine_threadsafe(). This lets you " +"submit a coroutine to a loop from another thread, returning a concurrent." +"futures.Future. By Vincent Michel." +msgstr "" + +#: build/NEWS:40754 +msgid "" +":issue:`25232`: Fix CGIRequestHandler to split the query from the URL at the " +"first question mark (?) rather than the last. Patch from Xiang Zhang." +msgstr "" + +#: build/NEWS:40757 +msgid "" +":issue:`24657`: Prevent CGIRequestHandler from collapsing slashes in the " +"query part of the URL as if it were a path. Patch from Xiang Zhang." +msgstr "" + +#: build/NEWS:38270 +msgid "" +":issue:`25287`: Don't add crypt.METHOD_CRYPT to crypt.methods if it's not " +"supported. Check if it is supported, it may not be supported on OpenBSD for " +"example." +msgstr "" + +#: build/NEWS:40785 +msgid "" +":issue:`23600`: Default implementation of tzinfo.fromutc() was returning " +"wrong results in some cases." +msgstr "" + +#: build/NEWS:40782 +msgid "" +":issue:`25203`: Failed readline.set_completer_delims() no longer left the " +"module in inconsistent state." +msgstr "" + +#: build/NEWS:38280 +msgid "" +":issue:`25011`: rlcompleter now omits private and special attribute names " +"unless the prefix starts with underscores." +msgstr "" + +#: build/NEWS:38283 +msgid "" +":issue:`25209`: rlcompleter now can add a space or a colon after completed " +"keyword." +msgstr "" + +#: build/NEWS:38286 +msgid ":issue:`22241`: timezone.utc name is now plain 'UTC', not 'UTC-00:00'." +msgstr "" + +#: build/NEWS:38288 +msgid "" +":issue:`23517`: fromtimestamp() and utcfromtimestamp() methods of datetime." +"datetime now round microseconds to nearest with ties going to nearest even " +"integer (ROUND_HALF_EVEN), as round(float), instead of rounding towards -" +"Infinity (ROUND_FLOOR)." +msgstr "" + +#: build/NEWS:38293 +msgid "" +":issue:`23552`: Timeit now warns when there is substantial (4x) variance " +"between best and worst times. Patch from Serhiy Storchaka." +msgstr "" + +#: build/NEWS:38296 +msgid ":issue:`24633`: site-packages/README -> README.txt." +msgstr "" + +#: build/NEWS:38298 +msgid "" +":issue:`24879`: help() and pydoc can now list named tuple fields in the " +"order they were defined rather than alphabetically. The ordering is " +"determined by the _fields attribute if present." +msgstr "" + +#: build/NEWS:38302 +msgid "" +":issue:`24874`: Improve speed of itertools.cycle() and make its pickle more " +"compact." +msgstr "" + +#: build/NEWS:38305 +msgid "" +"Fix crash in itertools.cycle.__setstate__() when the first argument wasn't a " +"list." +msgstr "" + +#: build/NEWS:38308 +msgid "" +":issue:`20059`: urllib.parse raises ValueError on all invalid ports. Patch " +"by Martin Panter." +msgstr "" + +#: build/NEWS:38311 +msgid "" +":issue:`24360`: Improve __repr__ of argparse.Namespace() for invalid " +"identifiers. Patch by Matthias Bussonnier." +msgstr "" + +#: build/NEWS:38314 +msgid "" +":issue:`23426`: run_setup was broken in distutils. Patch from Alexander " +"Belopolsky." +msgstr "" + +#: build/NEWS:38317 +msgid "" +":issue:`13938`: 2to3 converts StringTypes to a tuple. Patch from Mark " +"Hammond." +msgstr "" + +#: build/NEWS:38319 +msgid "" +":issue:`2091`: open() accepted a 'U' mode string containing '+', but 'U' can " +"only be used with 'r'. Patch from Jeff Balogh and John O'Connor." +msgstr "" + +#: build/NEWS:38322 +msgid "" +":issue:`8585`: improved tests for zipimporter2. Patch from Mark Lawrence." +msgstr "" + +#: build/NEWS:41327 +msgid "" +":issue:`18622`: unittest.mock.mock_open().reset_mock would recurse " +"infinitely. Patch from Nicola Palumbo and Laurent De Buyst." +msgstr "" + +#: build/NEWS:38327 +msgid "" +":issue:`24426`: Fast searching optimization in regular expressions now works " +"for patterns that starts with capturing groups. Fast searching optimization " +"now can't be disabled at compile time." +msgstr "" + +#: build/NEWS:41330 +msgid "" +":issue:`23661`: unittest.mock side_effects can now be exceptions again. This " +"was a regression vs Python 3.4. Patch from Ignacio Rossi" +msgstr "" + +#: build/NEWS:38334 +msgid ":issue:`13248`: Remove deprecated inspect.getmoduleinfo function." +msgstr "" + +#: build/NEWS:40859 +msgid ":issue:`25578`: Fix (another) memory leak in SSLSocket.getpeercer()." +msgstr "" + +#: build/NEWS:40861 +msgid "" +":issue:`25530`: Disable the vulnerable SSLv3 protocol by default when " +"creating ssl.SSLContext." +msgstr "" + +#: build/NEWS:40864 +msgid ":issue:`25569`: Fix memory leak in SSLSocket.getpeercert()." +msgstr "" + +#: build/NEWS:40866 +msgid "" +":issue:`25471`: Sockets returned from accept() shouldn't appear to be " +"nonblocking." +msgstr "" + +#: build/NEWS:40869 +msgid "" +":issue:`25319`: When threading.Event is reinitialized, the underlying " +"condition should use a regular lock rather than a recursive lock." +msgstr "" + +#: build/NEWS:40353 +msgid "" +"Skip getaddrinfo if host is already resolved. Patch by A. Jesse Jiryu Davis." +msgstr "" + +#: build/NEWS:40356 +msgid "" +":issue:`26050`: Add asyncio.StreamReader.readuntil() method. Patch by Марк " +"Коренберг." +msgstr "" + +#: build/NEWS:40359 +msgid "" +":issue:`25924`: Avoid unnecessary serialization of getaddrinfo(3) calls on " +"OS X versions 10.5 or higher. Original patch by A. Jesse Jiryu Davis." +msgstr "" + +#: build/NEWS:40362 +msgid "" +":issue:`26406`: Avoid unnecessary serialization of getaddrinfo(3) calls on " +"current versions of OpenBSD and NetBSD. Patch by A. Jesse Jiryu Davis." +msgstr "" + +#: build/NEWS:40365 +msgid "" +":issue:`26848`: Fix asyncio/subprocess.communicate() to handle empty input. " +"Patch by Jack O'Connor." +msgstr "" + +#: build/NEWS:40368 +msgid ":issue:`27040`: Add loop.get_exception_handler method" +msgstr "" + +#: build/NEWS:40370 +msgid ":issue:`27041`: asyncio: Add loop.create_future method" +msgstr "" + +#: build/NEWS:40418 +msgid "" +":issue:`20640`: Add tests for idlelib.configHelpSourceEdit. Patch by " +"Saimadhav Heblikar." +msgstr "" + +#: build/NEWS:40421 +msgid "" +"In the 'IDLE-console differences' section of the IDLE doc, clarify how " +"running with IDLE affects sys.modules and the standard streams." +msgstr "" + +#: build/NEWS:40424 +msgid "" +":issue:`25507`: fix incorrect change in IOBinding that prevented printing. " +"Augment IOBinding htest to include all major IOBinding functions." +msgstr "" + +#: build/NEWS:40427 +msgid "" +":issue:`25905`: Revert unwanted conversion of ' to ’ RIGHT SINGLE QUOTATION " +"MARK in README.txt and open this and NEWS.txt with 'ascii'. Re-encode " +"CREDITS.txt to utf-8 and open it with 'utf-8'." +msgstr "" + +#: build/NEWS:40898 +msgid "" +":issue:`15348`: Stop the debugger engine (normally in a user process) before " +"closing the debugger window (running in the IDLE process). This prevents the " +"RuntimeErrors that were being caught and ignored." +msgstr "" + +#: build/NEWS:40902 +msgid "" +":issue:`24455`: Prevent IDLE from hanging when a) closing the shell while " +"the debugger is active (15347); b) closing the debugger with the [X] button " +"(15348); and c) activating the debugger when already active (24455). The " +"patch by Mark Roseman does this by making two changes. 1. Suspend and resume " +"the gui.interaction method with the tcl vwait mechanism intended for this " +"purpose (instead of root.mainloop & .quit). 2. In gui.run, allow any " +"existing interaction to terminate first." +msgstr "" + +#: build/NEWS:40910 +msgid "" +"Change 'The program' to 'Your program' in an IDLE 'kill program?' message to " +"make it clearer that the program referred to is the currently running user " +"program, not IDLE itself." +msgstr "" + +#: build/NEWS:40914 +msgid "" +":issue:`24750`: Improve the appearance of the IDLE editor window status bar. " +"Patch by Mark Roseman." +msgstr "" + +#: build/NEWS:40917 +msgid "" +":issue:`25313`: Change the handling of new built-in text color themes to " +"better address the compatibility problem introduced by the addition of IDLE " +"Dark. Consistently use the revised idleConf.CurrentTheme everywhere in " +"idlelib." +msgstr "" + +#: build/NEWS:40921 +msgid "" +":issue:`24782`: Extension configuration is now a tab in the IDLE Preferences " +"dialog rather than a separate dialog. The former tabs are now a sorted " +"list. Patch by Mark Roseman." +msgstr "" + +#: build/NEWS:40925 +msgid "" +":issue:`22726`: Re-activate the config dialog help button with some content " +"about the other buttons and the new IDLE Dark theme." +msgstr "" + +#: build/NEWS:40928 +msgid "" +":issue:`24820`: IDLE now has an 'IDLE Dark' built-in text color theme. It is " +"more or less IDLE Classic inverted, with a cobalt blue background. Strings, " +"comments, keywords, ... are still green, red, orange, ... . To use it with " +"IDLEs released before November 2015, hit the 'Save as New Custom Theme' " +"button and enter a new name, such as 'Custom Dark'. The custom theme will " +"work with any IDLE release, and can be modified." +msgstr "" + +#: build/NEWS:40935 +msgid "" +":issue:`25224`: README.txt is now an idlelib index for IDLE developers and " +"curious users. The previous user content is now in the IDLE doc chapter. " +"'IDLE' now means 'Integrated Development and Learning Environment'." +msgstr "" + +#: build/NEWS:40939 +msgid "" +":issue:`24820`: Users can now set breakpoint colors in Settings -> Custom " +"Highlighting. Original patch by Mark Roseman." +msgstr "" + +#: build/NEWS:40942 +msgid "" +":issue:`24972`: Inactive selection background now matches active selection " +"background, as configured by users, on all systems. Found items are now " +"always highlighted on Windows. Initial patch by Mark Roseman." +msgstr "" + +#: build/NEWS:40946 +msgid "" +":issue:`24570`: Idle: make calltip and completion boxes appear on Macs " +"affected by a tk regression. Initial patch by Mark Roseman." +msgstr "" + +#: build/NEWS:40949 +msgid "" +":issue:`24988`: Idle ScrolledList context menus (used in debugger) now work " +"on Mac Aqua. Patch by Mark Roseman." +msgstr "" + +#: build/NEWS:40952 +msgid "" +":issue:`24801`: Make right-click for context menu work on Mac Aqua. Patch by " +"Mark Roseman." +msgstr "" + +#: build/NEWS:40955 +msgid "" +":issue:`25173`: Associate tkinter messageboxes with a specific widget. For " +"Mac OSX, make them a 'sheet'. Patch by Mark Roseman." +msgstr "" + +#: build/NEWS:40958 +msgid "" +":issue:`25198`: Enhance the initial html viewer now used for Idle Help. " +"Properly indent fixed-pitch text (patch by Mark Roseman). Give code snippet " +"a very Sphinx-like light blueish-gray background. Re-use initial width and " +"height set by users for shell and editor. When the Table of Contents (TOC) " +"menu is used, put the section header at the top of the screen." +msgstr "" + +#: build/NEWS:40965 +msgid ":issue:`25225`: Condense and rewrite Idle doc section on text colors." +msgstr "" + +#: build/NEWS:40967 +msgid "" +":issue:`21995`: Explain some differences between IDLE and console Python." +msgstr "" + +#: build/NEWS:40969 +msgid "" +":issue:`22820`: Explain need for *print* when running file from Idle editor." +msgstr "" + +#: build/NEWS:40971 +msgid "" +":issue:`25224`: Doc: augment Idle feature list and no-subprocess section." +msgstr "" + +#: build/NEWS:40973 +msgid "" +":issue:`25219`: Update doc for Idle command line options. Some were missing " +"and notes were not correct." +msgstr "" + +#: build/NEWS:40976 +msgid "" +":issue:`24861`: Most of idlelib is private and subject to change. Use idleib." +"idle.* to start Idle. See idlelib.__init__.__doc__." +msgstr "" + +#: build/NEWS:40979 +msgid "" +":issue:`25199`: Idle: add synchronization comments for future maintainers." +msgstr "" + +#: build/NEWS:38467 +msgid "" +":issue:`16893`: Replace help.txt with help.html for Idle doc display. The " +"new idlelib/help.html is rstripped Doc/build/html/library/idle.html. It " +"looks better than help.txt and will better document Idle as released. The " +"tkinter html viewer that works for this file was written by Rose Roseman. " +"The now unused EditorWindow.HelpDialog class and helt.txt file are " +"deprecated." +msgstr "" + +#: build/NEWS:40988 +msgid "" +":issue:`24199`: Deprecate unused idlelib.idlever with possible removal in " +"3.6." +msgstr "" + +#: build/NEWS:40990 +msgid "" +":issue:`24790`: Remove extraneous code (which also create 2 & 3 conflicts)." +msgstr "" + +#: build/NEWS:40439 +msgid "" +":issue:`26736`: Used HTTPS for external links in the documentation if " +"possible." +msgstr "" + +#: build/NEWS:40441 +msgid "" +":issue:`6953`: Rework the Readline module documentation to group related " +"functions together, and add more details such as what underlying Readline " +"functions and variables are accessed." +msgstr "" + +#: build/NEWS:40445 +msgid "" +":issue:`23606`: Adds note to ctypes documentation regarding cdll.msvcrt." +msgstr "" + +#: build/NEWS:41005 +msgid "" +":issue:`24952`: Clarify the default size argument of stack_size() in the " +"\"threading\" and \"_thread\" modules. Patch from Mattip." +msgstr "" + +#: build/NEWS:40450 +msgid "" +":issue:`26014`: Update 3.x packaging documentation: * \"See also\" links to " +"the new docs are now provided in the legacy pages * links to setuptools " +"documentation have been updated" +msgstr "" + +#: build/NEWS:40457 +msgid "" +":issue:`21916`: Added tests for the turtle module. Patch by ingrid, Gregory " +"Loyse and Jelle Zijlstra." +msgstr "" + +#: build/NEWS:38502 +msgid "" +":issue:`26295`: When using \"python3 -m test --testdir=TESTDIR\", regrtest " +"doesn't add \"test.\" prefix to test module names." +msgstr "" + +#: build/NEWS:40460 +msgid "" +":issue:`26523`: The multiprocessing thread pool (multiprocessing.dummy.Pool) " +"was untested." +msgstr "" + +#: build/NEWS:40463 +msgid "" +":issue:`26015`: Added new tests for pickling iterators of mutable sequences." +msgstr "" + +#: build/NEWS:40465 +msgid "" +":issue:`26325`: Added test.support.check_no_resource_warning() to check that " +"no ResourceWarning is emitted." +msgstr "" + +#: build/NEWS:38513 +msgid "" +":issue:`25940`: Changed test_ssl to use its internal local server more. " +"This avoids relying on svn.python.org, which recently changed root " +"certificate." +msgstr "" + +#: build/NEWS:40471 +msgid "" +":issue:`25616`: Tests for OrderedDict are extracted from test_collections " +"into separate file test_ordered_dict." +msgstr "" + +#: build/NEWS:41019 +msgid ":issue:`25449`: Added tests for OrderedDict subclasses." +msgstr "" + +#: build/NEWS:38521 +msgid "" +":issue:`25188`: Add -P/--pgo to test.regrtest to suppress error output when " +"running the test suite for the purposes of a PGO build. Initial patch by " +"Alecsandru Patrascu." +msgstr "" + +#: build/NEWS:38525 +msgid "" +":issue:`22806`: Add ``python -m test --list-tests`` command to list tests." +msgstr "" + +#: build/NEWS:38527 +msgid "" +":issue:`18174`: ``python -m test --huntrleaks ...`` now also checks for leak " +"of file descriptors. Patch written by Richard Oudkerk." +msgstr "" + +#: build/NEWS:38530 +msgid "" +":issue:`25260`: Fix ``python -m test --coverage`` on Windows. Remove the " +"list of ignored directories." +msgstr "" + +#: build/NEWS:41026 +msgid "" +"``PCbuild\\rt.bat`` now accepts an unlimited number of arguments to pass " +"along to regrtest.py. Previously there was a limit of 9." +msgstr "" + +#: build/NEWS:40474 +msgid "" +":issue:`26583`: Skip test_timestamp_overflow in test_import if bytecode " +"files cannot be written." +msgstr "" + +#: build/NEWS:38542 +msgid "" +":issue:`21277`: Don't try to link _ctypes with a ffi_convenience library." +msgstr "" + +#: build/NEWS:40480 +msgid "" +":issue:`26884`: Fix linking extension modules for cross builds. Patch by " +"Xavier de Gaye." +msgstr "" + +#: build/NEWS:38547 +msgid "" +":issue:`26932`: Fixed support of RTLD_* constants defined as enum values, " +"not via macros (in particular on Android). Patch by Chi Hsuan Yen." +msgstr "" + +#: build/NEWS:40483 +msgid "" +":issue:`22359`: Disable the rules for running _freeze_importlib and pgen " +"when cross-compiling. The output of these programs is normally saved with " +"the source code anyway, and is still regenerated when doing a native build. " +"Patch by Xavier de Gaye." +msgstr "" + +#: build/NEWS:38555 +msgid "" +":issue:`21668`: Link audioop, _datetime, _ctypes_test modules to libm, " +"except on Mac OS X. Patch written by Chi Hsuan Yen." +msgstr "" + +#: build/NEWS:40494 +msgid "" +":issue:`25702`: A --with-lto configure option has been added that will " +"enable link time optimizations at build time during a make profile-opt. Some " +"compilers and toolchains are known to not produce stable code when using " +"LTO, be sure to test things thoroughly before relying on it. It can provide " +"a few % speed up over profile-opt alone." +msgstr "" + +#: build/NEWS:40500 +msgid "" +":issue:`26624`: Adds validation of ucrtbase[d].dll version with warning for " +"old versions." +msgstr "" + +#: build/NEWS:40503 +msgid "" +":issue:`17603`: Avoid error about nonexistent fileblocks.o file by using a " +"lower-level check for st_blocks in struct stat." +msgstr "" + +#: build/NEWS:40506 +msgid "" +":issue:`26079`: Fixing the build output folder for tix-8.4.3.6. Patch by " +"Bjoern Thiel." +msgstr "" + +#: build/NEWS:40509 +msgid ":issue:`26465`: Update Windows builds to use OpenSSL 1.0.2g." +msgstr "" + +#: build/NEWS:38575 +msgid "" +":issue:`25348`: Added ``--pgo`` and ``--pgo-job`` arguments to " +"``PCbuild\\build.bat`` for building with Profile-Guided Optimization. The " +"old ``PCbuild\\build_pgo.bat`` script is removed." +msgstr "" + +#: build/NEWS:40520 +msgid "" +":issue:`25827`: Add support for building with ICC to ``configure``, " +"including a new ``--with-icc`` flag." +msgstr "" + +#: build/NEWS:40523 +msgid ":issue:`25696`: Fix installation of Python on UNIX with make -j9." +msgstr "" + +#: build/NEWS:41037 +msgid "" +":issue:`24986`: It is now possible to build Python on Windows without errors " +"when external libraries are not available." +msgstr "" + +#: build/NEWS:40511 +msgid "" +":issue:`24421`: Compile Modules/_math.c once, before building extensions. " +"Previously it could fail to compile properly if the math and cmath builds " +"were concurrent." +msgstr "" + +#: build/NEWS:38591 +msgid "" +":issue:`26465`: Update OS X 10.5+ 32-bit-only installer to build and link " +"with OpenSSL 1.0.2g." +msgstr "" + +#: build/NEWS:40528 +msgid ":issue:`26268`: Update Windows builds to use OpenSSL 1.0.2f." +msgstr "" + +#: build/NEWS:40530 +msgid ":issue:`25136`: Support Apple Xcode 7's new textual SDK stub libraries." +msgstr "" + +#: build/NEWS:40532 +msgid "" +":issue:`24324`: Do not enable unreachable code warnings when using gcc as " +"the option does not work correctly in older versions of gcc and has been " +"silently removed as of gcc-4.5." +msgstr "" + +#: build/NEWS:40539 +msgid "" +":issue:`27053`: Updates make_zip.py to correctly generate library ZIP file." +msgstr "" + +#: build/NEWS:40541 +msgid "" +":issue:`26268`: Update the prepare_ssl.py script to handle OpenSSL releases " +"that don't include the contents of the include directory (that is, 1.0.2e " +"and later)." +msgstr "" + +#: build/NEWS:40545 +msgid "" +":issue:`26071`: bdist_wininst created binaries fail to start and find 32bit " +"Python" +msgstr "" + +#: build/NEWS:40548 +msgid ":issue:`26073`: Update the list of magic numbers in launcher" +msgstr "" + +#: build/NEWS:40550 +msgid "" +":issue:`26065`: Excludes venv from library when generating embeddable distro." +msgstr "" + +#: build/NEWS:41076 +msgid ":issue:`25022`: Removed very outdated PC/example_nt/ directory." +msgstr "" + +#: build/NEWS:40558 +msgid "" +":issue:`26799`: Fix python-gdb.py: don't get C types once when the Python " +"code is loaded, but get C types on demand. The C types can change if python-" +"gdb.py is loaded before the Python executable. Patch written by Thomas " +"Ilsche." +msgstr "" + +#: build/NEWS:40563 +msgid "" +":issue:`26271`: Fix the Freeze tool to properly use flags passed through " +"configure. Patch by Daniel Shaulov." +msgstr "" + +#: build/NEWS:40566 +msgid "" +":issue:`26489`: Add dictionary unpacking support to Tools/parser/unparse.py. " +"Patch by Guo Ci Teo." +msgstr "" + +#: build/NEWS:40569 +msgid ":issue:`26316`: Fix variable name typo in Argument Clinic." +msgstr "" + +#: build/NEWS:41081 +msgid ":issue:`25440`: Fix output of python-config --extension-suffix." +msgstr "" + +#: build/NEWS:38638 +msgid "" +":issue:`25154`: The pyvenv script has been deprecated in favour of ``python3 " +"-m venv``." +msgstr "" + +#: build/NEWS:38644 +msgid "" +":issue:`26312`: SystemError is now raised in all programming bugs with using " +"PyArg_ParseTupleAndKeywords(). RuntimeError did raised before in some " +"programming bugs." +msgstr "" + +#: build/NEWS:38648 +msgid "" +":issue:`26198`: ValueError is now raised instead of TypeError on buffer " +"overflow in parsing \"es#\" and \"et#\" format units. SystemError is now " +"raised instead of TypeError on programmatical error in parsing format string." +msgstr "" + +#: build/NEWS:38655 +msgid "Python 3.5.5 final" +msgstr "" + +#: build/NEWS:38657 +msgid "*Release date: 2018-02-04*" +msgstr "" + +#: build/NEWS:38659 +msgid "There were no new changes in version 3.5.5." +msgstr "" + +#: build/NEWS:38664 +msgid "Python 3.5.5 release candidate 1" +msgstr "" + +#: build/NEWS:38666 +msgid "*Release date: 2018-01-23*" +msgstr "" + +#: build/NEWS:38671 +msgid "" +":issue:`32551`: The ``sys.path[0]`` initialization change for :issue:`29139` " +"caused a regression by revealing an inconsistency in how sys.path is " +"initialized when executing ``__main__`` from a zipfile, directory, or other " +"import location. This is considered a potential security issue, as it may " +"lead to privileged processes unexpectedly loading code from user controlled " +"directories in situations where that was not previously the case. The " +"interpreter now consistently avoids ever adding the import location's parent " +"directory to ``sys.path``, and ensures no other ``sys.path`` entries are " +"inadvertently modified when inserting the import location named on the " +"command line. (Originally reported as :issue:`29723` against Python 3.6rc1, " +"but it was missed at the time that the then upcoming Python 3.5.4 release " +"would also be affected)" +msgstr "" + +#: build/NEWS:38684 +msgid "" +":issue:`30657`: Fixed possible integer overflow in PyBytes_DecodeEscape, :" +"cve:`2017-1000158`. Original patch by Jay Bosamiya; rebased to Python 3 by " +"Miro Hrončok." +msgstr "" + +#: build/NEWS:38711 +msgid "Python 3.5.4 final" +msgstr "" + +#: build/NEWS:38713 +msgid "*Release date: 2017-08-07*" +msgstr "" + +#: build/NEWS:38723 +msgid "Python 3.5.4 release candidate 1" +msgstr "" + +#: build/NEWS:38725 +msgid "*Release date: 2017-07-23*" +msgstr "" + +#: build/NEWS:38777 +msgid "" +":issue:`29537`: Restore runtime compatibility with bytecode files generated " +"by CPython 3.5.0 to 3.5.2, and adjust the eval loop to avoid the problems " +"that could be caused by the malformed variant of the " +"BUILD_MAP_UNPACK_WITH_CALL opcode that they may contain. Patch by Petr " +"Viktorin, Serhiy Storchaka, and Nick Coghlan." +msgstr "" + +#: build/NEWS:39059 +msgid "" +":issue:`30822`: Fix regrtest command line parser to allow passing -u " +"extralargefile to run test_zipfile64." +msgstr "" + +#: build/NEWS:39062 +msgid "" +":issue:`30383`: regrtest: Enhance regrtest and backport features from the " +"master branch. Add options: --coverage, --testdir, --list-tests (list test " +"files, don't run them), --list-cases (list test identifiers, don't run " +"them, :issue:`30523`), --matchfile (load a list of test filters from a text " +"file, :issue:`30540`), --slowest (alias to --slow). Enhance output: add " +"timestamp, test result, currently running tests, \"Tests result: xxx\" " +"summary with total duration, etc. Fix reference leak hunting in regrtest, --" +"huntrleaks: regrtest now warms up caches, create explicitly all internal " +"singletons which are created on demand to prevent false positives when " +"checking for reference leaks. (:issue:`30675`)." +msgstr "" + +#: build/NEWS:39119 +msgid "" +":issue:`27867`: Function PySlice_GetIndicesEx() is replaced with a macro if " +"Py_LIMITED_API is set to the value between 0x03050400 and 0x03060000 (not " +"including) or 0x03060100 or higher." +msgstr "" + +#: build/NEWS:39131 +msgid "Python 3.5.3 final" +msgstr "" + +#: build/NEWS:39133 +msgid "*Release date: 2017-01-17*" +msgstr "" + +#: build/NEWS:39135 +msgid "There were no code changes between 3.5.3rc1 and 3.5.3 final." +msgstr "" + +#: build/NEWS:39140 +msgid "Python 3.5.3 release candidate 1" +msgstr "" + +#: build/NEWS:39142 +msgid "*Release date: 2017-01-02*" +msgstr "" + +#: build/NEWS:39156 +msgid "" +":issue:`29073`: bytearray formatting no longer truncates on first null byte." +msgstr "" + +#: build/NEWS:39160 +msgid "" +":issue:`28147`: Fix a memory leak in split-table dictionaries: setattr() " +"must not convert combined table into split table." +msgstr "" + +#: build/NEWS:39172 +msgid "" +":issue:`28991`: functools.lru_cache() was susceptible to an obscure " +"reentrancy bug caused by a monkey-patched len() function." +msgstr "" + +#: build/NEWS:39215 +msgid "" +":issue:`28203`: Fix incorrect type in error message from ``complex(1.0, " +"{2:3})``. Patch by Soumya Sharma." +msgstr "" + +#: build/NEWS:39230 +msgid "" +":issue:`28189`: dictitems_contains no longer swallows compare errors. (Patch " +"by Xiang Zhang)" +msgstr "" + +#: build/NEWS:39242 +msgid "" +":issue:`26020`: set literal evaluation order did not match documented " +"behaviour." +msgstr "" + +#: build/NEWS:39261 +msgid "" +":issue:`27419`: Standard __import__() no longer look up \"__import__\" in " +"globals or builtins for importing submodules or \"from import\". Fixed " +"handling an error of non-string package name." +msgstr "" + +#: build/NEWS:39313 +msgid "" +":issue:`20191`: Fixed a crash in resource.prlimit() when pass a sequence " +"that doesn't own its elements as limits." +msgstr "" + +#: build/NEWS:39364 +msgid "" +":issue:`28488`: shutil.make_archive() no longer add entry \"./\" to ZIP " +"archive." +msgstr "" + +#: build/NEWS:39402 +msgid "" +":issue:`27611`: Fixed support of default root window in the tkinter.tix " +"module." +msgstr "" + +#: build/NEWS:39428 +msgid "" +":issue:`19003`: m email.generator now replaces only ``\\r`` and/or ``\\n`` " +"line endings, per the RFC, instead of all unicode line endings." +msgstr "" + +#: build/NEWS:39500 +msgid "" +"A new version of typing.py from https://github.com/python/typing: Collection " +"(only for 3.6) (:issue:`27598`). Add FrozenSet to __all__ (upstream #261). " +"Fix crash in _get_type_vars() (upstream #259). Remove the dict constraint in " +"ForwardRef._eval_type (upstream #252)." +msgstr "" + +#: build/NEWS:39516 +msgid "" +":issue:`26750`: unittest.mock.create_autospec() now works properly for " +"subclasses of property() and other data descriptors." +msgstr "" + +#: build/NEWS:39560 +msgid ":issue:`26664`: Fix activate.fish by removing mis-use of ``$``." +msgstr "" + +#: build/NEWS:39562 +msgid "" +":issue:`22115`: Fixed tracing Tkinter variables: trace_vdelete() with wrong " +"mode no longer break tracing, trace_vinfo() now always returns a list of " +"pairs of strings, tracing in the \"u\" mode now works." +msgstr "" + +#: build/NEWS:39566 +msgid "" +"Fix a scoping issue in importlib.util.LazyLoader which triggered an " +"UnboundLocalError when lazy-loading a module that was already put into sys." +"modules." +msgstr "" + +#: build/NEWS:39648 +msgid ":issue:`28600`: Optimize loop.call_soon()." +msgstr "" + +#: build/NEWS:39662 +msgid "" +":issue:`24142`: Reading a corrupt config file left the parser in an invalid " +"state. Original patch by Florian Höch." +msgstr "" + +#: build/NEWS:39665 +msgid "" +":issue:`28990`: Fix SSL hanging if connection is closed before handshake " +"completed. (Patch by HoHo-Ho)" +msgstr "" + +#: build/NEWS:39701 +msgid "" +":issue:`26754`: PyUnicode_FSDecoder() accepted a filename argument encoded " +"as an iterable of integers. Now only strings and bytes-like objects are " +"accepted." +msgstr "" + +#: build/NEWS:39713 +msgid "" +":issue:`28950`: Disallow -j0 to be combined with -T/-l/-M in regrtest " +"command line arguments." +msgstr "" + +#: build/NEWS:39754 +msgid "" +":issue:`27309`: Enabled proper Windows styles in python[w].exe manifest." +msgstr "" + +#: build/NEWS:39787 +msgid "" +":issue:`27983`: Cause lack of llvm-profdata tool when using clang as " +"required for PGO linking to be a configure time error rather than make time " +"when --with-optimizations is enabled. Also improve our ability to find the " +"llvm-profdata tool on MacOS and some Linuxes." +msgstr "" + +#: build/NEWS:39794 +msgid ":issue:`26359`: Add the --with-optimizations configure flag." +msgstr "" + +#: build/NEWS:39799 +msgid "" +":issue:`25825`: Correct the references to Modules/python.exp and ld_so_aix, " +"which are required on AIX. This updates references to an installation path " +"that was changed in 3.2a4, and undoes changed references to the build tree " +"that were made in 3.5.0a1." +msgstr "" + +#: build/NEWS:39822 +msgid "Python 3.5.2 final" +msgstr "" + +#: build/NEWS:39824 +msgid "*Release date: 2016-06-26*" +msgstr "" + +#: build/NEWS:39834 +msgid "" +":issue:`26867`: Ubuntu's openssl OP_NO_SSLv3 is forced on by default; fix " +"test." +msgstr "" + +#: build/NEWS:39839 +msgid "" +":issue:`27365`: Allow non-ascii in idlelib/NEWS.txt - minimal part for 3.5.2." +msgstr "" + +#: build/NEWS:39843 +msgid "Python 3.5.2 release candidate 1" +msgstr "" + +#: build/NEWS:39845 +msgid "*Release date: 2016-06-12*" +msgstr "" + +#: build/NEWS:39883 +msgid "" +":issue:`27039`: Fixed bytearray.remove() for values greater than 127. Patch " +"by Joe Jevnik." +msgstr "" + +#: build/NEWS:39938 +msgid "" +":issue:`26194`: Deque.insert() gave odd results for bounded deques that had " +"reached their maximum size. Now an IndexError will be raised when " +"attempting to insert into a full deque." +msgstr "" + +#: build/NEWS:39942 +msgid "" +":issue:`25843`: When compiling code, don't merge constants if they are equal " +"but have a different types. For example, ``f1, f2 = lambda: 1, lambda: 1.0`` " +"is now correctly compiled to two different functions: ``f1()`` returns ``1`` " +"(``int``) and ``f2()`` returns ``1.0`` (``int``), even if ``1`` and ``1.0`` " +"are equal." +msgstr "" + +#: build/NEWS:40161 +msgid "" +":issue:`21925`: :func:`warnings.formatwarning` now catches exceptions on " +"``linecache.getline(...)`` to be able to log :exc:`ResourceWarning` emitted " +"late during the Python shutdown process." +msgstr "" + +#: build/NEWS:40194 +msgid "" +":issue:`15068`: Got rid of excessive buffering in the fileinput module. The " +"bufsize parameter is no longer used." +msgstr "" + +#: build/NEWS:40223 +msgid "" +":issue:`26367`: importlib.__import__() raises SystemError like builtins." +"__import__() when ``level`` is specified but without an accompanying package " +"specified." +msgstr "" + +#: build/NEWS:40273 +msgid ":issue:`17633`: Improve zipimport's support for namespace packages." +msgstr "" + +#: build/NEWS:40372 +msgid "" +":issue:`27223`: asyncio: Fix _read_ready and _write_ready to respect " +"_conn_lost. Patch by Łukasz Langa." +msgstr "" + +#: build/NEWS:40375 +msgid "" +":issue:`22970`: asyncio: Fix inconsistency cancelling Condition.wait. Patch " +"by David Coles." +msgstr "" + +#: build/NEWS:40411 +msgid "" +":issue:`21703`: Add test for IDLE's undo delegator. Original patch by " +"Saimadhav Heblikar ." +msgstr "" + +#: build/NEWS:40447 +msgid "" +":issue:`25500`: Fix documentation to not claim that __import__ is searched " +"for in the global scope." +msgstr "" + +#: build/NEWS:40468 +msgid "" +":issue:`25940`: Changed test_ssl to use self-signed.pythontest.net. This " +"avoids relying on svn.python.org, which recently changed root certificate." +msgstr "" + +#: build/NEWS:40491 +msgid "" +":issue:`21668`: Link audioop, _datetime, _ctypes_test modules to libm, " +"except on Mac OS X. Patch written by Xavier de Gaye." +msgstr "" + +#: build/NEWS:40515 +msgid "" +":issue:`25348`: Added ``--pgo`` and ``--pgo-job`` arguments to " +"``PCbuild\\build.bat`` for building with Profile-Guided Optimization. The " +"old ``PCbuild\\build_pgo.bat`` script is now deprecated, and simply calls " +"``PCbuild\\build.bat --pgo %*``." +msgstr "" + +#: build/NEWS:40573 +msgid "Python 3.5.1 final" +msgstr "" + +#: build/NEWS:40575 +msgid "*Release date: 2015-12-06*" +msgstr "" + +#: build/NEWS:40586 +msgid "" +":issue:`25715`: Python 3.5.1 installer shows wrong upgrade path and " +"incorrect logic for launcher detection." +msgstr "" + +#: build/NEWS:40591 +msgid "Python 3.5.1 release candidate 1" +msgstr "" + +#: build/NEWS:40593 +msgid "*Release date: 2015-11-22*" +msgstr "" + +#: build/NEWS:40652 +msgid "" +":issue:`25182`: The stdprinter (used as sys.stderr before the io module is " +"imported at startup) now uses the backslashreplace error handler." +msgstr "" + +#: build/NEWS:40655 +msgid "" +":issue:`25131`: Make the line number and column offset of set/dict literals " +"and comprehensions correspond to the opening brace." +msgstr "" + +#: build/NEWS:40658 +msgid "" +":issue:`25150`: Hide the private :samp:`_Py_atomic_{xxx}` symbols from the " +"public Python.h header to fix a compilation error with OpenMP. " +"PyThreadState_GET() becomes an alias to PyThreadState_Get() to avoid ABI " +"incompatibilities." +msgstr "" + +#: build/NEWS:40682 +msgid "" +":issue:`25590`: In the Readline completer, only call getattr() once per " +"attribute." +msgstr "" + +#: build/NEWS:40760 +msgid "" +":issue:`24483`: C implementation of functools.lru_cache() now calculates " +"key's hash only once." +msgstr "" + +#: build/NEWS:40763 +msgid "" +":issue:`22958`: Constructor and update method of weakref.WeakValueDictionary " +"now accept the self and the dict keyword arguments." +msgstr "" + +#: build/NEWS:40766 +msgid "" +":issue:`22609`: Constructor of collections.UserDict now accepts the self " +"keyword argument." +msgstr "" + +#: build/NEWS:40769 +msgid ":issue:`25111`: Fixed comparison of traceback.FrameSummary." +msgstr "" + +#: build/NEWS:40771 +msgid "" +":issue:`25262`: Added support for BINBYTES8 opcode in Python implementation " +"of unpickler. Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8 " +"opcodes no longer silently ignored on 32-bit platforms in C implementation." +msgstr "" + +#: build/NEWS:40776 +msgid "" +":issue:`25034`: Fix string.Formatter problem with auto-numbering and nested " +"format_specs. Patch by Anthon van der Neut." +msgstr "" + +#: build/NEWS:40779 +msgid "" +":issue:`25233`: Rewrite the guts of asyncio.Queue and asyncio.Semaphore to " +"be more understandable and correct." +msgstr "" + +#: build/NEWS:40788 +msgid "" +":issue:`23329`: Allow the ssl module to be built with older versions of " +"LibreSSL." +msgstr "" + +#: build/NEWS:40791 +msgid "Prevent overflow in _Unpickler_Read." +msgstr "" + +#: build/NEWS:40793 +msgid "" +":issue:`25047`: The XML encoding declaration written by Element Tree now " +"respects the letter case given by the user. This restores the ability to " +"write encoding names in uppercase like \"UTF-8\", which worked in Python 2." +msgstr "" + +#: build/NEWS:40797 +msgid "" +":issue:`25135`: Make deque_clear() safer by emptying the deque before " +"clearing. This helps avoid possible reentrancy issues." +msgstr "" + +#: build/NEWS:40800 +msgid "" +":issue:`19143`: platform module now reads Windows version from kernel32.dll " +"to avoid compatibility shims." +msgstr "" + +#: build/NEWS:40803 +msgid "" +":issue:`25092`: Fix datetime.strftime() failure when errno was already set " +"to EINVAL." +msgstr "" + +#: build/NEWS:40806 +msgid "" +":issue:`23517`: Fix rounding in fromtimestamp() and utcfromtimestamp() " +"methods of datetime.datetime: microseconds are now rounded to nearest with " +"ties going to nearest even integer (ROUND_HALF_EVEN), instead of being " +"rounding towards minus infinity (ROUND_FLOOR). It's important that these " +"methods use the same rounding mode than datetime.timedelta to keep the " +"property: (datetime(1970,1,1) + timedelta(seconds=t)) == datetime." +"utcfromtimestamp(t). It also the rounding mode used by round(float) for " +"example." +msgstr "" + +#: build/NEWS:40815 +msgid "" +":issue:`25155`: Fix datetime.datetime.now() and datetime.datetime.utcnow() " +"on Windows to support date after year 2038. It was a regression introduced " +"in Python 3.5.0." +msgstr "" + +#: build/NEWS:40819 +msgid "" +":issue:`25108`: Omitted internal frames in traceback functions " +"print_stack(), format_stack(), and extract_stack() called without arguments." +msgstr "" + +#: build/NEWS:40822 +msgid "" +":issue:`25118`: Fix a regression of Python 3.5.0 in os.waitpid() on Windows." +msgstr "" + +#: build/NEWS:40824 +msgid "" +":issue:`24684`: socket.socket.getaddrinfo() now calls " +"PyUnicode_AsEncodedString() instead of calling the encode() method of the " +"host, to handle correctly custom string with an encode() method which " +"doesn't return a byte string. The encoder of the IDNA codec is now called " +"directly instead of calling the encode() method of the string." +msgstr "" + +#: build/NEWS:40830 +msgid ":issue:`25060`: Correctly compute stack usage of the BUILD_MAP opcode." +msgstr "" + +#: build/NEWS:40832 +msgid "" +":issue:`24857`: Comparing call_args to a long sequence now correctly returns " +"a boolean result instead of raising an exception. Patch by A Kaptur." +msgstr "" + +#: build/NEWS:40835 +msgid "" +":issue:`23144`: Make sure that HTMLParser.feed() returns all the data, even " +"when convert_charrefs is True." +msgstr "" + +#: build/NEWS:40838 +msgid "" +":issue:`24982`: shutil.make_archive() with the \"zip\" format now adds " +"entries for directories (including empty directories) in ZIP file." +msgstr "" + +#: build/NEWS:40841 +msgid "" +":issue:`25019`: Fixed a crash caused by setting non-string key of expat " +"parser. Based on patch by John Leitch." +msgstr "" + +#: build/NEWS:40844 +msgid "" +":issue:`16180`: Exit pdb if file has syntax error, instead of trapping user " +"in an infinite loop. Patch by Xavier de Gaye." +msgstr "" + +#: build/NEWS:40847 +msgid "" +":issue:`24891`: Fix a race condition at Python startup if the file " +"descriptor of stdin (0), stdout (1) or stderr (2) is closed while Python is " +"creating sys.stdin, sys.stdout and sys.stderr objects. These attributes are " +"now set to None if the creation of the object failed, instead of raising an " +"OSError exception. Initial patch written by Marco Paolini." +msgstr "" + +#: build/NEWS:40853 +msgid "" +":issue:`24992`: Fix error handling and a race condition (related to garbage " +"collection) in collections.OrderedDict constructor." +msgstr "" + +#: build/NEWS:40856 +msgid "" +":issue:`24881`: Fixed setting binary mode in Python implementation of FileIO " +"on Windows and Cygwin. Patch from Akira Li." +msgstr "" + +#: build/NEWS:40872 +msgid "" +":issue:`21112`: Fix regression in unittest.expectedFailure on subclasses. " +"Patch from Berker Peksag." +msgstr "" + +#: build/NEWS:40875 +msgid "" +":issue:`24764`: cgi.FieldStorage.read_multi() now ignores the Content-Length " +"header in part headers. Patch written by Peter Landry and reviewed by Pierre " +"Quentel." +msgstr "" + +#: build/NEWS:41144 +msgid "" +":issue:`24913`: Fix overrun error in deque.index(). Found by John Leitch and " +"Bryce Darling." +msgstr "" + +#: build/NEWS:40882 +msgid "" +":issue:`24774`: Fix docstring in http.server.test. Patch from Chiu-Hsiang " +"Hsu." +msgstr "" + +#: build/NEWS:40884 +msgid "" +":issue:`21159`: Improve message in configparser." +"InterpolationMissingOptionError. Patch from Łukasz Langa." +msgstr "" + +#: build/NEWS:40887 +msgid "" +":issue:`20362`: Honour TestCase.longMessage correctly in assertRegex. Patch " +"from Ilia Kurenkov." +msgstr "" + +#: build/NEWS:40890 +msgid "" +":issue:`23572`: Fixed functools.singledispatch on classes with false " +"metaclasses. Patch by Ethan Furman." +msgstr "" + +#: build/NEWS:40893 +msgid "asyncio: ensure_future() now accepts awaitable objects." +msgstr "" + +#: build/NEWS:40981 +msgid "" +":issue:`16893`: Replace help.txt with help.html for Idle doc display. The " +"new idlelib/help.html is rstripped Doc/build/html/library/idle.html. It " +"looks better than help.txt and will better document Idle as released. The " +"tkinter html viewer that works for this file was written by Mark Roseman. " +"The now unused EditorWindow.HelpDialog class and helt.txt file are " +"deprecated." +msgstr "" + +#: build/NEWS:40998 +msgid "" +":issue:`12067`: Rewrite Comparisons section in the Expressions chapter of " +"the language reference. Some of the details of comparing mixed types were " +"incorrect or ambiguous. NotImplemented is only relevant at a lower level " +"than the Expressions chapter. Added details of comparing range() objects, " +"and default behaviour and consistency suggestions for user-defined classes. " +"Patch from Andy Maier." +msgstr "" + +#: build/NEWS:41008 +msgid "" +":issue:`23725`: Overhaul tempfile docs. Note deprecated status of mktemp. " +"Patch from Zbigniew Jędrzejewski-Szmek." +msgstr "" + +#: build/NEWS:41011 +msgid "" +":issue:`24808`: Update the types of some PyTypeObject fields. Patch by " +"Joseph Weston." +msgstr "" + +#: build/NEWS:41014 +msgid "" +":issue:`22812`: Fix unittest discovery examples. Patch from Pam McA'Nulty." +msgstr "" + +#: build/NEWS:41021 +msgid "" +":issue:`25099`: Make test_compileall not fail when an entry on sys.path " +"cannot be written to (commonly seen in administrative installs on Windows)." +msgstr "" + +#: build/NEWS:41024 +msgid ":issue:`23919`: Prevents assert dialogs appearing in the test suite." +msgstr "" + +#: build/NEWS:41032 +msgid "" +":issue:`24915`: Add LLVM support for PGO builds and use the test suite to " +"generate the profile data. Initial patch by Alecsandru Patrascu of Intel." +msgstr "" + +#: build/NEWS:41035 +msgid ":issue:`24910`: Windows MSIs now have unique display names." +msgstr "" + +#: build/NEWS:41043 +msgid "" +":issue:`25450`: Updates shortcuts to start Python in installation directory." +msgstr "" + +#: build/NEWS:41045 +msgid "" +":issue:`25164`: Changes default all-users install directory to match per-" +"user directory." +msgstr "" + +#: build/NEWS:41048 +msgid "" +":issue:`25143`: Improves installer error messages for unsupported platforms." +msgstr "" + +#: build/NEWS:41050 +msgid "" +":issue:`25163`: Display correct directory in installer when using non-" +"default settings." +msgstr "" + +#: build/NEWS:41053 +msgid "" +":issue:`25361`: Disables use of SSE2 instructions in Windows 32-bit build" +msgstr "" + +#: build/NEWS:41055 +msgid "" +":issue:`25089`: Adds logging to installer for case where launcher is not " +"selected on upgrade." +msgstr "" + +#: build/NEWS:41058 +msgid "" +":issue:`25165`: Windows uninstallation should not remove launcher if other " +"versions remain" +msgstr "" + +#: build/NEWS:41061 +msgid ":issue:`25112`: py.exe launcher is missing icons" +msgstr "" + +#: build/NEWS:41063 +msgid ":issue:`25102`: Windows installer does not precompile for -O or -OO." +msgstr "" + +#: build/NEWS:41065 +msgid "" +":issue:`25081`: Makes Back button in installer go back to upgrade page when " +"upgrading." +msgstr "" + +#: build/NEWS:41068 +msgid ":issue:`25091`: Increases font size of the installer." +msgstr "" + +#: build/NEWS:41070 +msgid "" +":issue:`25126`: Clarifies that the non-web installer will download some " +"components." +msgstr "" + +#: build/NEWS:41073 +msgid "" +":issue:`25213`: Restores requestedExecutionLevel to manifest to disable UAC " +"virtualization." +msgstr "" + +#: build/NEWS:41085 +msgid "Python 3.5.0 final" +msgstr "" + +#: build/NEWS:41087 +msgid "*Release date: 2015-09-13*" +msgstr "" + +#: build/NEWS:41092 +msgid "" +":issue:`25071`: Windows installer should not require TargetDir parameter " +"when installing quietly." +msgstr "" + +#: build/NEWS:41097 +msgid "Python 3.5.0 release candidate 4" +msgstr "" + +#: build/NEWS:41099 +msgid "*Release date: 2015-09-09*" +msgstr "" + +#: build/NEWS:41104 +msgid ":issue:`25029`: Fixes MemoryError in test_strptime." +msgstr "" + +#: build/NEWS:41109 +msgid "" +":issue:`25027`: Reverts partial-static build options and adds vcruntime140." +"dll to Windows installation." +msgstr "" + +#: build/NEWS:41114 +msgid "Python 3.5.0 release candidate 3" +msgstr "" + +#: build/NEWS:41116 +msgid "*Release date: 2015-09-07*" +msgstr "" + +#: build/NEWS:41121 +msgid "" +":issue:`24305`: Prevent import subsystem stack frames from being counted by " +"the warnings.warn(stacklevel=) parameter." +msgstr "" + +#: build/NEWS:41124 +msgid "" +":issue:`24912`: Prevent __class__ assignment to immutable built-in objects." +msgstr "" + +#: build/NEWS:41126 +msgid ":issue:`24975`: Fix AST compilation for :pep:`448` syntax." +msgstr "" + +#: build/NEWS:41131 +msgid ":issue:`24917`: time_strftime() buffer over-read." +msgstr "" + +#: build/NEWS:41133 +msgid "" +":issue:`24748`: To resolve a compatibility problem found with py2exe and " +"pywin32, imp.load_dynamic() once again ignores previously loaded modules to " +"support Python modules replacing themselves with extension modules. Patch by " +"Petr Viktorin." +msgstr "" + +#: build/NEWS:41138 +msgid "" +":issue:`24635`: Fixed a bug in typing.py where isinstance([], typing." +"Iterable) would return True once, then False on subsequent calls." +msgstr "" + +#: build/NEWS:41141 +msgid "" +":issue:`24989`: Fixed buffer overread in BytesIO.readline() if a position is " +"set beyond size. Based on patch by John Leitch." +msgstr "" + +#: build/NEWS:41149 +msgid "Python 3.5.0 release candidate 2" +msgstr "" + +#: build/NEWS:41151 +msgid "*Release date: 2015-08-25*" +msgstr "" + +#: build/NEWS:41156 +msgid "" +":issue:`24769`: Interpreter now starts properly when dynamic loading is " +"disabled. Patch by Petr Viktorin." +msgstr "" + +#: build/NEWS:41159 +msgid "" +":issue:`21167`: NAN operations are now handled correctly when python is " +"compiled with ICC even if -fp-model strict is not specified." +msgstr "" + +#: build/NEWS:41162 +msgid "" +":issue:`24492`: A \"package\" lacking a __name__ attribute when trying to " +"perform a ``from .. import ...`` statement will trigger an ImportError " +"instead of an AttributeError." +msgstr "" + +#: build/NEWS:41169 +msgid ":issue:`24847`: Removes vcruntime140.dll dependency from Tcl/Tk." +msgstr "" + +#: build/NEWS:41171 +msgid ":issue:`24839`: platform._syscmd_ver raises DeprecationWarning" +msgstr "" + +#: build/NEWS:41173 +msgid ":issue:`24867`: Fix Task.get_stack() for 'async def' coroutines" +msgstr "" + +#: build/NEWS:41177 +msgid "Python 3.5.0 release candidate 1" +msgstr "" + +#: build/NEWS:41179 +msgid "*Release date: 2015-08-09*" +msgstr "" + +#: build/NEWS:41184 +msgid "" +":issue:`24667`: Resize odict in all cases that the underlying dict resizes." +msgstr "" + +#: build/NEWS:41189 +msgid "" +":issue:`24824`: Signatures of codecs.encode() and codecs.decode() now are " +"compatible with pydoc." +msgstr "" + +#: build/NEWS:41192 +msgid ":issue:`24634`: Importing uuid should not try to load libc on Windows" +msgstr "" + +#: build/NEWS:41194 +msgid ":issue:`24798`: _msvccompiler.py doesn't properly support manifests" +msgstr "" + +#: build/NEWS:41196 +msgid "" +":issue:`4395`: Better testing and documentation of binary operators. Patch " +"by Martin Panter." +msgstr "" + +#: build/NEWS:41199 +msgid ":issue:`23973`: Update typing.py from GitHub repo." +msgstr "" + +#: build/NEWS:41201 +msgid "" +":issue:`23004`: mock_open() now reads binary data correctly when the type of " +"read_data is bytes. Initial patch by Aaron Hill." +msgstr "" + +#: build/NEWS:41204 +msgid ":issue:`23888`: Handle fractional time in cookie expiry. Patch by ssh." +msgstr "" + +#: build/NEWS:41206 +msgid "" +":issue:`23652`: Make it possible to compile the select module against the " +"libc headers from the Linux Standard Base, which do not include some EPOLL " +"macros. Patch by Matt Frank." +msgstr "" + +#: build/NEWS:41210 +msgid "" +":issue:`22932`: Fix timezones in email.utils.formatdate. Patch from Dmitry " +"Shachnev." +msgstr "" + +#: build/NEWS:41213 +msgid "" +":issue:`23779`: imaplib raises TypeError if authenticator tries to abort. " +"Patch from Craig Holmquist." +msgstr "" + +#: build/NEWS:41216 +msgid "" +":issue:`23319`: Fix ctypes.BigEndianStructure, swap correctly bytes. Patch " +"written by Matthieu Gautier." +msgstr "" + +#: build/NEWS:41219 +msgid "" +":issue:`23254`: Document how to close the TCPServer listening socket. Patch " +"from Martin Panter." +msgstr "" + +#: build/NEWS:41222 +msgid "" +":issue:`19450`: Update Windows and OS X installer builds to use SQLite " +"3.8.11." +msgstr "" + +#: build/NEWS:41224 +msgid "" +":issue:`17527`: Add PATCH to wsgiref.validator. Patch from Luca Sbardella." +msgstr "" + +#: build/NEWS:41226 +msgid ":issue:`24791`: Fix grammar regression for call syntax: 'g(\\*a or b)'." +msgstr "" + +#: build/NEWS:41231 +msgid "" +":issue:`23672`: Allow Idle to edit and run files with astral chars in name. " +"Patch by Mohd Sanad Zaki Rizvi." +msgstr "" + +#: build/NEWS:41234 +msgid "" +":issue:`24745`: Idle editor default font. Switch from Courier to platform-" +"sensitive TkFixedFont. This should not affect current customized font " +"selections. If there is a problem, edit $HOME/.idlerc/config-main.cfg and " +"remove ':samp:`font{xxx}`' entries from [Editor Window]. Patch by Mark " +"Roseman." +msgstr "" + +#: build/NEWS:41240 +msgid "" +":issue:`21192`: Idle editor. When a file is run, put its name in the restart " +"bar. Do not print false prompts. Original patch by Adnan Umer." +msgstr "" + +#: build/NEWS:41243 +msgid ":issue:`13884`: Idle menus. Remove tearoff lines. Patch by Roger Serwy." +msgstr "" + +#: build/NEWS:41248 +msgid "" +":issue:`24129`: Clarify the reference documentation for name resolution. " +"This includes removing the assumption that readers will be familiar with the " +"name resolution scheme Python used prior to the introduction of lexical " +"scoping for function namespaces. Patch by Ivan Levkivskyi." +msgstr "" + +#: build/NEWS:41253 +msgid ":issue:`20769`: Improve reload() docs. Patch by Dorian Pula." +msgstr "" + +#: build/NEWS:41255 +msgid "" +":issue:`23589`: Remove duplicate sentence from the FAQ. Patch by Yongzhi " +"Pan." +msgstr "" + +#: build/NEWS:41257 +msgid "" +":issue:`24729`: Correct IO tutorial to match implementation regarding " +"encoding parameter to open function." +msgstr "" + +#: build/NEWS:41263 +msgid "" +":issue:`24751`: When running regrtest with the ``-w`` command line option, a " +"test run is no longer marked as a failure if all tests succeed when re-run." +msgstr "" + +#: build/NEWS:41269 +msgid "Python 3.5.0 beta 4" +msgstr "" + +#: build/NEWS:41271 +msgid "*Release date: 2015-07-26*" +msgstr "" + +#: build/NEWS:41276 +msgid "" +":issue:`23573`: Restored optimization of bytes.rfind() and bytearray.rfind() " +"for single-byte argument on Linux." +msgstr "" + +#: build/NEWS:41279 +msgid ":issue:`24569`: Make :pep:`448` dictionary evaluation more consistent." +msgstr "" + +#: build/NEWS:41281 +msgid ":issue:`24583`: Fix crash when set is mutated while being updated." +msgstr "" + +#: build/NEWS:41283 +msgid ":issue:`24407`: Fix crash when dict is mutated while being updated." +msgstr "" + +#: build/NEWS:41285 +msgid "" +":issue:`24619`: New approach for tokenizing async/await. As a consequence, " +"it is now possible to have one-line 'async def foo(): await ..' functions." +msgstr "" + +#: build/NEWS:41288 +msgid "" +":issue:`24687`: Plug refleak on SyntaxError in function parameters " +"annotations." +msgstr "" + +#: build/NEWS:41290 +msgid "" +":issue:`15944`: memoryview: Allow arbitrary formats when casting to bytes. " +"Patch by Martin Panter." +msgstr "" + +#: build/NEWS:41296 +msgid "" +":issue:`23441`: rcompleter now prints a tab character instead of displaying " +"possible completions for an empty word. Initial patch by Martin Sekera." +msgstr "" + +#: build/NEWS:41299 +msgid "" +":issue:`24683`: Fixed crashes in _json functions called with arguments of " +"inappropriate type." +msgstr "" + +#: build/NEWS:41302 +msgid "" +":issue:`21697`: shutil.copytree() now correctly handles symbolic links that " +"point to directories. Patch by Eduardo Seabra and Thomas Kluyver." +msgstr "" + +#: build/NEWS:41305 +msgid "" +":issue:`14373`: Fixed segmentation fault when gc.collect() is called during " +"constructing lru_cache (C implementation)." +msgstr "" + +#: build/NEWS:41308 +msgid "" +":issue:`24695`: Fix a regression in traceback.print_exception(). If " +"exc_traceback is None we shouldn't print a traceback header like described " +"in the documentation." +msgstr "" + +#: build/NEWS:41312 +msgid "" +":issue:`24620`: Random.setstate() now validates the value of state last " +"element." +msgstr "" + +#: build/NEWS:41315 +msgid "" +":issue:`22485`: Fixed an issue that caused ``inspect.getsource`` to return " +"incorrect results on nested functions." +msgstr "" + +#: build/NEWS:41318 +msgid "" +":issue:`22153`: Improve unittest docs. Patch from Martin Panter and evilzero." +msgstr "" + +#: build/NEWS:41320 +msgid "" +":issue:`24580`: Symbolic group references to open group in re patterns now " +"are explicitly forbidden as well as numeric group references." +msgstr "" + +#: build/NEWS:41323 +msgid ":issue:`24206`: Fixed __eq__ and __ne__ methods of inspect classes." +msgstr "" + +#: build/NEWS:41325 +msgid "" +":issue:`24631`: Fixed regression in the timeit module with multiline setup." +msgstr "" + +#: build/NEWS:41333 +msgid ":issue:`24608`: chunk.Chunk.read() now always returns bytes, not str." +msgstr "" + +#: build/NEWS:41335 +msgid ":issue:`18684`: Fixed reading out of the buffer in the re module." +msgstr "" + +#: build/NEWS:41337 +msgid "" +":issue:`24259`: tarfile now raises a ReadError if an archive is truncated " +"inside a data segment." +msgstr "" + +#: build/NEWS:41340 +msgid "" +":issue:`15014`: SMTP.auth() and SMTP.login() now support RFC 4954's optional " +"initial-response argument to the SMTP AUTH command." +msgstr "" + +#: build/NEWS:41343 +msgid "" +":issue:`24669`: Fix inspect.getsource() for 'async def' functions. Patch by " +"Kai Groner." +msgstr "" + +#: build/NEWS:41346 +msgid ":issue:`24688`: ast.get_docstring() for 'async def' functions." +msgstr "" + +#: build/NEWS:41351 +msgid "" +":issue:`24603`: Update Windows builds and OS X 10.5 installer to use OpenSSL " +"1.0.2d." +msgstr "" + +#: build/NEWS:41356 +msgid "Python 3.5.0 beta 3" +msgstr "" + +#: build/NEWS:41358 +msgid "*Release date: 2015-07-05*" +msgstr "" + +#: build/NEWS:41363 +msgid "" +":issue:`24467`: Fixed possible buffer over-read in bytearray. The bytearray " +"object now always allocates place for trailing null byte and it's buffer now " +"is always null-terminated." +msgstr "" + +#: build/NEWS:41367 +msgid "Upgrade to Unicode 8.0.0." +msgstr "" + +#: build/NEWS:41369 +msgid ":issue:`24345`: Add Py_tp_finalize slot for the stable ABI." +msgstr "" + +#: build/NEWS:41371 +msgid "" +":issue:`24400`: Introduce a distinct type for :pep:`492` coroutines; add " +"types.CoroutineType, inspect.getcoroutinestate, inspect.getcoroutinelocals; " +"coroutines no longer use CO_GENERATOR flag; sys.set_coroutine_wrapper works " +"only for 'async def' coroutines; inspect.iscoroutine no longer uses " +"collections.abc.Coroutine, it's intended to test for pure 'async def' " +"coroutines only; add new opcode: GET_YIELD_FROM_ITER; fix generators wrapper " +"used in types.coroutine to be instance of collections.abc.Generator; " +"collections.abc.Awaitable and collections.abc.Coroutine can no longer be " +"used to detect generator-based coroutines--use inspect.isawaitable instead." +msgstr "" + +#: build/NEWS:41382 +msgid "" +":issue:`24450`: Add gi_yieldfrom to generators and cr_await to coroutines. " +"Contributed by Benno Leslie and Yury Selivanov." +msgstr "" + +#: build/NEWS:41385 +msgid "" +":issue:`19235`: Add new RecursionError exception. Patch by Georg Brandl." +msgstr "" + +#: build/NEWS:41390 +msgid "" +":issue:`21750`: mock_open.read_data can now be read from each instance, as " +"it could in Python 3.3." +msgstr "" + +#: build/NEWS:41393 +msgid "" +":issue:`24552`: Fix use after free in an error case of the _pickle module." +msgstr "" + +#: build/NEWS:41395 +msgid "" +":issue:`24514`: tarfile now tolerates number fields consisting of only " +"whitespace." +msgstr "" + +#: build/NEWS:41398 +msgid "" +":issue:`19176`: Fixed doctype() related bugs in C implementation of " +"ElementTree. A deprecation warning no longer issued by XMLParser subclass " +"with default doctype() method. Direct call of doctype() now issues a " +"warning. Parser's doctype() now is not called if target's doctype() is " +"called. Based on patch by Martin Panter." +msgstr "" + +#: build/NEWS:41404 +msgid "" +":issue:`20387`: Restore semantic round-trip correctness in tokenize/" +"untokenize for tab-indented blocks." +msgstr "" + +#: build/NEWS:41407 +msgid "" +":issue:`24456`: Fixed possible buffer over-read in adpcm2lin() and " +"lin2adpcm() functions of the audioop module." +msgstr "" + +#: build/NEWS:41410 +msgid "" +":issue:`24336`: The contextmanager decorator now works with functions with " +"keyword arguments called \"func\" and \"self\". Patch by Martin Panter." +msgstr "" + +#: build/NEWS:41413 +msgid "" +":issue:`24522`: Fix possible integer overflow in json accelerator module." +msgstr "" + +#: build/NEWS:41415 +msgid "" +":issue:`24489`: ensure a previously set C errno doesn't disturb cmath." +"polar()." +msgstr "" + +#: build/NEWS:41417 +msgid "" +":issue:`24408`: Fixed AttributeError in measure() and metrics() methods of " +"tkinter.Font." +msgstr "" + +#: build/NEWS:41420 +msgid "" +":issue:`14373`: C implementation of functools.lru_cache() now can be used " +"with methods." +msgstr "" + +#: build/NEWS:41423 +msgid ":issue:`24347`: Set KeyError if PyDict_GetItemWithError returns NULL." +msgstr "" + +#: build/NEWS:41425 +msgid ":issue:`24348`: Drop superfluous incref/decref." +msgstr "" + +#: build/NEWS:41427 +msgid ":issue:`24359`: Check for changed OrderedDict size during iteration." +msgstr "" + +#: build/NEWS:41429 +msgid ":issue:`24368`: Support keyword arguments in OrderedDict methods." +msgstr "" + +#: build/NEWS:41431 +msgid ":issue:`24362`: Simplify the C OrderedDict fast nodes resize logic." +msgstr "" + +#: build/NEWS:41433 +msgid ":issue:`24377`: Fix a ref leak in OrderedDict.__repr__." +msgstr "" + +#: build/NEWS:41435 +msgid ":issue:`24369`: Defend against key-changes during iteration." +msgstr "" + +#: build/NEWS:41440 +msgid "" +":issue:`24373`: _testmultiphase and xxlimited now use tp_traverse and " +"tp_finalize to avoid reference leaks encountered when combining tp_dealloc " +"with PyType_FromSpec (see :issue:`16690` for details)" +msgstr "" + +#: build/NEWS:41447 +msgid "" +":issue:`24458`: Update documentation to cover multi-phase initialization for " +"extension modules (PEP 489). Patch by Petr Viktorin." +msgstr "" + +#: build/NEWS:41450 +msgid "" +":issue:`24351`: Clarify what is meant by \"identifier\" in the context of " +"string.Template instances." +msgstr "" + +#: build/NEWS:41456 +msgid "" +":issue:`24432`: Update Windows builds and OS X 10.5 installer to use OpenSSL " +"1.0.2c." +msgstr "" + +#: build/NEWS:41461 +msgid "Python 3.5.0 beta 2" +msgstr "" + +#: build/NEWS:41463 +msgid "*Release date: 2015-05-31*" +msgstr "" + +#: build/NEWS:41468 +msgid "" +":issue:`24284`: The startswith and endswith methods of the str class no " +"longer return True when finding the empty string and the indexes are " +"completely out of range." +msgstr "" + +#: build/NEWS:41472 +msgid "" +":issue:`24115`: Update uses of PyObject_IsTrue(), PyObject_Not(), " +"PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains() to " +"check for and handle errors correctly." +msgstr "" + +#: build/NEWS:41476 +msgid ":issue:`24328`: Fix importing one character extension modules." +msgstr "" + +#: build/NEWS:41478 +msgid "" +":issue:`11205`: In dictionary displays, evaluate the key before the value." +msgstr "" + +#: build/NEWS:41480 +msgid "" +":issue:`24285`: Fixed regression that prevented importing extension modules " +"from inside packages. Patch by Petr Viktorin." +msgstr "" + +#: build/NEWS:41486 +msgid ":issue:`23247`: Fix a crash in the StreamWriter.reset() of CJK codecs." +msgstr "" + +#: build/NEWS:41488 +msgid "" +":issue:`24270`: Add math.isclose() and cmath.isclose() functions as per :pep:" +"`485`. Contributed by Chris Barker and Tal Einat." +msgstr "" + +#: build/NEWS:41491 +msgid "" +":issue:`5633`: Fixed timeit when the statement is a string and the setup is " +"not." +msgstr "" + +#: build/NEWS:41494 +msgid "" +":issue:`24326`: Fixed audioop.ratecv() with non-default weightB argument. " +"Original patch by David Moore." +msgstr "" + +#: build/NEWS:41497 +msgid ":issue:`16991`: Add a C implementation of OrderedDict." +msgstr "" + +#: build/NEWS:41499 +msgid "" +":issue:`23934`: Fix inspect.signature to fail correctly for builtin types " +"lacking signature information. Initial patch by James Powell." +msgstr "" + +#: build/NEWS:41504 +msgid "Python 3.5.0 beta 1" +msgstr "" + +#: build/NEWS:41506 +msgid "*Release date: 2015-05-24*" +msgstr "" + +#: build/NEWS:41511 +msgid ":issue:`24276`: Fixed optimization of property descriptor getter." +msgstr "" + +#: build/NEWS:41513 +msgid "" +":issue:`24268`: PEP 489: Multi-phase extension module initialization. Patch " +"by Petr Viktorin." +msgstr "" + +#: build/NEWS:41516 +msgid "" +":issue:`23955`: Add pyvenv.cfg option to suppress registry/environment " +"lookup for generating sys.path on Windows." +msgstr "" + +#: build/NEWS:41519 +msgid "" +":issue:`24257`: Fixed system error in the comparison of faked types." +"SimpleNamespace." +msgstr "" + +#: build/NEWS:41522 +msgid "" +":issue:`22939`: Fixed integer overflow in iterator object. Patch by Clement " +"Rouault." +msgstr "" + +#: build/NEWS:41525 +msgid "" +":issue:`23985`: Fix a possible buffer overrun when deleting a slice from the " +"front of a bytearray and then appending some other bytes data." +msgstr "" + +#: build/NEWS:41528 +msgid "" +":issue:`24102`: Fixed exception type checking in standard error handlers." +msgstr "" + +#: build/NEWS:41530 +msgid ":issue:`15027`: The UTF-32 encoder is now 3x to 7x faster." +msgstr "" + +#: build/NEWS:41532 +msgid "" +":issue:`23290`: Optimize set_merge() for cases where the target is empty. " +"(Contributed by Serhiy Storchaka.)" +msgstr "" + +#: build/NEWS:41535 +msgid ":issue:`2292`: PEP 448: Additional Unpacking Generalizations." +msgstr "" + +#: build/NEWS:41537 +msgid "" +":issue:`24096`: Make warnings.warn_explicit more robust against mutation of " +"the warnings.filters list." +msgstr "" + +#: build/NEWS:41540 +msgid "" +":issue:`23996`: Avoid a crash when a delegated generator raises an " +"unnormalized StopIteration exception. Patch by Stefan Behnel." +msgstr "" + +#: build/NEWS:41543 +msgid ":issue:`23910`: Optimize property() getter calls. Patch by Joe Jevnik." +msgstr "" + +#: build/NEWS:41545 +msgid "" +":issue:`23911`: Move path-based importlib bootstrap code to a separate " +"frozen module." +msgstr "" + +#: build/NEWS:41548 +msgid ":issue:`24192`: Fix namespace package imports." +msgstr "" + +#: build/NEWS:41550 +msgid "" +":issue:`24022`: Fix tokenizer crash when processing undecodable source code." +msgstr "" + +#: build/NEWS:41552 +msgid "" +":issue:`9951`: Added a hex() method to bytes, bytearray, and memoryview." +msgstr "" + +#: build/NEWS:41554 +msgid "" +":issue:`22906`: PEP 479: Change StopIteration handling inside generators." +msgstr "" + +#: build/NEWS:41556 +msgid ":issue:`24017`: PEP 492: Coroutines with async and await syntax." +msgstr "" + +#: build/NEWS:41561 +msgid "" +":issue:`14373`: Added C implementation of functools.lru_cache(). Based on " +"patches by Matt Joiner and Alexey Kachayev." +msgstr "" + +#: build/NEWS:41564 +msgid "" +":issue:`24230`: The tempfile module now accepts bytes for prefix, suffix and " +"dir parameters and returns bytes in such situations (matching the os module " +"APIs)." +msgstr "" + +#: build/NEWS:41568 +msgid "" +":issue:`22189`: collections.UserString now supports __getnewargs__(), " +"__rmod__(), casefold(), format_map(), isprintable(), and maketrans(). Patch " +"by Joe Jevnik." +msgstr "" + +#: build/NEWS:41572 +msgid "" +":issue:`24244`: Prevents termination when an invalid format string is " +"encountered on Windows in strftime." +msgstr "" + +#: build/NEWS:41575 +msgid ":issue:`23973`: PEP 484: Add the typing module." +msgstr "" + +#: build/NEWS:41577 +msgid "" +":issue:`23086`: The collections.abc.Sequence() abstract base class added " +"*start* and *stop* parameters to the index() mixin. Patch by Devin " +"Jeanpierre." +msgstr "" + +#: build/NEWS:41581 +msgid "" +":issue:`20035`: Replaced the ``tkinter._fix`` module used for setting up the " +"Tcl/Tk environment on Windows with a private function in the ``_tkinter`` " +"module that makes no permanent changes to the environment." +msgstr "" + +#: build/NEWS:41585 +msgid "" +":issue:`24257`: Fixed segmentation fault in sqlite3.Row constructor with " +"faked cursor type." +msgstr "" + +#: build/NEWS:41588 +msgid "" +":issue:`15836`: assertRaises(), assertRaisesRegex(), assertWarns() and " +"assertWarnsRegex() assertments now check the type of the first argument to " +"prevent possible user error. Based on patch by Daniel Wagner-Hall." +msgstr "" + +#: build/NEWS:41592 +msgid "" +":issue:`9858`: Add missing method stubs to _io.RawIOBase. Patch by Laura " +"Rupprecht." +msgstr "" + +#: build/NEWS:41595 +msgid "" +":issue:`22955`: attrgetter, itemgetter and methodcaller objects in the " +"operator module now support pickling. Added readable and evaluable repr for " +"these objects. Based on patch by Josh Rosenberg." +msgstr "" + +#: build/NEWS:41599 +msgid "" +":issue:`22107`: tempfile.gettempdir() and tempfile.mkdtemp() now try again " +"when a directory with the chosen name already exists on Windows as well as " +"on Unix. tempfile.mkstemp() now fails early if parent directory is not valid " +"(not exists or is a file) on Windows." +msgstr "" + +#: build/NEWS:41604 +msgid "" +":issue:`23780`: Improved error message in os.path.join() with single " +"argument." +msgstr "" + +#: build/NEWS:41606 +msgid "" +":issue:`6598`: Increased time precision and random number range in email." +"utils.make_msgid() to strengthen the uniqueness of the message ID." +msgstr "" + +#: build/NEWS:41609 +msgid "" +":issue:`24091`: Fixed various crashes in corner cases in C implementation of " +"ElementTree." +msgstr "" + +#: build/NEWS:41612 +msgid "" +":issue:`21931`: msilib.FCICreate() now raises TypeError in the case of a bad " +"argument instead of a ValueError with a bogus FCI error number. Patch by " +"Jeffrey Armstrong." +msgstr "" + +#: build/NEWS:41616 +msgid ":issue:`13866`: *quote_via* argument added to urllib.parse.urlencode." +msgstr "" + +#: build/NEWS:41618 +msgid "" +":issue:`20098`: New mangle_from policy option for email, default True for " +"compat32, but False for all other policies." +msgstr "" + +#: build/NEWS:41621 +msgid "" +":issue:`24211`: The email library now supports RFC 6532: it can generate " +"headers using utf-8 instead of encoded words." +msgstr "" + +#: build/NEWS:41624 +msgid ":issue:`16314`: Added support for the LZMA compression in distutils." +msgstr "" + +#: build/NEWS:41626 +msgid ":issue:`21804`: poplib now supports RFC 6856 (UTF8)." +msgstr "" + +#: build/NEWS:41628 +msgid ":issue:`18682`: Optimized pprint functions for builtin scalar types." +msgstr "" + +#: build/NEWS:41630 +msgid ":issue:`22027`: smtplib now supports RFC 6531 (SMTPUTF8)." +msgstr "" + +#: build/NEWS:41632 +msgid "" +":issue:`23488`: Random generator objects now consume 2x less memory on 64-" +"bit." +msgstr "" + +#: build/NEWS:41634 +msgid "" +":issue:`1322`: platform.dist() and platform.linux_distribution() functions " +"are now deprecated. Initial patch by Vajrasky Kok." +msgstr "" + +#: build/NEWS:41637 +msgid "" +":issue:`22486`: Added the math.gcd() function. The fractions.gcd() function " +"now is deprecated. Based on patch by Mark Dickinson." +msgstr "" + +#: build/NEWS:41640 +msgid "" +":issue:`24064`: Property() docstrings are now writeable. (Patch by Berker " +"Peksag.)" +msgstr "" + +#: build/NEWS:41643 +msgid ":issue:`22681`: Added support for the koi8_t encoding." +msgstr "" + +#: build/NEWS:41645 +msgid ":issue:`22682`: Added support for the kz1048 encoding." +msgstr "" + +#: build/NEWS:41647 +msgid "" +":issue:`23796`: peek and read1 methods of BufferedReader now raise " +"ValueError if they called on a closed object. Patch by John Hergenroeder." +msgstr "" + +#: build/NEWS:41650 +msgid "" +":issue:`21795`: smtpd now supports the 8BITMIME extension whenever the new " +"*decode_data* constructor argument is set to False." +msgstr "" + +#: build/NEWS:41653 +msgid "" +":issue:`24155`: optimize heapq.heapify() for better cache performance when " +"heapifying large lists." +msgstr "" + +#: build/NEWS:41656 +msgid "" +":issue:`21800`: imaplib now supports RFC 5161 (enable), RFC 6855 (utf8/" +"internationalized email) and automatically encodes non-ASCII usernames and " +"passwords to UTF8." +msgstr "" + +#: build/NEWS:41660 +msgid "" +":issue:`20274`: When calling a _sqlite.Connection, it now complains if " +"passed any keyword arguments. Previously it silently ignored them." +msgstr "" + +#: build/NEWS:41663 +msgid "" +":issue:`20274`: Remove ignored and erroneous \"kwargs\" parameters from " +"three METH_VARARGS methods on _sqlite.Connection." +msgstr "" + +#: build/NEWS:41666 +msgid "" +":issue:`24134`: assertRaises(), assertRaisesRegex(), assertWarns() and " +"assertWarnsRegex() checks now emits a deprecation warning when callable is " +"None or keyword arguments except msg is passed in the context manager mode." +msgstr "" + +#: build/NEWS:41671 +msgid "" +":issue:`24018`: Add a collections.abc.Generator abstract base class. " +"Contributed by Stefan Behnel." +msgstr "" + +#: build/NEWS:41674 +msgid "" +":issue:`23880`: Tkinter's getint() and getdouble() now support Tcl_Obj. " +"Tkinter's getdouble() now supports any numbers (in particular int)." +msgstr "" + +#: build/NEWS:41677 +msgid "" +":issue:`22619`: Added negative limit support in the traceback module. Based " +"on patch by Dmitry Kazakov." +msgstr "" + +#: build/NEWS:41680 +msgid "" +":issue:`24094`: Fix possible crash in json.encode with poorly behaved dict " +"subclasses." +msgstr "" + +#: build/NEWS:41683 +msgid "" +":issue:`9246`: On POSIX, os.getcwd() now supports paths longer than 1025 " +"bytes. Patch written by William Orr." +msgstr "" + +#: build/NEWS:41686 +msgid "" +":issue:`17445`: add difflib.diff_bytes() to support comparison of byte " +"strings (fixes a regression from Python 2)." +msgstr "" + +#: build/NEWS:41689 +msgid "" +":issue:`23917`: Fall back to sequential compilation when ProcessPoolExecutor " +"doesn't exist. Patch by Claudiu Popa." +msgstr "" + +#: build/NEWS:41692 +msgid "" +":issue:`23008`: Fixed resolving attributes with boolean value is False in " +"pydoc." +msgstr "" + +#: build/NEWS:41695 +msgid "" +"Fix asyncio issue 235: LifoQueue and PriorityQueue's put didn't increment " +"unfinished tasks (this bug was introduced when JoinableQueue was merged with " +"Queue)." +msgstr "" + +#: build/NEWS:41699 +msgid "" +":issue:`23908`: os functions now reject paths with embedded null character " +"on Windows instead of silently truncating them." +msgstr "" + +#: build/NEWS:41702 +msgid "" +":issue:`23728`: binascii.crc_hqx() could return an integer outside of the " +"range 0-0xffff for empty data." +msgstr "" + +#: build/NEWS:41705 +msgid "" +":issue:`23887`: urllib.error.HTTPError now has a proper repr() " +"representation. Patch by Berker Peksag." +msgstr "" + +#: build/NEWS:41708 +msgid "" +"asyncio: New event loop APIs: set_task_factory() and get_task_factory()." +msgstr "" + +#: build/NEWS:41710 +msgid "asyncio: async() function is deprecated in favour of ensure_future()." +msgstr "" + +#: build/NEWS:41712 +msgid "" +":issue:`24178`: asyncio.Lock, Condition, Semaphore, and BoundedSemaphore " +"support new 'async with' syntax. Contributed by Yury Selivanov." +msgstr "" + +#: build/NEWS:41715 +msgid "" +":issue:`24179`: Support 'async for' for asyncio.StreamReader. Contributed by " +"Yury Selivanov." +msgstr "" + +#: build/NEWS:41718 +msgid "" +":issue:`24184`: Add AsyncIterator and AsyncIterable ABCs to collections.abc. " +"Contributed by Yury Selivanov." +msgstr "" + +#: build/NEWS:41721 +msgid "" +":issue:`22547`: Implement informative __repr__ for inspect.BoundArguments. " +"Contributed by Yury Selivanov." +msgstr "" + +#: build/NEWS:41724 +msgid "" +":issue:`24190`: Implement inspect.BoundArgument.apply_defaults() method. " +"Contributed by Yury Selivanov." +msgstr "" + +#: build/NEWS:41727 +msgid "" +":issue:`20691`: Add 'follow_wrapped' argument to inspect.Signature." +"from_callable() and inspect.signature(). Contributed by Yury Selivanov." +msgstr "" + +#: build/NEWS:41731 +msgid "" +":issue:`24248`: Deprecate inspect.Signature.from_function() and inspect." +"Signature.from_builtin()." +msgstr "" + +#: build/NEWS:41734 +msgid "" +":issue:`23898`: Fix inspect.classify_class_attrs() to support attributes " +"with overloaded __eq__ and __bool__. Patch by Mike Bayer." +msgstr "" + +#: build/NEWS:41737 +msgid "" +":issue:`24298`: Fix inspect.signature() to correctly unwrap wrappers around " +"bound methods." +msgstr "" + +#: build/NEWS:41743 +msgid "" +":issue:`23184`: remove unused names and imports in idlelib. Initial patch by " +"Al Sweigart." +msgstr "" + +#: build/NEWS:41749 +msgid "" +":issue:`21520`: test_zipfile no longer fails if the word 'bad' appears " +"anywhere in the name of the current directory." +msgstr "" + +#: build/NEWS:41752 +msgid "" +":issue:`9517`: Move script_helper into the support package. Patch by " +"Christie Wilson." +msgstr "" + +#: build/NEWS:41758 +msgid "" +":issue:`22155`: Add File Handlers subsection with createfilehandler to " +"tkinter doc. Remove obsolete example from FAQ. Patch by Martin Panter." +msgstr "" + +#: build/NEWS:41761 +msgid "" +":issue:`24029`: Document the name binding behavior for submodule imports." +msgstr "" + +#: build/NEWS:41763 +msgid ":issue:`24077`: Fix typo in man page for -I command option: -s, not -S" +msgstr "" + +#: build/NEWS:41768 +msgid "" +":issue:`24000`: Improved Argument Clinic's mapping of converters to legacy " +"\"format units\". Updated the documentation to match." +msgstr "" + +#: build/NEWS:41771 +msgid "" +":issue:`24001`: Argument Clinic converters now use accept={type} instead of " +"types={'type'} to specify the types the converter accepts." +msgstr "" + +#: build/NEWS:41774 +msgid ":issue:`23330`: h2py now supports arbitrary filenames in #include." +msgstr "" + +#: build/NEWS:41776 +msgid ":issue:`24031`: make patchcheck now supports git checkouts, too." +msgstr "" + +#: build/NEWS:41780 +msgid "Python 3.5.0 alpha 4" +msgstr "" + +#: build/NEWS:41782 +msgid "*Release date: 2015-04-19*" +msgstr "" + +#: build/NEWS:41787 +msgid "" +":issue:`22980`: Under Linux, GNU/KFreeBSD and the Hurd, C extensions now " +"include the architecture triplet in the extension name, to make it easy to " +"test builds for different ABIs in the same working tree. Under OS X, the " +"extension name now includes :pep:`3149`-style information." +msgstr "" + +#: build/NEWS:41792 +msgid "" +":issue:`22631`: Added Linux-specific socket constant CAN_RAW_FD_FRAMES. " +"Patch courtesy of Joe Jevnik." +msgstr "" + +#: build/NEWS:41795 +msgid ":issue:`23731`: Implement :pep:`488`: removal of .pyo files." +msgstr "" + +#: build/NEWS:41797 +msgid "" +":issue:`23726`: Don't enable GC for user subclasses of non-GC types that " +"don't add any new fields. Patch by Eugene Toder." +msgstr "" + +#: build/NEWS:41800 +msgid "" +":issue:`23309`: Avoid a deadlock at shutdown if a daemon thread is aborted " +"while it is holding a lock to a buffered I/O object, and the main thread " +"tries to use the same I/O object (typically stdout or stderr). A fatal " +"error is emitted instead." +msgstr "" + +#: build/NEWS:41805 +msgid "" +":issue:`22977`: Fixed formatting Windows error messages on Wine. Patch by " +"Martin Panter." +msgstr "" + +#: build/NEWS:41808 +msgid "" +":issue:`23466`: %c, %o, %x, and %X in bytes formatting now raise TypeError " +"on non-integer input." +msgstr "" + +#: build/NEWS:41811 +msgid "" +":issue:`24044`: Fix possible null pointer dereference in list.sort in out of " +"memory conditions." +msgstr "" + +#: build/NEWS:41814 +msgid "" +":issue:`21354`: PyCFunction_New function is exposed by python DLL again." +msgstr "" + +#: build/NEWS:41819 +msgid "" +":issue:`23840`: tokenize.open() now closes the temporary binary file on " +"error to fix a resource warning." +msgstr "" + +#: build/NEWS:41822 +msgid "" +":issue:`16914`: new debuglevel 2 in smtplib adds timestamps to debug output." +msgstr "" + +#: build/NEWS:41824 +msgid "" +":issue:`7159`: urllib.request now supports sending auth credentials " +"automatically after the first 401. This enhancement is a superset of the " +"enhancement from :issue:`19494` and supersedes that change." +msgstr "" + +#: build/NEWS:41828 +msgid "" +":issue:`23703`: Fix a regression in urljoin() introduced in 901e4e52b20a. " +"Patch by Demian Brecht." +msgstr "" + +#: build/NEWS:41831 +msgid ":issue:`4254`: Adds _curses.update_lines_cols(). Patch by Arnon Yaari" +msgstr "" + +#: build/NEWS:41833 +msgid "" +":issue:`19933`: Provide default argument for ndigits in round. Patch by " +"Vajrasky Kok." +msgstr "" + +#: build/NEWS:41836 +msgid "" +":issue:`23193`: Add a numeric_owner parameter to tarfile.TarFile.extract and " +"tarfile.TarFile.extractall. Patch by Michael Vogt and Eric Smith." +msgstr "" + +#: build/NEWS:41839 +msgid "" +":issue:`23342`: Add a subprocess.run() function than returns a CalledProcess " +"instance for a more consistent API than the existing call* functions." +msgstr "" + +#: build/NEWS:41842 +msgid "" +":issue:`21217`: inspect.getsourcelines() now tries to compute the start and " +"end lines from the code object, fixing an issue when a lambda function is " +"used as decorator argument. Patch by Thomas Ballinger and Allison Kaptur." +msgstr "" + +#: build/NEWS:41846 +msgid ":issue:`24521`: Fix possible integer overflows in the pickle module." +msgstr "" + +#: build/NEWS:41848 +msgid ":issue:`22931`: Allow '[' and ']' in cookie values." +msgstr "" + +#: build/NEWS:41850 +msgid "The keywords attribute of functools.partial is now always a dictionary." +msgstr "" + +#: build/NEWS:41852 +msgid "" +":issue:`23811`: Add missing newline to the PyCompileError error message. " +"Patch by Alex Shkop." +msgstr "" + +#: build/NEWS:41855 +msgid "" +":issue:`21116`: Avoid blowing memory when allocating a multiprocessing " +"shared array that's larger than 50% of the available RAM. Patch by Médéric " +"Boquien." +msgstr "" + +#: build/NEWS:41859 +msgid "" +":issue:`22982`: Improve BOM handling when seeking to multiple positions of a " +"writable text file." +msgstr "" + +#: build/NEWS:41862 +msgid ":issue:`23464`: Removed deprecated asyncio JoinableQueue." +msgstr "" + +#: build/NEWS:41864 +msgid "" +":issue:`23529`: Limit the size of decompressed data when reading from " +"GzipFile, BZ2File or LZMAFile. This defeats denial of service attacks using " +"compressed bombs (i.e. compressed payloads which decompress to a huge " +"size). Patch by Martin Panter and Nikolaus Rath." +msgstr "" + +#: build/NEWS:41869 +msgid ":issue:`21859`: Added Python implementation of io.FileIO." +msgstr "" + +#: build/NEWS:41871 +msgid "" +":issue:`23865`: close() methods in multiple modules now are idempotent and " +"more robust at shutdown. If they need to release multiple resources, all are " +"released even if errors occur." +msgstr "" + +#: build/NEWS:41875 +msgid "" +":issue:`23400`: Raise same exception on both Python 2 and 3 if sem_open is " +"not available. Patch by Davin Potts." +msgstr "" + +#: build/NEWS:41878 +msgid "" +":issue:`10838`: The subprocess now module includes SubprocessError and " +"TimeoutError in its list of exported names for the users wild enough to use " +"``from subprocess import *``." +msgstr "" + +#: build/NEWS:41882 +msgid "" +":issue:`23411`: Added DefragResult, ParseResult, SplitResult, " +"DefragResultBytes, ParseResultBytes, and SplitResultBytes to urllib.parse." +"__all__. Patch by Martin Panter." +msgstr "" + +#: build/NEWS:41886 +msgid "" +":issue:`23881`: urllib.request.ftpwrapper constructor now closes the socket " +"if the FTP connection failed to fix a ResourceWarning." +msgstr "" + +#: build/NEWS:41889 +msgid "" +":issue:`23853`: :meth:`socket.socket.sendall` does no more reset the socket " +"timeout each time data is sent successfully. The socket timeout is now the " +"maximum total duration to send all data." +msgstr "" + +#: build/NEWS:41893 +msgid "" +":issue:`22721`: An order of multiline pprint output of set or dict " +"containing orderable and non-orderable elements no longer depends on " +"iteration order of set or dict." +msgstr "" + +#: build/NEWS:41897 +msgid "" +":issue:`15133`: _tkinter.tkapp.getboolean() now supports Tcl_Obj and always " +"returns bool. tkinter.BooleanVar now validates input values (accepted bool, " +"int, str, and Tcl_Obj). tkinter.BooleanVar.get() now always returns bool." +msgstr "" + +#: build/NEWS:41902 +msgid ":issue:`10590`: xml.sax.parseString() now supports string argument." +msgstr "" + +#: build/NEWS:41904 +msgid "" +":issue:`23338`: Fixed formatting ctypes error messages on Cygwin. Patch by " +"Makoto Kato." +msgstr "" + +#: build/NEWS:41907 +msgid ":issue:`15582`: inspect.getdoc() now follows inheritance chains." +msgstr "" + +#: build/NEWS:41909 +msgid "" +":issue:`2175`: SAX parsers now support a character stream of InputSource " +"object." +msgstr "" + +#: build/NEWS:41912 +msgid "" +":issue:`16840`: Tkinter now supports 64-bit integers added in Tcl 8.4 and " +"arbitrary precision integers added in Tcl 8.5." +msgstr "" + +#: build/NEWS:41915 +msgid "" +":issue:`23834`: Fix socket.sendto(), use the C Py_ssize_t type to store the " +"result of sendto() instead of the C int type." +msgstr "" + +#: build/NEWS:41918 +msgid "" +":issue:`23618`: :meth:`socket.socket.connect` now waits until the connection " +"completes instead of raising :exc:`InterruptedError` if the connection is " +"interrupted by signals, signal handlers don't raise an exception and the " +"socket is blocking or has a timeout. :meth:`socket.socket.connect` still " +"raise :exc:`InterruptedError` for non-blocking sockets." +msgstr "" + +#: build/NEWS:41924 +msgid ":issue:`21526`: Tkinter now supports new boolean type in Tcl 8.5." +msgstr "" + +#: build/NEWS:41926 +msgid "" +":issue:`23836`: Fix the faulthandler module to handle reentrant calls to its " +"signal handlers." +msgstr "" + +#: build/NEWS:41929 +msgid "" +":issue:`23838`: linecache now clears the cache and returns an empty result " +"on MemoryError." +msgstr "" + +#: build/NEWS:41932 +msgid "" +":issue:`10395`: Added os.path.commonpath(). Implemented in posixpath and " +"ntpath. Based on patch by Rafik Draoui." +msgstr "" + +#: build/NEWS:41935 +msgid "" +":issue:`23611`: Serializing more \"lookupable\" objects (such as unbound " +"methods or nested classes) now are supported with pickle protocols < 4." +msgstr "" + +#: build/NEWS:41938 +msgid ":issue:`13583`: sqlite3.Row now supports slice indexing." +msgstr "" + +#: build/NEWS:41940 +msgid "" +":issue:`18473`: Fixed 2to3 and 3to2 compatible pickle mappings. Fixed " +"ambiguous reverse mappings. Added many new mappings. Import mapping is no " +"longer applied to modules already mapped with full name mapping." +msgstr "" + +#: build/NEWS:41944 +msgid "" +":issue:`23485`: select.select() is now retried automatically with the " +"recomputed timeout when interrupted by a signal, except if the signal " +"handler raises an exception. This change is part of the :pep:`475`." +msgstr "" + +#: build/NEWS:41948 +msgid "" +":issue:`23752`: When built from an existing file descriptor, io.FileIO() now " +"only calls fstat() once. Before fstat() was called twice, which was not " +"necessary." +msgstr "" + +#: build/NEWS:41952 +msgid "" +":issue:`23704`: collections.deque() objects now support __add__, __mul__, " +"and __imul__()." +msgstr "" + +#: build/NEWS:41955 +msgid ":issue:`23171`: csv.Writer.writerow() now supports arbitrary iterables." +msgstr "" + +#: build/NEWS:41957 +msgid "" +":issue:`23745`: The new email header parser now handles duplicate MIME " +"parameter names without error, similar to how get_param behaves." +msgstr "" + +#: build/NEWS:41960 +msgid "" +":issue:`22117`: Fix os.utime(), it now rounds the timestamp towards minus " +"infinity (-inf) instead of rounding towards zero." +msgstr "" + +#: build/NEWS:41963 +msgid "" +":issue:`23310`: Fix MagicMock's initializer to work with __methods__, just " +"like configure_mock(). Patch by Kasia Jachim." +msgstr "" + +#: build/NEWS:41969 +msgid "" +":issue:`23817`: FreeBSD now uses \"1.0\" in the SOVERSION as other operating " +"systems, instead of just \"1\"." +msgstr "" + +#: build/NEWS:41972 +msgid "" +":issue:`23501`: Argument Clinic now generates code into separate files by " +"default." +msgstr "" + +#: build/NEWS:41978 +msgid "" +":issue:`23799`: Added test.support.start_threads() for running and cleaning " +"up multiple threads." +msgstr "" + +#: build/NEWS:41981 +msgid "" +":issue:`22390`: test.regrtest now emits a warning if temporary files or " +"directories are left after running a test." +msgstr "" + +#: build/NEWS:41987 +msgid "" +":issue:`18128`: pygettext now uses standard +NNNN format in the POT-Creation-" +"Date header." +msgstr "" + +#: build/NEWS:41990 +msgid "" +":issue:`23935`: Argument Clinic's understanding of format units accepting " +"bytes, bytearrays, and buffers is now consistent with both the documentation " +"and the implementation." +msgstr "" + +#: build/NEWS:41994 +msgid "" +":issue:`23944`: Argument Clinic now wraps long impl prototypes at column 78." +msgstr "" + +#: build/NEWS:41996 +msgid "" +":issue:`20586`: Argument Clinic now ensures that functions without " +"docstrings have signatures." +msgstr "" + +#: build/NEWS:41999 +msgid "" +":issue:`23492`: Argument Clinic now generates argument parsing code with " +"PyArg_Parse instead of PyArg_ParseTuple if possible." +msgstr "" + +#: build/NEWS:42002 +msgid "" +":issue:`23500`: Argument Clinic is now smarter about generating the " +"\"#ifndef\" (empty) definition of the methoddef macro: it's only generated " +"once, even if Argument Clinic processes the same symbol multiple times, and " +"it's emitted at the end of all processing rather than immediately after the " +"first use." +msgstr "" + +#: build/NEWS:42011 +msgid "" +":issue:`23998`: PyImport_ReInitLock() now checks for lock allocation error" +msgstr "" + +#: build/NEWS:42015 +msgid "Python 3.5.0 alpha 3" +msgstr "" + +#: build/NEWS:42017 +msgid "*Release date: 2015-03-28*" +msgstr "" + +#: build/NEWS:42022 +msgid "" +":issue:`23573`: Increased performance of string search operations (str.find, " +"str.index, str.count, the in operator, str.split, str.partition) with " +"arguments of different kinds (UCS1, UCS2, UCS4)." +msgstr "" + +#: build/NEWS:42026 +msgid "" +":issue:`23753`: Python doesn't support anymore platforms without stat() or " +"fstat(), these functions are always required." +msgstr "" + +#: build/NEWS:42029 +msgid "" +":issue:`23681`: The -b option now affects comparisons of bytes with int." +msgstr "" + +#: build/NEWS:42031 +msgid "" +":issue:`23632`: Memoryviews now allow tuple indexing (including for multi-" +"dimensional memoryviews)." +msgstr "" + +#: build/NEWS:42034 +msgid ":issue:`23192`: Fixed generator lambdas. Patch by Bruno Cauet." +msgstr "" + +#: build/NEWS:42036 +msgid "" +":issue:`23629`: Fix the default __sizeof__ implementation for variable-sized " +"objects." +msgstr "" + +#: build/NEWS:42042 +msgid "" +":issue:`14260`: The groupindex attribute of regular expression pattern " +"object now is non-modifiable mapping." +msgstr "" + +#: build/NEWS:42045 +msgid "" +":issue:`23792`: Ignore KeyboardInterrupt when the pydoc pager is active. " +"This mimics the behavior of the standard unix pagers, and prevents pipepager " +"from shutting down while the pager itself is still running." +msgstr "" + +#: build/NEWS:42049 +msgid "" +":issue:`23775`: pprint() of OrderedDict now outputs the same representation " +"as repr()." +msgstr "" + +#: build/NEWS:42052 +msgid ":issue:`23765`: Removed IsBadStringPtr calls in ctypes" +msgstr "" + +#: build/NEWS:42054 +msgid ":issue:`22364`: Improved some re error messages using regex for hints." +msgstr "" + +#: build/NEWS:42056 +msgid "" +":issue:`23742`: ntpath.expandvars() no longer loses unbalanced single quotes." +msgstr "" + +#: build/NEWS:42058 +msgid "" +":issue:`21717`: The zipfile.ZipFile.open function now supports " +"'x' (exclusive creation) mode." +msgstr "" + +#: build/NEWS:42061 +msgid "" +":issue:`21802`: The reader in BufferedRWPair now is closed even when closing " +"writer failed in BufferedRWPair.close()." +msgstr "" + +#: build/NEWS:42064 +msgid "" +":issue:`23622`: Unknown escapes in regular expressions that consist of " +"``'\\'`` and ASCII letter now raise a deprecation warning and will be " +"forbidden in Python 3.6." +msgstr "" + +#: build/NEWS:42068 +msgid "" +":issue:`23671`: string.Template now allows specifying the \"self\" parameter " +"as a keyword argument. string.Formatter now allows specifying the \"self\" " +"and the \"format_string\" parameters as keyword arguments." +msgstr "" + +#: build/NEWS:42072 +msgid ":issue:`23502`: The pprint module now supports mapping proxies." +msgstr "" + +#: build/NEWS:42074 +msgid ":issue:`17530`: pprint now wraps long bytes objects and bytearrays." +msgstr "" + +#: build/NEWS:42076 +msgid "" +":issue:`22687`: Fixed some corner cases in breaking words in tetxtwrap. Got " +"rid of quadratic complexity in breaking long words." +msgstr "" + +#: build/NEWS:42079 +msgid "" +":issue:`4727`: The copy module now uses pickle protocol 4 (PEP 3154) and " +"supports copying of instances of classes whose __new__ method takes keyword-" +"only arguments." +msgstr "" + +#: build/NEWS:42083 +msgid "" +":issue:`23491`: Added a zipapp module to support creating executable zip " +"file archives of Python code. Registered \".pyz\" and \".pyzw\" extensions " +"on Windows for these archives (PEP 441)." +msgstr "" + +#: build/NEWS:42087 +msgid "" +":issue:`23657`: Avoid explicit checks for str in zipapp, adding support for " +"pathlib.Path objects as arguments." +msgstr "" + +#: build/NEWS:42090 +msgid "" +":issue:`23688`: Added support of arbitrary bytes-like objects and avoided " +"unnecessary copying of memoryview in gzip.GzipFile.write(). Original patch " +"by Wolfgang Maier." +msgstr "" + +#: build/NEWS:42094 +msgid "" +":issue:`23252`: Added support for writing ZIP files to unseekable streams." +msgstr "" + +#: build/NEWS:42096 +msgid "" +":issue:`23647`: Increase imaplib's MAXLINE to accommodate modern mailbox " +"sizes." +msgstr "" + +#: build/NEWS:42098 +msgid "" +":issue:`23539`: If body is None, http.client.HTTPConnection.request now sets " +"Content-Length to 0 for PUT, POST, and PATCH headers to avoid 411 errors " +"from some web servers." +msgstr "" + +#: build/NEWS:42102 +msgid "" +":issue:`22351`: The nntplib.NNTP constructor no longer leaves the connection " +"and socket open until the garbage collector cleans them up. Patch by Martin " +"Panter." +msgstr "" + +#: build/NEWS:42106 +msgid "" +":issue:`23704`: collections.deque() objects now support methods for index(), " +"insert(), and copy(). This allows deques to be registered as a " +"MutableSequence and it improves their substitutability for lists." +msgstr "" + +#: build/NEWS:42110 +msgid "" +":issue:`23715`: :func:`signal.sigwaitinfo` and :func:`signal.sigtimedwait` " +"are now retried when interrupted by a signal not in the *sigset* parameter, " +"if the signal handler does not raise an exception. signal.sigtimedwait() " +"recomputes the timeout with a monotonic clock when it is retried." +msgstr "" + +#: build/NEWS:42115 +msgid "" +":issue:`23001`: Few functions in modules mmap, ossaudiodev, socket, ssl, and " +"codecs, that accepted only read-only bytes-like object now accept writable " +"bytes-like object too." +msgstr "" + +#: build/NEWS:42119 +msgid "" +":issue:`23646`: If time.sleep() is interrupted by a signal, the sleep is now " +"retried with the recomputed delay, except if the signal handler raises an " +"exception (PEP 475)." +msgstr "" + +#: build/NEWS:42123 +msgid "" +":issue:`23136`: _strptime now uniformly handles all days in week 0, " +"including Dec 30 of previous year. Based on patch by Jim Carroll." +msgstr "" + +#: build/NEWS:42126 +msgid "" +":issue:`23700`: Iterator of NamedTemporaryFile now keeps a reference to " +"NamedTemporaryFile instance. Patch by Bohuslav Kabrda." +msgstr "" + +#: build/NEWS:42129 +msgid "" +":issue:`22903`: The fake test case created by unittest.loader when it fails " +"importing a test module is now picklable." +msgstr "" + +#: build/NEWS:42132 +msgid "" +":issue:`22181`: On Linux, os.urandom() now uses the new getrandom() syscall " +"if available, syscall introduced in the Linux kernel 3.17. It is more " +"reliable and more secure, because it avoids the need of a file descriptor " +"and waits until the kernel has enough entropy." +msgstr "" + +#: build/NEWS:42137 +msgid "" +":issue:`2211`: Updated the implementation of the http.cookies.Morsel class. " +"Setting attributes key, value and coded_value directly now is deprecated. " +"update() and setdefault() now transform and check keys. Comparing for " +"equality now takes into account attributes key, value and coded_value. " +"copy() now returns a Morsel, not a dict. repr() now contains all " +"attributes. Optimized checking keys and quoting values. Added new tests. " +"Original patch by Demian Brecht." +msgstr "" + +#: build/NEWS:42145 +msgid "" +":issue:`18983`: Allow selection of output units in timeit. Patch by Julian " +"Gindi." +msgstr "" + +#: build/NEWS:42148 +msgid "" +":issue:`23631`: Fix traceback.format_list when a traceback has been mutated." +msgstr "" + +#: build/NEWS:42150 +msgid "" +":issue:`23568`: Add rdivmod support to MagicMock() objects. Patch by Håkan " +"Lövdahl." +msgstr "" + +#: build/NEWS:42153 +msgid ":issue:`2052`: Add charset parameter to HtmlDiff.make_file()." +msgstr "" + +#: build/NEWS:42155 +msgid ":issue:`23668`: Support os.truncate and os.ftruncate on Windows." +msgstr "" + +#: build/NEWS:42157 +msgid "" +":issue:`23138`: Fixed parsing cookies with absent keys or values in " +"cookiejar. Patch by Demian Brecht." +msgstr "" + +#: build/NEWS:42160 +msgid "" +":issue:`23051`: multiprocessing.Pool methods imap() and imap_unordered() now " +"handle exceptions raised by an iterator. Patch by Alon Diamant and Davin " +"Potts." +msgstr "" + +#: build/NEWS:42164 +msgid "" +":issue:`23581`: Add matmul support to MagicMock. Patch by Håkan Lövdahl." +msgstr "" + +#: build/NEWS:42166 +msgid "" +":issue:`23566`: enable(), register(), dump_traceback() and " +"dump_traceback_later() functions of faulthandler now accept file " +"descriptors. Patch by Wei Wu." +msgstr "" + +#: build/NEWS:42170 +msgid "" +":issue:`22928`: Disabled HTTP header injections in http.client. Original " +"patch by Demian Brecht." +msgstr "" + +#: build/NEWS:42173 +msgid "" +":issue:`23615`: Modules bz2, tarfile and tokenize now can be reloaded with " +"imp.reload(). Patch by Thomas Kluyver." +msgstr "" + +#: build/NEWS:42176 +msgid "" +":issue:`23605`: os.walk() now calls os.scandir() instead of os.listdir(). " +"The usage of os.scandir() reduces the number of calls to os.stat(). Initial " +"patch written by Ben Hoyt." +msgstr "" + +#: build/NEWS:42183 +msgid ":issue:`23585`: make patchcheck will ensure the interpreter is built." +msgstr "" + +#: build/NEWS:42188 +msgid ":issue:`23583`: Added tests for standard IO streams in IDLE." +msgstr "" + +#: build/NEWS:42190 +msgid "" +":issue:`22289`: Prevent test_urllib2net failures due to ftp connection " +"timeout." +msgstr "" + +#: build/NEWS:42195 +msgid "" +":issue:`22826`: The result of open() in Tools/freeze/bkfile.py is now better " +"compatible with regular files (in particular it now supports the context " +"management protocol)." +msgstr "" + +#: build/NEWS:42201 +msgid "Python 3.5.0 alpha 2" +msgstr "" + +#: build/NEWS:42203 +msgid "*Release date: 2015-03-09*" +msgstr "" + +#: build/NEWS:42208 +msgid "" +":issue:`23571`: PyObject_Call() and PyCFunction_Call() now raise a " +"SystemError if a function returns a result and raises an exception. The " +"SystemError is chained to the previous exception." +msgstr "" + +#: build/NEWS:42215 +msgid "" +":issue:`22524`: New os.scandir() function, part of the :pep:`471`: \"os." +"scandir() function -- a better and faster directory iterator\". Patch " +"written by Ben Hoyt." +msgstr "" + +#: build/NEWS:42219 +msgid "" +":issue:`23103`: Reduced the memory consumption of IPv4Address and " +"IPv6Address." +msgstr "" + +#: build/NEWS:42221 +msgid "" +":issue:`21793`: BaseHTTPRequestHandler again logs response code as numeric, " +"not as stringified enum. Patch by Demian Brecht." +msgstr "" + +#: build/NEWS:42224 +msgid "" +":issue:`23476`: In the ssl module, enable OpenSSL's " +"X509_V_FLAG_TRUSTED_FIRST flag on certificate stores when it is available." +msgstr "" + +#: build/NEWS:42227 +msgid "" +":issue:`23576`: Avoid stalling in SSL reads when EOF has been reached in the " +"SSL layer but the underlying connection hasn't been closed." +msgstr "" + +#: build/NEWS:42230 +msgid ":issue:`23504`: Added an __all__ to the types module." +msgstr "" + +#: build/NEWS:42232 +msgid ":issue:`23563`: Optimized utility functions in urllib.parse." +msgstr "" + +#: build/NEWS:42234 +msgid ":issue:`7830`: Flatten nested functools.partial." +msgstr "" + +#: build/NEWS:42236 +msgid ":issue:`20204`: Added the __module__ attribute to _tkinter classes." +msgstr "" + +#: build/NEWS:42238 +msgid "" +":issue:`19980`: Improved help() for non-recognized strings. help('') now " +"shows the help on str. help('help') now shows the help on help(). Original " +"patch by Mark Lawrence." +msgstr "" + +#: build/NEWS:42242 +msgid "" +":issue:`23521`: Corrected pure python implementation of timedelta division. " +"Eliminated OverflowError from ``timedelta * float`` for some floats; " +"Corrected rounding in timedelta true division." +msgstr "" + +#: build/NEWS:42246 +msgid "" +":issue:`21619`: Popen objects no longer leave a zombie after exit in the " +"with statement if the pipe was broken. Patch by Martin Panter." +msgstr "" + +#: build/NEWS:42249 +msgid "" +":issue:`22936`: Make it possible to show local variables in tracebacks for " +"both the traceback module and unittest." +msgstr "" + +#: build/NEWS:42252 +msgid "" +":issue:`15955`: Add an option to limit the output size in bz2.decompress(). " +"Patch by Nikolaus Rath." +msgstr "" + +#: build/NEWS:42255 +msgid "" +":issue:`6639`: Module-level turtle functions no longer raise TclError after " +"closing the window." +msgstr "" + +#: build/NEWS:42258 +msgid "" +":issue:`814253`: Group references and conditional group references now work " +"in lookbehind assertions in regular expressions. (See also: :issue:`9179`)" +msgstr "" + +#: build/NEWS:42261 +msgid "" +":issue:`23215`: Multibyte codecs with custom error handlers that ignores " +"errors consumed too much memory and raised SystemError or MemoryError. " +"Original patch by Aleksi Torhamo." +msgstr "" + +#: build/NEWS:42265 +msgid "" +":issue:`5700`: io.FileIO() called flush() after closing the file. flush() " +"was not called in close() if closefd=False." +msgstr "" + +#: build/NEWS:42268 +msgid "" +":issue:`23374`: Fixed pydoc failure with non-ASCII files when stdout " +"encoding differs from file system encoding (e.g. on Mac OS)." +msgstr "" + +#: build/NEWS:42271 +msgid ":issue:`23481`: Remove RC4 from the SSL module's default cipher list." +msgstr "" + +#: build/NEWS:42273 +msgid "" +":issue:`21548`: Fix pydoc.synopsis() and pydoc.apropos() on modules with " +"empty docstrings." +msgstr "" + +#: build/NEWS:42276 +msgid "" +":issue:`22885`: Fixed arbitrary code execution vulnerability in the dbm.dumb " +"module. Original patch by Claudiu Popa." +msgstr "" + +#: build/NEWS:42279 +msgid "" +":issue:`23239`: ssl.match_hostname() now supports matching of IP addresses." +msgstr "" + +#: build/NEWS:42281 +msgid "" +":issue:`23146`: Fix mishandling of absolute Windows paths with forward " +"slashes in pathlib." +msgstr "" + +#: build/NEWS:42284 +msgid "" +":issue:`23096`: Pickle representation of floats with protocol 0 now is the " +"same for both Python and C implementations." +msgstr "" + +#: build/NEWS:42287 +msgid "" +":issue:`19105`: pprint now more efficiently uses free space at the right." +msgstr "" + +#: build/NEWS:42289 +msgid "" +":issue:`14910`: Add allow_abbrev parameter to argparse.ArgumentParser. Patch " +"by Jonathan Paugh, Steven Bethard, paul j3 and Daniel Eriksson." +msgstr "" + +#: build/NEWS:42292 +msgid "" +":issue:`21717`: tarfile.open() now supports 'x' (exclusive creation) mode." +msgstr "" + +#: build/NEWS:42294 +msgid ":issue:`23344`: marshal.dumps() is now 20-25% faster on average." +msgstr "" + +#: build/NEWS:42296 +msgid "" +":issue:`20416`: marshal.dumps() with protocols 3 and 4 is now 40-50% faster " +"on average." +msgstr "" + +#: build/NEWS:42299 +msgid ":issue:`23421`: Fixed compression in tarfile CLI. Patch by wdv4758h." +msgstr "" + +#: build/NEWS:42301 +msgid ":issue:`23367`: Fix possible overflows in the unicodedata module." +msgstr "" + +#: build/NEWS:42303 +msgid "" +":issue:`23361`: Fix possible overflow in Windows subprocess creation code." +msgstr "" + +#: build/NEWS:42305 +msgid "" +"logging.handlers.QueueListener now takes a respect_handler_level keyword " +"argument which, if set to True, will pass messages to handlers taking " +"handler levels into account." +msgstr "" + +#: build/NEWS:42309 +msgid "" +":issue:`19705`: turtledemo now has a visual sorting algorithm demo. " +"Original patch from Jason Yeo." +msgstr "" + +#: build/NEWS:42312 +msgid "" +":issue:`23801`: Fix issue where cgi.FieldStorage did not always ignore the " +"entire preamble to a multipart body." +msgstr "" + +#: build/NEWS:42318 +msgid "" +":issue:`23445`: pydebug builds now use \"gcc -Og\" where possible, to make " +"the resulting executable faster." +msgstr "" + +#: build/NEWS:42321 +msgid ":issue:`23686`: Update OS X 10.5 installer build to use OpenSSL 1.0.2a." +msgstr "" + +#: build/NEWS:42326 +msgid "" +":issue:`20204`: Deprecation warning is now raised for builtin types without " +"the __module__ attribute." +msgstr "" + +#: build/NEWS:42332 +msgid "" +":issue:`23465`: Implement :pep:`486` - Make the Python Launcher aware of " +"virtual environments. Patch by Paul Moore." +msgstr "" + +#: build/NEWS:42335 +msgid "" +":issue:`23437`: Make user scripts directory versioned on Windows. Patch by " +"Paul Moore." +msgstr "" + +#: build/NEWS:42340 +msgid "Python 3.5.0 alpha 1" +msgstr "" + +#: build/NEWS:42342 +msgid "*Release date: 2015-02-08*" +msgstr "" + +#: build/NEWS:42347 +msgid ":issue:`23285`: PEP 475 - EINTR handling." +msgstr "" + +#: build/NEWS:42349 +msgid "" +":issue:`22735`: Fix many edge cases (including crashes) involving custom " +"mro() implementations." +msgstr "" + +#: build/NEWS:42352 +msgid "" +":issue:`22896`: Avoid using PyObject_AsCharBuffer(), PyObject_AsReadBuffer() " +"and PyObject_AsWriteBuffer()." +msgstr "" + +#: build/NEWS:42355 +msgid "" +":issue:`21295`: Revert some changes (:issue:`16795`) to AST line numbers and " +"column offsets that constituted a regression." +msgstr "" + +#: build/NEWS:42358 +msgid "" +":issue:`22986`: Allow changing an object's __class__ between a dynamic type " +"and static type in some cases." +msgstr "" + +#: build/NEWS:42361 +msgid "" +":issue:`15859`: PyUnicode_EncodeFSDefault(), PyUnicode_EncodeMBCS() and " +"PyUnicode_EncodeCodePage() now raise an exception if the object is not a " +"Unicode object. For PyUnicode_EncodeFSDefault(), it was already the case on " +"platforms other than Windows. Patch written by Campbell Barton." +msgstr "" + +#: build/NEWS:42366 +msgid "" +":issue:`21408`: The default __ne__() now returns NotImplemented if __eq__() " +"returned NotImplemented. Original patch by Martin Panter." +msgstr "" + +#: build/NEWS:42369 +msgid "" +":issue:`23321`: Fixed a crash in str.decode() when error handler returned " +"replacement string longer than malformed input data." +msgstr "" + +#: build/NEWS:42372 +msgid "" +":issue:`22286`: The \"backslashreplace\" error handlers now works with " +"decoding and translating." +msgstr "" + +#: build/NEWS:42375 +msgid "" +":issue:`23253`: Delay-load ShellExecute[AW] in os.startfile for reduced " +"startup overhead on Windows." +msgstr "" + +#: build/NEWS:42378 +msgid "" +":issue:`22038`: pyatomic.h now uses stdatomic.h or GCC built-in functions " +"for atomic memory access if available. Patch written by Vitor de Lima and " +"Gustavo Temple." +msgstr "" + +#: build/NEWS:42382 +msgid "" +":issue:`20284`: %-interpolation (aka printf) formatting added for bytes and " +"bytearray." +msgstr "" + +#: build/NEWS:42385 +msgid ":issue:`23048`: Fix jumping out of an infinite while loop in the pdb." +msgstr "" + +#: build/NEWS:42387 +msgid "" +":issue:`20335`: bytes constructor now raises TypeError when encoding or " +"errors is specified with non-string argument. Based on patch by Renaud " +"Blanch." +msgstr "" + +#: build/NEWS:42390 +msgid "" +":issue:`22834`: If the current working directory ends up being set to a non-" +"existent directory then import will no longer raise FileNotFoundError." +msgstr "" + +#: build/NEWS:42393 +msgid "" +":issue:`22869`: Move the interpreter startup & shutdown code to a new " +"dedicated pylifecycle.c module" +msgstr "" + +#: build/NEWS:42396 +msgid ":issue:`22847`: Improve method cache efficiency." +msgstr "" + +#: build/NEWS:42398 +msgid "" +":issue:`22335`: Fix crash when trying to enlarge a bytearray to 0x7fffffff " +"bytes on a 32-bit platform." +msgstr "" + +#: build/NEWS:42401 +msgid "" +":issue:`22653`: Fix an assertion failure in debug mode when doing a " +"reentrant dict insertion in debug mode." +msgstr "" + +#: build/NEWS:42404 +msgid "" +":issue:`22643`: Fix integer overflow in Unicode case operations (upper, " +"lower, title, swapcase, casefold)." +msgstr "" + +#: build/NEWS:42407 +msgid "" +":issue:`17636`: Circular imports involving relative imports are now " +"supported." +msgstr "" + +#: build/NEWS:42409 +msgid "" +":issue:`22604`: Fix assertion error in debug mode when dividing a complex " +"number by (nan+0j)." +msgstr "" + +#: build/NEWS:42412 +msgid "" +":issue:`21052`: Do not raise ImportWarning when sys.path_hooks or sys." +"meta_path are set to None." +msgstr "" + +#: build/NEWS:42415 +msgid "" +":issue:`16518`: Use 'bytes-like object required' in error messages that " +"previously used the far more cryptic \"'x' does not support the buffer " +"protocol." +msgstr "" + +#: build/NEWS:42419 +msgid "" +":issue:`22470`: Fixed integer overflow issues in \"backslashreplace\", " +"\"xmlcharrefreplace\", and \"surrogatepass\" error handlers." +msgstr "" + +#: build/NEWS:42422 +msgid "" +":issue:`22540`: speed up ``PyObject_IsInstance`` and ``PyObject_IsSubclass`` " +"in the common case that the second argument has metaclass ``type``." +msgstr "" + +#: build/NEWS:42425 +msgid "" +":issue:`18711`: Add a new ``PyErr_FormatV`` function, similar to " +"``PyErr_Format`` but accepting a ``va_list`` argument." +msgstr "" + +#: build/NEWS:42428 +msgid "" +":issue:`22520`: Fix overflow checking when generating the repr of a unicode " +"object." +msgstr "" + +#: build/NEWS:42431 +msgid ":issue:`22519`: Fix overflow checking in PyBytes_Repr." +msgstr "" + +#: build/NEWS:42433 +msgid ":issue:`22518`: Fix integer overflow issues in latin-1 encoding." +msgstr "" + +#: build/NEWS:42435 +msgid "" +":issue:`16324`: _charset parameter of MIMEText now also accepts email." +"charset.Charset instances. Initial patch by Claude Paroz." +msgstr "" + +#: build/NEWS:42438 +msgid "" +":issue:`1764286`: Fix inspect.getsource() to support decorated functions. " +"Patch by Claudiu Popa." +msgstr "" + +#: build/NEWS:42441 +msgid ":issue:`18554`: os.__all__ includes posix functions." +msgstr "" + +#: build/NEWS:42443 +msgid ":issue:`21391`: Use os.path.abspath in the shutil module." +msgstr "" + +#: build/NEWS:42445 +msgid "" +":issue:`11471`: avoid generating a JUMP_FORWARD instruction at the end of an " +"if-block if there is no else-clause. Original patch by Eugene Toder." +msgstr "" + +#: build/NEWS:42448 +msgid "" +":issue:`22215`: Now ValueError is raised instead of TypeError when str or " +"bytes argument contains not permitted null character or byte." +msgstr "" + +#: build/NEWS:42451 +msgid "" +":issue:`22258`: Fix the internal function set_inheritable() on Illumos. This " +"platform exposes the function ``ioctl(FIOCLEX)``, but calling it fails with " +"errno is ENOTTY: \"Inappropriate ioctl for device\". set_inheritable() now " +"falls back to the slower ``fcntl()`` (``F_GETFD`` and then ``F_SETFD``)." +msgstr "" + +#: build/NEWS:42457 +msgid "" +":issue:`21389`: Displaying the __qualname__ of the underlying function in " +"the repr of a bound method." +msgstr "" + +#: build/NEWS:42460 +msgid "" +":issue:`22206`: Using pthread, PyThread_create_key() now sets errno to " +"ENOMEM and returns -1 (error) on integer overflow." +msgstr "" + +#: build/NEWS:42463 +msgid "" +":issue:`20184`: Argument Clinic based signature introspection added for 30 " +"of the builtin functions." +msgstr "" + +#: build/NEWS:42466 +msgid "" +":issue:`22116`: C functions and methods (of the 'builtin_function_or_method' " +"type) can now be weakref'ed. Patch by Wei Wu." +msgstr "" + +#: build/NEWS:42469 +msgid "" +":issue:`22077`: Improve index error messages for bytearrays, bytes, lists, " +"and tuples by adding 'or slices'. Added ', not <typename>' for bytearrays. " +"Original patch by Claudiu Popa." +msgstr "" + +#: build/NEWS:42473 +msgid "" +":issue:`20179`: Apply Argument Clinic to bytes and bytearray. Patch by Tal " +"Einat." +msgstr "" + +#: build/NEWS:42476 +msgid ":issue:`22082`: Clear interned strings in slotdefs." +msgstr "" + +#: build/NEWS:42478 +msgid "Upgrade Unicode database to Unicode 7.0.0." +msgstr "" + +#: build/NEWS:42480 +msgid "" +":issue:`21897`: Fix a crash with the f_locals attribute with closure " +"variables when frame.clear() has been called." +msgstr "" + +#: build/NEWS:42483 +msgid "" +":issue:`21205`: Add a new ``__qualname__`` attribute to generator, the " +"qualified name, and use it in the representation of a generator " +"(``repr(gen)``). The default name of the generator (``__name__`` attribute) " +"is now get from the function instead of the code. Use ``gen.gi_code." +"co_name`` to get the name of the code." +msgstr "" + +#: build/NEWS:42489 +msgid "" +":issue:`21669`: With the aid of heuristics in SyntaxError.__init__, the " +"parser now attempts to generate more meaningful (or at least more search " +"engine friendly) error messages when \"exec\" and \"print\" are used as " +"statements." +msgstr "" + +#: build/NEWS:42493 +msgid "" +":issue:`21642`: In the conditional if-else expression, allow an integer " +"written with no space between itself and the ``else`` keyword (e.g. ``True " +"if 42else False``) to be valid syntax." +msgstr "" + +#: build/NEWS:42497 +msgid "" +":issue:`21523`: Fix over-pessimistic computation of the stack effect of some " +"opcodes in the compiler. This also fixes a quadratic compilation time issue " +"noticeable when compiling code with a large number of \"and\" and \"or\" " +"operators." +msgstr "" + +#: build/NEWS:42502 +msgid "" +":issue:`21418`: Fix a crash in the builtin function super() when called " +"without argument and without current frame (ex: embedded Python)." +msgstr "" + +#: build/NEWS:42505 +msgid "" +":issue:`21425`: Fix flushing of standard streams in the interactive " +"interpreter." +msgstr "" + +#: build/NEWS:42508 +msgid "" +":issue:`21435`: In rare cases, when running finalizers on objects in cyclic " +"trash a bad pointer dereference could occur due to a subtle flaw in internal " +"iteration logic." +msgstr "" + +#: build/NEWS:42512 +msgid "" +":issue:`21377`: PyBytes_Concat() now tries to concatenate in-place when the " +"first argument has a reference count of 1. Patch by Nikolaus Rath." +msgstr "" + +#: build/NEWS:42515 +msgid "" +":issue:`20355`: -W command line options now have higher priority than the " +"PYTHONWARNINGS environment variable. Patch by Arfrever." +msgstr "" + +#: build/NEWS:42518 +msgid ":issue:`21274`: Define PATH_MAX for GNU/Hurd in Python/pythonrun.c." +msgstr "" + +#: build/NEWS:42520 +msgid ":issue:`20904`: Support setting FPU precision on m68k." +msgstr "" + +#: build/NEWS:42522 +msgid "" +":issue:`21209`: Fix sending tuples to custom generator objects with the " +"yield from syntax." +msgstr "" + +#: build/NEWS:42525 +msgid "" +":issue:`21193`: pow(a, b, c) now raises ValueError rather than TypeError " +"when b is negative. Patch by Josh Rosenberg." +msgstr "" + +#: build/NEWS:42528 +msgid "" +":issue:`21176`: PEP 465: Add the '@' operator for matrix multiplication." +msgstr "" + +#: build/NEWS:42530 +msgid "" +":issue:`21134`: Fix segfault when str is called on an uninitialized " +"UnicodeEncodeError, UnicodeDecodeError, or UnicodeTranslateError object." +msgstr "" + +#: build/NEWS:42533 +msgid "" +":issue:`19537`: Fix PyUnicode_DATA() alignment under m68k. Patch by Andreas " +"Schwab." +msgstr "" + +#: build/NEWS:42536 +msgid ":issue:`20929`: Add a type cast to avoid shifting a negative number." +msgstr "" + +#: build/NEWS:42538 +msgid "" +":issue:`20731`: Properly position in source code files even if they are " +"opened in text mode. Patch by Serhiy Storchaka." +msgstr "" + +#: build/NEWS:42541 +msgid "" +":issue:`20637`: Key-sharing now also works for instance dictionaries of " +"subclasses. Patch by Peter Ingebretson." +msgstr "" + +#: build/NEWS:42544 +msgid "" +":issue:`8297`: Attributes missing from modules now include the module name " +"in the error text. Original patch by ysj.ray." +msgstr "" + +#: build/NEWS:42547 +msgid "" +":issue:`19995`: %c, %o, %x, and %X now raise TypeError on non-integer input." +msgstr "" + +#: build/NEWS:42549 +msgid "" +":issue:`19655`: The ASDL parser - used by the build process to generate code " +"for managing the Python AST in C - was rewritten. The new parser is self " +"contained and does not require to carry long the spark.py parser-generator " +"library; spark.py was removed from the source base." +msgstr "" + +#: build/NEWS:42554 +msgid "" +":issue:`12546`: Allow ``\\x00`` to be used as a fill character when using " +"str, int, float, and complex __format__ methods." +msgstr "" + +#: build/NEWS:42557 +msgid ":issue:`20480`: Add ipaddress.reverse_pointer. Patch by Leon Weber." +msgstr "" + +#: build/NEWS:42559 +msgid "" +":issue:`13598`: Modify string.Formatter to support auto-numbering of " +"replacement fields. It now matches the behavior of str.format() in this " +"regard. Patches by Phil Elson and Ramchandra Apte." +msgstr "" + +#: build/NEWS:42563 +msgid "" +":issue:`8931`: Make alternate formatting ('#') for type 'c' raise an " +"exception. In versions prior to 3.5, '#' with 'c' had no effect. Now " +"specifying it is an error. Patch by Torsten Landschoff." +msgstr "" + +#: build/NEWS:42567 +msgid "" +":issue:`23165`: Perform overflow checks before allocating memory in the " +"_Py_char2wchar function." +msgstr "" + +#: build/NEWS:42573 +msgid ":issue:`23399`: pyvenv creates relative symlinks where possible." +msgstr "" + +#: build/NEWS:42575 +msgid "" +":issue:`20289`: cgi.FieldStorage() now supports the context management " +"protocol." +msgstr "" + +#: build/NEWS:42578 +msgid "" +":issue:`13128`: Print response headers for CONNECT requests when debuglevel " +"> 0. Patch by Demian Brecht." +msgstr "" + +#: build/NEWS:42581 +msgid "" +":issue:`15381`: Optimized io.BytesIO to make less allocations and copyings." +msgstr "" + +#: build/NEWS:42583 +msgid "" +":issue:`22818`: Splitting on a pattern that could match an empty string now " +"raises a warning. Patterns that can only match empty strings are now " +"rejected." +msgstr "" + +#: build/NEWS:42587 +msgid "" +":issue:`23099`: Closing io.BytesIO with exported buffer is rejected now to " +"prevent corrupting exported buffer." +msgstr "" + +#: build/NEWS:42590 +msgid "" +":issue:`23326`: Removed __ne__ implementations. Since fixing default __ne__ " +"implementation in :issue:`21408` they are redundant." +msgstr "" + +#: build/NEWS:42593 +msgid ":issue:`23363`: Fix possible overflow in itertools.permutations." +msgstr "" + +#: build/NEWS:42595 +msgid ":issue:`23364`: Fix possible overflow in itertools.product." +msgstr "" + +#: build/NEWS:42597 +msgid "" +":issue:`23366`: Fixed possible integer overflow in itertools.combinations." +msgstr "" + +#: build/NEWS:42599 +msgid "" +":issue:`23369`: Fixed possible integer overflow in _json." +"encode_basestring_ascii." +msgstr "" + +#: build/NEWS:42602 +msgid "" +":issue:`23353`: Fix the exception handling of generators in " +"PyEval_EvalFrameEx(). At entry, save or swap the exception state even if " +"PyEval_EvalFrameEx() is called with throwflag=0. At exit, the exception " +"state is now always restored or swapped, not only if why is WHY_YIELD or " +"WHY_RETURN. Patch co-written with Antoine Pitrou." +msgstr "" + +#: build/NEWS:42608 +msgid "" +":issue:`14099`: Restored support of writing ZIP files to tellable but non-" +"seekable streams." +msgstr "" + +#: build/NEWS:42611 +msgid "" +":issue:`14099`: Writing to ZipFile and reading multiple ZipExtFiles is " +"threadsafe now." +msgstr "" + +#: build/NEWS:42614 +msgid "" +":issue:`19361`: JSON decoder now raises JSONDecodeError instead of " +"ValueError." +msgstr "" + +#: build/NEWS:42616 +msgid "" +":issue:`18518`: timeit now rejects statements which can't be compiled " +"outside a function or a loop (e.g. \"return\" or \"break\")." +msgstr "" + +#: build/NEWS:42619 +msgid "" +":issue:`23094`: Fixed readline with frames in Python implementation of " +"pickle." +msgstr "" + +#: build/NEWS:42621 +msgid ":issue:`23268`: Fixed bugs in the comparison of ipaddress classes." +msgstr "" + +#: build/NEWS:42623 +msgid "" +":issue:`21408`: Removed incorrect implementations of __ne__() which didn't " +"returned NotImplemented if __eq__() returned NotImplemented. The default " +"__ne__() now works correctly." +msgstr "" + +#: build/NEWS:42627 +msgid "" +":issue:`19996`: :class:`email.feedparser.FeedParser` now handles (malformed) " +"headers with no key rather than assuming the body has started." +msgstr "" + +#: build/NEWS:42630 +msgid "" +":issue:`20188`: Support Application-Layer Protocol Negotiation (ALPN) in the " +"ssl module." +msgstr "" + +#: build/NEWS:42633 +msgid "" +":issue:`23133`: Pickling of ipaddress objects now produces more compact and " +"portable representation." +msgstr "" + +#: build/NEWS:42636 +msgid ":issue:`23248`: Update ssl error codes from latest OpenSSL git master." +msgstr "" + +#: build/NEWS:42638 +msgid "" +":issue:`23266`: Much faster implementation of ipaddress.collapse_addresses() " +"when there are many non-consecutive addresses." +msgstr "" + +#: build/NEWS:42641 +msgid ":issue:`23098`: 64-bit dev_t is now supported in the os module." +msgstr "" + +#: build/NEWS:42643 +msgid "" +":issue:`21817`: When an exception is raised in a task submitted to a " +"ProcessPoolExecutor, the remote traceback is now displayed in the parent " +"process. Patch by Claudiu Popa." +msgstr "" + +#: build/NEWS:42647 +msgid "" +":issue:`15955`: Add an option to limit output size when decompressing LZMA " +"data. Patch by Nikolaus Rath and Martin Panter." +msgstr "" + +#: build/NEWS:42650 +msgid "" +":issue:`23250`: In the http.cookies module, capitalize \"HttpOnly\" and " +"\"Secure\" as they are written in the standard." +msgstr "" + +#: build/NEWS:42653 +msgid "" +":issue:`23063`: In the distutils' check command, fix parsing of reST with " +"code or code-block directives." +msgstr "" + +#: build/NEWS:42656 +msgid "" +":issue:`23209`: selectors.BaseSelector.get_key() now raises a RuntimeError " +"if the selector is closed. And selectors.BaseSelector.close() now clears its " +"internal reference to the selector mapping to break a reference cycle. " +"Initial patch written by Martin Richard. (See also: :issue:`23225`)" +msgstr "" + +#: build/NEWS:42661 +msgid "" +":issue:`17911`: Provide a way to seed the linecache for a PEP-302 module " +"without actually loading the code." +msgstr "" + +#: build/NEWS:42664 +msgid "" +":issue:`17911`: Provide a new object API for traceback, including the " +"ability to not lookup lines at all until the traceback is actually rendered, " +"without any trace of the original objects being kept alive." +msgstr "" + +#: build/NEWS:42668 +msgid "" +":issue:`19777`: Provide a home() classmethod on Path objects. Contributed " +"by Victor Salgado and Mayank Tripathi." +msgstr "" + +#: build/NEWS:42671 +msgid "" +":issue:`23206`: Make ``json.dumps(..., ensure_ascii=False)`` as fast as the " +"default case of ``ensure_ascii=True``. Patch by Naoki Inada." +msgstr "" + +#: build/NEWS:42674 +msgid ":issue:`23185`: Add math.inf and math.nan constants." +msgstr "" + +#: build/NEWS:42676 +msgid "" +":issue:`23186`: Add ssl.SSLObject.shared_ciphers() and ssl.SSLSocket." +"shared_ciphers() to fetch the client's list ciphers sent at handshake." +msgstr "" + +#: build/NEWS:42680 +msgid ":issue:`23143`: Remove compatibility with OpenSSLs older than 0.9.8." +msgstr "" + +#: build/NEWS:42682 +msgid "" +":issue:`23132`: Improve performance and introspection support of comparison " +"methods created by functool.total_ordering." +msgstr "" + +#: build/NEWS:42685 +msgid ":issue:`19776`: Add an expanduser() method on Path objects." +msgstr "" + +#: build/NEWS:42687 +msgid "" +":issue:`23112`: Fix SimpleHTTPServer to correctly carry the query string and " +"fragment when it redirects to add a trailing slash." +msgstr "" + +#: build/NEWS:42690 +msgid "" +":issue:`21793`: Added http.HTTPStatus enums (i.e. HTTPStatus.OK, HTTPStatus." +"NOT_FOUND). Patch by Demian Brecht." +msgstr "" + +#: build/NEWS:42693 +msgid "" +":issue:`23093`: In the io, module allow more operations to work on detached " +"streams." +msgstr "" + +#: build/NEWS:42696 +msgid "" +":issue:`23111`: In the ftplib, make ssl.PROTOCOL_SSLv23 the default protocol " +"version." +msgstr "" + +#: build/NEWS:42699 +msgid "" +":issue:`22585`: On OpenBSD 5.6 and newer, os.urandom() now calls " +"getentropy(), instead of reading /dev/urandom, to get pseudo-random bytes." +msgstr "" + +#: build/NEWS:42702 +msgid "" +":issue:`19104`: pprint now produces evaluable output for wrapped strings." +msgstr "" + +#: build/NEWS:42704 +msgid "" +":issue:`23071`: Added missing names to codecs.__all__. Patch by Martin " +"Panter." +msgstr "" + +#: build/NEWS:42706 +msgid "" +":issue:`22783`: Pickling now uses the NEWOBJ opcode instead of the NEWOBJ_EX " +"opcode if possible." +msgstr "" + +#: build/NEWS:42709 +msgid ":issue:`15513`: Added a __sizeof__ implementation for pickle classes." +msgstr "" + +#: build/NEWS:42711 +msgid "" +":issue:`19858`: pickletools.optimize() now aware of the MEMOIZE opcode, can " +"produce more compact result and no longer produces invalid output if input " +"data contains MEMOIZE opcodes together with PUT or BINPUT opcodes." +msgstr "" + +#: build/NEWS:42715 +msgid "" +":issue:`22095`: Fixed HTTPConnection.set_tunnel with default port. The port " +"value in the host header was set to \"None\". Patch by Demian Brecht." +msgstr "" + +#: build/NEWS:42718 +msgid "" +":issue:`23016`: A warning no longer produces an AttributeError when the " +"program is run with pythonw.exe." +msgstr "" + +#: build/NEWS:42721 +msgid "" +":issue:`21775`: shutil.copytree(): fix crash when copying to VFAT. An " +"exception handler assumed that OSError objects always have a 'winerror' " +"attribute. That is not the case, so the exception handler itself raised " +"AttributeError when run on Linux (and, presumably, any other non-Windows " +"OS). Patch by Greg Ward." +msgstr "" + +#: build/NEWS:42727 +msgid "" +":issue:`1218234`: Fix inspect.getsource() to load updated source of reloaded " +"module. Initial patch by Berker Peksag." +msgstr "" + +#: build/NEWS:42730 +msgid "" +":issue:`21740`: Support wrapped callables in doctest. Patch by Claudiu Popa." +msgstr "" + +#: build/NEWS:42732 +msgid "" +":issue:`23009`: Make sure selectors.EpollSelector.select() works when no FD " +"is registered." +msgstr "" + +#: build/NEWS:42735 +msgid "" +":issue:`22959`: In the constructor of http.client.HTTPSConnection, prefer " +"the context's check_hostname attribute over the *check_hostname* parameter." +msgstr "" + +#: build/NEWS:42738 +msgid "" +":issue:`22696`: Add function :func:`sys.is_finalizing` to know about " +"interpreter shutdown." +msgstr "" + +#: build/NEWS:42741 +msgid "" +":issue:`16043`: Add a default limit for the amount of data xmlrpclib." +"gzip_decode will return. This resolves :cve:`2013-1753`." +msgstr "" + +#: build/NEWS:42744 +msgid "" +":issue:`14099`: ZipFile.open() no longer reopen the underlying file. " +"Objects returned by ZipFile.open() can now operate independently of the " +"ZipFile even if the ZipFile was created by passing in a file-like object as " +"the first argument to the constructor." +msgstr "" + +#: build/NEWS:42749 +msgid "" +":issue:`22966`: Fix __pycache__ pyc file name clobber when pyc_compile is " +"asked to compile a source file containing multiple dots in the source file " +"name." +msgstr "" + +#: build/NEWS:42752 +msgid ":issue:`21971`: Update turtledemo doc and add module to the index." +msgstr "" + +#: build/NEWS:42754 +msgid "" +":issue:`21032`: Fixed socket leak if HTTPConnection.getresponse() fails. " +"Original patch by Martin Panter." +msgstr "" + +#: build/NEWS:42757 +msgid "" +":issue:`22407`: Deprecated the use of re.LOCALE flag with str patterns or re." +"ASCII. It was newer worked." +msgstr "" + +#: build/NEWS:42760 +msgid "" +":issue:`22902`: The \"ip\" command is now used on Linux to determine MAC " +"address in uuid.getnode(). Pach by Bruno Cauet." +msgstr "" + +#: build/NEWS:42763 +msgid "" +":issue:`22960`: Add a context argument to xmlrpclib.ServerProxy constructor." +msgstr "" + +#: build/NEWS:42765 +msgid ":issue:`22389`: Add contextlib.redirect_stderr()." +msgstr "" + +#: build/NEWS:42767 +msgid "" +":issue:`21356`: Make ssl.RAND_egd() optional to support LibreSSL. The " +"availability of the function is checked during the compilation. Patch " +"written by Bernard Spil." +msgstr "" + +#: build/NEWS:42771 +msgid "" +":issue:`22915`: SAX parser now supports files opened with file descriptor or " +"bytes path." +msgstr "" + +#: build/NEWS:42774 +msgid "" +":issue:`22609`: Constructors and update methods of mapping classes in the " +"collections module now accept the self keyword argument." +msgstr "" + +#: build/NEWS:42777 +msgid ":issue:`22940`: Add readline.append_history_file." +msgstr "" + +#: build/NEWS:42779 +msgid ":issue:`19676`: Added the \"namereplace\" error handler." +msgstr "" + +#: build/NEWS:42781 +msgid "" +":issue:`22788`: Add *context* parameter to logging.handlers.HTTPHandler." +msgstr "" + +#: build/NEWS:42783 +msgid "" +":issue:`22921`: Allow SSLContext to take the *hostname* parameter even if " +"OpenSSL doesn't support SNI." +msgstr "" + +#: build/NEWS:42786 +msgid "" +":issue:`22894`: TestCase.subTest() would cause the test suite to be stopped " +"when in failfast mode, even in the absence of failures." +msgstr "" + +#: build/NEWS:42789 +msgid "" +":issue:`22796`: HTTP cookie parsing is now stricter, in order to protect " +"against potential injection attacks." +msgstr "" + +#: build/NEWS:42792 +msgid ":issue:`22370`: Windows detection in pathlib is now more robust." +msgstr "" + +#: build/NEWS:42794 +msgid "" +":issue:`22841`: Reject coroutines in asyncio add_signal_handler(). Patch by " +"Ludovic.Gasc." +msgstr "" + +#: build/NEWS:42797 +msgid "" +":issue:`19494`: Added urllib.request.HTTPBasicPriorAuthHandler. Patch by " +"Matej Cepl." +msgstr "" + +#: build/NEWS:42800 +msgid ":issue:`22578`: Added attributes to the re.error class." +msgstr "" + +#: build/NEWS:42802 +msgid "" +":issue:`22849`: Fix possible double free in the io.TextIOWrapper constructor." +msgstr "" + +#: build/NEWS:42804 +msgid "" +":issue:`12728`: Different Unicode characters having the same uppercase but " +"different lowercase are now matched in case-insensitive regular expressions." +msgstr "" + +#: build/NEWS:42808 +msgid "" +":issue:`22821`: Fixed fcntl() with integer argument on 64-bit big-endian " +"platforms." +msgstr "" + +#: build/NEWS:42811 +msgid ":issue:`21650`: Add an ``--sort-keys`` option to ``json.tool`` CLI." +msgstr "" + +#: build/NEWS:42813 +msgid "" +":issue:`22824`: Updated reprlib output format for sets to use set literals. " +"Patch contributed by Berker Peksag." +msgstr "" + +#: build/NEWS:42816 +msgid "" +":issue:`22824`: Updated reprlib output format for arrays to display empty " +"arrays without an unnecessary empty list. Suggested by Serhiy Storchaka." +msgstr "" + +#: build/NEWS:42819 +msgid "" +":issue:`22406`: Fixed the uu_codec codec incorrectly ported to 3.x. Based on " +"patch by Martin Panter." +msgstr "" + +#: build/NEWS:42822 +msgid "" +":issue:`17293`: uuid.getnode() now determines MAC address on AIX using " +"netstat. Based on patch by Aivars Kalvāns." +msgstr "" + +#: build/NEWS:42825 +msgid "" +":issue:`22769`: Fixed ttk.Treeview.tag_has() when called without arguments." +msgstr "" + +#: build/NEWS:42827 +msgid ":issue:`22417`: Verify certificates by default in httplib (PEP 476)." +msgstr "" + +#: build/NEWS:42829 +msgid "" +":issue:`22775`: Fixed unpickling of http.cookies.SimpleCookie with protocol " +"2 and above. Patch by Tim Graham." +msgstr "" + +#: build/NEWS:42832 +msgid "" +":issue:`22776`: Brought excluded code into the scope of a try block in " +"SysLogHandler.emit()." +msgstr "" + +#: build/NEWS:42835 +msgid "" +":issue:`22665`: Add missing get_terminal_size and SameFileError to shutil." +"__all__." +msgstr "" + +#: build/NEWS:42838 +msgid "" +":issue:`6623`: Remove deprecated Netrc class in the ftplib module. Patch by " +"Matt Chaput." +msgstr "" + +#: build/NEWS:42841 +msgid "" +":issue:`17381`: Fixed handling of case-insensitive ranges in regular " +"expressions." +msgstr "" + +#: build/NEWS:42844 +msgid "" +":issue:`22410`: Module level functions in the re module now cache compiled " +"locale-dependent regular expressions taking into account the locale." +msgstr "" + +#: build/NEWS:42847 +msgid "" +":issue:`22759`: Query methods on pathlib.Path() (exists(), is_dir(), etc.) " +"now return False when the underlying stat call raises NotADirectoryError." +msgstr "" + +#: build/NEWS:42850 +msgid "" +":issue:`8876`: distutils now falls back to copying files when hard linking " +"doesn't work. This allows use with special filesystems such as VirtualBox " +"shared folders." +msgstr "" + +#: build/NEWS:42854 +msgid ":issue:`22217`: Implemented reprs of classes in the zipfile module." +msgstr "" + +#: build/NEWS:42856 +msgid ":issue:`22457`: Honour load_tests in the start_dir of discovery." +msgstr "" + +#: build/NEWS:42858 +msgid "" +":issue:`18216`: gettext now raises an error when a .mo file has an " +"unsupported major version number. Patch by Aaron Hill." +msgstr "" + +#: build/NEWS:42861 +msgid "" +":issue:`13918`: Provide a locale.delocalize() function which can remove " +"locale-specific number formatting from a string representing a number, " +"without then converting it to a specific type. Patch by Cédric Krier." +msgstr "" + +#: build/NEWS:42865 +msgid "" +":issue:`22676`: Make the pickling of global objects which don't have a " +"__module__ attribute less slow." +msgstr "" + +#: build/NEWS:42868 +msgid ":issue:`18853`: Fixed ResourceWarning in shlex.__nain__." +msgstr "" + +#: build/NEWS:42870 +msgid "" +":issue:`9351`: Defaults set with set_defaults on an argparse subparser are " +"no longer ignored when also set on the parent parser." +msgstr "" + +#: build/NEWS:42873 +msgid "" +":issue:`7559`: unittest test loading ImportErrors are reported as import " +"errors with their import exception rather than as attribute errors after the " +"import has already failed." +msgstr "" + +#: build/NEWS:42877 +msgid "" +":issue:`19746`: Make it possible to examine the errors from unittest " +"discovery without executing the test suite. The new ``errors`` attribute on " +"``TestLoader`` exposes these non-fatal errors encountered during discovery." +msgstr "" + +#: build/NEWS:42882 +msgid "" +":issue:`21991`: Make email.headerregistry's header 'params' attributes be " +"read-only (MappingProxyType). Previously the dictionary was modifiable but " +"a new one was created on each access of the attribute." +msgstr "" + +#: build/NEWS:42886 +msgid "" +":issue:`22638`: SSLv3 is now disabled throughout the standard library. It " +"can still be enabled by instantiating a SSLContext manually." +msgstr "" + +#: build/NEWS:42889 +msgid "" +":issue:`22641`: In asyncio, the default SSL context for client connections " +"is now created using ssl.create_default_context(), for stronger security." +msgstr "" + +#: build/NEWS:42892 +msgid ":issue:`17401`: Include closefd in io.FileIO repr." +msgstr "" + +#: build/NEWS:42894 +msgid "" +":issue:`21338`: Add silent mode for compileall. quiet parameters of " +"compile_{dir, file, path} functions now have a multilevel value. Also, -q " +"option of the CLI now have a multilevel value. Patch by Thomas Kluyver." +msgstr "" + +#: build/NEWS:42898 +msgid ":issue:`20152`: Convert the array and cmath modules to Argument Clinic." +msgstr "" + +#: build/NEWS:42900 +msgid ":issue:`18643`: Add socket.socketpair() on Windows." +msgstr "" + +#: build/NEWS:42902 +msgid "" +":issue:`22435`: Fix a file descriptor leak when socketserver bind fails." +msgstr "" + +#: build/NEWS:42904 +msgid "" +":issue:`13096`: Fixed segfault in CTypes POINTER handling of large values." +msgstr "" + +#: build/NEWS:42906 +msgid "" +":issue:`11694`: Raise ConversionError in xdrlib as documented. Patch by " +"Filip Gruszczyński and Claudiu Popa." +msgstr "" + +#: build/NEWS:42909 +msgid ":issue:`19380`: Optimized parsing of regular expressions." +msgstr "" + +#: build/NEWS:42911 +msgid "" +":issue:`1519638`: Now unmatched groups are replaced with empty strings in re." +"sub() and re.subn()." +msgstr "" + +#: build/NEWS:42914 +msgid ":issue:`18615`: sndhdr.what/whathdr now return a namedtuple." +msgstr "" + +#: build/NEWS:42916 +msgid "" +":issue:`22462`: Fix pyexpat's creation of a dummy frame to make it appear in " +"exception tracebacks." +msgstr "" + +#: build/NEWS:42919 +msgid "" +":issue:`21965`: Add support for in-memory SSL to the ssl module. Patch by " +"Geert Jansen." +msgstr "" + +#: build/NEWS:42922 +msgid "" +":issue:`21173`: Fix len() on a WeakKeyDictionary when .clear() was called " +"with an iterator alive." +msgstr "" + +#: build/NEWS:42925 +msgid "" +":issue:`11866`: Eliminated race condition in the computation of names for " +"new threads." +msgstr "" + +#: build/NEWS:42928 +msgid "" +":issue:`21905`: Avoid RuntimeError in pickle.whichmodule() when sys.modules " +"is mutated while iterating. Patch by Olivier Grisel." +msgstr "" + +#: build/NEWS:42931 +msgid "" +":issue:`11271`: concurrent.futures.Executor.map() now takes a *chunksize* " +"argument to allow batching of tasks in child processes and improve " +"performance of ProcessPoolExecutor. Patch by Dan O'Reilly." +msgstr "" + +#: build/NEWS:42935 +msgid "" +":issue:`21883`: os.path.join() and os.path.relpath() now raise a TypeError " +"with more helpful error message for unsupported or mismatched types of " +"arguments." +msgstr "" + +#: build/NEWS:42939 +msgid "" +":issue:`22219`: The zipfile module CLI now adds entries for directories " +"(including empty directories) in ZIP file." +msgstr "" + +#: build/NEWS:42942 +msgid "" +":issue:`22449`: In the ssl.SSLContext.load_default_certs, consult the " +"environmental variables SSL_CERT_DIR and SSL_CERT_FILE on Windows." +msgstr "" + +#: build/NEWS:42945 +msgid "" +":issue:`22508`: The email.__version__ variable has been removed; the email " +"code is no longer shipped separately from the stdlib, and __version__ hasn't " +"been updated in several releases." +msgstr "" + +#: build/NEWS:42949 +msgid "" +":issue:`20076`: Added non derived UTF-8 aliases to locale aliases table." +msgstr "" + +#: build/NEWS:42951 +msgid "" +":issue:`20079`: Added locales supported in glibc 2.18 to locale alias table." +msgstr "" + +#: build/NEWS:42953 +msgid "" +":issue:`20218`: Added convenience methods read_text/write_text and " +"read_bytes/ write_bytes to pathlib.Path objects." +msgstr "" + +#: build/NEWS:42956 +msgid "" +":issue:`22396`: On 32-bit AIX platform, don't expose os.posix_fadvise() nor " +"os.posix_fallocate() because their prototypes in system headers are wrong." +msgstr "" + +#: build/NEWS:42959 +msgid "" +":issue:`22517`: When an io.BufferedRWPair object is deallocated, clear its " +"weakrefs." +msgstr "" + +#: build/NEWS:42962 +msgid "" +":issue:`22437`: Number of capturing groups in regular expression is no " +"longer limited by 100." +msgstr "" + +#: build/NEWS:42965 +msgid "" +":issue:`17442`: InteractiveInterpreter now displays the full chained " +"traceback in its showtraceback method, to match the built in interactive " +"interpreter." +msgstr "" + +#: build/NEWS:42969 +msgid ":issue:`23392`: Added tests for marshal C API that works with FILE*." +msgstr "" + +#: build/NEWS:42971 +msgid "" +":issue:`10510`: distutils register and upload methods now use HTML standards " +"compliant CRLF line endings." +msgstr "" + +#: build/NEWS:42974 +msgid "" +":issue:`9850`: Fixed macpath.join() for empty first component. Patch by " +"Oleg Oshmyan." +msgstr "" + +#: build/NEWS:42977 +msgid "" +":issue:`5309`: distutils' build and build_ext commands now accept a ``-j`` " +"option to enable parallel building of extension modules." +msgstr "" + +#: build/NEWS:42980 +msgid "" +":issue:`22448`: Improve canceled timer handles cleanup to prevent unbound " +"memory usage. Patch by Joshua Moore-Oliva." +msgstr "" + +#: build/NEWS:42983 +msgid "" +":issue:`22427`: TemporaryDirectory no longer attempts to clean up twice when " +"used in the with statement in generator." +msgstr "" + +#: build/NEWS:42986 +msgid "" +":issue:`22362`: Forbidden ambiguous octal escapes out of range 0-0o377 in " +"regular expressions." +msgstr "" + +#: build/NEWS:42989 +msgid "" +":issue:`20912`: Now directories added to ZIP file have correct Unix and MS-" +"DOS directory attributes." +msgstr "" + +#: build/NEWS:42992 +msgid "" +":issue:`21866`: ZipFile.close() no longer writes ZIP64 central directory " +"records if allowZip64 is false." +msgstr "" + +#: build/NEWS:42995 +msgid "" +":issue:`22278`: Fix urljoin problem with relative urls, a regression " +"observed after changes to issue22118 were submitted." +msgstr "" + +#: build/NEWS:42998 +msgid "" +":issue:`22415`: Fixed debugging output of the GROUPREF_EXISTS opcode in the " +"re module. Removed trailing spaces in debugging output." +msgstr "" + +#: build/NEWS:43001 +msgid "" +":issue:`22423`: Unhandled exception in thread no longer causes unhandled " +"AttributeError when sys.stderr is None." +msgstr "" + +#: build/NEWS:43004 +msgid "" +":issue:`21332`: Ensure that ``bufsize=1`` in subprocess.Popen() selects line " +"buffering, rather than block buffering. Patch by Akira Li." +msgstr "" + +#: build/NEWS:43007 +msgid "" +":issue:`21091`: Fix API bug: email.message.EmailMessage.is_attachment is now " +"a method." +msgstr "" + +#: build/NEWS:43010 +msgid "" +":issue:`21079`: Fix email.message.EmailMessage.is_attachment to return the " +"correct result when the header has parameters as well as a value." +msgstr "" + +#: build/NEWS:43013 +msgid ":issue:`22247`: Add NNTPError to nntplib.__all__." +msgstr "" + +#: build/NEWS:43015 +msgid "" +":issue:`22366`: urllib.request.urlopen will accept a context object " +"(SSLContext) as an argument which will then be used for HTTPS connection. " +"Patch by Alex Gaynor." +msgstr "" + +#: build/NEWS:43019 +msgid "" +":issue:`4180`: The warnings registries are now reset when the filters are " +"modified." +msgstr "" + +#: build/NEWS:43022 +msgid "" +":issue:`22419`: Limit the length of incoming HTTP request in wsgiref server " +"to 65536 bytes and send a 414 error code for higher lengths. Patch " +"contributed by Devin Cook." +msgstr "" + +#: build/NEWS:43026 +msgid "" +"Lax cookie parsing in http.cookies could be a security issue when combined " +"with non-standard cookie handling in some web browsers. Reported by Sergey " +"Bobrov." +msgstr "" + +#: build/NEWS:43030 +msgid "" +":issue:`20537`: logging methods now accept an exception instance as well as " +"a Boolean value or exception tuple. Thanks to Yury Selivanov for the patch." +msgstr "" + +#: build/NEWS:43033 +msgid "" +":issue:`22384`: An exception in Tkinter callback no longer crashes the " +"program when it is run with pythonw.exe." +msgstr "" + +#: build/NEWS:43036 +msgid "" +":issue:`22168`: Prevent turtle AttributeError with non-default Canvas on OS " +"X." +msgstr "" + +#: build/NEWS:43038 +msgid "" +":issue:`21147`: sqlite3 now raises an exception if the request contains a " +"null character instead of truncating it. Based on patch by Victor Stinner." +msgstr "" + +#: build/NEWS:43041 +msgid "" +":issue:`13968`: The glob module now supports recursive search in " +"subdirectories using the ``**`` pattern." +msgstr "" + +#: build/NEWS:43044 +msgid "" +":issue:`21951`: Fixed a crash in Tkinter on AIX when called Tcl command with " +"empty string or tuple argument." +msgstr "" + +#: build/NEWS:43047 +msgid "" +":issue:`21951`: Tkinter now most likely raises MemoryError instead of crash " +"if the memory allocation fails." +msgstr "" + +#: build/NEWS:43050 +msgid "" +":issue:`22338`: Fix a crash in the json module on memory allocation failure." +msgstr "" + +#: build/NEWS:43052 +msgid "" +":issue:`12410`: imaplib.IMAP4 now supports the context management protocol. " +"Original patch by Tarek Ziadé." +msgstr "" + +#: build/NEWS:43055 +msgid "" +":issue:`21270`: We now override tuple methods in mock.call objects so that " +"they can be used as normal call attributes." +msgstr "" + +#: build/NEWS:43058 +msgid "" +":issue:`16662`: ``load_tests()`` is now unconditionally run when it is " +"present in a package's ``__init__.py``. ``TestLoader." +"loadTestsFromModule()`` still accepts use_load_tests, but it is deprecated " +"and ignored. A new keyword-only attribute ``pattern`` is added and " +"documented. Patch given by Robert Collins, tweaked by Barry Warsaw." +msgstr "" + +#: build/NEWS:43064 +msgid "" +":issue:`22226`: First letter no longer is stripped from the \"status\" key " +"in the result of Treeview.heading()." +msgstr "" + +#: build/NEWS:43067 +msgid "" +":issue:`19524`: Fixed resource leak in the HTTP connection when an invalid " +"response is received. Patch by Martin Panter." +msgstr "" + +#: build/NEWS:43070 +msgid "" +":issue:`20421`: Add a .version() method to SSL sockets exposing the actual " +"protocol version in use." +msgstr "" + +#: build/NEWS:43073 +msgid "" +":issue:`19546`: configparser exceptions no longer expose implementation " +"details. Chained KeyErrors are removed, which leads to cleaner tracebacks. " +"Patch by Claudiu Popa." +msgstr "" + +#: build/NEWS:43077 +msgid "" +":issue:`22051`: turtledemo no longer reloads examples to re-run them. " +"Initialization of variables and gui setup should be done in main(), which is " +"called each time a demo is run, but not on import." +msgstr "" + +#: build/NEWS:43081 +msgid "" +":issue:`21933`: Turtledemo users can change the code font size with a menu " +"selection or control(command) '-' or '+' or control-mousewheel. Original " +"patch by Lita Cho." +msgstr "" + +#: build/NEWS:43085 +msgid "" +":issue:`21597`: The separator between the turtledemo text pane and the " +"drawing canvas can now be grabbed and dragged with a mouse. The code text " +"pane can be widened to easily view or copy the full width of the text. The " +"canvas can be widened on small screens. Original patches by Jan Kanis and " +"Lita Cho." +msgstr "" + +#: build/NEWS:43091 +msgid "" +":issue:`18132`: Turtledemo buttons no longer disappear when the window is " +"shrunk. Original patches by Jan Kanis and Lita Cho." +msgstr "" + +#: build/NEWS:43094 +msgid "" +":issue:`22043`: time.monotonic() is now always available. ``threading.Lock." +"acquire()``, ``threading.RLock.acquire()`` and socket operations now use a " +"monotonic clock, instead of the system clock, when a timeout is used." +msgstr "" + +#: build/NEWS:43099 +msgid "" +":issue:`21527`: Add a default number of workers to ThreadPoolExecutor equal " +"to 5 times the number of CPUs. Patch by Claudiu Popa." +msgstr "" + +#: build/NEWS:43102 +msgid "" +":issue:`22216`: smtplib now resets its state more completely after a quit. " +"The most obvious consequence of the previous behavior was a STARTTLS failure " +"during a connect/starttls/quit/connect/starttls sequence." +msgstr "" + +#: build/NEWS:43106 +msgid "" +":issue:`22098`: ctypes' BigEndianStructure and LittleEndianStructure now " +"define an empty __slots__ so that subclasses don't always get an instance " +"dict. Patch by Claudiu Popa." +msgstr "" + +#: build/NEWS:43110 +msgid "" +":issue:`22185`: Fix an occasional RuntimeError in threading.Condition.wait() " +"caused by mutation of the waiters queue without holding the lock. Patch by " +"Doug Zongker." +msgstr "" + +#: build/NEWS:43114 +msgid "" +":issue:`22287`: On UNIX, _PyTime_gettimeofday() now uses " +"clock_gettime(CLOCK_REALTIME) if available. As a side effect, Python now " +"depends on the librt library on Solaris and on Linux (only with glibc older " +"than 2.17)." +msgstr "" + +#: build/NEWS:43119 +msgid "" +":issue:`22182`: Use e.args to unpack exceptions correctly in distutils." +"file_util.move_file. Patch by Claudiu Popa." +msgstr "" + +#: build/NEWS:43122 +msgid "" +"The webbrowser module now uses subprocess's start_new_session=True rather " +"than a potentially risky preexec_fn=os.setsid call." +msgstr "" + +#: build/NEWS:43125 +msgid "" +":issue:`22042`: signal.set_wakeup_fd(fd) now raises an exception if the file " +"descriptor is in blocking mode." +msgstr "" + +#: build/NEWS:43128 +msgid "" +":issue:`16808`: inspect.stack() now returns a named tuple instead of a " +"tuple. Patch by Daniel Shahaf." +msgstr "" + +#: build/NEWS:43131 +msgid "" +":issue:`22236`: Fixed Tkinter images copying operations in NoDefaultRoot " +"mode." +msgstr "" + +#: build/NEWS:43133 +msgid "" +":issue:`2527`: Add a *globals* argument to timeit functions, in order to " +"override the globals namespace in which the timed code is executed. Patch by " +"Ben Roberts." +msgstr "" + +#: build/NEWS:43137 +msgid "" +":issue:`22118`: Switch urllib.parse to use RFC 3986 semantics for the " +"resolution of relative URLs, rather than RFCs 1808 and 2396. Patch by Demian " +"Brecht." +msgstr "" + +#: build/NEWS:43141 +msgid ":issue:`21549`: Added the \"members\" parameter to TarFile.list()." +msgstr "" + +#: build/NEWS:43143 +msgid "" +":issue:`19628`: Allow compileall recursion depth to be specified with a -r " +"option." +msgstr "" + +#: build/NEWS:43146 +msgid "" +":issue:`15696`: Add a __sizeof__ implementation for mmap objects on Windows." +msgstr "" + +#: build/NEWS:43148 +msgid "" +":issue:`22068`: Avoided reference loops with Variables and Fonts in Tkinter." +msgstr "" + +#: build/NEWS:43150 +msgid "" +":issue:`22165`: SimpleHTTPRequestHandler now supports undecodable file names." +msgstr "" + +#: build/NEWS:43152 +msgid ":issue:`15381`: Optimized line reading in io.BytesIO." +msgstr "" + +#: build/NEWS:43154 +msgid "" +":issue:`8797`: Raise HTTPError on failed Basic Authentication immediately. " +"Initial patch by Sam Bull." +msgstr "" + +#: build/NEWS:43157 +msgid "" +":issue:`20729`: Restored the use of lazy iterkeys()/itervalues()/iteritems() " +"in the mailbox module." +msgstr "" + +#: build/NEWS:43160 +msgid "" +":issue:`21448`: Changed FeedParser feed() to avoid *O*\\ (*n*\\ :sup:`2`) " +"behavior when parsing long line. Original patch by Raymond Hettinger." +msgstr "" + +#: build/NEWS:43163 +msgid "" +":issue:`22184`: The functools LRU Cache decorator factory now gives an " +"earlier and clearer error message when the user forgets the required " +"parameters." +msgstr "" + +#: build/NEWS:43166 +msgid "" +":issue:`17923`: glob() patterns ending with a slash no longer match non-dirs " +"on AIX. Based on patch by Delhallt." +msgstr "" + +#: build/NEWS:43169 +msgid ":issue:`21725`: Added support for RFC 6531 (SMTPUTF8) in smtpd." +msgstr "" + +#: build/NEWS:43171 +msgid "" +":issue:`22176`: Update the ctypes module's libffi to v3.1. This release " +"adds support for the Linux AArch64 and POWERPC ELF ABIv2 little endian " +"architectures." +msgstr "" + +#: build/NEWS:43175 +msgid "" +":issue:`5411`: Added support for the \"xztar\" format in the shutil module." +msgstr "" + +#: build/NEWS:43177 +msgid "" +":issue:`21121`: Don't force 3rd party C extensions to be built with -" +"Werror=declaration-after-statement." +msgstr "" + +#: build/NEWS:43180 +msgid "" +":issue:`21975`: Fixed crash when using uninitialized sqlite3.Row (in " +"particular when unpickling pickled sqlite3.Row). sqlite3.Row is now " +"initialized in the __new__() method." +msgstr "" + +#: build/NEWS:43184 +msgid ":issue:`20170`: Convert posixmodule to use Argument Clinic." +msgstr "" + +#: build/NEWS:43186 +msgid "" +":issue:`21539`: Add an *exists_ok* argument to ``Pathlib.mkdir()`` to mimic " +"``mkdir -p`` and ``os.makedirs()`` functionality. When true, ignore " +"``FileExistsErrors``. Patch by Berker Peksag." +msgstr "" + +#: build/NEWS:43190 +msgid "" +":issue:`22127`: Bypass IDNA for pure-ASCII host names in the socket module " +"(in particular for numeric IPs)." +msgstr "" + +#: build/NEWS:43193 +msgid "" +":issue:`21047`: set the default value for the *convert_charrefs* argument of " +"HTMLParser to True. Patch by Berker Peksag." +msgstr "" + +#: build/NEWS:43196 +msgid "Add an __all__ to html.entities." +msgstr "" + +#: build/NEWS:43198 +msgid "" +":issue:`15114`: the strict mode and argument of HTMLParser, HTMLParser." +"error, and the HTMLParserError exception have been removed." +msgstr "" + +#: build/NEWS:43201 +msgid ":issue:`22085`: Dropped support of Tk 8.3 in Tkinter." +msgstr "" + +#: build/NEWS:43203 +msgid "" +":issue:`21580`: Now Tkinter correctly handles bytes arguments passed to Tk. " +"In particular this allows initializing images from binary data." +msgstr "" + +#: build/NEWS:43206 +msgid "" +":issue:`22003`: When initialized from a bytes object, io.BytesIO() now " +"defers making a copy until it is mutated, improving performance and memory " +"use on some use cases. Patch by David Wilson." +msgstr "" + +#: build/NEWS:43210 +msgid "" +":issue:`22018`: On Windows, signal.set_wakeup_fd() now also supports " +"sockets. A side effect is that Python depends to the WinSock library." +msgstr "" + +#: build/NEWS:43213 +msgid "" +":issue:`22054`: Add os.get_blocking() and os.set_blocking() functions to get " +"and set the blocking mode of a file descriptor (False if the O_NONBLOCK flag " +"is set, True otherwise). These functions are not available on Windows." +msgstr "" + +#: build/NEWS:43218 +msgid "" +":issue:`17172`: Make turtledemo start as active on OS X even when run with " +"subprocess. Patch by Lita Cho." +msgstr "" + +#: build/NEWS:43221 +msgid "" +":issue:`21704`: Fix build error for _multiprocessing when semaphores are not " +"available. Patch by Arfrever Frehtes Taifersar Arahesis." +msgstr "" + +#: build/NEWS:43224 +msgid "" +":issue:`20173`: Convert sha1, sha256, sha512 and md5 to ArgumentClinic. " +"Patch by Vajrasky Kok." +msgstr "" + +#: build/NEWS:43227 +msgid "" +"Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowError on " +"closed socket. repr(socket.socket) already works fine." +msgstr "" + +#: build/NEWS:43230 +msgid "" +":issue:`22033`: Reprs of most Python implemented classes now contain actual " +"class name instead of hardcoded one." +msgstr "" + +#: build/NEWS:43233 +msgid "" +":issue:`21947`: The dis module can now disassemble generator-iterator " +"objects based on their gi_code attribute. Patch by Clement Rouault." +msgstr "" + +#: build/NEWS:43236 +msgid "" +":issue:`16133`: The asynchat.async_chat.handle_read() method now ignores " +"BlockingIOError exceptions." +msgstr "" + +#: build/NEWS:43239 +msgid "" +":issue:`22044`: Fixed premature DECREF in call_tzinfo_method. Patch by Tom " +"Flanagan." +msgstr "" + +#: build/NEWS:43242 +msgid "" +":issue:`19884`: readline: Disable the meta modifier key if stdout is not a " +"terminal to not write the ANSI sequence ``\"\\033[1034h\"`` into stdout. " +"This sequence is used on some terminal (ex: TERM=xterm-256color\") to enable " +"support of 8 bit characters." +msgstr "" + +#: build/NEWS:43247 +msgid "" +":issue:`4350`: Removed a number of out-of-dated and non-working for a long " +"time Tkinter methods." +msgstr "" + +#: build/NEWS:43250 +msgid "" +":issue:`6167`: Scrollbar.activate() now returns the name of active element " +"if the argument is not specified. Scrollbar.set() now always accepts only 2 " +"arguments." +msgstr "" + +#: build/NEWS:43254 +msgid ":issue:`15275`: Clean up and speed up the ntpath module." +msgstr "" + +#: build/NEWS:43256 +msgid "" +":issue:`21888`: plistlib's load() and loads() now work if the fmt parameter " +"is specified." +msgstr "" + +#: build/NEWS:43259 +msgid "" +":issue:`22032`: __qualname__ instead of __name__ is now always used to " +"format fully qualified class names of Python implemented classes." +msgstr "" + +#: build/NEWS:43262 +msgid "" +":issue:`22031`: Reprs now always use hexadecimal format with the \"0x\" " +"prefix when contain an id in form \" at 0x...\"." +msgstr "" + +#: build/NEWS:43265 +msgid "" +":issue:`22018`: signal.set_wakeup_fd() now raises an OSError instead of a " +"ValueError on ``fstat()`` failure." +msgstr "" + +#: build/NEWS:43268 +msgid "" +":issue:`21044`: tarfile.open() now handles fileobj with an integer 'name' " +"attribute. Based on patch by Antoine Pietri." +msgstr "" + +#: build/NEWS:43271 +msgid ":issue:`21966`: Respect -q command-line option when code module is ran." +msgstr "" + +#: build/NEWS:43273 +msgid "" +":issue:`19076`: Don't pass the redundant 'file' argument to self.error()." +msgstr "" + +#: build/NEWS:43275 +msgid "" +":issue:`16382`: Improve exception message of warnings.warn() for bad " +"category. Initial patch by Phil Elson." +msgstr "" + +#: build/NEWS:43278 +msgid "" +":issue:`21932`: os.read() now uses a :c:func:`Py_ssize_t` type instead of :c:" +"expr:`int` for the size to support reading more than 2 GB at once. On " +"Windows, the size is truncated to INT_MAX. As any call to os.read(), the OS " +"may read less bytes than the number of requested bytes." +msgstr "" + +#: build/NEWS:43283 +msgid "" +":issue:`21942`: Fixed source file viewing in pydoc's server mode on Windows." +msgstr "" + +#: build/NEWS:43285 +msgid "" +":issue:`11259`: asynchat.async_chat().set_terminator() now raises a " +"ValueError if the number of received bytes is negative." +msgstr "" + +#: build/NEWS:43288 +msgid "" +":issue:`12523`: asynchat.async_chat.push() now raises a TypeError if it " +"doesn't get a bytes string" +msgstr "" + +#: build/NEWS:43291 +msgid "" +":issue:`21707`: Add missing kwonlyargcount argument to ModuleFinder." +"replace_paths_in_code()." +msgstr "" + +#: build/NEWS:43294 +msgid "" +":issue:`20639`: calling Path.with_suffix('') allows removing the suffix " +"again. Patch by July Tikhonov." +msgstr "" + +#: build/NEWS:43297 +msgid "" +":issue:`21714`: Disallow the construction of invalid paths using Path." +"with_name(). Original patch by Antony Lee." +msgstr "" + +#: build/NEWS:43300 +msgid "" +":issue:`15014`: Added 'auth' method to smtplib to make implementing auth " +"mechanisms simpler, and used it internally in the login method." +msgstr "" + +#: build/NEWS:43303 +msgid "" +":issue:`21151`: Fixed a segfault in the winreg module when ``None`` is " +"passed as a ``REG_BINARY`` value to SetValueEx. Patch by John Ehresman." +msgstr "" + +#: build/NEWS:43306 +msgid "" +":issue:`21090`: io.FileIO.readall() does not ignore I/O errors anymore. " +"Before, it ignored I/O errors if at least the first C call read() succeed." +msgstr "" + +#: build/NEWS:43309 +msgid "" +":issue:`5800`: headers parameter of wsgiref.headers.Headers is now optional. " +"Initial patch by Pablo Torres Navarrete and SilentGhost." +msgstr "" + +#: build/NEWS:43312 +msgid ":issue:`21781`: ssl.RAND_add() now supports strings longer than 2 GB." +msgstr "" + +#: build/NEWS:43314 +msgid "" +":issue:`21679`: Prevent extraneous fstat() calls during open(). Patch by " +"Bohuslav Kabrda." +msgstr "" + +#: build/NEWS:43317 +msgid "" +":issue:`21863`: cProfile now displays the module name of C extension " +"functions, in addition to their own name." +msgstr "" + +#: build/NEWS:43320 +msgid "" +":issue:`11453`: asyncore: emit a ResourceWarning when an unclosed " +"file_wrapper object is destroyed. The destructor now closes the file if " +"needed. The close() method can now be called twice: the second call does " +"nothing." +msgstr "" + +#: build/NEWS:43324 +msgid "" +":issue:`21858`: Better handling of Python exceptions in the sqlite3 module." +msgstr "" + +#: build/NEWS:43326 +msgid "" +":issue:`21476`: Make sure the email.parser.BytesParser TextIOWrapper is " +"discarded after parsing, so the input file isn't unexpectedly closed." +msgstr "" + +#: build/NEWS:43329 +msgid ":issue:`20295`: imghdr now recognizes OpenEXR format images." +msgstr "" + +#: build/NEWS:43331 +msgid "" +":issue:`21729`: Used the \"with\" statement in the dbm.dumb module to ensure " +"files closing. Patch by Claudiu Popa." +msgstr "" + +#: build/NEWS:43334 +msgid "" +":issue:`21491`: socketserver: Fix a race condition in child processes " +"reaping." +msgstr "" + +#: build/NEWS:43336 +msgid "" +":issue:`21719`: Added the ``st_file_attributes`` field to os.stat_result on " +"Windows." +msgstr "" + +#: build/NEWS:43339 +msgid ":issue:`21832`: Require named tuple inputs to be exact strings." +msgstr "" + +#: build/NEWS:43341 +msgid "" +":issue:`21722`: The distutils \"upload\" command now exits with a non-zero " +"return code when uploading fails. Patch by Martin Dengler." +msgstr "" + +#: build/NEWS:43344 +msgid "" +":issue:`21723`: asyncio.Queue: support any type of number (ex: float) for " +"the maximum size. Patch written by Vajrasky Kok." +msgstr "" + +#: build/NEWS:43347 +msgid "" +":issue:`21711`: support for \"site-python\" directories has now been removed " +"from the site module (it was deprecated in 3.4)." +msgstr "" + +#: build/NEWS:43350 +msgid "" +":issue:`17552`: new socket.sendfile() method allowing a file to be sent over " +"a socket by using high-performance os.sendfile() on UNIX. Patch by Giampaolo " +"Rodola'." +msgstr "" + +#: build/NEWS:43354 +msgid "" +":issue:`18039`: dbm.dump.open() now always creates a new database when the " +"flag has the value 'n'. Patch by Claudiu Popa." +msgstr "" + +#: build/NEWS:43357 +msgid "" +":issue:`21326`: Add a new is_closed() method to asyncio.BaseEventLoop. " +"run_forever() and run_until_complete() methods of asyncio.BaseEventLoop now " +"raise an exception if the event loop was closed." +msgstr "" + +#: build/NEWS:43361 +msgid "" +":issue:`21766`: Prevent a security hole in CGIHTTPServer by URL unquoting " +"paths before checking for a CGI script at that path." +msgstr "" + +#: build/NEWS:43364 +msgid ":issue:`21310`: Fixed possible resource leak in failed open()." +msgstr "" + +#: build/NEWS:43366 +msgid "" +":issue:`21256`: Printout of keyword args should be in deterministic order in " +"a mock function call. This will help to write better doctests." +msgstr "" + +#: build/NEWS:43369 +msgid "" +":issue:`21677`: Fixed chaining nonnormalized exceptions in io close() " +"methods." +msgstr "" + +#: build/NEWS:43371 +msgid "" +":issue:`11709`: Fix the pydoc.help function to not fail when sys.stdin is " +"not a valid file." +msgstr "" + +#: build/NEWS:43374 +msgid "" +":issue:`21515`: tempfile.TemporaryFile now uses os.O_TMPFILE flag is " +"available." +msgstr "" + +#: build/NEWS:43376 +msgid "" +":issue:`13223`: Fix pydoc.writedoc so that the HTML documentation for " +"methods that use 'self' in the example code is generated correctly." +msgstr "" + +#: build/NEWS:43379 +msgid ":issue:`21463`: In urllib.request, fix pruning of the FTP cache." +msgstr "" + +#: build/NEWS:43381 +msgid "" +":issue:`21618`: The subprocess module could fail to close open fds that were " +"inherited by the calling process and already higher than POSIX resource " +"limits would otherwise allow. On systems with a functioning /proc/self/fd " +"or /dev/fd interface the max is now ignored and all fds are closed." +msgstr "" + +#: build/NEWS:43386 +msgid "" +":issue:`20383`: Introduce importlib.util.module_from_spec() as the preferred " +"way to create a new module." +msgstr "" + +#: build/NEWS:43389 +msgid "" +":issue:`21552`: Fixed possible integer overflow of too long string lengths " +"in the tkinter module on 64-bit platforms." +msgstr "" + +#: build/NEWS:43392 +msgid "" +":issue:`14315`: The zipfile module now ignores extra fields in the central " +"directory that are too short to be parsed instead of letting a struct.unpack " +"error bubble up as this \"bad data\" appears in many real world zip files in " +"the wild and is ignored by other zip tools." +msgstr "" + +#: build/NEWS:43397 +msgid "" +":issue:`13742`: Added \"key\" and \"reverse\" parameters to heapq.merge(). " +"(First draft of patch contributed by Simon Sapin.)" +msgstr "" + +#: build/NEWS:43400 +msgid "" +":issue:`21402`: tkinter.ttk now works when default root window is not set." +msgstr "" + +#: build/NEWS:43402 +msgid "" +":issue:`3015`: ``_tkinter.create()`` now creates ``tkapp`` object with " +"``wantobjects=1`` by default." +msgstr "" + +#: build/NEWS:43405 +msgid "" +":issue:`10203`: sqlite3.Row now truly supports sequence protocol. In " +"particular it supports reverse() and negative indices. Original patch by " +"Claudiu Popa." +msgstr "" + +#: build/NEWS:43409 +msgid "" +":issue:`18807`: If copying (no symlinks) specified for a venv, then the " +"python interpreter aliases (python, python3) are now created by copying " +"rather than symlinking." +msgstr "" + +#: build/NEWS:43413 +msgid "" +":issue:`20197`: Added support for the WebP image type in the imghdr module. " +"Patch by Fabrice Aneche and Claudiu Popa." +msgstr "" + +#: build/NEWS:43416 +msgid "" +":issue:`21513`: Speedup some properties of IP addresses (IPv4Address, " +"IPv6Address) such as .is_private or .is_multicast." +msgstr "" + +#: build/NEWS:43419 +msgid "" +":issue:`21137`: Improve the repr for threading.Lock() and its variants by " +"showing the \"locked\" or \"unlocked\" status. Patch by Berker Peksag." +msgstr "" + +#: build/NEWS:43422 +msgid "" +":issue:`21538`: The plistlib module now supports loading of binary plist " +"files when reference or offset size is not a power of two." +msgstr "" + +#: build/NEWS:43425 +msgid ":issue:`21455`: Add a default backlog to socket.listen()." +msgstr "" + +#: build/NEWS:43427 +msgid "" +":issue:`21525`: Most Tkinter methods which accepted tuples now accept lists " +"too." +msgstr "" + +#: build/NEWS:43430 +msgid "" +":issue:`22166`: With the assistance of a new internal _codecs._forget_codec " +"helping function, test_codecs now clears the encoding caches to avoid the " +"appearance of a reference leak" +msgstr "" + +#: build/NEWS:43434 +msgid "" +":issue:`22236`: Tkinter tests now don't reuse default root window. New root " +"window is created for every test class." +msgstr "" + +#: build/NEWS:43437 +msgid "" +":issue:`10744`: Fix :pep:`3118` format strings on ctypes objects with a " +"nontrivial shape." +msgstr "" + +#: build/NEWS:43440 +msgid ":issue:`20826`: Optimize ipaddress.collapse_addresses()." +msgstr "" + +#: build/NEWS:43442 +msgid "" +":issue:`21487`: Optimize ipaddress.summarize_address_range() and ipaddress." +"{IPv4Network,IPv6Network}.subnets()." +msgstr "" + +#: build/NEWS:43445 +msgid "" +":issue:`21486`: Optimize parsing of netmasks in ipaddress.IPv4Network and " +"ipaddress.IPv6Network." +msgstr "" + +#: build/NEWS:43448 +msgid "" +":issue:`13916`: Disallowed the surrogatepass error handler for non UTF-\\* " +"encodings." +msgstr "" + +#: build/NEWS:43451 +msgid "" +":issue:`20998`: Fixed re.fullmatch() of repeated single character pattern " +"with ignore case. Original patch by Matthew Barnett." +msgstr "" + +#: build/NEWS:43454 +msgid "" +":issue:`21075`: fileinput.FileInput now reads bytes from standard stream if " +"binary mode is specified. Patch by Sam Kimbrel." +msgstr "" + +#: build/NEWS:43457 +msgid "" +":issue:`19775`: Add a samefile() method to pathlib Path objects. Initial " +"patch by Vajrasky Kok." +msgstr "" + +#: build/NEWS:43460 +msgid "" +":issue:`21226`: Set up modules properly in PyImport_ExecCodeModuleObject " +"(and friends)." +msgstr "" + +#: build/NEWS:43463 +msgid "" +":issue:`21398`: Fix a unicode error in the pydoc pager when the " +"documentation contains characters not encodable to the stdout encoding." +msgstr "" + +#: build/NEWS:43466 +msgid "" +":issue:`16531`: ipaddress.IPv4Network and ipaddress.IPv6Network now accept " +"an (address, netmask) tuple argument, so as to easily construct network " +"objects from existing addresses." +msgstr "" + +#: build/NEWS:43470 +msgid "" +":issue:`21156`: importlib.abc.InspectLoader.source_to_code() is now a " +"staticmethod." +msgstr "" + +#: build/NEWS:43473 +msgid "" +":issue:`21424`: Simplified and optimized heaqp.nlargest() and nmsmallest() " +"to make fewer tuple comparisons." +msgstr "" + +#: build/NEWS:43476 +msgid "" +":issue:`21396`: Fix TextIOWrapper(..., write_through=True) to not force a " +"flush() on the underlying binary stream. Patch by akira." +msgstr "" + +#: build/NEWS:43479 +msgid "" +":issue:`18314`: Unlink now removes junctions on Windows. Patch by Kim Gräsman" +msgstr "" + +#: build/NEWS:43481 +msgid "" +":issue:`21088`: Bugfix for curses.window.addch() regression in 3.4.0. In " +"porting to Argument Clinic, the first two arguments were reversed." +msgstr "" + +#: build/NEWS:43484 +msgid ":issue:`21407`: _decimal: The module now supports function signatures." +msgstr "" + +#: build/NEWS:43486 +msgid "" +":issue:`10650`: Remove the non-standard 'watchexp' parameter from the " +"Decimal.quantize() method in the Python version. It had never been present " +"in the C version." +msgstr "" + +#: build/NEWS:43490 +msgid "" +":issue:`21469`: Reduced the risk of false positives in robotparser by " +"checking to make sure that robots.txt has been read or does not exist prior " +"to returning True in can_fetch()." +msgstr "" + +#: build/NEWS:43494 +msgid "" +":issue:`19414`: Have the OrderedDict mark deleted links as unusable. This " +"gives an early failure if the link is deleted during iteration." +msgstr "" + +#: build/NEWS:43497 +msgid "" +":issue:`21421`: Add __slots__ to the MappingViews ABC. Patch by Josh " +"Rosenberg." +msgstr "" + +#: build/NEWS:43499 +msgid "" +":issue:`21101`: Eliminate double hashing in the C speed-up code for " +"collections.Counter()." +msgstr "" + +#: build/NEWS:43502 +msgid "" +":issue:`21321`: itertools.islice() now releases the reference to the source " +"iterator when the slice is exhausted. Patch by Anton Afanasyev." +msgstr "" + +#: build/NEWS:43505 +msgid "" +":issue:`21057`: TextIOWrapper now allows the underlying binary stream's " +"read() or read1() method to return an arbitrary bytes-like object (such as a " +"memoryview). Patch by Nikolaus Rath." +msgstr "" + +#: build/NEWS:43509 +msgid "" +":issue:`20951`: SSLSocket.send() now raises either SSLWantReadError or " +"SSLWantWriteError on a non-blocking socket if the operation would block. " +"Previously, it would return 0. Patch by Nikolaus Rath." +msgstr "" + +#: build/NEWS:43513 +msgid "" +":issue:`13248`: removed previously deprecated asyncore.dispatcher " +"__getattr__ cheap inheritance hack." +msgstr "" + +#: build/NEWS:43516 +msgid "" +":issue:`9815`: assertRaises now tries to clear references to local variables " +"in the exception's traceback." +msgstr "" + +#: build/NEWS:43519 +msgid "" +":issue:`19940`: ssl.cert_time_to_seconds() now interprets the given time " +"string in the UTC timezone (as specified in RFC 5280), not the local " +"timezone." +msgstr "" + +#: build/NEWS:43522 +msgid "" +":issue:`13204`: Calling sys.flags.__new__ would crash the interpreter, now " +"it raises a TypeError." +msgstr "" + +#: build/NEWS:43525 +msgid "" +":issue:`19385`: Make operations on a closed dbm.dumb database always raise " +"the same exception." +msgstr "" + +#: build/NEWS:43528 +msgid "" +":issue:`21207`: Detect when the os.urandom cached fd has been closed or " +"replaced, and open it anew." +msgstr "" + +#: build/NEWS:43531 +msgid "" +":issue:`21291`: subprocess's Popen.wait() is now thread safe so that " +"multiple threads may be calling wait() or poll() on a Popen instance at the " +"same time without losing the Popen.returncode value." +msgstr "" + +#: build/NEWS:43535 +msgid "" +":issue:`21127`: Path objects can now be instantiated from str subclass " +"instances (such as ``numpy.str_``)." +msgstr "" + +#: build/NEWS:43538 +msgid "" +":issue:`15002`: urllib.response object to use _TemporaryFileWrapper (and " +"_TemporaryFileCloser) facility. Provides a better way to handle file " +"descriptor close. Patch contributed by Christian Theune." +msgstr "" + +#: build/NEWS:43542 +msgid "" +":issue:`12220`: mindom now raises a custom ValueError indicating it doesn't " +"support spaces in URIs instead of letting a 'split' ValueError bubble up." +msgstr "" + +#: build/NEWS:43545 +msgid ":issue:`21068`: The ssl.PROTOCOL* constants are now enum members." +msgstr "" + +#: build/NEWS:43547 +msgid "" +":issue:`21276`: posixmodule: Don't define USE_XATTRS on KFreeBSD and the " +"Hurd." +msgstr "" + +#: build/NEWS:43549 +msgid "" +":issue:`21262`: New method assert_not_called for Mock. It raises " +"AssertionError if the mock has been called." +msgstr "" + +#: build/NEWS:43552 +msgid "" +":issue:`21238`: New keyword argument ``unsafe`` to Mock. It raises " +"``AttributeError`` incase of an attribute startswith assert or assret." +msgstr "" + +#: build/NEWS:43555 +msgid "" +":issue:`20896`: ssl.get_server_certificate() now uses PROTOCOL_SSLv23, not " +"PROTOCOL_SSLv3, for maximum compatibility." +msgstr "" + +#: build/NEWS:43558 +msgid "" +":issue:`21239`: patch.stopall() didn't work deterministically when the same " +"name was patched more than once." +msgstr "" + +#: build/NEWS:43561 +msgid "" +":issue:`21203`: Updated fileConfig and dictConfig to remove inconsistencies. " +"Thanks to Jure Koren for the patch." +msgstr "" + +#: build/NEWS:43564 +msgid "" +":issue:`21222`: Passing name keyword argument to mock.create_autospec now " +"works." +msgstr "" + +#: build/NEWS:43567 +msgid "" +":issue:`21197`: Add lib64 -> lib symlink in venvs on 64-bit non-OS X POSIX." +msgstr "" + +#: build/NEWS:43569 +msgid "" +":issue:`17498`: Some SMTP servers disconnect after certain errors, violating " +"strict RFC conformance. Instead of losing the error code when we issue the " +"subsequent RSET, smtplib now returns the error code and defers raising the " +"SMTPServerDisconnected error until the next command is issued." +msgstr "" + +#: build/NEWS:43574 +msgid "" +":issue:`17826`: setting an iterable side_effect on a mock function created " +"by create_autospec now works. Patch by Kushal Das." +msgstr "" + +#: build/NEWS:43577 +msgid "" +":issue:`7776`: Fix ``Host:`` header and reconnection when using http.client." +"HTTPConnection.set_tunnel(). Patch by Nikolaus Rath." +msgstr "" + +#: build/NEWS:43580 +msgid "" +":issue:`20968`: unittest.mock.MagicMock now supports division. Patch by " +"Johannes Baiter." +msgstr "" + +#: build/NEWS:43583 +msgid "" +":issue:`21529`: Fix arbitrary memory access in JSONDecoder.raw_decode with a " +"negative second parameter. Bug reported by Guido Vranken. (See also: :cve:" +"`2014-4616`)" +msgstr "" + +#: build/NEWS:43587 +msgid "" +":issue:`21169`: getpass now handles non-ascii characters that the input " +"stream encoding cannot encode by re-encoding using the replace error handler." +msgstr "" + +#: build/NEWS:43590 +msgid "" +":issue:`21171`: Fixed undocumented filter API of the rot13 codec. Patch by " +"Berker Peksag." +msgstr "" + +#: build/NEWS:43593 +msgid "" +":issue:`20539`: Improved math.factorial error message for large positive " +"inputs and changed exception type (OverflowError -> ValueError) for large " +"negative inputs." +msgstr "" + +#: build/NEWS:43597 +msgid "" +":issue:`21172`: isinstance check relaxed from dict to collections.Mapping." +msgstr "" + +#: build/NEWS:43599 +msgid "" +":issue:`21155`: asyncio.EventLoop.create_unix_server() now raises a " +"ValueError if path and sock are specified at the same time." +msgstr "" + +#: build/NEWS:43602 +msgid "" +":issue:`21136`: Avoid unnecessary normalization of Fractions resulting from " +"power and other operations. Patch by Raymond Hettinger." +msgstr "" + +#: build/NEWS:43605 +msgid ":issue:`17621`: Introduce importlib.util.LazyLoader." +msgstr "" + +#: build/NEWS:43607 +msgid "" +":issue:`21076`: signal module constants were turned into enums. Patch by " +"Giampaolo Rodola'." +msgstr "" + +#: build/NEWS:43610 +msgid ":issue:`20636`: Improved the repr of Tkinter widgets." +msgstr "" + +#: build/NEWS:43612 +msgid "" +":issue:`19505`: The items, keys, and values views of OrderedDict now support " +"reverse iteration using reversed()." +msgstr "" + +#: build/NEWS:43615 +msgid "" +":issue:`21149`: Improved thread-safety in logging cleanup during interpreter " +"shutdown. Thanks to Devin Jeanpierre for the patch." +msgstr "" + +#: build/NEWS:43618 +msgid "" +":issue:`21058`: Fix a leak of file descriptor in :func:`tempfile." +"NamedTemporaryFile`, close the file descriptor if :func:`io.open` fails" +msgstr "" + +#: build/NEWS:43622 +msgid "" +":issue:`21200`: Return None from pkgutil.get_loader() when __spec__ is " +"missing." +msgstr "" + +#: build/NEWS:43624 +msgid "" +":issue:`21013`: Enhance ssl.create_default_context() when used for server " +"side sockets to provide better security by default." +msgstr "" + +#: build/NEWS:43627 +msgid "" +":issue:`20145`: ``assertRaisesRegex`` and ``assertWarnsRegex`` now raise a " +"``TypeError`` if the second argument is not a string or compiled regex." +msgstr "" + +#: build/NEWS:43630 +msgid ":issue:`20633`: Replace relative import by absolute import." +msgstr "" + +#: build/NEWS:43632 +msgid ":issue:`20980`: Stop wrapping exception when using ThreadPool." +msgstr "" + +#: build/NEWS:43634 +msgid "" +":issue:`21082`: In os.makedirs, do not set the process-wide umask. Note this " +"changes behavior of makedirs when exist_ok=True." +msgstr "" + +#: build/NEWS:43637 +msgid ":issue:`20990`: Fix issues found by pyflakes for multiprocessing." +msgstr "" + +#: build/NEWS:43639 +msgid "" +":issue:`21015`: SSL contexts will now automatically select an elliptic curve " +"for ECDH key exchange on OpenSSL 1.0.2 and later, and otherwise default to " +"\"prime256v1\"." +msgstr "" + +#: build/NEWS:43643 +msgid ":issue:`21000`: Improve the command-line interface of json.tool." +msgstr "" + +#: build/NEWS:43645 +msgid "" +":issue:`20995`: Enhance default ciphers used by the ssl module to enable " +"better security and prioritize perfect forward secrecy." +msgstr "" + +#: build/NEWS:43648 +msgid "" +":issue:`20884`: Don't assume that __file__ is defined on importlib.__init__." +msgstr "" + +#: build/NEWS:43650 +msgid "" +":issue:`21499`: Ignore __builtins__ in several test_importlib.test_api tests." +msgstr "" + +#: build/NEWS:43652 +msgid ":issue:`20627`: xmlrpc.client.ServerProxy is now a context manager." +msgstr "" + +#: build/NEWS:43654 +msgid "" +":issue:`19165`: The formatter module now raises DeprecationWarning instead " +"of PendingDeprecationWarning." +msgstr "" + +#: build/NEWS:43657 +msgid "" +":issue:`13936`: Remove the ability of datetime.time instances to be " +"considered false in boolean contexts." +msgstr "" + +#: build/NEWS:43660 +msgid "" +":issue:`18931`: selectors module now supports /dev/poll on Solaris. Patch by " +"Giampaolo Rodola'." +msgstr "" + +#: build/NEWS:43663 +msgid "" +":issue:`19977`: When the ``LC_TYPE`` locale is the POSIX locale (``C`` " +"locale), :py:data:`sys.stdin` and :py:data:`sys.stdout` are now using the " +"``surrogateescape`` error handler, instead of the ``strict`` error handler." +msgstr "" + +#: build/NEWS:43668 +msgid "" +":issue:`20574`: Implement incremental decoder for cp65001 code (Windows code " +"page 65001, Microsoft UTF-8)." +msgstr "" + +#: build/NEWS:43671 +msgid "" +":issue:`20879`: Delay the initialization of encoding and decoding tables for " +"base32, ascii85 and base85 codecs in the base64 module, and delay the " +"initialization of the unquote_to_bytes() table of the urllib.parse module, " +"to not waste memory if these modules are not used." +msgstr "" + +#: build/NEWS:43676 +msgid "" +":issue:`19157`: Include the broadcast address in the usuable hosts for IPv6 " +"in ipaddress." +msgstr "" + +#: build/NEWS:43679 +msgid "" +":issue:`11599`: When an external command (e.g. compiler) fails, distutils " +"now prints out the whole command line (instead of just the command name) if " +"the environment variable DISTUTILS_DEBUG is set." +msgstr "" + +#: build/NEWS:43683 +msgid "" +":issue:`4931`: distutils should not produce unhelpful \"error: None\" " +"messages anymore. distutils.util.grok_environment_error is kept but doc-" +"deprecated." +msgstr "" + +#: build/NEWS:43686 +msgid "" +":issue:`20875`: Prevent possible gzip \"'read' is not defined\" NameError. " +"Patch by Claudiu Popa." +msgstr "" + +#: build/NEWS:43689 +msgid "" +":issue:`11558`: ``email.message.Message.attach`` now returns a more useful " +"error message if ``attach`` is called on a message for which " +"``is_multipart`` is False." +msgstr "" + +#: build/NEWS:43693 +msgid "" +":issue:`20283`: RE pattern methods now accept the string keyword parameters " +"as documented. The pattern and source keyword parameters are left as " +"deprecated aliases." +msgstr "" + +#: build/NEWS:43697 +msgid ":issue:`20778`: Fix modulefinder to work with bytecode-only modules." +msgstr "" + +#: build/NEWS:43699 +msgid "" +":issue:`20791`: copy.copy() now doesn't make a copy when the input is a " +"bytes object. Initial patch by Peter Otten." +msgstr "" + +#: build/NEWS:43702 +msgid "" +":issue:`19748`: On AIX, time.mktime() now raises an OverflowError for year " +"outsize range [1902; 2037]." +msgstr "" + +#: build/NEWS:43705 +msgid "" +":issue:`19573`: inspect.signature: Use enum for parameter kind constants." +msgstr "" + +#: build/NEWS:43707 +msgid "" +":issue:`20726`: inspect.signature: Make Signature and Parameter picklable." +msgstr "" + +#: build/NEWS:43709 +msgid ":issue:`17373`: Add inspect.Signature.from_callable method." +msgstr "" + +#: build/NEWS:43711 +msgid "" +":issue:`20378`: Improve repr of inspect.Signature and inspect.Parameter." +msgstr "" + +#: build/NEWS:43713 +msgid "" +":issue:`20816`: Fix inspect.getcallargs() to raise correct TypeError for " +"missing keyword-only arguments. Patch by Jeremiah Lowin." +msgstr "" + +#: build/NEWS:43716 +msgid "" +":issue:`20817`: Fix inspect.getcallargs() to fail correctly if more than 3 " +"arguments are missing. Patch by Jeremiah Lowin." +msgstr "" + +#: build/NEWS:43719 +msgid "" +":issue:`6676`: Ensure a meaningful exception is raised when attempting to " +"parse more than one XML document per pyexpat xmlparser instance. (Original " +"patches by Hirokazu Yamamoto and Amaury Forgeot d'Arc, with suggested " +"wording by David Gutteridge)" +msgstr "" + +#: build/NEWS:43724 +msgid "" +":issue:`21117`: Fix inspect.signature to better support functools.partial. " +"Due to the specifics of functools.partial implementation, positional-or-" +"keyword arguments passed as keyword arguments become keyword-only." +msgstr "" + +#: build/NEWS:43729 +msgid "" +":issue:`20334`: inspect.Signature and inspect.Parameter are now hashable. " +"Thanks to Antony Lee for bug reports and suggestions." +msgstr "" + +#: build/NEWS:43732 +msgid "" +":issue:`15916`: doctest.DocTestSuite returns an empty unittest.TestSuite " +"instead of raising ValueError if it finds no tests" +msgstr "" + +#: build/NEWS:43735 +msgid "" +":issue:`21209`: Fix asyncio.tasks.CoroWrapper to workaround a bug in yield-" +"from implementation in CPythons prior to 3.4.1." +msgstr "" + +#: build/NEWS:43738 +msgid "" +"asyncio: Add gi_{frame,running,code} properties to CoroWrapper (upstream :" +"issue:`163`)." +msgstr "" + +#: build/NEWS:43741 +msgid "" +":issue:`21311`: Avoid exception in _osx_support with non-standard compiler " +"configurations. Patch by John Szakmeister." +msgstr "" + +#: build/NEWS:43744 +msgid "" +":issue:`11571`: Ensure that the turtle window becomes the topmost window " +"when launched on OS X." +msgstr "" + +#: build/NEWS:43747 +msgid "" +":issue:`21801`: Validate that __signature__ is None or an instance of " +"Signature." +msgstr "" + +#: build/NEWS:43750 +msgid "" +":issue:`21923`: Prevent AttributeError in distutils.sysconfig." +"customize_compiler due to possible uninitialized _config_vars." +msgstr "" + +#: build/NEWS:43754 +msgid "" +":issue:`21323`: Fix http.server to again handle scripts in CGI " +"subdirectories, broken by the fix for security :issue:`19435`. Patch by " +"Zach Byrne." +msgstr "" + +#: build/NEWS:43757 +msgid "" +":issue:`22733`: Fix ffi_prep_args not zero-extending argument values " +"correctly on 64-bit Windows." +msgstr "" + +#: build/NEWS:43760 +msgid "" +":issue:`23302`: Default to TCP_NODELAY=1 upon establishing an " +"HTTPConnection. Removed use of hard-coded MSS as it's an optimization that's " +"no longer needed with Nagle disabled." +msgstr "" + +#: build/NEWS:43767 +msgid "" +":issue:`20577`: Configuration of the max line length for the FormatParagraph " +"extension has been moved from the General tab of the Idle preferences dialog " +"to the FormatParagraph tab of the Config Extensions dialog. Patch by Tal " +"Einat." +msgstr "" + +#: build/NEWS:43772 +msgid "" +":issue:`16893`: Update Idle doc chapter to match current Idle and add new " +"information." +msgstr "" + +#: build/NEWS:43775 +msgid "" +":issue:`3068`: Add Idle extension configuration dialog to Options menu. " +"Changes are written to HOME/.idlerc/config-extensions.cfg. Original patch by " +"Tal Einat." +msgstr "" + +#: build/NEWS:43779 +msgid "" +":issue:`16233`: A module browser (File : Class Browser, Alt+C) requires an " +"editor window with a filename. When Class Browser is requested otherwise, " +"from a shell, output window, or 'Untitled' editor, Idle no longer displays " +"an error box. It now pops up an Open Module box (Alt+M). If a valid name is " +"entered and a module is opened, a corresponding browser is also opened." +msgstr "" + +#: build/NEWS:43785 +msgid "" +":issue:`4832`: Save As to type Python files automatically adds .py to the " +"name you enter (even if your system does not display it). Some systems " +"automatically add .txt when type is Text files." +msgstr "" + +#: build/NEWS:43789 +msgid "" +":issue:`21986`: Code objects are not normally pickled by the pickle module. " +"To match this, they are no longer pickled when running under Idle." +msgstr "" + +#: build/NEWS:43792 +msgid "" +":issue:`17390`: Adjust Editor window title; remove 'Python', move version to " +"end." +msgstr "" + +#: build/NEWS:43795 +msgid "" +":issue:`14105`: Idle debugger breakpoints no longer disappear when inserting " +"or deleting lines." +msgstr "" + +#: build/NEWS:43798 +msgid "" +":issue:`17172`: Turtledemo can now be run from Idle. Currently, the entry is " +"on the Help menu, but it may move to Run. Patch by Ramchandra Apt and Lita " +"Cho." +msgstr "" + +#: build/NEWS:43802 +msgid ":issue:`21765`: Add support for non-ascii identifiers to HyperParser." +msgstr "" + +#: build/NEWS:43804 +msgid "" +":issue:`21940`: Add unittest for WidgetRedirector. Initial patch by " +"Saimadhav Heblikar." +msgstr "" + +#: build/NEWS:43807 +msgid "" +":issue:`18592`: Add unittest for SearchDialogBase. Patch by Phil Webster." +msgstr "" + +#: build/NEWS:43809 +msgid "" +":issue:`21694`: Add unittest for ParenMatch. Patch by Saimadhav Heblikar." +msgstr "" + +#: build/NEWS:43811 +msgid "" +":issue:`21686`: add unittest for HyperParser. Original patch by Saimadhav " +"Heblikar." +msgstr "" + +#: build/NEWS:43814 +msgid "" +":issue:`12387`: Add missing upper(lower)case versions of default Windows key " +"bindings for Idle so Caps Lock does not disable them. Patch by Roger Serwy." +msgstr "" + +#: build/NEWS:43818 +msgid "" +":issue:`21695`: Closing a Find-in-files output window while the search is " +"still in progress no longer closes Idle." +msgstr "" + +#: build/NEWS:43821 +msgid ":issue:`18910`: Add unittest for textView. Patch by Phil Webster." +msgstr "" + +#: build/NEWS:43823 +msgid "" +":issue:`18292`: Add unittest for AutoExpand. Patch by Saihadhav Heblikar." +msgstr "" + +#: build/NEWS:43825 +msgid ":issue:`18409`: Add unittest for AutoComplete. Patch by Phil Webster." +msgstr "" + +#: build/NEWS:43827 +msgid "" +":issue:`21477`: htest.py - Improve framework, complete set of tests. Patches " +"by Saimadhav Heblikar" +msgstr "" + +#: build/NEWS:43830 +msgid "" +":issue:`18104`: Add idlelib/idle_test/htest.py with a few sample tests to " +"begin consolidating and improving human-validated tests of Idle. Change " +"other files as needed to work with htest. Running the module as __main__ " +"runs all tests." +msgstr "" + +#: build/NEWS:43835 +msgid "" +":issue:`21139`: Change default paragraph width to 72, the :pep:`8` " +"recommendation." +msgstr "" + +#: build/NEWS:43838 +msgid "" +":issue:`21284`: Paragraph reformat test passes after user changes reformat " +"width." +msgstr "" + +#: build/NEWS:43841 +msgid "" +":issue:`17654`: Ensure IDLE menus are customized properly on OS X for non-" +"framework builds and for all variants of Tk." +msgstr "" + +#: build/NEWS:43844 +msgid "" +":issue:`23180`: Rename IDLE \"Windows\" menu item to \"Window\". Patch by Al " +"Sweigart." +msgstr "" + +#: build/NEWS:43850 +msgid "" +":issue:`15506`: Use standard PKG_PROG_PKG_CONFIG autoconf macro in the " +"configure script." +msgstr "" + +#: build/NEWS:43853 +msgid "" +":issue:`22935`: Allow the ssl module to be compiled if openssl doesn't " +"support SSL 3." +msgstr "" + +#: build/NEWS:43856 +msgid "" +":issue:`22592`: Drop support of the Borland C compiler to build Python. The " +"distutils module still supports it to build extensions." +msgstr "" + +#: build/NEWS:43859 +msgid "" +":issue:`22591`: Drop support of MS-DOS, especially of the DJGPP compiler (MS-" +"DOS port of GCC)." +msgstr "" + +#: build/NEWS:43862 +msgid "" +":issue:`16537`: Check whether self.extensions is empty in setup.py. Patch by " +"Jonathan Hosmer." +msgstr "" + +#: build/NEWS:43865 +msgid "" +":issue:`22359`: Remove incorrect uses of recursive make. Patch by Jonas " +"Wagner." +msgstr "" + +#: build/NEWS:43868 +msgid "" +":issue:`21958`: Define HAVE_ROUND when building with Visual Studio 2013 and " +"above. Patch by Zachary Turner." +msgstr "" + +#: build/NEWS:43871 +msgid "" +":issue:`18093`: the programs that embed the CPython runtime are now in a " +"separate \"Programs\" directory, rather than being kept in the Modules " +"directory." +msgstr "" + +#: build/NEWS:43875 +msgid "" +":issue:`15759`: \"make suspicious\", \"make linkcheck\" and \"make doctest\" " +"in Doc/ now display special message when and only when there are failures." +msgstr "" + +#: build/NEWS:43878 +msgid "" +":issue:`21141`: The Windows build process no longer attempts to find Perl, " +"instead relying on OpenSSL source being configured and ready to build. The " +"``PCbuild\\build_ssl.py`` script has been re-written and re-named to " +"``PCbuild\\prepare_ssl.py``, and takes care of configuring OpenSSL source " +"for both 32 and 64 bit platforms. OpenSSL sources obtained from svn.python." +"org will always be pre-configured and ready to build." +msgstr "" + +#: build/NEWS:43885 +msgid ":issue:`21037`: Add a build option to enable AddressSanitizer support." +msgstr "" + +#: build/NEWS:43887 +msgid "" +":issue:`19962`: The Windows build process now creates \"python.bat\" in the " +"root of the source tree, which passes all arguments through to the most " +"recently built interpreter." +msgstr "" + +#: build/NEWS:43891 +msgid "" +":issue:`21285`: Refactor and fix curses configure check to always search in " +"a ncursesw directory." +msgstr "" + +#: build/NEWS:43894 +msgid "" +":issue:`15234`: For BerkeleyDB and Sqlite, only add the found library and " +"include directories if they aren't already being searched. This avoids an " +"explicit runtime library dependency." +msgstr "" + +#: build/NEWS:43898 +msgid "" +":issue:`17861`: Tools/scripts/generate_opcode_h.py automatically regenerates " +"Include/opcode.h from Lib/opcode.py if the latter gets any change." +msgstr "" + +#: build/NEWS:43901 +msgid "" +":issue:`20644`: OS X installer build support for documentation build changes " +"in 3.4.1: assume externally supplied sphinx-build is available in /usr/bin." +msgstr "" + +#: build/NEWS:43904 +msgid "" +":issue:`20022`: Eliminate use of deprecated bundlebuilder in OS X builds." +msgstr "" + +#: build/NEWS:43906 +msgid "" +":issue:`15968`: Incorporated Tcl, Tk, and Tix builds into the Windows build " +"solution." +msgstr "" + +#: build/NEWS:43909 +msgid ":issue:`17095`: Fix Modules/Setup *shared* support." +msgstr "" + +#: build/NEWS:43911 +msgid ":issue:`21811`: Anticipated fixes to support OS X versions > 10.9." +msgstr "" + +#: build/NEWS:43913 +msgid "" +":issue:`21166`: Prevent possible segfaults and other random failures of " +"python --generate-posix-vars in pybuilddir.txt build target." +msgstr "" + +#: build/NEWS:43916 +msgid ":issue:`18096`: Fix library order returned by python-config." +msgstr "" + +#: build/NEWS:43918 +msgid "" +":issue:`17219`: Add library build dir for Python extension cross-builds." +msgstr "" + +#: build/NEWS:43920 +msgid "" +":issue:`22919`: Windows build updated to support VC 14.0 (Visual Studio " +"2015), which will be used for the official release." +msgstr "" + +#: build/NEWS:43923 +msgid ":issue:`21236`: Build _msi.pyd with cabinet.lib instead of fci.lib" +msgstr "" + +#: build/NEWS:43925 +msgid "" +":issue:`17128`: Use private version of OpenSSL for OS X 10.5+ installer." +msgstr "" + +#: build/NEWS:43930 +msgid "" +":issue:`14203`: Remove obsolete support for view==NULL in " +"PyBuffer_FillInfo(), bytearray_getbuffer(), bytesiobuf_getbuffer() and " +"array_buffer_getbuf(). All functions now raise BufferError in that case." +msgstr "" + +#: build/NEWS:43934 +msgid "" +":issue:`22445`: PyBuffer_IsContiguous() now implements precise contiguity " +"tests, compatible with NumPy's NPY_RELAXED_STRIDES_CHECKING compilation " +"flag. Previously the function reported false negatives for corner cases." +msgstr "" + +#: build/NEWS:43938 +msgid "" +":issue:`22079`: PyType_Ready() now checks that statically allocated type has " +"no dynamically allocated bases." +msgstr "" + +#: build/NEWS:43941 +msgid ":issue:`22453`: Removed non-documented macro PyObject_REPR()." +msgstr "" + +#: build/NEWS:43943 +msgid "" +":issue:`18395`: Rename ``_Py_char2wchar()`` to :c:func:`Py_DecodeLocale`, " +"rename ``_Py_wchar2char()`` to :c:func:`Py_EncodeLocale`, and document these " +"functions." +msgstr "" + +#: build/NEWS:43947 +msgid "" +":issue:`21233`: Add new C functions: PyMem_RawCalloc(), PyMem_Calloc(), " +"PyObject_Calloc(), _PyObject_GC_Calloc(). bytes(int) is now using " +"``calloc()`` instead of ``malloc()`` for large objects which is faster and " +"use less memory." +msgstr "" + +#: build/NEWS:43952 +msgid "" +":issue:`20942`: PyImport_ImportFrozenModuleObject() no longer sets __file__ " +"to match what importlib does; this affects _frozen_importlib as well as any " +"module loaded using imp.init_frozen()." +msgstr "" + +#: build/NEWS:43959 +msgid "" +":issue:`19548`: Update the codecs module documentation to better cover the " +"distinction between text encodings and other codecs, together with other " +"clarifications. Patch by Martin Panter." +msgstr "" + +#: build/NEWS:43963 +msgid "" +":issue:`22394`: Doc/Makefile now supports ``make venv PYTHON=../python`` to " +"create a venv for generating the documentation, e.g., ``make html " +"PYTHON=venv/bin/python3``." +msgstr "" + +#: build/NEWS:43967 +msgid "" +":issue:`21514`: The documentation of the json module now refers to new JSON " +"RFC 7159 instead of obsoleted RFC 4627." +msgstr "" + +#: build/NEWS:43970 +msgid "" +":issue:`21777`: The binary sequence methods on bytes and bytearray are now " +"documented explicitly, rather than assuming users will be able to derive the " +"expected behaviour from the behaviour of the corresponding str methods." +msgstr "" + +#: build/NEWS:43975 +msgid ":issue:`6916`: undocument deprecated asynchat.fifo class." +msgstr "" + +#: build/NEWS:43977 +msgid "" +":issue:`17386`: Expanded functionality of the ``Doc/make.bat`` script to " +"make it much more comparable to ``Doc/Makefile``." +msgstr "" + +#: build/NEWS:43980 +msgid "" +":issue:`21312`: Update the thread_foobar.h template file to include newer " +"threading APIs. Patch by Jack McCracken." +msgstr "" + +#: build/NEWS:43983 +msgid "" +":issue:`21043`: Remove the recommendation for specific CA organizations and " +"to mention the ability to load the OS certificates." +msgstr "" + +#: build/NEWS:43986 +msgid "" +":issue:`20765`: Add missing documentation for PurePath.with_name() and " +"PurePath.with_suffix()." +msgstr "" + +#: build/NEWS:43989 +msgid "" +":issue:`19407`: New package installation and distribution guides based on " +"the Python Packaging Authority tools. Existing guides have been retained as " +"legacy links from the distutils docs, as they still contain some required " +"reference material for tool developers that isn't recorded anywhere else." +msgstr "" + +#: build/NEWS:43994 +msgid ":issue:`19697`: Document cases where __main__.__spec__ is None." +msgstr "" + +#: build/NEWS:43999 +msgid ":issue:`18982`: Add tests for CLI of the calendar module." +msgstr "" + +#: build/NEWS:44001 +msgid "" +":issue:`19548`: Added some additional checks to test_codecs to ensure that " +"statements in the updated documentation remain accurate. Patch by Martin " +"Panter." +msgstr "" + +#: build/NEWS:44005 +msgid "" +":issue:`22838`: All test_re tests now work with unittest test discovery." +msgstr "" + +#: build/NEWS:44007 +msgid ":issue:`22173`: Update lib2to3 tests to use unittest test discovery." +msgstr "" + +#: build/NEWS:44009 +msgid ":issue:`16000`: Convert test_curses to use unittest." +msgstr "" + +#: build/NEWS:44011 +msgid "" +":issue:`21456`: Skip two tests in test_urllib2net.py if _ssl module not " +"present. Patch by Remi Pointel." +msgstr "" + +#: build/NEWS:44014 +msgid "" +":issue:`20746`: Fix test_pdb to run in refleak mode (-R). Patch by Xavier " +"de Gaye." +msgstr "" + +#: build/NEWS:44017 +msgid "" +":issue:`22060`: test_ctypes has been somewhat cleaned up and simplified; it " +"now uses unittest test discovery to find its tests." +msgstr "" + +#: build/NEWS:44020 +msgid "" +":issue:`22104`: regrtest.py no longer holds a reference to the suite of " +"tests loaded from test modules that don't define test_main()." +msgstr "" + +#: build/NEWS:44023 +msgid "" +":issue:`22111`: Assorted cleanups in test_imaplib. Patch by Milan Oberkirch." +msgstr "" + +#: build/NEWS:44025 +msgid "" +":issue:`22002`: Added ``load_package_tests`` function to test.support and " +"used it to implement/augment test discovery in test_asyncio, test_email, " +"test_importlib, test_json, and test_tools." +msgstr "" + +#: build/NEWS:44029 +msgid "" +":issue:`21976`: Fix test_ssl to accept LibreSSL version strings. Thanks to " +"William Orr." +msgstr "" + +#: build/NEWS:44032 +msgid "" +":issue:`21918`: Converted test_tools from a module to a package containing " +"separate test files for each tested script." +msgstr "" + +#: build/NEWS:44035 +msgid "" +":issue:`9554`: Use modern unittest features in test_argparse. Initial patch " +"by Denver Coneybeare and Radu Voicilas." +msgstr "" + +#: build/NEWS:44038 +msgid "" +":issue:`20155`: Changed HTTP method names in failing tests in " +"test_httpservers so that packet filtering software (specifically Windows " +"Base Filtering Engine) does not interfere with the transaction semantics " +"expected by the tests." +msgstr "" + +#: build/NEWS:44043 +msgid "" +":issue:`19493`: Refactored the ctypes test package to skip tests explicitly " +"rather than silently." +msgstr "" + +#: build/NEWS:44046 +msgid "" +":issue:`18492`: All resources are now allowed when tests are not run by " +"regrtest.py." +msgstr "" + +#: build/NEWS:44049 +msgid "" +":issue:`21634`: Fix pystone micro-benchmark: use floor division instead of " +"true division to benchmark integers instead of floating-point numbers. Set " +"pystone version to 1.2. Patch written by Lennart Regebro." +msgstr "" + +#: build/NEWS:44053 +msgid ":issue:`21605`: Added tests for Tkinter images." +msgstr "" + +#: build/NEWS:44055 +msgid "" +":issue:`21493`: Added test for ntpath.expanduser(). Original patch by " +"Claudiu Popa." +msgstr "" + +#: build/NEWS:44058 +msgid "" +":issue:`19925`: Added tests for the spwd module. Original patch by Vajrasky " +"Kok." +msgstr "" + +#: build/NEWS:44061 +msgid "" +":issue:`21522`: Added Tkinter tests for Listbox.itemconfigure(), PanedWindow." +"paneconfigure(), and Menu.entryconfigure()." +msgstr "" + +#: build/NEWS:44064 +msgid "" +":issue:`17756`: Fix test_code test when run from the installed location." +msgstr "" + +#: build/NEWS:44066 +msgid "" +":issue:`17752`: Fix distutils tests when run from the installed location." +msgstr "" + +#: build/NEWS:44068 +msgid "" +":issue:`18604`: Consolidated checks for GUI availability. All platforms now " +"at least check whether Tk can be instantiated when the GUI resource is " +"requested." +msgstr "" + +#: build/NEWS:44072 +msgid ":issue:`21275`: Fix a socket test on KFreeBSD." +msgstr "" + +#: build/NEWS:44074 +msgid "" +":issue:`21223`: Pass test_site/test_startup_imports when some of the " +"extensions are built as builtins." +msgstr "" + +#: build/NEWS:44077 +msgid ":issue:`20635`: Added tests for Tk geometry managers." +msgstr "" + +#: build/NEWS:44079 +msgid "Add test case for freeze." +msgstr "" + +#: build/NEWS:44081 +msgid ":issue:`20743`: Fix a reference leak in test_tcl." +msgstr "" + +#: build/NEWS:44083 +msgid ":issue:`21097`: Move test_namespace_pkgs into test_importlib." +msgstr "" + +#: build/NEWS:44085 +msgid ":issue:`21503`: Use test_both() consistently in test_importlib." +msgstr "" + +#: build/NEWS:44087 +msgid "" +":issue:`20939`: Avoid various network test failures due to new redirect of " +"http://www.python.org/ to https://www.python.org: use http://www.example.com " +"instead." +msgstr "" + +#: build/NEWS:44091 +msgid "" +":issue:`20668`: asyncio tests no longer rely on tests.txt file. (Patch by " +"Vajrasky Kok)" +msgstr "" + +#: build/NEWS:44094 +msgid "" +":issue:`21093`: Prevent failures of ctypes test_macholib on OS X if a copy " +"of libz exists in $HOME/lib or /usr/local/lib." +msgstr "" + +#: build/NEWS:44097 +msgid "" +":issue:`22770`: Prevent some Tk segfaults on OS X when running gui tests." +msgstr "" + +#: build/NEWS:44099 +msgid "" +":issue:`23211`: Workaround test_logging failure on some OS X 10.6 systems." +msgstr "" + +#: build/NEWS:44101 +msgid "" +":issue:`23345`: Prevent test_ssl failures with large OpenSSL patch level " +"values (like 0.9.8zc)." +msgstr "" + +#: build/NEWS:44107 +msgid "" +":issue:`22314`: pydoc now works when the LINES environment variable is set." +msgstr "" + +#: build/NEWS:44109 +msgid "" +":issue:`22615`: Argument Clinic now supports the \"type\" argument for the " +"int converter. This permits using the int converter with enums and typedefs." +msgstr "" + +#: build/NEWS:44112 +msgid "" +":issue:`20076`: The makelocalealias.py script no longer ignores UTF-8 " +"mapping." +msgstr "" + +#: build/NEWS:44114 +msgid "" +":issue:`20079`: The makelocalealias.py script now can parse the SUPPORTED " +"file from glibc sources and supports command line options for source paths." +msgstr "" + +#: build/NEWS:44117 +msgid "" +":issue:`22201`: Command-line interface of the zipfile module now correctly " +"extracts ZIP files with directory entries. Patch by Ryan Wilson." +msgstr "" + +#: build/NEWS:44120 +msgid "" +":issue:`22120`: For functions using an unsigned integer return converter, " +"Argument Clinic now generates a cast to that type for the comparison to -1 " +"in the generated code. (This suppresses a compilation warning.)" +msgstr "" + +#: build/NEWS:44124 +msgid "" +":issue:`18974`: Tools/scripts/diff.py now uses argparse instead of optparse." +msgstr "" + +#: build/NEWS:44126 +msgid "" +":issue:`21906`: Make Tools/scripts/md5sum.py work in Python 3. Patch by " +"Zachary Ware." +msgstr "" + +#: build/NEWS:44129 +msgid ":issue:`21629`: Fix Argument Clinic's \"--converters\" feature." +msgstr "" + +#: build/NEWS:44131 +msgid "Add support for ``yield from`` to 2to3." +msgstr "" + +#: build/NEWS:44133 +msgid "Add support for the :pep:`465` matrix multiplication operator to 2to3." +msgstr "" + +#: build/NEWS:44135 +msgid "" +":issue:`16047`: Fix module exception list and __file__ handling in freeze. " +"Patch by Meador Inge." +msgstr "" + +#: build/NEWS:44138 +msgid ":issue:`11824`: Consider ABI tags in freeze. Patch by Meador Inge." +msgstr "" + +#: build/NEWS:44140 +msgid "" +":issue:`20535`: PYTHONWARNING no longer affects the run_tests.py script. " +"Patch by Arfrever Frehtes Taifersar Arahesis." +msgstr "" + +#: build/NEWS:44146 +msgid ":issue:`23260`: Update Windows installer" +msgstr "" + +#: build/NEWS:44148 +msgid "" +"The bundled version of Tcl/Tk has been updated to 8.6.3. The most visible " +"result of this change is the addition of new native file dialogs when " +"running on Windows Vista or newer. See Tcl/Tk's TIP 432 for more " +"information. Also, this version of Tcl/Tk includes support for Windows 10." +msgstr "" + +#: build/NEWS:44154 +msgid "" +":issue:`17896`: The Windows build scripts now expect external library " +"sources to be in ``PCbuild\\..\\externals`` rather than ``PCbuild\\..\\..``." +msgstr "" + +#: build/NEWS:44157 +msgid "" +":issue:`17717`: The Windows build scripts now use a copy of NASM pulled from " +"svn.python.org to build OpenSSL." +msgstr "" + +#: build/NEWS:44160 +msgid "" +":issue:`21907`: Improved the batch scripts provided for building Python." +msgstr "" + +#: build/NEWS:44162 +msgid "" +":issue:`22644`: The bundled version of OpenSSL has been updated to 1.0.1j." +msgstr "" + +#: build/NEWS:44164 +msgid "" +":issue:`10747`: Use versioned labels in the Windows start menu. Patch by " +"Olive Kilburn." +msgstr "" + +#: build/NEWS:44167 +msgid "" +":issue:`22980`: .pyd files with a version and platform tag (for example, \"." +"cp35-win32.pyd\") will now be loaded in preference to those without tags." +msgstr "" + +#: build/NEWS:44171 +msgid "**(For information about older versions, consult the HISTORY file.)**" +msgstr "" diff --git a/whatsnew/index.po b/whatsnew/index.po index 357c0c08..a0415661 100644 --- a/whatsnew/index.po +++ b/whatsnew/index.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-17 21:03+0100\n" +"POT-Creation-Date: 2025-05-02 23:29+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n"